-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Timelock Expiration SlotIndex (#1661)
* Timelock/Expiration validation with a CommitmentInput * Oh no * Correct is_expired * TODO * meh * TODO * Nits * Fix is_timelocked * Fix is_expired * First batch of changes * Second batch of changes * Fixes * Simplified required_address * Infallible required_address * Some fixes * Remove commented code * Fix conflicts * Fix rebase * Address some todos * Simplify delegation unlock * Address more todos * Fix some checks and cleanup * Fix test * Address review comments * Store protocol parameters in file * Fix params * Order * Use wrong tx failure reason * Rename error * Update sdk/src/client/error.rs Co-authored-by: Thibault Martinez <[email protected]> * Update merged part * Update sdk/src/types/block/output/anchor.rs Co-authored-by: Thibault Martinez <[email protected]> * Address reviews * Use flat_map() * Review suggestion * Remove superfluous Copy bounds * Update sdk/src/client/secret/ledger_nano.rs Co-authored-by: DaughterOfMars <[email protected]> * Cleanup find_map * Update sdk/src/wallet/operations/helpers/time.rs Co-authored-by: /alex/ <[email protected]> * Address review comments * Rename to CommittableAgeRange * Use is_some_and() * Fix match * Update sdk/src/types/block/protocol/mod.rs Co-authored-by: /alex/ <[email protected]> * Rename params * Review suggestions * Return Result from locked_address() * Review suggestions * Remove into --------- Co-authored-by: Thibault Martinez <[email protected]> Co-authored-by: DaughterOfMars <[email protected]> Co-authored-by: /alex/ <[email protected]>
- Loading branch information
1 parent
9cd9121
commit d691cea
Showing
49 changed files
with
580 additions
and
294 deletions.
There are no files selected for viewing
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.