neo-go/pkg/network/payload
Roman Khimov 7808762ba0 transaction: avoid reencoding and reading what can't be read
name               old time/op    new time/op    delta
DecodeFromBytes-8    1.79µs ± 2%    1.46µs ± 4%  -18.44%  (p=0.000 n=10+10)

name               old alloc/op   new alloc/op   delta
DecodeFromBytes-8      800B ± 0%      624B ± 0%  -22.00%  (p=0.000 n=10+10)

name               old allocs/op  new allocs/op  delta
DecodeFromBytes-8      10.0 ± 0%       8.0 ± 0%  -20.00%  (p=0.000 n=10+10)
2021-08-23 21:41:38 +03:00
..
address.go payload: add a check for zero-length address list 2020-10-08 13:26:18 +03:00
address_test.go network/payload: add missing tests for AddressAndTime 2020-12-04 15:25:55 +03:00
extensible.go *: remove dead code 2021-05-12 18:13:14 +03:00
extensible_test.go payload: drop Network from Extensible 2021-03-26 13:45:18 +03:00
getblockbyindex.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
getblockbyindex_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
getblocks.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
getblocks_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
headers.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
headers_test.go block: replace Base with Header 2021-03-10 13:38:44 +03:00
inventory.go network: replace ConsensusType with ExtensibleType 2021-01-22 10:38:33 +03:00
inventory_test.go network: replace ConsensusType with ExtensibleType 2021-01-22 10:38:33 +03:00
merkleblock.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
merkleblock_test.go block: replace Base with Header 2021-03-10 13:38:44 +03:00
notary_request.go transaction: avoid reencoding and reading what can't be read 2021-08-23 21:41:38 +03:00
notary_request_test.go *: simpilfy make() invocations 2021-05-12 18:36:45 +03:00
payload.go core: add native policy contract 2020-06-24 07:35:07 +03:00
ping.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
ping_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
version.go payload: limit the user agent field in version payload 2020-10-07 18:27:24 +03:00
version_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00