Commit graph

30284 commits

Author SHA1 Message Date
Byron Hambly
8da9a2a5c1
Merge d51fb9caa6 into merged_master (Bitcoin PR bitcoin/bitcoin#28503) 2025-11-05 17:54:02 +02:00
Byron Hambly
0d7436a6ed
Merge 4458ae811a into merged_master (Bitcoin PR bitcoin/bitcoin#28741) 2025-11-05 17:50:22 +02:00
Byron Hambly
2ec308d33e
Merge 7d6c646cc7 into merged_master (Bitcoin PR bitcoin/bitcoin#28348) 2025-11-05 17:46:28 +02:00
Byron Hambly
844aef93dd
Merge 6391644b66 into merged_master (Bitcoin PR bitcoin/bitcoin#28737) 2025-11-05 17:40:44 +02:00
Byron Hambly
63009367ce
Merge ec5116ae14 into merged_master (Bitcoin PR bitcoin/bitcoin#28695) 2025-11-05 17:40:39 +02:00
Byron Hambly
7ca8a8b973
Merge feae4e0438 into merged_master (Bitcoin PR bitcoin/bitcoin#28698) 2025-11-05 16:01:01 +02:00
Byron Hambly
64d3fabf80
Merge 42b0d5f59b into merged_master (Bitcoin PR bitcoin/bitcoin#28740) 2025-11-05 15:49:40 +02:00
Byron Hambly
645aa201c8
Merge e789b30b25 into merged_master (Bitcoin PR bitcoin/bitcoin#27116) 2025-11-05 15:34:04 +02:00
Byron Hambly
423d88456b
Merge 7be62df80f into merged_master (Bitcoin PR bitcoin/bitcoin#26078) 2025-11-05 15:33:49 +02:00
Byron Hambly
0c87ad800c
Merge 5572f98f05 into merged_master (Bitcoin PR bitcoin/bitcoin#28107) 2025-11-05 15:27:22 +02:00
Byron Hambly
f0aca27969
Merge cb8844e2b9 into merged_master (Bitcoin PR bitcoin/bitcoin#28728) 2025-11-05 15:10:53 +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
ee3b717868
Merge afa081a39b into merged_master (Bitcoin PR bitcoin-core/gui#742) 2025-11-05 13:11:16 +02:00
Byron Hambly
11fb937204
Merge ba0313d84b into merged_master (Bitcoin PR bitcoin/bitcoin#28210) 2025-11-05 11:37:13 +02:00
Byron Hambly
4d24d98b18
Merge 6150a745f9 into merged_master (Elements PR #1493) 2025-11-05 11:21:26 +02:00
Byron Hambly
43e88ba24e
Merge cc7aee39b9 into merged_master (Elements PR #1492) 2025-11-05 10:12:43 +02:00
Byron Hambly
af26dc318e
fixme: src/wallet/coinselection.cpp 2025-11-05 09:16:13 +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
5ecfeb2717
remove unused dummy function in spend.cpp 2025-11-03 16:56:46 +02:00
Byron Hambly
832af6a098
fixme: src/script/bitcoinconsensus.cpp
this is working with a default asset in script_tests.cpp, but if
we need this consensus lib for elements then it must be fixed to
use multi assets correctly
2025-11-03 09:55:38 +02:00
Byron Hambly
8b114287e3
fixme: src/test/net_tests.cpp 2025-10-31 14:32:07 +02:00
Byron Hambly
e7728f580e
fixme: src/wallet/rpc/spend.cpp
in sendall it's fine to use GetAmount on the outputs since the
transaction is not blinded (yet)
2025-10-31 09:24:48 +02:00
Byron Hambly
9eb7c8da3d
fixme: src/rpc/util.cpp
this is now working after fixing up the rpc args in the previous commit
2025-10-31 09:22:34 +02:00
Byron Hambly
862a6868d8
rpc: fix rpc typechecking errors
Fixes (most?) of the rpc typechecking errors, at least the ones that are
tested by the functional tests.

However, I've left the rpc typechecking off after fixing these, since
I'm concerned that there are conditional cases that are untested in our
functional tests - and I'd rather not have RPC calls failing in a
release just because the documentation is not correct.
2025-10-30 15:11:48 +02:00
Byron Hambly
9b12523970
fixme: src/wallet/spend.cpp 2025-10-28 15:06:54 +02:00
Byron Hambly
d57affdc79
fixme: wallet/rpc/transactions.cpp 2025-10-28 14:42:27 +02:00
Byron Hambly
cdd7d6a670
fixme: rpc/mining.cpp 2025-10-28 11:50:59 +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
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
a8bd002ae3
fix dest error messages and test
(cherry picked from commit d2cc317cdb1b5bb1c491954cee4202c8ad44e1ad)
2025-10-09 10:07:46 +02:00
Byron Hambly
0865bc218a
test: fix wallet_bumpfee.py 2025-10-07 14:01:25 +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
2dd017d98c added unlimitedissuance config option for CLiquidV1TestParams 2025-09-30 11:40:24 +01: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
Tom Trevethan
e145690b42
apply mandatory coinbase only to policyAsset (#1488)
Co-authored-by: Tom Trevethan <ttrevethan@blockstream.com>
2025-09-19 11:44:39 +01: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
Byron Hambly
c445fe8a8b
coinselection: use policyasset instead of call to params for pegged_asset
this fixes up the coinselection fuzzing tests where Params() is not available
2025-08-22 09:30:27 +02:00
Byron Hambly
1cb55cbd9d
blockheader: make implicit cast explicit in GetHash 2025-08-22 09:30:27 +02:00
Byron Hambly
5f1d2d12f5
chainstate: include chainparams.cpp 2025-08-22 09:29:12 +02:00
Byron Hambly
3a0c71af6c
walletdb: lock cs_wallet for loadspecificblindingkey 2025-08-22 09:29:12 +02:00
Byron Hambly
c895baf56d
test: fixme for consensus script_tests
FIXME the consensus library inherited from upstream has to be updated to work with other assets,
comments out this failing test assertion until it can be fixed
2025-08-22 09:26:39 +02:00
Byron Hambly
2c00e52e9e
tsan: lock cs_wallet for CalculateMaximumSignedTxSize in spend.cpp
also bump memory for tsan CI job and fix ci image name tag
2025-08-22 09:25:54 +02:00
Byron Hambly
57cdadc7c5
kernel: include univalue 2025-08-22 09:24:49 +02:00
Byron Hambly
c04950d63c
addrman: init node_id for sanitizers 2025-08-22 09:24:49 +02:00
Byron Hambly
4de706a2a4
ci(tidy): use emplace_back instead of push_back 2025-08-22 09:23:55 +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
Byron Hambly
95503abe8c
lint: fix codespell and lint-spelling 2025-08-08 13:53:55 +02:00