OSDN Git Service

txpool handle orphan (#1228)
authorPaladz <yzhu101@uottawa.ca>
Wed, 8 Aug 2018 08:06:44 +0000 (16:06 +0800)
committerGitHub <noreply@github.com>
Wed, 8 Aug 2018 08:06:44 +0000 (16:06 +0800)
commit96bd4ee385143eb4cb0a10d641c925e6c3202f8f
treecfa6e0b52d6aebae98a5fbb1ba766bced6d54d24
parente3981890a52eb75595b882b887906855f0319c19
txpool handle orphan (#1228)

* tmp save

* elegant the code

* add unit test for TestRemoveOrphan

* add unit test for TestAddOrphan

* add unit test for addTransaction

* add unit test for ExpireOrphan

* add unit test for processOrphans

* edit the mock tx

* fix functional test error

* try to fix functional test bug
16 files changed:
.gitignore
account/accounts_test.go
asset/asset_test.go
node/node.go
protocol/state/utxo_view.go
protocol/tx.go
protocol/txpool.go
protocol/txpool_test.go
test/bench_blockchain_test.go
test/performance/mining_test.go
test/protocol_test.go
test/tx_test.go
test/util.go
test/wallet_test.go
test/wallet_test_util.go
wallet/wallet_test.go