neoneo-go/pkg
Roman Khimov d0f9a28196 vm/core: improve block import speed with PublicKey caching
This change (closely related to the neo-project/neo#1321 proposal) speeds up
1.4M mainnet blocks import by 30%. Basically, we're eliminating key decoding
for block's multisignature that has the same keys most of the time.

Things I don't like about this patch:
 * yet another parameter for verifyHashAgainstScript()
 * vm keys are not copied in/out

But it's rather simple and solves the problem for this particular case, so I
think it's worth it.
2019-12-10 19:13:29 +03:00
..
compiler Merge pull request #546 from nspcc-dev/write-optimizations 2019-12-06 19:40:38 +03:00
consensus *: implement EncodeBinary with pointer receivers where appropriate 2019-12-09 18:25:15 +03:00
core vm/core: improve block import speed with PublicKey caching 2019-12-10 19:13:29 +03:00
crypto io: implement ReadBytes() 2019-12-09 15:00:15 +03:00
internal/keytestcases crypto: add invalid testcase 2019-11-29 11:03:03 +03:00
interop fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
io io: add a note for WriteArray, fix #519 2019-12-09 18:39:30 +03:00
network core/tx: remove one layer of indirection for scripts and inouts 2019-12-09 17:14:10 +03:00
rpc core/tx: remove one layer of indirection for scripts and inouts 2019-12-09 17:14:10 +03:00
smartcontract io: rename ReadBytes() to ReadVarBytes() 2019-12-09 15:00:15 +03:00
util *: implement EncodeBinary with pointer receivers where appropriate 2019-12-09 18:25:15 +03:00
vm vm/core: improve block import speed with PublicKey caching 2019-12-10 19:13:29 +03:00
wallet crypto: add invalid testcase 2019-11-29 11:03:03 +03:00