-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move withdrawal code to grpc (payout tx creator) and enable withdrawa…
…l tests (#505) * refactor: Uncomment new_withdrawal_sig in operator module and fix compilation errors. * feat: Add payout tx creator in builder. * feat: Add witness element in create_payout_txhandler input. * feat: Add witness element in create_payout_txhandler input. * feat: Implement operator::new_withdrawal_sig call. * chore: Re-enable rpc::run_single_deposit common function. * test: Add client creation for create_actors and return them. * test: Don't unwrap and return err in run_single_deposit. * test: Enable honest_operator_takes_refund test. * chore: Remove required std::{env, thread} use from create_test_config_with_thread_name macro. * chore: Remove unused code. * test: Disable honest_operator_takes_refund test in rpc test. * feat: Re-add WithdrawalScript to script builder. * chore: Fix compilation errors caused by the merge. * chore: Remove unnecessary generate_witness from WithdrawalScript in builder::script. * chore: Fix compilation errors caused by the merge. * fix: Return error if operator::new_withdrawal_sig rpc call's input doesn't include users_intent_outpoint. * test: Add key-spend spend path to withdrawal tx input in generate_withdrawal_transaction_and_signature macro. * chore: Convert if let else to a one liner. * chore: Convert UnspentTxOut::new to UnspentTxOut::from_partial in create_payout_txhandler. * fix: Make some txhandler functions available for both signed and unsigned variants. * fix: Return a signed txhandler in create_payout_txhandler and remove anchor output. * docs: Add comment about a Citrea request.
- Loading branch information
Showing
25 changed files
with
825 additions
and
755 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.