neoneo-go/pkg/core/block
Roman Khimov d52e79668b hash: introduce memory-optimized merkle root hash calculation routine
NewMerkleTree is a memory hog, we can do better than that:

BenchmarkMerkle/NewMerkleTree-8                       13          88434670 ns/op        20828207 B/op     300035 allocs/op
BenchmarkMerkle/CalcMerkleRoot-8                      15          69264150 ns/op               0 B/op          0 allocs/op
2020-09-15 18:38:15 +03:00
..
block.go hash: introduce memory-optimized merkle root hash calculation routine 2020-09-15 18:38:15 +03:00
block_base.go crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
block_test.go hash: introduce memory-optimized merkle root hash calculation routine 2020-09-15 18:38:15 +03:00
consensus_data.go block: fix ConsensusData hashing 2020-06-18 12:22:49 +03:00
header.go block: drop paddings from structures 2020-06-18 12:11:41 +03:00
header_test.go core: change block.ConsensusData to neo3 format 2020-04-27 17:57:37 +03:00
helper_test.go block: update binary test data 2020-08-18 14:52:30 +03:00