theoreticalbts
f972cff9d7
Clean up uninitialized integers
2015-09-28 12:15:17 -04:00
theoreticalbts
4c619414ae
db_block.cpp: Add some comments
2015-09-28 12:15:17 -04:00
theoreticalbts
35acfff060
database: Implement before_last_checkpoint() function
2015-09-28 12:15:17 -04:00
Daniel Larimer
a3082897ae
HARDFORK: fix address authority
...
Accounts that use address_auths rather than key_auths would fail to
recognize a properly signed transaction. This is only relevant to
genesis accounts for imported collateral positions.
2015-09-24 10:10:36 -04:00
Daniel Larimer
738abf03af
adding API call to get potential address sigs: Fix #337
2015-09-23 18:22:38 -04:00
theoreticalbts
4a7e133456
Fix price feed publishing for assets owned by witness account #328
2015-09-21 17:36:36 -04:00
theoreticalbts
f8bb0b4008
Fix debug mode build
2015-09-21 11:01:11 -04:00
Daniel Larimer
6b915054d2
potential fix for peer not disconnecting after invalid block
2015-09-21 08:46:55 -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
966df708a5
fix unit tests
2015-09-18 13:56:32 -04:00
Daniel Larimer
26007bb655
update shuffling algorithm
2015-09-18 13:42:12 -04:00
Daniel Larimer
c875c8ac11
Remove spam on reindex, only report missed blocks in real time
2015-09-18 09:19:11 -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
b9727e6e1c
Increase logging, improve error messages
2015-09-17 12:11:40 -04:00
theoreticalbts
e0414d390e
Fix pending_block and fork handling
...
The pending_block member of database was a premature optimization and had an
unfortunate tendency to get out of sync, especially when switching forks.
This commit removes it, and substantially improves the handling of transactions
when switching forks. Specifically, flooding or forking no longer causes nodes to
discard valid transactions.
2015-09-17 12:11:40 -04:00
theoreticalbts
ec030ee46c
vesting_balance_evaluator.cpp: Add some logging #312
2015-09-17 11:29:41 -04:00
theoreticalbts
c6cb743588
db_management.cpp: Remove loop that does nothing
2015-09-17 11:29:41 -04:00
theoreticalbts
81cc8e4d81
Fix maintenance time computation #313
2015-09-16 11:10:57 -04:00
theoreticalbts
e4a45de195
Remove maximum_expiration for good, fix #308 [HARDFORK]
2015-09-16 10:18:54 -04:00
theoreticalbts
c57806bb85
Always generate blocks linking to head_block_id()
2015-09-15 10:54:04 -04:00
Daniel Larimer
f506c2b089
better debugging messages around crashes
2015-09-15 08:38:27 -04:00
Eric Frias
dd7d57c5ac
Fix invalid assertion about fork database results
2015-09-14 15:25:04 -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
theoreticalbts
cf15aa1df1
Remove unused file
2015-09-11 12:37:25 -04:00
Daniel Larimer
b3052dfcc1
fix warnings
2015-09-11 08:53:50 -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
theoreticalbts
77ac6eb689
db_init.cpp: Don't allocate unnecessary asset_dynamic_data_object
2015-09-10 15:41:43 -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
09c623b3f9
Remove maximum_expiration parameter #308
2015-09-09 16:50:35 -04:00
theoreticalbts
70d3f36fba
database: Handle gaps in block database when reindexing
2015-09-09 14:48:06 -04:00
Daniel Larimer
1203140712
Merge branch 'master' of github.com:cryptonomex/graphene
2015-09-09 13:59:48 -04:00
Daniel Larimer
59850cee98
Fix #305 - replay blockchain works again
2015-09-09 13:59:43 -04:00
theoreticalbts
ff2db08475
database: Undo and re-apply pending_transactions before/after pushing a block. Fixes #299
2015-09-09 11:11:58 -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
b2c23cd37b
Merge branch 'master' of github.com:cryptonomex/graphene
2015-09-07 10:19:54 -04:00
Daniel Larimer
a32075897f
adding verify_account_authority api
2015-09-07 10:19:51 -04:00
Eric Frias
a943de8b76
When rolling back on save, remove the rolled back blocks from our
...
databases so when we restart and begin syncing, we re-download and
push those rolled back blocks (fixes bug introduced in
a5071f2568 ).
Fix logging of incorrect block numbers in p2p log.
2015-09-04 15:22:12 -04:00
Eric Frias
3cf1eb5d5c
Avoid dereferencing invalid optionals
2015-09-03 18:54:10 -04:00
Eric Frias
1e87ddff00
Fix build error
2015-09-03 18:42:57 -04:00
Daniel Larimer
866c453f1a
adding extra checks on startup
2015-09-03 18:12:55 -04:00
Daniel Larimer
a5071f2568
rollback on save
2015-09-03 17:42:52 -04:00
Eric Frias
dd04bab521
Fix compile errors, win32 and otherwise
2015-09-02 09:48:17 -04:00
theoreticalbts
efac97e060
cli_wallet: Implement withdrawal for vesting balance objects #286
2015-09-01 16:21:35 -04:00
Daniel Larimer
fb8d17bb4b
max block re-ordering increase
2015-09-01 08:57:42 -04:00
theoreticalbts
8ad1a12149
db_witness_schedule.cpp: Give best_wit a default value of GRAPHENE_NULL_WITNESS #274
2015-08-31 17:26:03 -04:00
theoreticalbts
dd9dbca38c
Reserve witness ID 0
2015-08-31 17:26:03 -04:00
theoreticalbts
2a891ac89b
Revert "adding fix for edge case"
...
This reverts commit 3f1b9bbb27 .
2015-08-31 12:50:45 -04:00