Commit graph

39291 commits

Author SHA1 Message Date
Ruslan Kasheparov
fecf4f1cf1 fix help man 2026-06-10 16:24:33 +02:00
Ruslan Kasheparov
7647638730 add 'src/rpc/blockchain.cpp:.*trim' to the KNOWN_VIOLATIONS lint checks 2026-05-21 14:33:09 +02:00
Ruslan Kasheparov
8408b79dff fix help man 2026-05-14 17:41:43 +02:00
merge-script
75499e79e8
Merge ElementsProject/elements#1543: Use --break-system-packages for macos CI
72e4e1cf21 use break-system-packages for pip (Tom Trevethan)

Pull request description:

  Add --break-system-packages to PIP_PACKAGES in macos CI, to allow for macos-runner images to update homebrew packages.

ACKs for top commit:
  delta1:
    ACK 72e4e1cf21; fixes macos ci task

Tree-SHA512: 27dc712309940afde1d21c9f465c244eb49d0d1bb8bbf2faba3bf64d00a63f975943825019cd45f1c32e462ab6b5d74490cb0876aeb5e6397da20e668fff2823
2026-04-09 09:14:29 +02:00
Tom Trevethan
72e4e1cf21 use break-system-packages for pip 2026-04-08 14:57:20 +01:00
merge-script
02c75a83c5
Merge ElementsProject/elements#1542: Change test order in feature_discount_ct.py to fix intermittent failure
6515f58351 change test order in feature_discount_ct to fix intermittent failure (Tom Trevethan)

Pull request description:

  Prevents blinded output being selected intermittently and resulting in vszie and fee assertions failing.

ACKs for top commit:
  delta1:
    ACK 6515f58351; fixes discount_ct test flakiness

Tree-SHA512: 32d8c64011125e5531dd19ce84dbe39b2d4496a02c5bf5ece0cbc2f0c2bf6660816d6d61593fe32a615dd96a8632d94cba6bc09e792ffa6ea57fbdc4f52424da
2026-04-08 10:11:33 +02:00
Tom Trevethan
6515f58351 change test order in feature_discount_ct to fix intermittent failure 2026-04-07 14:59:20 +01:00
merge-script
8db19e90c8
Merge ElementsProject/elements#1541: Correct documentation for elements chain types
6e079ea838 updated documentation for elements chain types (Tom Trevethan)

Pull request description:

  Change config and RPC documentation for Elements chain type options.

ACKs for top commit:
  delta1:
    ACK 6e079ea838; just an RPC documentation update

Tree-SHA512: 4128669f5dda2700562706f7d341f37fecbd8e1c5deee2aed56869b20995f474e51af86d6228246c06a2c90fda1251066a7f86bb2fa55732ab46e58deb55b476
2026-04-01 10:21:11 -07:00
Tom Trevethan
6e079ea838 updated documentation for elements chain types 2026-03-31 16:46:46 +01:00
merge-script
34f056583b
Merge ElementsProject/elements#1540: Enabled >21m for issued assets in GUI amount field
56b2572cef enabled > 21m for issued assets in GUI amount field (Tom Trevethan)

Pull request description:

  Only pegged asset limited to `MAX_MONEY` for the GUI amount field. Issued assets can have amounts displayed > MAX_MONEY.

ACKs for top commit:
  delta1:
    ACK 56b2572cef; ran tests locally but have not tested the GUI

Tree-SHA512: 9a04ed9016b420a32bbaa98b80712725691619c5ca854a6b6d0b07e5a91c9ff818e6367a93f6f5c54ae8e0e9e799b6367042c0f823b6c066c5e25a9624b8adc2
2026-03-25 11:43:44 +02:00
Tom Trevethan
56b2572cef enabled > 21m for issued assets in GUI amount field 2026-03-17 12:16:36 +00:00
merge-script
c990492c48
Merge ElementsProject/elements#1536: liquidv1: allow enabling -acceptunlimitedissuances
56eb713150 Log status of ELIP 203 (Pablo Greco)
d8052363f3 liquidv1: allow enabling -acceptunlimitedissuances (Pablo Greco)

Pull request description:

  Preparation for the activation of  [ELIP 203](https://github.com/ElementsProject/ELIPs/blob/main/elip-0203.mediawiki), we need to move from a hardcoded false to an optionin liquidv1

ACKs for top commit:
  tomt1664:
    Tested ACK 56eb713150
  delta1:
    ACK 56eb713150; tested locally, changes allow acceptunlimitedissuances to be configurable on liquidv1 chain

Tree-SHA512: 1671634af6f3dfeaf48c9c6f9aa8598fed1eddc6a279b7bbbfd6d7d7062b89d85a60ec561560308d55ef4e80790db760b8dd20c19167db248d13d41570893314
2026-03-12 08:28:00 +02:00
Pablo Greco
56eb713150
Log status of ELIP 203 2026-03-10 08:39:25 -07:00
Pablo Greco
d8052363f3
liquidv1: allow enabling -acceptunlimitedissuances 2026-03-10 06:37:54 -07:00
merge-script
8dda12b5a6
Merge ElementsProject/elements#1532: contrib: upstream my merge-prs.sh changes
bd59321098 contrib: upstream my merge-prs.sh changes (Byron Hambly)

Pull request description:

  Cleaned up and lightly documented my updates to the `merge-prs.sh` script. Still need to write a usage doc.

ACKs for top commit:
  delta1:
    ACK bd59321098; this script is currently being used for merging

Tree-SHA512: 16ca19af21441424d471263ba1bf817856bf3c7d5801a2ce55e83b22cacf62cb92c3bcc84c9f485d173a15b0dda4e0b8b1ec99b3c9cef4835b16aaaafe461d1f
2026-02-17 20:14:15 +02:00
Byron Hambly
bd59321098
contrib: upstream my merge-prs.sh changes 2026-02-13 16:30:02 +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
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
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
Russell O'Connor
6c7788adf3 Avoid Simplicity header dependency propogation
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.
2025-12-24 09:50:30 -05:00
Byron Hambly
72b7c4646b
Merge pull request #1509 from psgreco/master-fixguix
Guix: fix codeberg link
2025-11-12 16:40:34 +02:00
Pablo Greco
4296205e2f
Guix: fix codeberg link 2025-11-12 04:58:21 -08:00
Pablo Greco
72f289d81c
Merge pull request #1507 from tomt1664/fix/reissuance-token-moneyrange
Reissuance token amount MoneyRange check
2025-11-11 00:06:42 -08:00
Tom Trevethan
a700d7f2b8 add reissuance token moneyrange check 2025-11-11 00:24:23 +00:00
Pablo Greco
35bc203315
Merge pull request #1504 from psgreco/master-release-gpgkey
Add GPG key for release signing
2025-11-10 04:38:40 -08:00
Pablo Greco
4465853a90
Add GPG key for release signing 2025-11-10 03:43:46 -08:00
Byron Hambly
d7995d8a56
Merge pull request #1503 from psgreco/master-buildfixes
Minor fixes for guix and regular builds
2025-11-05 08:34:28 +02:00
Pablo Greco
000227db76 Fix tag parsing when doing local tagged builds 2025-11-04 05:59:37 -08:00
Pablo Greco
4a131c80e9 guix builds: Use codeberg.org instead of git.savannah.gnu.org
Cherry-picked from 5c2ba9f583
2025-11-04 05:59:27 -08:00
Pablo Greco
eb7d626428
Merge pull request #1497 from delta1/ci/cirrus-macos
ci: fix macos native task
2025-10-23 05:12:13 -07:00
Byron Hambly
8272615241
Merge pull request #1498 from tomt1664/fix/p2p_invalid_messages_test
Fix p2p_invalid_messages functional test
2025-10-16 11:26:47 +02:00
Tom Trevethan
1484272806 fixed payload limit for elements 2025-10-15 16:06:22 +01:00