Skip to content

Htlc commands in wallet cli#2019

Merged
ImplOfAnImpl merged 5 commits intomasterfrom
htlc_commands_in_wallet_cli
Mar 3, 2026
Merged

Htlc commands in wallet cli#2019
ImplOfAnImpl merged 5 commits intomasterfrom
htlc_commands_in_wallet_cli

Conversation

@ImplOfAnImpl
Copy link
Contributor

  • input_signature_size_from_destination now takes into account htlc signature size difference.

  • Added new wallet-cli command htlc-create-transaction mimicking the already existing RPC method.

  • Added new wallet-cli command utxo-spend (and the coresponding RPC method) - this allows to spend one particular utxo and is mainly intended for spending/refunding of an htlc (though it can work with simple transfers too).

  • Added new wallet-cli commands (no coresponding RPC methods) htlc-generate-secret (generates and prints a secret and its hash) and htlc-calc-secret-hash (calculates the hash given a secret).

@ImplOfAnImpl ImplOfAnImpl marked this pull request as ready for review February 27, 2026 08:15
Base automatically changed from minor_improvements to master March 3, 2026 09:08
@ImplOfAnImpl ImplOfAnImpl force-pushed the htlc_commands_in_wallet_cli branch from 4f94081 to 154e366 Compare March 3, 2026 11:01
@ImplOfAnImpl ImplOfAnImpl merged commit 5ac55ba into master Mar 3, 2026
20 checks passed
@ImplOfAnImpl ImplOfAnImpl deleted the htlc_commands_in_wallet_cli branch March 3, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants