neo-go/pkg/core/block
Roman Khimov 5616585697 block/dao: simplify trimming, avoid allocations
The only user of (*Block).Trim() is in DAO and it already has a nice buffer
usually, so creating another one makes no sense. It also simplifies error
handling a lot.
2022-03-18 10:49:25 +03:00
..
block.go block/dao: simplify trimming, avoid allocations 2022-03-18 10:49:25 +03:00
block_test.go block/dao: simplify trimming, avoid allocations 2022-03-18 10:49:25 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
header.go core: marshal Block.Nonce in upper-case hex 2021-09-09 15:52:51 +03:00
header_test.go block: replace Base with Header 2021-03-10 13:38:44 +03:00
helper_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00