neo-go/pkg/core
Roman Khimov 9546e021a9 rpc/block: rework the way Block is JSONized
Our block.Block was JSONized in a bit different fashion than result.Block in
its Nonce and NextConsensus fields. It's not good for notifications because
third-party clients would probably expect to see the same format. Also, using
completely different Block representation in result is probably making our
client a bit weaker as this representation is harder to use with other neo-go
components.

So use the same approach we took for Transactions and wrap block.Base which is
to be serialized in proper way.
2020-05-14 17:28:14 +03:00
..
block rpc/block: rework the way Block is JSONized 2020-05-14 17:28:14 +03:00
dao core/dao: remove unnecessary slice type 2020-04-08 08:38:45 +03:00
mempool mempool: gofmt -s 2020-03-17 16:47:51 +03:00
state random: make use or random package in tests 2020-03-27 10:27:46 +03:00
storage storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction transaction: add json.Unmarshaler to Attribute 2020-05-14 17:28:14 +03:00
blockchain.go core: improve locking in storeBlock 2020-05-13 17:17:41 +03:00
blockchain_test.go core: add Blockchain event subscription mechanism 2020-05-12 17:41:15 +03:00
blockchainer.go core: add Blockchain event subscription mechanism 2020-05-12 17:41:15 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-12 17:41:15 +03:00
gas_price.go cli: make gas parameter to deployment add gas to the base price 2020-03-11 20:34:36 +03:00
gas_price_test.go core: make SpawnVM a method of context 2020-04-08 08:38:45 +03:00
header_hash_list.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
helper_test.go core: ensure we produce correct blocks for tests 2020-05-07 21:46:28 +03:00
interop_neo.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
interop_neo_test.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
interop_system.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
interops.go core: make SpawnVM a method of context 2020-04-08 08:38:45 +03:00
interops_test.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
spent_coin.go core: move (un)SpentCoin structs into the state package 2020-03-11 12:22:52 +03:00
util.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00
util_test.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00