mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 23:25:22 +00:00
d0f9a28196
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. |
||
---|---|---|
.. | ||
cli | ||
opcode | ||
testdata | ||
tests | ||
context.go | ||
contract_checks.go | ||
contract_checks_test.go | ||
emit.go | ||
emit_test.go | ||
interop.go | ||
json_test.go | ||
output.go | ||
serialization.go | ||
stack.go | ||
stack_item.go | ||
stack_test.go | ||
state.go | ||
state_test.go | ||
vm.go | ||
vm_test.go |