OSDN Git Service

filter out known txs (#280)
authorapolloww <32606824+apolloww@users.noreply.github.com>
Mon, 15 Jul 2019 10:58:18 +0000 (18:58 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 15 Jul 2019 10:58:18 +0000 (18:58 +0800)
commit23a183040a74bb684d3a036ef26b1d90c4af76b6
tree86940d73ae2321c72a435713bbc0869c6608610e
parent74cf033ce4ad67ac46b3cc6375582a13a5f38a0d
filter out known txs (#280)

* filter out known txs

* move filtering logic into chain level

* skip filtering when restoring tx back to pool

* refactor
common/ordered_set.go [new file with mode: 0644]
netsync/chainmgr/handle.go
protocol/block.go
protocol/protocol.go
protocol/tx.go