aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_P2SH_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-11-01 15:52:25 +0100
committerPieter Wuille <[email protected]>2012-11-01 18:06:29 +0100
commit5eaf91a4286380e5db239b63477b627ab91a53e7 (patch)
tree2687b59ae9f6f97f5f7d034442bdf9a6837ac7a7 /src/test/script_P2SH_tests.cpp
parentMerge pull request #1963 from sipa/bugfix_nonewblock (diff)
downloaddiscoin-5eaf91a4286380e5db239b63477b627ab91a53e7.tar.xz
discoin-5eaf91a4286380e5db239b63477b627ab91a53e7.zip
Bugfix: do not keep relaying spent wallet transactions
The original test (checking whether the transaction occurs in the txindex) is not usable anymore, as it will miss anything already fully spent. However, as merkle transactions (and by extension, wallet transactions) track which block they were last seen being included in, we can use that to determine the need for rebroadcasting.
Diffstat (limited to 'src/test/script_P2SH_tests.cpp')
0 files changed, 0 insertions, 0 deletions