forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
, bitcoin#23120, bitcoin#23118, bitcoin#23866, bitcoin#23558, bitcoin#24035, bitcoin#23873, bitcoin#23978, bitcoin#23836, bitcoin#24223, bitcoin#24533, bitcoin#24605 (test backports: part 2) 14adbf5 merge bitcoin#24605: Use MiniWallet in feature_coinstatsindex (Kittywhiskers Van Gogh) eba742d merge bitcoin#24533: use MiniWallet for feature_maxuploadtarget.py (Kittywhiskers Van Gogh) 9fec1be merge bitcoin#24223: use MiniWallet for interface_rest.py (Kittywhiskers Van Gogh) 1c87d1c merge bitcoin#23836: Expose block filters follow-ups (Kittywhiskers Van Gogh) 0e3dadf merge bitcoin#23978: use MiniWallet for mining_basic.py (Kittywhiskers Van Gogh) 16ffee4 merge bitcoin#23873: use MiniWallet for p2p_compactblocks.py (Kittywhiskers Van Gogh) 4da044b merge bitcoin#24035: use MiniWallet for mempool_accept.py (Kittywhiskers Van Gogh) 7c313d0 merge bitcoin#23558: run rpc-generateblock.py even with wallet disabled (Kittywhiskers Van Gogh) 75e0be5 merge bitcoin#23866: use MiniWallet for rpc_scantxoutset.py (Kittywhiskers Van Gogh) d908de9 merge bitcoin#23118: introduce `script_util` helper for creating P2PK scripts (Kittywhiskers Van Gogh) f01b2aa merge bitcoin#23120: Remove unused and confusing main parameter from script_util (Kittywhiskers Van Gogh) adcc7a1 merge bitcoin#23079: use MiniWallet for p2p_filter.py (Kittywhiskers Van Gogh) 473620f test: make sure `MiniWallet().sendrawtransaction()` returns `txid` (Kittywhiskers Van Gogh) 24eb44c merge bitcoin#22363: use `script_util` helpers for creating P2{PKH,SH} scripts (Kittywhiskers Van Gogh) bbb6599 merge bitcoin#20039: Convert amounts from float to decimal (Kittywhiskers Van Gogh) Pull request description: ## Additional Information * While [bitcoin#22363](bitcoin#22363) implements helpers for P2{WPKH,WSH}, this has been omitted on account of Dash not supporting SegWit. Likewise, logic related to RBF and Taproot have been likewise omitted in other backports (e.g. the changes extracted from [bitcoin#22998](bitcoin#22998) as 473620f). * In [bitcoin#23866](bitcoin#23866), `getnewdestination` will only generate `legacy` addresses (also the default type of address) on account of not supporting `bech32` addresses or SegWit. * In `address_to_scriptpubkey()`, the version bits were taken from testnet chain parameters ([source](https://github.com/dashpay/dash/blob/a5787c9a30896288c3e68ac443d46e54ce61c68f/src/chainparams.cpp#L448-L451)) * The backport of [bitcoin#23079](bitcoin#23079) implements `random_p2pkh()` (as opposed to `random_p2wpkh()` upstream) on account of Dash not supporting SegWit. * The trio of transactions generated in `interface_rest.py` are 225 bytes each, which helps clear the "mempool consumes at least 300 bytes" assertion ([source](https://github.com/dashpay/dash/blob/a5787c9a30896288c3e68ac443d46e54ce61c68f/test/functional/interface_rest.py#L308-L309)). But [bitcoin#24223](bitcoin#24223) trims the transaction size down to 85 bytes each. To ensure the test passes, the assertion threshold has been reduced to 240 (assuming three transactions consume at least 80 bytes each). * In [bitcoin#24605](bitcoin#24605), `tx2` will spend 20.999 tDASH instead of 2.99 tBTC expected upstream. This is due to Dash having a lower feerate and the test unmodified will trigger a "Fee exceeds maximum configured by user" error. Known-good values affected by this change have been updated accordingly. ## Breaking Changes None expected. ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)** - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] I have made corresponding changes to the documentation **(note: N/A)** - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK 14adbf5 PastaPastaPasta: utACK 14adbf5 Tree-SHA512: cb67402a05c4b4c91574c1846644737536677c6b16fc2548254f508fc1e43b0b04b45547fb4121df07c4c694a270752901318f9b86e181b9ab7e18663959c80f
- Loading branch information
Showing
31 changed files
with
458 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.