theoreticalbts
da9ee0c499
db_block.cpp: Include smart_ref_impl
2016-03-15 13:36:29 -04:00
Eric Frias
d3c6cbf4de
Compile fixes for win32 and out-of-source builds
2016-02-17 09:17:00 -05:00
Daniel Larimer
89fbb11bb6
Fix #492 - database corruption when closing
...
The database was attempting to pop blocks for which there was no undo
history. These changes make it impossible to pop blocks if there isn't
a fork db history.
2016-02-15 15:18:44 -05:00
theoreticalbts
b67d223d17
Merge branch '549-fork-cancel-order' into 452-fork-stealth-fba
2016-02-05 12:17:46 -05:00
Daniel Larimer
45e717c181
HARDFORK: fix for hung cancel order
2016-02-02 11:04:22 -05:00
theoreticalbts
aa6d13b057
Remove by_account index from account_object #529
2016-01-21 10:39:13 -05:00
theoreticalbts
c1612a434e
db_block.cpp: Disable skip_validate #505
2016-01-07 16:04:52 -05:00
theoreticalbts
f1b19b1562
Merge branch '496-cleanup-license-header' into develop
2016-01-07 13:38:52 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05:00
theoreticalbts
0ccc6722eb
Merge branch '483-history-fix-op-numbers' into develop
2016-01-07 11:31:02 -05:00
theoreticalbts
3680b67271
Merge branch '481-history-failed-proposal-ops' into develop
2016-01-07 11:30:50 -05:00
Daniel Larimer
dd5b7708b4
potential fix for hung chain
2016-01-07 11:27:50 -05:00
theoreticalbts
d60c8a255e
Fix optional dereferences
2015-12-16 17:14:41 -05:00
theoreticalbts
7cae3501f8
Fix operation history numbering #483
2015-12-16 11:43:45 -05:00
theoreticalbts
7e0e58f441
Discard from _applied_ops when proposal fails #481
2015-12-15 14:14:57 -05:00
Daniel Larimer
6418f819fd
Merge branch 'master' of https://github.com/cryptonomex/graphene
2015-10-22 09:59:03 -04:00
Daniel Larimer
6b469528a1
remove all hardfork checks leftover from testnet
2015-10-20 12:36:47 -04:00
Daniel Larimer
29aec3c28c
remove print spam
2015-10-19 16:48:30 -04:00
theoreticalbts
d0609e8e74
Update copyright notice for BitShares
2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2
Update copyright notice
2015-10-12 13:32:47 -04:00
Eric Frias
7fe0e64a5e
Fix two places where objects were being used after they were deleted
2015-10-09 11:43:23 -04:00
theoreticalbts
5b4398fb44
db_block.cpp: Respect skip_block_size_check when generating block
2015-10-08 15:26:13 -04:00
Eric Frias
573a6d6e97
Win32 compile fix, add extra data to one call to FC_ASSERT for better debugging.
2015-10-08 15:17:01 -04:00
Daniel Larimer
eb1895ef55
fix derefrence of null, fix build, restore compat with oct5 test net
2015-10-08 15:03:35 -04:00
Daniel Larimer
a536d39253
TESTNET RESET REQUIRED - convert all hashed indexs to ordered indexes
...
Fix #362 by replacing non-deterministic hashed indexes with ordered
indexes
Remove HARDFORK check for witness ordering because this #362 will
require a test net reset to effeciently implment.
Changed the order in wich process_fees iterates accounts to be "by_name"
rather than "by_id" so that we retain the ability to switch back to
hashed indexes in the future.
This change was overly pestimistic and assumes all indexes may be
traversed as part of consensus. We want to reserve the ability to
change some of the indices back to hashed indicies in the future after a
through audit reveals that they are never iterated over in order.
2015-10-08 14:06:20 -04:00
Daniel Larimer
fe552a42d0
removing unnecessary assert
2015-10-07 11:09:28 -04:00
Daniel Larimer
8e96d9c89c
clean up print statements, minimize undo/fork history
2015-10-07 10:15:32 -04:00
Daniel Larimer
f05475cc8f
Fix #355 - Test Net HARDFORK at block 58500
2015-10-07 09:10:03 -04:00
theoreticalbts
93a108487d
Implement last_irreversible_block_num
2015-10-02 17:19:23 -04:00
Daniel Larimer
edcd46dd14
fix reindex with failed proposed transaction
2015-09-29 10:49:12 -04:00
theoreticalbts
0d7baa2b52
database: Remove obsolete retry_on_failure parameter
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
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
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
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
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
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
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
a32075897f
adding verify_account_authority api
2015-09-07 10:19:51 -04:00
Daniel Larimer
a5071f2568
rollback on save
2015-09-03 17:42:52 -04:00
theoreticalbts
013033001f
Don't infinitely recurse when block generation fails #261
2015-08-26 18:16:34 -04:00
theoreticalbts
6c052294e1
Remove block randomness and rewrite witness scheduling
2015-08-26 15:36:27 -04:00