Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Sep 9, 2020

Run the consensus test even when the wallet was not compiled. Also:

MarcoFalke added 2 commits September 9, 2020 10:38
…o_to_spend

Adds two new features to MiniWallet:

* The fee rate is irrelevant sometimes, so just set an arbitrary default
* The utxo to spend needs to be selected manually sometimes
@jnewbery
Copy link
Contributor

jnewbery commented Sep 9, 2020

Concept ACK. Moving all the remaining non-wallet tests to use MiniWallet could be a good first issue for newer contributors.

@maflcko
Copy link
Member Author

maflcko commented Sep 9, 2020

Force pushed to make travis python linter happy

@jnewbery
Copy link
Contributor

jnewbery commented Sep 9, 2020

utACK faf251d. Thanks Marco!

Copy link
Contributor

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

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

ACK faf251d

@laanwj laanwj merged commit f2d9934 into bitcoin:master Sep 11, 2020
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Sep 11, 2020
…abled

faf251d test: gettxoutproof duplicate txid (João Barbosa)
faf5eb4 test: Test empty array in gettxoutproof (MarcoFalke)
fa56e86 test: Run rpc_txoutproof.py even with wallet disabled (MarcoFalke)
faba790 test: MiniWallet: Default fee_rate in send_self_transfer, Pass in utxo_to_spend (MarcoFalke)
fa65a11 test: bugfix: Actually pick largest utxo (MarcoFalke)

Pull request description:

  Run the consensus test even when the wallet was not compiled. Also:

  * Minor bugfix in MiniWallet
  * Two new test cases (one cherry-picked from bitcoin#19847)

ACKs for top commit:
  jnewbery:
    utACK faf251d. Thanks Marco!
  kristapsk:
    ACK faf251d

Tree-SHA512: a5ab33695c88cfb3c369021d4506069c08ce298e24e891db55159130693ed3817444c72f6aad3f472235aa4597b2c601010af714411c2ec8ad9c2d2e0b00ecbc
@maflcko maflcko deleted the 2009-testMoreMiniWallet branch October 2, 2020 12:15
@stackman27
Copy link
Contributor

@MarcoFalke I realize that this is a merged PR, but I just had some hanging issues/comments regarding implementing create_lots_of_big_transactions while restructuringmempool_limit.py. My biggest concern is that wouldn't we need to change send_self_transfer to accommodate extra appends in the transaction outputs to make it large? or is there something i'm missing out? Any help is really appreciated

@maflcko
Copy link
Member Author

maflcko commented Jan 6, 2021

send_self_transfer only handles a single-in-single-out tx. If multi-in-multi-out txs are needed, it could make sense to add a new method for that.

@stackman27
Copy link
Contributor

send_self_transfer only handles a single-in-single-out tx. If multi-in-multi-out txs are needed, it could make sense to add a new method for that.

Alright, I will open a PR soon with respected changes. Thank you :)

Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Oct 11, 2021
Summary:
This brings the test duration down from 2 seconds to 1 second.

This is a backport of [[bitcoin/bitcoin#19922 | core#19922]] [2/4]
bitcoin/bitcoin@fa56e86

Depends on D10254

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10255
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Oct 11, 2021
Summary:
This is a backport of [[bitcoin/bitcoin#19922 | core#19922]] [3/4]
bitcoin/bitcoin@faf5eb4

Depends on D10255

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10256
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Oct 11, 2021
Summary:
This is a backport of [[bitcoin/bitcoin#19922 | core#19922]] [4/4]
bitcoin/bitcoin@faf251d

Depends on D10256

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10257
PiRK pushed a commit to PiRK/lotusd that referenced this pull request Aug 16, 2022
Summary:
This brings the test duration down from 2 seconds to 1 second.

This is a backport of [[bitcoin/bitcoin#19922 | core#19922]] [2/4]
bitcoin/bitcoin@fa56e86

Depends on D10254

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10255
PiRK pushed a commit to PiRK/lotusd that referenced this pull request Aug 16, 2022
Summary:
This is a backport of [[bitcoin/bitcoin#19922 | core#19922]] [3/4]
bitcoin/bitcoin@faf5eb4

Depends on D10255

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10256
PiRK pushed a commit to PiRK/lotusd that referenced this pull request Aug 16, 2022
Summary:
This is a backport of [[bitcoin/bitcoin#19922 | core#19922]] [4/4]
bitcoin/bitcoin@faf251d

Depends on D10256

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10257
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 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.

7 participants