Skip to content

Htlc commands in wallet cli#2019

Open
ImplOfAnImpl wants to merge 4 commits intominor_improvementsfrom
htlc_commands_in_wallet_cli
Open

Htlc commands in wallet cli#2019
ImplOfAnImpl wants to merge 4 commits intominor_improvementsfrom
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
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.

1 participant