neoneo-go/pkg
Roman Khimov 7633439845 rpc/block: rework the way Block is JSONized
Our block.Block was JSONized in a bit different fashion than result.Block in
its NextConsensus and Index 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 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.Block which is
to be serialized in proper way.

Fix `Script` JSONization along the way, 3.0 node wraps it within `witnesses`.
2020-05-26 11:36:47 +03:00
..
compiler vm: make PUSH0 emit Integer 2020-05-22 14:16:32 +03:00
config transaction: drop Enrollment and State types 2020-04-27 16:06:58 +03:00
consensus network: get blocks directly from the chain for rebroadcasting 2020-05-25 00:27:39 +03:00
core rpc/block: rework the way Block is JSONized 2020-05-26 11:36:47 +03:00
crypto vm: move RET and SYSCALL opcodes 2020-05-07 13:23:05 +03:00
encoding *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
internal vm: move RET and SYSCALL opcodes 2020-05-07 13:23:05 +03:00
interop vm: remove crypto-related opcodes 2020-04-29 19:16:38 +03:00
io *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
network network: get blocks directly from the chain for rebroadcasting 2020-05-25 00:27:39 +03:00
rpc rpc/block: rework the way Block is JSONized 2020-05-26 11:36:47 +03:00
smartcontract smartcontract: add JSON marshal/unmarshal for InteropType 2020-05-25 00:27:39 +03:00
util util: fixed typo in method description 2020-05-20 23:26:51 +03:00
vm vm/tests: restore NEO3 JSON tests 2020-05-22 14:17:15 +03:00
wallet wallet: check for t.GetSignedPart() result correctness 2020-05-24 23:53:38 +03:00