You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update rust-simplicity dependency to git master and adapt to new API
Switch to master branch of rust-simplicity, which
removes the `Jet` type parameter from nodes and renames broken lock distance/
duration jets. Update all call sites to match the new API and deprecate example
files that use the renamed jets.
Copy file name to clipboardExpand all lines: src/docs/jet.rs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -607,11 +607,11 @@ Using the notation of BIP-0341, it returns the SHA256 hash of c[33: 33 + 32m]."#
607
607
- The result of [`output_surjection_proofs_hash`] (32 bytes).
608
608
- The result of [`input_utxos_hash`] (32 bytes)."#,
609
609
// Time locks
610
-
Elements::CheckLockDistance => r#"**Deprecated; do not use.** Assert that the value returned by [`tx_lock_distance`] is greater than or equal to the given value.
610
+
Elements::BrokenDoNotUseCheckLockDistance => r#"**Deprecated; do not use.** Assert that the value returned by [`tx_lock_distance`] is greater than or equal to the given value.
611
611
612
612
## Panics
613
613
The assertion fails."#,
614
-
Elements::CheckLockDuration => r#"**Deprecated; do not use.** Assert that the value returned by [`tx_lock_duration`] is greater than or equal to the given value.
614
+
Elements::BrokenDoNotUseCheckLockDuration => r#"**Deprecated; do not use.** Assert that the value returned by [`tx_lock_duration`] is greater than or equal to the given value.
615
615
616
616
## Panics
617
617
The assertion fails"#,
@@ -624,8 +624,8 @@ The assertion fails."#,
624
624
## Panics
625
625
The assertion fails."#,
626
626
Elements::TxIsFinal => "Check if the sequence numbers of all transaction inputs are at their maximum value.",
627
-
Elements::TxLockDistance => "**Deprecated; do not use.** If [`version`] returns 2 or greater, then return the greatest valid [`Distance`] value of any transaction input. Return zeroes otherwise.",
628
-
Elements::TxLockDuration => "**Deprecated; do not use.** If [`version`] returns 2 or greater, then return the greatest valid [`Duration`] value of any transaction input. Return zeroes otherwise.",
627
+
Elements::BrokenDoNotUseTxLockDistance => "**Deprecated; do not use.** If [`version`] returns 2 or greater, then return the greatest valid [`Distance`] value of any transaction input. Return zeroes otherwise.",
628
+
Elements::BrokenDoNotUseTxLockDuration => "**Deprecated; do not use.** If [`version`] returns 2 or greater, then return the greatest valid [`Duration`] value of any transaction input. Return zeroes otherwise.",
629
629
Elements::TxLockHeight => "If [`tx_is_final`] returns false, then try to parse the transaction's lock time as a [`Height`] value. Return zeroes otherwise.",
630
630
Elements::TxLockTime => "If [`tx_is_final`] returns false, then try to parse the transaction's lock time as a [`Time`] value. Return zeroes otherwise.",
631
631
// Issuance
@@ -794,10 +794,10 @@ Return zero for any asset without fees."#,
0 commit comments