neoneo-go/pkg/core
Vsevolod Brekelov 100fee164b unitTest: reworked RPC unit test
earlier we had an issue with failing test in #353 and other one #305.
Reworked these test to have in-memory database. This led to multiple
changes: made some functions like Hash and Persist public(otherwise
it's not possible to control state of the blockchain); removed
unit_tests storage package which was used mainly for leveldb in unit
tests.
I see these tests not really good since they look like e2e tests and
as for me should be run in separate step against dockerized env or
in case we want to check rpc handler we might want to rework it in order
to have interface for proper unit tests.
As for me this patchset at least makes as safe with not removing totally
previous tests and at the same time CircleCI will be happy now.
2019-09-18 18:21:16 +03:00
..
storage storage: add seek implementation 2019-09-18 18:20:41 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
account_state.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +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 io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
asset_state_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
block.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
block_base.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
block_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
blockchain.go unitTest: reworked RPC unit test 2019-09-18 18:21:16 +03:00
blockchain_test.go unitTest: reworked RPC unit test 2019-09-18 18:21:16 +03:00
blockchainer.go Implement rpc server method: sendrawtransaction (#174) 2019-03-20 12:30:05 +00:00
cache.go core: add some mechanism to drop bad blocks from cache 2019-09-16 16:26:30 +03:00
coin_state.go Persist transactions (#51) 2018-03-21 17:11:04 +01:00
contract_state.go Persisting more states (#71) 2018-04-16 22:15:30 +02:00
feer.go Implement rpc server method: sendrawtransaction (#174) 2019-03-20 12:30:05 +00:00
header.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
header_hash_list.go io: move BinReader/BinWriter there, redo Serializable with it 2019-09-16 23:39:51 +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 io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
mem_pool.go Implement rpc server method: sendrawtransaction (#174) 2019-03-20 12:30:05 +00: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 io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
spent_coin_state_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
unspent_coin_state.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
unspent_coint_state_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
util.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +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