- 13 4月, 2017 6 次提交
-
-
由 Daniel Larimer 提交于
-
由 Nathan Hourt 提交于
-
由 Nathan Hourt 提交于
The producer plugin (now called producer_plugin) is now adapted to the new appbase system, and appears to be working correctly. Also, eliminate some boilerplate around OBJECT_CTOR macro! Now you can OBJECT_CTOR(objname, (field1)(field2)) to indicate that field1 and field2 are dynamically allocated objects and need to be initialized with the allocator.
-
由 Nathan Hourt 提交于
Bring in chain_plugin, net_plugin, http_plugin; wire appbase and plugins into existing infrastructure, remove old app infrastructure.
-
由 Nathan Hourt 提交于
-
由 Nathan Hourt 提交于
-
- 12 4月, 2017 8 次提交
-
-
由 Daniel Larimer 提交于
-
由 Daniel Larimer 提交于
-
由 Nathan Hourt 提交于
-
由 Daniel Larimer 提交于
-
由 Nathan Hourt 提交于
-
由 Nathan Hourt 提交于
As discussed on #5, use hashes as the generated_transaction_id_type instead of serial numbers.
-
由 Nathan Hourt 提交于
Define structures around cycles/threads, etc. Also implement merkle digests. :)
-
由 Nathan Hourt 提交于
Add prose explaining what each test does, and inline comments where appropriate.
-
- 11 4月, 2017 2 次提交
-
-
由 Nathan Hourt 提交于
-
由 Nathan Hourt 提交于
Add structs and types to facilitate the explicitly declared authority level described in issue #2. May or may not be revisiting this to tweak it later... :P
-
- 07 4月, 2017 14 次提交
-
-
由 Nathan Hourt 提交于
-
由 Nathan Hourt 提交于
-
由 Nathan Hourt 提交于
Previously, the fork_database and chainbase undo histories were never getting trimmed, so they'd grow forever. Fixed. Also some improvements around how to use chainbase, particularly, setting the revision after a reindex, and also acquiring locks appropriately. Note that there's a lot of lock acquiring that still needs to be added; I didn't realize I needed to do this before :]
-
由 Nathan Hourt 提交于
As of this commit, we only write irreversible blocks to disk, and when we reopen the database, we rewind the state until the head block is the last irreversible block. The unit tests are doing their jobs: several of them broke due to this change, because the tests which checked that the head block number didn't change during a restart of the database were invalidated by this change: the head block number *should* now change in a restart; it should revert to the last_irreversible_block_num. The tests are updated to account for this, and all pass again.
-
由 Nathan Hourt 提交于
Preparing for only writing irreversible blocks to disk; first I needed to update the various block fetching methods on database to account for this. This commit contains those updates, as well as a shiny new unit test to make sure those methods are still working correctly.
-
由 Nathan Hourt 提交于
The LIB was already being calculated and stored in the dynamic_global_property_object, but now I know it was! :D Also remove a redundant block from node.cpp (the removed block was functionally equivalent to the FC_LOG macro following it)
-
由 Nathan Hourt 提交于
I've already removed operations from the system; in this commit I add a new message type and integrate it into the transaction type.
-
由 Nathan Hourt 提交于
Also remove transaction_evaluation_state and the size_checker program.
-
由 Nathan Hourt 提交于
-
由 Nathan Hourt 提交于
Don't need it anymore!
-
由 Nathan Hourt 提交于
All the db_*.cpp sources are now merged together in database.cpp again.
-
由 Nathan Hourt 提交于
Everything related to the maintenance interval is now gone, including (and especially, really) the skipped blocks during the maintenance period.
-
由 Nathan Hourt 提交于
...even though there's a waiting pull request. By bumping it, I make it break when people try to sync it, so at least it's obvious that it's not working right now. Once https://github.com/bytemaster/chainbase/pull/3 is merged, I can bump it again to fix it.
-
由 Nathan Hourt 提交于
- Cleaned out some cruft - Added some new macros to remove boilerplate - Added some more test cases
-
- 06 4月, 2017 3 次提交
-
-
由 Nathan Hourt 提交于
Add a testing_network class to emulate a P2P network ferrying blocks between databases. Add some test cases exercising databases syncing with the testing_network and resolving forks.
-
由 Nathan Hourt 提交于
This test case checks some invariants around the missing of blocks.
-
由 Nathan Hourt 提交于
-