Commit graph

8314 commits

Author SHA1 Message Date
Byron Hambly
7ca8a8b973
Merge feae4e0438 into merged_master (Bitcoin PR bitcoin/bitcoin#28698) 2025-11-05 16:01:01 +02:00
Byron Hambly
cc4cd3f1dd
Merge f028470654 into merged_master (Bitcoin PR bitcoin/bitcoin#28727) 2025-11-05 15:56:50 +02:00
Byron Hambly
f6bbbcaf08
Merge 2a349f9ea5 into merged_master (Bitcoin PR bitcoin/bitcoin#28264) 2025-11-05 14:53:04 +02:00
Byron Hambly
095680c265
Merge 64879f4c03 into merged_master (Bitcoin PR bitcoin-core/gui#771) 2025-11-05 13:16:58 +02:00
Byron Hambly
f8c9761937
Merge 8272615241 into merged_master (Elements PR #1498) 2025-11-05 11:28:50 +02:00
Byron Hambly
43e88ba24e
Merge cc7aee39b9 into merged_master (Elements PR #1492) 2025-11-05 10:12:43 +02:00
Byron Hambly
cf1e2d4946
Merge 992147b07e into merged_master (Elements PR #1483) 2025-11-05 09:22:58 +02:00
Byron Hambly
b5065e3d26
signpsbtinput: use correct input index
this lead to an intermittent failure in rpc_psbt.py since SignPSBTInput
was being passed the output index of the prevout instead of the input
index of the input in the psbt

re-commented out some flaky lines in rpc_psbt.py which need further
investigation
2025-11-04 11:37:36 +02:00
Byron Hambly
cca9d5bb4a
lint: fix python lints 2025-10-31 14:16:40 +02:00
Byron Hambly
1bdf574025
fix: wallet_elements_regression_fundrawtransaction.py
This issue was originally found in an call to fundrawtransaction where a
raw transaction was created with 2 pre-selected inputs, one policy asset
and issued asset, with only a policy asset output specified. This would
result in the call returning "insufficient funds" since it was trying to
select coins for a negative value of the issued asset.

The fix here is to check that the raw transaction contains an output for
each asset type or return an appropriate error message.
2025-10-28 10:52:40 +02:00
Byron Hambly
f5d048649c
test: fix wallet_fundrawtransaction.py
left some FIXMEs for when sendall is upgraded to support blinded
addresses
2025-10-28 10:52:40 +02:00
Tom Trevethan
6d5d61b913 resolve fixmes in rpc_psbt.py and removing need for psbt deserialisation as PSBT_GLOBAL_UNSIGNED_TX not part of PSET 2025-10-27 13:35:45 +00:00
Tom Trevethan
47cfa4cf88 signet miner test not needed for elements, and will not run due to raw psbt RPCs being disabled when not in elements mode 2025-10-27 13:05:07 +00:00
Tom Trevethan
f1cd02dede feature_fee_estimation extended tests in elements 2025-10-27 13:02:17 +00:00
Tom Trevethan
083f7b7e2f move wallet_transactiontime_rescan to basic tests 2025-10-23 14:21:42 +01:00
Tom Trevethan
bc6306b98d fix branch lengths for headers sync and split presync test to separate test to use elements regtest for header format 2025-10-23 13:51:11 +01:00
Tom Trevethan
82953c07c2 re enabled p2p_invalid_messages.py, disabled PoW test, set elements message size and changed net_processing to check for continuous headers in elements mode 2025-10-20 23:09:10 +01:00
Tom Trevethan
6539728ce0 re-enabled sign and check with modifications to remove pre-image replacement as elements version 2 pset not deserialisable as PSBT_GLOBAL_UNSIGNED_TX not present 2025-10-20 21:09:36 +01:00
Tom Trevethan
1484272806 fixed payload limit for elements 2025-10-15 16:06:22 +01:00
Tom Trevethan
6bef5ea5ec enable psbt test now functional 2025-10-14 14:11:43 +01:00
Tom Trevethan
a078db463a reenabled test with sendall fix and policy asset changes 2025-10-14 00:00:05 +01:00
Byron Hambly
6a1ee8568b
test: fix rpc_validateaddress.py 2025-10-09 10:40:59 +02:00
Tom Trevethan
2115e5d795
changed arbitrary transaction to be non-coinbase
(cherry picked from commit 826d1971eefcf6f550de00b0c7aa55a114c83669)
2025-10-09 10:08:42 +02:00
Tom Trevethan
a3619da8c0
set low fee rate instead of zero to avoid consensus invalid fee output
(cherry picked from commit 47e2f4a024b787696fb1431b7c2b67c26ba1331d)
2025-10-09 10:08:32 +02:00
Tom Trevethan
4bfead08ed
for elements use block 1 coinbase for spk and derived new hash collision
(cherry picked from commit ac6fbec49ba03e4c942a45f4f8a438cf3eb89b64)
2025-10-09 10:08:23 +02:00
Tom Trevethan
7cf95e9f30
verified replaceable=1 set
(cherry picked from commit c2b6e6b2fd7c09e02f68604ddec5cde6bc59a686)
2025-10-09 10:08:06 +02:00
Tom Trevethan
4287981e89
set elements max message size
(cherry picked from commit f8b28444d20f9d713ab227d798513256299462fe)
2025-10-09 10:07:56 +02:00
Tom Trevethan
a8bd002ae3
fix dest error messages and test
(cherry picked from commit d2cc317cdb1b5bb1c491954cee4202c8ad44e1ad)
2025-10-09 10:07:46 +02:00
Byron Hambly
626eb94f1c
test: fix wallet_change_address.py 2025-10-09 10:05:56 +02:00
Byron Hambly
0865bc218a
test: fix wallet_bumpfee.py 2025-10-07 14:01:25 +02:00
Byron Hambly
282d7bf9b6
test: remove a sendall fixme from wallet_taproot.py that is now working 2025-10-02 13:34:38 +02:00
Byron Hambly
4c8084b3c0
test: fix wallet_migration.py
when specifying inputs for sendall, fetching the value of the input
incorrectly used the input loop index instead of the actual prevout
index.

this meant that *sometimes* the sendall call would use the wrong input
resulting in a tx that didn't balance - when the loop index was
different to the vout.
2025-10-02 13:18:57 +02:00
Tom Trevethan
a937d53a23 moved acceptunlimitedissuances to chainparams and set defaults 2025-09-26 14:15:46 +01:00
Byron Hambly
93c84a97f9
fix: unblinded re/issuance for non-policy asset greater than 21 million (#1445)
* test: add test for unblinded re/issuance greater than 21 million

Co-authored-by: Mihailo Milenkovic <mihailo.milenkovic84@gmail.com>

* fix: unblinded re/issuance for greater than 21 million

Co-authored-by: Mihailo Milenkovic <mihailo.milenkovic84@gmail.com>

* enable with param config

* change range check to policy with config option

* refactoring, additional error messages and test extension

---------

Co-authored-by: Mihailo Milenkovic <mihailo.milenkovic84@gmail.com>
Co-authored-by: Tom Trevethan <ttrevethan@blockstream.com>
2025-09-23 13:17:02 +02:00
Byron Hambly
0a5ba23e13
test: partial fix for wallet_bumpfee.py
this changes this particular test case to match upstream again now that
sendall was fixed
2025-08-28 11:33:48 +02:00
Tom Trevethan
9f1cc945b6
Fix: address error messages and test (#1486)
* fix address error messages and test

* newline

---------

Co-authored-by: Tom Trevethan <ttrevethan@blockstream.com>
2025-08-25 15:05:57 +02:00
Byron Hambly
9421b64ad6
test: fix wallet_sendall.py fixmes
tx decode was failing because the asset for the fee output was not
specified correctly
2025-08-22 14:27:52 +02:00
Tom Trevethan
0fab92d911
verify prune heights
(cherry picked from commit 31e902c350c7d59a439997a4b75edb4bc3beeb2a)
2025-08-22 11:37:32 +02:00
Tom Trevethan
207b9a96e5
verify queries
(cherry picked from commit 48712490704253ebb5fde2be024357233c84c960)
2025-08-22 11:36:59 +02:00
Tom Trevethan
2ac4a15957
fix test issues in feature_rbf
(cherry picked from commit 22851e4144f62bd2128133f4cd7d77ffb3632e48)
2025-08-22 11:36:18 +02:00
Tom Trevethan
eba73610b4
fix amount units for fee assertions
(cherry picked from commit 03fd9335213e3dc6a7a86e79c4a0f1221b45208e)
2025-08-22 11:35:46 +02:00
Tom Trevethan
8ce345f2a4
re-enable passing tests
(cherry picked from commit ca8eb8dced456bef7c36cb77c7c347a8d15d8ca9)
2025-08-22 11:35:31 +02:00
Tom Trevethan
62ad6b582a
fix fee amount assertion for elements value
(cherry picked from commit d285e9863062ac866398bbe468f616edc44ad669)
2025-08-22 11:35:18 +02:00
Tom Trevethan
f8ff00aec1
remove redundant tests for small tx policy
(cherry picked from commit dea29eab119974afcdc1f57dddfadac3ed2906e6)
2025-08-22 11:34:32 +02:00
Tom Trevethan
462cbdc2e8
Comment that -acceptnonstdtxn=1 is required for node 0 in feature_pak test
(cherry picked from commit f07f8d3d6d6a75f729e02d15f6d7a6e61699ec34)
2025-08-22 11:34:16 +02:00
Tom Trevethan
a127905802
remove replicated tests
(cherry picked from commit 5ab839e0a4bb41ca997afce55e8b784f73ee32da)
2025-08-22 11:33:47 +02:00
Byron Hambly
2581861098
ci: exclude some extended tests for previous releases job
also consider descriptorprocesspsbt and parsepsbt as covered for functional
tests so the ci job can pass
2025-08-22 09:32:41 +02:00
Byron Hambly
9fe2c5228b
test: fix wallet_crosschain.py 2025-08-22 09:22:53 +02:00
Byron Hambly
07544de1f7
test: fix interface_zmq.py 2025-08-22 09:22:53 +02:00
Byron Hambly
210e6f64f5
ci: fix macos github action
use boost@1.85 for macos on github actions
2025-08-22 09:22:39 +02:00