Commit graph

49308 commits

Author SHA1 Message Date
ivanlele
c26d4df02c Merge 4a903741b0 into merged_master (Bitcoin PR #28120) 2026-02-12 17:26:09 +00:00
ivanlele
18c5869c41 Merge 10d7b6e201 into merged_master (Bitcoin PR #29514) 2026-02-12 17:19:56 +00:00
ivanlele
b466907492 Merge 5ebb406357 into merged_master (Bitcoin PR #26564) 2026-02-12 17:11:16 +00:00
ivanlele
919f6e61b7 Merge 4cc99df44a into merged_master (Bitcoin PR #29569) 2026-02-12 16:59:05 +00:00
ivanlele
bc33675652 Merge a78ca706f6 into merged_master (Bitcoin PR #29393) 2026-02-12 16:52:57 +00:00
ivanlele
81a17ea31a Merge c07935bcf5 into merged_master (Bitcoin PR #28960) 2026-02-12 16:33:05 +00:00
Byron Hambly
f92413bfed
Merge 1cd2e29870 into merged_master (Bitcoin PR #29600) 2026-02-12 14:13:08 +02:00
Byron Hambly
1275c7c370
Merge 54172c688c into merged_master (Bitcoin PR #29595) 2026-02-12 14:13:03 +02:00
Byron Hambly
a40741355f
Merge c49450dc8f into merged_master (Bitcoin PR #29583) 2026-02-12 14:01:19 +02:00
Byron Hambly
a455ddeed6
Merge 67fb94ce42 into merged_master (Bitcoin PR #29577) 2026-02-12 13:58:15 +02:00
Byron Hambly
74c502779f
Merge c2c6a7d1dc into merged_master (Bitcoin PR #803) 2026-02-12 13:55:06 +02:00
Byron Hambly
cc4655509e
Merge 59567d7b9a into merged_master (Bitcoin PR #29576) 2026-02-12 13:48:29 +02:00
Tom Trevethan
00550f3014
remove commented out redundant forward declaration
(cherry picked from commit 9565b6064dbbb3733107a0ee03c8a52881773487)
2026-02-12 12:22:04 +02:00
Tom Trevethan
a1bb0dd675
Added RAW_OP_TRUE miniwallet mode serialization size
(cherry picked from commit 1f13810a73afab07b78d24f3093da6b2cde7e587)
2026-02-12 12:21:33 +02:00
Tom Trevethan
25ef47d990
checked elements sighash flags
(cherry picked from commit 69d8fce408abf7e1a83d399ee4a7bccccb58d647)
2026-02-12 12:20:59 +02:00
Tom Trevethan
98d0025a9e
remove debug prints
(cherry picked from commit 35e463a3b515cfbe769ad4c617a9afcea6c24c8e)
2026-02-12 12:20:21 +02:00
Byron Hambly
9e5aaef647
Merge 7791d31bcf into merged_master (Elements PR #1499) 2026-02-12 12:17:19 +02:00
Byron Hambly
655e5c1a1e
Merge 6bb916a57f into merged_master (Elements PR #1530) 2026-02-11 15:17:07 +02:00
Byron Hambly
d7c1c969c5
Merge 344581cabd into merged_master (Elements PR #1528) 2026-02-11 15:00:59 +02:00
Byron Hambly
93159ee063
Merge e360a967b6 into merged_master (Elements PR #1518) 2026-02-11 14:55:53 +02:00
Byron Hambly
dd57849ba7
Merge 6d29a59f61 into merged_master (Elements PR #1522) 2026-02-11 14:50:19 +02:00
Byron Hambly
46ed5e2d73
Merge 9a74bc9e2d into merged_master (Elements PR #1519) 2026-02-11 14:44:03 +02:00
Byron Hambly
73f01ce3fc
Merge a98bad738a into merged_master (Elements PR #1520) 2026-02-11 14:43:25 +02:00
merge-script
7791d31bcf
Merge ElementsProject/elements#1499: ELIP 202: Implementation of optional sidechain peg-in subsidy and minimum peg-in amount
a18a88b31b grammar: prefer peg-in to pegin in messages (Byron Hambly)
90b2b3bbb0 test: add pegin subsidy functional test (Byron Hambly)
186bb25a08 validation: check for peg-in subsidy and minimum (Byron Hambly)
51c89c65d0 subsidy: implementation for claimpegin, createrawpegin, and RPCs (Byron Hambly)
94cde59dc3 subsidy: add chainparams and init (Byron Hambly)
f3b63f4b8c DecomposePeginWitness: fix deserialization flags for MerkleBlock proof (Byron Hambly)

Pull request description:

  Implementation for [ELIP 202](https://github.com/ElementsProject/ELIPs/blob/main/elip-0202.mediawiki)

ACKs for top commit:
  jsarenik:
    Running ACK a18a88b
  tomt1664:
    Tested ACK a18a88b31b

Tree-SHA512: 984fe2aa32e6814e14c9535e9fea7e03d3b6cf7a35621ccfb2a081a6ebab01906c5e883c5b505ced53f254401d30b6e975cb05e88efc8d3fbedc79abd0be72a2
2026-02-09 09:14:44 -08:00
merge-script
6bb916a57f
Merge ElementsProject/elements#1530: fix: use liquidnetwork or liquidtestnet for qr uri
4c79d5a572 fix: use liquidnetwork or liquidtestnet for uri in elements mode (Byron Hambly)

Pull request description:

  fixes #1529

ACKs for top commit:
  tomt1664:
    ACK 4c79d5a572
  psgreco:
    ACK 4c79d5a572

Tree-SHA512: 00862c3851bd1663ed17dfde9ef155840d4d735b3e61ad890155dccdc9cb7fb4fc086021a9ae1a1030ff8e809dc6ffb46a5aeed35d3c5625b44f65ec6cdae421
2026-01-31 08:12:36 -08:00
Byron Hambly
4c79d5a572
fix: use liquidnetwork or liquidtestnet for uri in elements mode 2026-01-30 10:54:24 +02:00
merge-script
344581cabd
Merge ElementsProject/elements#1528: docs: add github-merge.py process for merging PRs
8f28d82f57 docs: add github-merge.py process for merging PRs (Byron Hambly)

Pull request description:

  Documents how to merge PRs using the github-merge.py script from Bitcoin maintainer tools repo.

ACKs for top commit:
  psgreco:
    ACK 8f28d82f57

Tree-SHA512: b263dd7715fa71926ceeae053e453a4a19b64fa89c88cb0f84fa15bafbcc1051f35ca4f28a05f41dfc8d3af1d1de9eb2bb6cd832867cf7d7d7772a3c7267777b
2026-01-25 10:28:20 -08:00
Byron Hambly
8f28d82f57
docs: add github-merge.py process for merging PRs 2026-01-23 12:09:21 +02:00
merge-script
e360a967b6
Merge ElementsProject/elements#1518: Avoid Simplicity header dependency propogation
6c7788adf3 Avoid Simplicity header dependency propogation (Russell O'Connor)

Pull request description:

  The problem with including <simplicity/elements/env.h> in interpreter.h is that now everyone who needs to include interpreter.h also needs access to Simplicity's header files too.

  This commit breaks that dependency chain by using forward declarations.  It will pay signifigant dividends when elements switches to CMake.

ACKs for top commit:
  delta1:
    ACK 6c7788a; built and tested locally
  apoelstra:
    ACK 6c7788adf3; successfully ran local tests

Tree-SHA512: 78d043a094f0a2bb51e0f103313ae568b42ec2852d8fe9a3fbbcad9c0fbf6829ef1347f83bfd361547ec165c01965e7342188a38d8faacfcf90ef70c5b7001f6
2026-01-22 14:52:00 +02:00
Pablo Greco
6d29a59f61
Merge pull request #1522 from delta1/2026-01-tweakfedpegscript
rpc!: change tweakfedpegscript to output both p2wsh and p2shwsh addresses
2026-01-20 08:02:40 -08:00
Byron Hambly
5d64e8945d
rpc!: change tweakfedpegscript to output P2WSH address
Changes tweakfedpegscript to return both p2wsh and p2shwsh version of
the tweaked address.

"address" has been removed from the result and replaced with "p2wsh" and
"p2shwsh".
2026-01-20 15:03:08 +02:00
Tom Trevethan
36e1efbe88
ApplyBumpFee only ever called for policyAsset (in wallet/spend.cpp). wallet_elements_regression_1259 test verifies bump fee is no applied for issued asset outputs.
(cherry picked from commit b83f46d3ebf70b5be3534d8daadf5d842013bac7)
2026-01-19 15:40:41 +02:00
Tom Trevethan
93cc3a7f31
Replaced check for initial memory allocations of coinscache with the updated upstream version, meaning dynamic memory usage (and difference on macos/clang) is not checked if not a common case (32/16). All other checks now pass on both macos, linux and windows.
(cherry picked from commit 6c3b0dab53db6b1b4683530435fb03d8664e2982)
2026-01-19 15:40:23 +02:00
Byron Hambly
a18a88b31b
grammar: prefer peg-in to pegin in messages 2026-01-15 18:10:52 +02:00
Byron Hambly
90b2b3bbb0
test: add pegin subsidy functional test 2026-01-15 18:10:51 +02:00
Byron Hambly
186bb25a08
validation: check for peg-in subsidy and minimum 2026-01-15 18:10:51 +02:00
Byron Hambly
51c89c65d0
subsidy: implementation for claimpegin, createrawpegin, and RPCs 2026-01-15 18:10:51 +02:00
Byron Hambly
94cde59dc3
subsidy: add chainparams and init 2026-01-15 18:10:50 +02:00
Byron Hambly
f3b63f4b8c
DecomposePeginWitness: fix deserialization flags for MerkleBlock proof
In CreatePeginWitnessInner, the MerkleBlock is always serialized without
witness: PROTOCOL_VERSION | SERIALIZE_TRANSACTION_NO_WITNESS

In DecomposePeginWitness before this change, the MerkleBlock was
deserialized with witness: PROTOCOL_VERSION

This was only noticed as an issue in the pegin subsidy implementation,
in a failure in the feature_dynafed functional test. In the
test_transition_mempool_eject test case, the Merkle block proof is coming
from the same chain where we are creating a pegin.

See the comment: "hack: since we're not validating peg-ins in parent chain,
just make both the funding and claim tx on same chain (printing money)"

I haven't investigated enough to explain why this causes a
deserialization failure in this specific case, but presumably this change
is correct since we're always serializing without witness. Before this
DecomposePeginWitness was only used in src/psbt.cpp
2026-01-15 18:10:50 +02:00
merge-script
9a74bc9e2d
Merge ElementsProject/elements#1519: simplicity: update to d1905055
87c0b44f78 Squashed 'src/simplicity/' changes from 6d503ea4f8..49b96499a6 (Byron Hambly)
73d1e521bf docs: add simplicity code update instructions (Byron Hambly)

Pull request description:

  Updates Simplicity C source subtree from current master BlockstreamResearch/Simplicity@d190505509

  Adds new document describing the process.

  Pushed the C-master branch subtree split to my repo [delta1/simplicity/tree/C-master](https://github.com/delta1/simplicity/tree/C-master) and upstreamed in BlockstreamResearch/Simplicity#330

ACKs for top commit:
  delta1:
    ACK 4539002bee; compiled and tested locally

Tree-SHA512: e9fab8baa728ac122597bf2e3c5ae4fe1c5956c655fc336e1cc7a2be591f1deebcab32004a8b6b4ad359c51154ad47bca5f40c21d06823d5d059a6d66efb15af
2026-01-13 09:04:55 +02:00
Byron Hambly
4539002bee
Merge commit '87c0b44f78' into 2026-01-simplicity-update 2026-01-12 12:56:33 +02:00
Byron Hambly
87c0b44f78 Squashed 'src/simplicity/' changes from 6d503ea4f8..49b96499a6
49b96499a6 Replace Bitcoin Relative Timelock Jets
89ddb43eed Mark depricated parts of the TxEnv as obsolete
ff5d6fe4f7 Deprecate Broken Jets
ae008201ac Test Bitcoin jet deserialization
e81b68f197 Add GenPrimitive --bitcoin option
7887d16f24 Bitcoin specific fee jets
68603073b3 Bitcoin specific environment
ae3287e60f Refactor Makefile
99e3804e2d C: replace string initializations with arrays
c3dd9331cd Allow building on non-intel systems

git-subtree-dir: src/simplicity
git-subtree-split: 49b96499a6bb93b31d2f712fc1d4524f341ae640
2026-01-12 12:56:33 +02:00
Byron Hambly
73d1e521bf
docs: add simplicity code update instructions 2026-01-12 12:53:09 +02:00
Pablo Greco
a98bad738a
Merge pull request #1520 from delta1/2026-01-windows-qt
ci: update win64 native tasks
2026-01-09 09:04:16 -08:00
Byron Hambly
2ec510dac9
ci: lint fixes 2026-01-09 15:31:49 +02:00
Tom Trevethan
78f831139f
updated keypath spend test vectors for elements and re-enabled equility checks
(cherry picked from commit 4142ceabbe46b7ac68840d1a100fc0c6adfa86a0)
2026-01-09 15:03:59 +02:00
Byron Hambly
656ad6d1fb
ci(windows): pin jom to 1.1.2 2026-01-09 10:12:19 +02:00
Byron Hambly
2161cf464d
ci: update qt link for windows job 2026-01-08 09:07:48 +02:00
Byron Hambly
491900cffd
Merge 72b7c4646b into merged_master (Elements PR #1509) 2026-01-06 20:13:53 +02:00
Byron Hambly
6908f27d8a
Merge 72f289d81c into merged_master (Elements PR #1507) 2026-01-06 16:15:26 +02:00