Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115104
D12468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
987 B
Subscribers
None
D12468.diff
View Options
diff --git a/test/functional/wallet_abandonconflict.py b/test/functional/wallet_abandonconflict.py
--- a/test/functional/wallet_abandonconflict.py
+++ b/test/functional/wallet_abandonconflict.py
@@ -160,6 +160,15 @@
assert_equal(newbalance, balance + Decimal("30000000"))
balance = newbalance
+ self.log.info("Check abandoned transactions in listsinceblock")
+ listsinceblock = self.nodes[0].listsinceblock()
+ txAB1_listsinceblock = [d for d in listsinceblock['transactions']
+ if d['txid'] == txAB1 and d['category'] == 'send']
+ for tx in txAB1_listsinceblock:
+ assert_equal(tx['abandoned'], True)
+ assert_equal(tx['confirmations'], 0)
+ assert_equal(tx['trusted'], False)
+
# Verify that even with a low min relay fee, the tx is not re-accepted
# from wallet on startup once abandoned.
self.restart_node(0, extra_args=["-minrelaytxfee=10"])
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 09:46 (4 m, 8 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187245
Default Alt Text
D12468.diff (987 B)
Attached To
D12468: test: check abandoned tx in listsinceblock
Event Timeline
Log In to Comment