neoneo-go/pkg/core
Roman Khimov bf84e1f2fb core: cache top block
Turns out, our dApps use it a lot and we were going to the DB to get it which
is a useless waste of time. Technically we could also remove blockHeight here,
but not doing it at the moment as it's more involved.

It eliminates this time waste from the pprof graph, but doesn't change 1.4M ->
1.5M 100K mainnet block import test case in any noticeable way.
2019-12-23 19:18:12 +03:00
..
state state: use open-coded array (de)serialization for accounts 2019-12-13 19:57:17 +03:00
storage core: refactoring blockchain state and storage 2019-12-11 13:05:31 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
block.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
block_base.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
block_test.go core/tx: remove one layer of indirection for scripts and inouts 2019-12-09 17:14:10 +03:00
blockchain.go core: cache top block 2019-12-23 19:18:12 +03:00
blockchain_test.go core: refactoring blockchain state and storage 2019-12-11 13:05:31 +03:00
blockchainer.go *: goimports 2019-12-17 14:51:28 +03:00
cacheddao.go core: add cachedDao to cache accounts and contracts 2019-12-13 19:57:17 +03:00
cacheddao_test.go core: add cachedDao to cache accounts and contracts 2019-12-13 19:57:17 +03:00
dao.go core: do not write new dao elements into DB 2019-12-13 19:57:17 +03:00
dao_test.go core: do not write new dao elements into DB 2019-12-13 19:57:17 +03:00
feer.go Implement rpc server method: sendrawtransaction (#174) 2019-03-20 12:30:05 +00:00
header.go io: implement ReadBytes() 2019-12-09 15:00:15 +03:00
header_hash_list.go util: implement io.Serializable for Uint256 2019-11-14 14:20:38 +03:00
header_test.go core/tx: remove one layer of indirection for scripts and inouts 2019-12-09 17:14:10 +03:00
helper_test.go core/tx: remove one layer of indirection for scripts and inouts 2019-12-09 17:14:10 +03:00
interop_neo.go core: implement Neo.Witness.GetVerificationScript interop 2019-12-23 16:14:43 +03:00
interop_neo_test.go core: implement Neo.Witness.GetVerificationScript interop 2019-12-23 16:14:43 +03:00
interop_system.go core: get data from dao in interops 2019-12-13 17:17:14 +03:00
interops.go core: restore proper interops ordering 2019-12-23 16:14:43 +03:00
interops_test.go core: add negative non-interop test for all interops 2019-12-23 16:14:43 +03:00
mem_pool.go core: fix and speed up mempool Verify() 2019-12-13 23:23:33 +03:00
mem_pool_test.go core: add MemPool Verify() test 2019-12-14 00:05:45 +03:00
prometheus.go monitoring: add prometheus monitoring 2019-10-29 20:51:17 +03:00
spent_coin_state.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
spent_coin_state_test.go internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
uint32.go *: goimports 2019-12-17 14:51:28 +03:00
unspent_coin_state.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
unspent_coint_state_test.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
util.go core/tx: remove publickey indirection from assets and txes 2019-12-09 18:33:04 +03:00
util_test.go util: add LE suffix to Uint256 methods 2019-12-06 12:16:55 +03:00