neoneo-go/pkg/core
Roman Khimov 33ea179f6e core: remove forward index check from addHeaders()
It can't ever happen. We're guaranteed to have a consistent chain of headers
(we're verifying them above, if we're not verifying --- it's not our fault)
that starts at HeaderHeight that was actual when we were asking for it
previously. HeaderHeight can only move forward, so if that happened that would
be filtered out by the condition below and the first one can't happen. Though
to be absolutely sure change the second check to only pass "+1" headers (which
is what we want).
2020-09-16 16:33:42 +03:00
..
block block: remove Verify() 2020-09-16 12:50:13 +03:00
blockchainer mempool: replace timeStamp with blockStamp 2020-09-09 20:46:31 +03:00
dao dao: reuse buffers when storing blocks, txes and aers 2020-09-09 20:46:31 +03:00
interop crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
mempool mempool: don't create new big.Int in tryAddSendersFee() if possible 2020-09-10 15:35:19 +03:00
mpt *: fix misspellings found in Go Report Card 2020-08-14 12:16:24 +03:00
native core: do not persist Policy contract 2020-09-05 10:54:47 +03:00
state crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
storage storage: add bloom filter to leveldb 2020-09-09 20:46:31 +03:00
test_data block: update binary test data 2020-08-18 14:52:30 +03:00
transaction transaction: cache tx size, don't serialize it over and over again 2020-09-11 18:55:19 +03:00
blockchain.go core: remove forward index check from addHeaders() 2020-09-16 16:33:42 +03:00
blockchain_test.go transaction: cache tx size, don't serialize it over and over again 2020-09-11 18:55:19 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go *: move syscall handling out of VM 2020-07-29 13:41:08 +03:00
helper_test.go hash: introduce memory-optimized merkle root hash calculation routine 2020-09-15 18:38:15 +03:00
interop_neo.go core/interop: add base58 encoding/decoding syscalls 2020-08-23 17:19:56 +03:00
interop_neo_test.go crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
interop_system.go vm: check return value on context unload 2020-08-10 11:52:33 +03:00
interop_system_test.go dao: reuse buffers when storing blocks, txes and aers 2020-09-09 20:46:31 +03:00
interops.go interop: allow to call CheckWitness without AllowStates 2020-08-27 10:29:29 +03:00
interops_test.go core: add VM into interop context 2020-08-07 16:15:24 +03:00
native_contract_test.go core: add test to call contract from native 2020-08-07 20:31:16 +03:00
native_neo_test.go native: fix a bug in GetCommitteeMembers 2020-08-27 18:40:37 +03:00
native_policy_test.go *: fix ineffassign where the value should really be used 2020-08-14 12:08:57 +03:00
opcode_price.go core: add prices for TRY* opcodes 2020-07-29 13:41:08 +03:00
prometheus.go core: add state height to prometheus metrics 2020-07-30 12:42:15 +03:00
util.go hash: introduce memory-optimized merkle root hash calculation routine 2020-09-15 18:38:15 +03:00
util_test.go core: remove unnecessary comment 2020-08-04 17:34:06 +03:00