neo-go/pkg/core
Roman Khimov c16c2bf102 core: store current header reference on clean init
Missing it the following line could fail on subsequent restarts:

        currHeaderHeight, currHeaderHash, err := storage.CurrentHeaderHeight(bc.store)

if the node was stopped before any headers had been received.
2019-11-06 17:56:06 +03:00
..
storage Merge pull request #443 from nspcc-dev/spellcheck 2019-10-22 18:01:40 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction transaction: fix invocation TX consistency in NewInvocationTX() 2019-10-23 14:50:24 +03:00
account_state.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
account_state_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
asset_state.go core: deduplicate state commit methods, use interim MemCachedStore 2019-10-16 17:33:45 +03:00
asset_state_test.go core: add putAssetStateIntoStore() 2019-10-15 12:56:25 +03:00
block.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
block_base.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
block_test.go codestyle: declare empty slice 2019-10-18 18:38:33 +03:00
blockchain.go core: store current header reference on clean init 2019-11-06 17:56:06 +03:00
blockchain_test.go core: log values from the store in persist() 2019-10-21 14:18:09 +03:00
blockchainer.go rpc/core: implement invokescript method, fix #348 2019-10-29 18:31:39 +03:00
coin_state.go Persist transactions (#51) 2018-03-21 17:11:04 +01:00
contract_state.go core: deduplicate state commit methods, use interim MemCachedStore 2019-10-16 17:33:45 +03:00
contract_state_test.go *: fix some misspellings 2019-10-17 12:30:24 +03:00
feer.go Implement rpc server method: sendrawtransaction (#174) 2019-03-20 12:30:05 +00:00
header.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
header_hash_list.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
header_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
helper_test.go core: verify blocks, fix #12 2019-10-15 18:58:17 +03:00
interop_neo.go vm: implement serialization interops in core package 2019-11-05 17:10:52 +03:00
interop_system.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
interops.go vm: implement serialization interops in core package 2019-11-05 17:10:52 +03:00
mem_pool.go monitoring: add prometheus monitoring 2019-10-29 20:51:17 +03:00
mem_pool_test.go core: remove transactions from MemPool when they're stored in block 2019-10-24 13:12:02 +03:00
prometheus.go monitoring: add prometheus monitoring 2019-10-29 20:51:17 +03:00
random_util_test.go pkg: make use of the new crypto/hash package 2019-08-26 13:32:19 +03:00
spent_coin_state.go core: deduplicate state commit methods, use interim MemCachedStore 2019-10-16 17:33:45 +03:00
spent_coin_state_test.go core: deduplicate state commit methods, use interim MemCachedStore 2019-10-16 17:33:45 +03:00
storage_item.go core: implement StorageItem for future interops 2019-10-15 12:56:25 +03:00
storage_item_test.go core: implement StorageItem for future interops 2019-10-15 12:56:25 +03:00
unspent_coin_state.go unspentcoinstate: fix branch never executed 2019-10-21 12:40:11 +03:00
unspent_coint_state_test.go core: deduplicate state commit methods, use interim MemCachedStore 2019-10-16 17:33:45 +03:00
util.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
util_test.go uint256: add Reverse(), change String() to be BE 2019-08-26 13:32:19 +03:00
validator_state.go crypto/wallet: move public/private key into the new keys package 2019-08-27 17:45:51 +03:00