Skip to content

test: check abandoned tx in listsinceblock - #23080

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
brunoerg:2021-09-improv-test-listsinceblock
Oct 18, 2021
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
brunoerg:2021-09-improv-test-listsinceblock

Conversation

@brunoerg

Copy link
Copy Markdown
Contributor

This PR tests if the abandoned transaction is correct in listsinceblock return (wallet_abandonconflict.py).

@fanquake fanquake added the Tests label Sep 24, 2021
@brunoerg
brunoerg force-pushed the 2021-09-improv-test-listsinceblock branch from c70f07f to c89ac29 Compare September 29, 2021 13:46

@jonatack jonatack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK c89ac2900d325117c2a1c853ed7afb554eb31e65

@brunoerg
brunoerg force-pushed the 2021-09-improv-test-listsinceblock branch from c89ac29 to bda620a Compare October 1, 2021 12:52
@jonatack

jonatack commented Oct 1, 2021

Copy link
Copy Markdown
Member

ACK bda620a

@theStack theStack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
ACK bda620a

@stratospher stratospher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK bda620a. This PR verifies whether the transaction txAB1 has been abandoned in listsinceblock and is a nice addition to the test!

Test Output
$ test/functional/wallet_abandonconflict.py
2021-10-17T17:25:18.676000Z TestFramework (INFO): Initializing test directory /var/folders/bh/7x61zw991x15d01dlnx_cgrh0000gn/T/bitcoin_func_test_qz8aoc61
2021-10-17T17:25:36.667000Z TestFramework (INFO): Check abandoned transactions in listsinceblock
2021-10-17T17:25:38.592000Z TestFramework (INFO): If balance has not declined after invalidateblock then out of mempool wallet tx which is no longer
2021-10-17T17:25:38.593000Z TestFramework (INFO): conflicted has not resumed causing its inputs to be seen as spent.  See Issue #7315
2021-10-17T17:25:38.593000Z TestFramework (INFO): 2514.99986860 -> 2514.99986860 ?
2021-10-17T17:25:38.648000Z TestFramework (INFO): Stopping nodes
2021-10-17T17:25:39.177000Z TestFramework (INFO): Cleaning up /var/folders/bh/7x61zw991x15d01dlnx_cgrh0000gn/T/bitcoin_func_test_qz8aoc61 on exit
2021-10-17T17:25:39.178000Z TestFramework (INFO): Tests successful

@fanquake
fanquake merged commit ef59692 into bitcoin:master Oct 18, 2021
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Apr 3, 2022
bda620a test: check abandoned tx in listsinceblock (brunoerg)

Pull request description:

  This PR tests if the abandoned transaction is correct in listsinceblock return (wallet_abandonconflict.py).

ACKs for top commit:
  jonatack:
    ACK bda620a
  theStack:
    ACK bda620a
  stratospher:
    Tested ACK bda620a. This PR verifies whether the transaction txAB1 has been abandoned in listsinceblock and is a nice addition to the test!

Tree-SHA512: e4dce344cf621de7a8b5bd8660d252419772a293080fc881f6f448b6df85c6b1c8f0df619e855a40b6393f53c836f0d7fadbd3916c20cccd3a95830b8b502991
@bitcoin bitcoin locked and limited conversation to collaborators Oct 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants