Commit graph

13 commits

Author SHA1 Message Date
Pablo Greco
804de4ea86
Merge branch 'master' into elem-23.4.0rc3 2026-06-29 08:03:20 -07:00
Byron Hambly
fe648bc6f5
fix: minor fixes 2026-06-24 14:22:57 +02:00
Ruslan Kasheparov
8408b79dff fix help man 2026-05-14 17:41:43 +02:00
Byron Hambly
a18a88b31b
grammar: prefer peg-in to pegin in messages 2026-01-15 18:10:52 +02:00
Byron Hambly
51c89c65d0
subsidy: implementation for claimpegin, createrawpegin, and RPCs 2026-01-15 18:10:51 +02:00
Byron Hambly
a3e0ce2e8c
amountfromvalue: add arg to check moneyrange 2025-01-17 13:09:10 +02:00
Byron Hambly
c1bc7caff5
fix: size estimation for pegin transactions 2024-08-14 15:41:29 +02:00
Pablo Greco
33a15604e8 getpeginaddress cannot be trusted during ibd, it should fail 2024-04-18 17:41:51 -07:00
Pablo Greco
d66c283f06 Remove constrains on liquidv1 pegout bitcoin descriptor 2023-11-22 09:57:12 -08:00
Byron Hambly
5326676ff3
fix: segfault on getpeginaddress rpc when not in elements mode
Fixes https://github.com/ElementsProject/elements/issues/1263

When not running in Elements mode, GetValidFedpegScripts returns an
empty vector. Subsequently `calculate_contract` is called with
`fedpegscripts.front().second` which is a null reference. This reference
is passed into `MatchLiquidWatchman` which tries to dereference the null
reference and causes a segfault.

This fix throws an exception in `getpeginaddress` if fedpegscripts is
empty, returning an error to the RPC caller. It also adds a functional
regression test.
2023-10-18 13:02:51 +02:00
Byron Hambly
860b2c3e4b
fix: move BlindDetails and IssuanceDetails to wallet.h
resolves the newly introduced circular dependencies correctly
2023-09-05 14:38:03 +02:00
Byron Hambly
7878ba47b9 Merge c561f2f06e into merged_master (Bitcoin PR bitcoin/bitcoin#23497) 2023-06-19 09:28:31 +00:00
Byron Hambly
eed72186c7 Merge fa3fb46b81 into merged_master (Bitcoin PR bitcoin/bitcoin#23667)
This merge from upstream split the rpcwallet file out into separate
files. Leftover Elements specific funtions were moved into
wallet/rpc/elements.cpp

Co-authored-by: James Dorfman <dorfmanjames@gmail.com>
2023-06-06 08:32:04 +00:00