Eric Frias
5bfbe0df86
When a we're in normal (in-sync) mode and we get a block that doesn't link to the chain, restart sync with that peer to try to get the missing block
2015-09-21 16:15:51 -04:00
theoreticalbts
44f5bac305
api: Fix get_config API call #333
2015-09-21 11:01:10 -04:00
theoreticalbts
f7980f5252
scheduler: Refactor 26007bb655 to use witness_schedule_object
...
The functionality is equivalent, but it now uses a separate witness_schedule_object,
and the code now lives in db_witness_schedule.cpp.
2015-09-18 14:26:54 -04:00
Daniel Larimer
26007bb655
update shuffling algorithm
2015-09-18 13:42:12 -04:00
Daniel Larimer
465280fbcb
Improved Logging, track blocks missed by witnesses
2015-09-18 09:13:17 -04:00
theoreticalbts
f0502ee2f1
Implement virtual op for settlement cancel #250
2015-09-17 15:46:15 -04:00
theoreticalbts
e008cbb70b
database_api.cpp: Include smart_ref_impl, fix #321
2015-09-17 13:45:12 -04:00
Eric Frias
1177cfe0ed
Reverse direction of fork history used in block syncing
2015-09-15 09:19:39 -04:00
Daniel Larimer
f506c2b089
better debugging messages around crashes
2015-09-15 08:38:27 -04:00
Daniel Larimer
640d69aa05
Merge branch 'master' of github.com:cryptonomex/graphene
2015-09-14 18:07:09 -04:00
Daniel Larimer
225acfff25
fetch workers by vote_id
2015-09-14 18:07:07 -04:00
Eric Frias
f0f12076fa
Win32 compile fixes
2015-09-14 16:05:32 -04:00
Eric Frias
30ae8e4f34
Remove debugging code
2015-09-11 19:27:31 -04:00
Daniel Larimer
1202c0258d
Merge branch 'p2p_sync_fixes'
2015-09-11 17:57:11 -04:00
Daniel Larimer
127ac7f3de
add api to query worker state
2015-09-11 17:47:27 -04:00
Daniel Larimer
cf7a67ec76
Merge branch 'master' of github.com:cryptonomex/graphene
2015-09-11 17:35:07 -04:00
Eric Frias
76a36a67ac
Fix race condition that happens when we're pushing sync blocks faster than get_synopsis calls are getting through to the main thread
2015-09-11 17:33:20 -04:00
Eric Frias
e9e3b0d679
Fix an instance where we were reporting that the peer was on an unreachable blockchain when they really weren't
2015-09-11 16:15:05 -04:00
Eric Frias
0046cc0698
Fix error messages generated when peer is syncing with empty blockchain
2015-09-11 15:26:55 -04:00
theoreticalbts
a083f7b955
api: Split database_api off into own file, reorder methods by topic
2015-09-11 12:37:36 -04:00
Eric Frias
8e9bd890a8
Fix bugs, improve logging in p2p sync
2015-09-10 19:33:11 -04:00
Eric Frias
928b6934e0
Merge branch 'master' into p2p_sync_fixes
...
Conflicts:
libraries/chain/include/graphene/chain/database.hpp
2015-09-10 17:34:20 -04:00
Daniel Larimer
70746b82ad
Merge branch 'master' of github.com:cryptonomex/graphene
2015-09-10 16:23:02 -04:00
theoreticalbts
358a88037c
wallet.cpp: Subscribe to block updates, fix #302
2015-09-10 15:56:08 -04:00
Daniel Larimer
85fd62ae29
Merge branch 'master' of github.com:cryptonomex/graphene
2015-09-10 09:48:13 -04:00
Daniel Larimer
af79de03c4
remove spam
2015-09-10 09:47:26 -04:00
Eric Frias
b6bba74301
Restore much of the syncing code from BitShares 0.x, and add optimizations that prevent us from attempting to sync with peers those blockchain diverged from ours many blocks ago, which also reduces the size of sync messages. Add logging.
2015-09-10 08:56:29 -04:00
theoreticalbts
b8b2bcf97e
Implement --dbg-init-key command line option to take control of init witnesses for debugging #307
2015-09-09 17:54:30 -04:00
Daniel Larimer
a748883fed
adding API callback for observing pending transactions
2015-09-07 18:05:43 -04:00
Daniel Larimer
9080800c5b
Updated APIs, fixed crash
...
- update fc to fix crash in websocket message handling
- added api to verify transactions without broadcasting them
- added api to broadcast a block produced outside the P2P network or
witness
2015-09-07 17:46:47 -04:00
Daniel Larimer
a32075897f
adding verify_account_authority api
2015-09-07 10:19:51 -04:00
Daniel Larimer
a84e56c2aa
fix market subscriptions
2015-09-03 17:43:26 -04:00
Daniel Larimer
a5071f2568
rollback on save
2015-09-03 17:42:52 -04:00
theoreticalbts
025130b096
application.cpp: Fix --api-access option name
2015-09-02 14:57:02 -04:00
theoreticalbts
d2092e0d3a
cli_wallet: Expose network_node API
2015-09-02 14:56:48 -04:00
theoreticalbts
efac97e060
cli_wallet: Implement withdrawal for vesting balance objects #286
2015-09-01 16:21:35 -04:00
theoreticalbts
c14494fb68
time: Make timer use fc::time_point instead of fc::time_point_sec so witness plugin can control quantization
2015-08-31 17:26:03 -04:00
theoreticalbts
9b4e270bc4
witness_node: Implement --genesis-timestamp command line parameter
2015-08-31 17:26:03 -04:00
theoreticalbts
f63cbe4868
application.cpp: Fix compiler warning
2015-08-31 17:26:03 -04:00
Daniel Larimer
c1b5eb95e1
update subscriptions to work with keys
2015-08-28 13:58:49 -04:00
Daniel Larimer
2a494d9de0
Merge branch 'witness_schedule_refactor'
...
Also fix object_id addition
2015-08-27 11:33:42 -04:00
Daniel Larimer
df3318efc6
adding extra checks for unusual failure of get_scheduled_witness
2015-08-27 09:08:38 -04:00
Daniel Larimer
761fcb3d20
fix bloom filter to set optimal parameters
2015-08-26 18:45:06 -04:00
Daniel Larimer
12cd23df57
Merge branch 'witness_schedule_refactor' of github.com:cryptonomex/graphene into witness_schedule_refactor
2015-08-26 18:36:36 -04:00
Daniel Larimer
e5106c15a3
update subscribe callback
2015-08-26 18:01:48 -04:00
theoreticalbts
695978cfa1
Implement committee_member_update operation #258
2015-08-26 17:42:50 -04:00
theoreticalbts
7db477b9d7
Implement witness_update_operation #258
2015-08-26 17:33:19 -04:00
theoreticalbts
6c052294e1
Remove block randomness and rewrite witness scheduling
2015-08-26 15:36:27 -04:00
theoreticalbts
c2e5432a30
Remove block randomness and rewrite witness scheduling
2015-08-25 18:01:15 -04:00
Eric Frias
cb3c23a17b
Avoid referencing uninitialized memory
2015-08-24 19:35:56 -04:00