neoneo-go/pkg/core
Anthony De Meulemeester a67728628e
Persist blockchain with leveldb on disk (#48)
* Created test_data folder with block json files for testing + create separate file for block base.

* Fixed bug in WriteVarUint + Trim logic + unit tests

* Refactored store and add more tests for it.

* restore headerList from chain file

* Fix tx decode bug + lots of housekeeping.

* Implemented Node restore state from chain file.

* Created standalone package for storage. Added couple more methods to Batch and Store interfaces.

* Block persisting + tests

* bumped version -> 0.31.0
2018-03-17 12:53:21 +01:00
..
storage Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
block.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
block_base.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
block_test.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
blockchain.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
blockchain_test.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
blockchainer.go Node improvements (#47) 2018-03-14 10:36:59 +01:00
cache.go Node improvements (#47) 2018-03-14 10:36:59 +01:00
header.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
header_hash_list.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
header_test.go Smartcontract (#39) 2018-03-04 14:56:49 +01:00
helper_test.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
util.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00