neo-go/pkg/core/mempool
Roman Khimov b675903f52 mempool/core: redesign mempool dances on block acceptance
We not only need to remove transactions stored in the block, but also
invalidate some potential double spends caused by these transactions. Usually
new block contains a substantial number of transactions from the pool, so it's
easier to make one pass over it only keeping valid items rather than remove
them one by one and make an additional pass to recheck inputs/witnesses.
2020-02-06 15:45:16 +03:00
..
feer.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
mem_pool.go mempool/core: redesign mempool dances on block acceptance 2020-02-06 15:45:16 +03:00
mem_pool_test.go mempool: use one slice for both priorities 2020-02-06 15:43:45 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00