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
30ee268 Implement Encodable for transaction types (Tobin C. Harding)
30a366f Implement Encodable for Witness (Tobin C. Harding)
c6702ce consensus_encoding: Implement Encoder for Option<T> (Tobin C. Harding)
da69bbd Update the API text files (Tobin C. Harding)
1f863ab Re-export the AmountEncoder (Tobin C. Harding)
Pull request description:
Up front re-export the `AmountEncoder`, we missed it before (and update the API text files).
Then add consensus encoding functionality for the `Witness` and the types in `transaction`.
ACKs for top commit:
nyonson:
ACK 30ee268, looks good
apoelstra:
ACK 30ee268; successfully ran local tests
Tree-SHA512: 2b4a33e89da6f1e9bbf16784c50b68dbb3c146ab3be45a4b754b2417e69751fccb50b2107f08123f15b5ee2544f295e3a3039fcfeab38c4c4ed18cae3adf9c94
@@ -2660,7 +2670,7 @@ pub type &u64::Output = <u64 as core::ops::arith::Mul<bitcoin_units::Amount>>::O
2660
2670
pub type &u64::Output = <u64 as core::ops::arith::Mul<bitcoin_units::Weight>>::Output
2661
2671
pub type &u64::Output = <u64 as core::ops::arith::Mul<bitcoin_units::result::NumOpResult<bitcoin_units::Amount>>>::Output
2662
2672
pub type bitcoin_units::Amount::Decoder = bitcoin_units::amount::AmountDecoder
2663
-
pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::unsigned::AmountEncoder
2673
+
pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::AmountEncoder
2664
2674
pub type bitcoin_units::Amount::Err = bitcoin_units::amount::error::ParseError
2665
2675
pub type bitcoin_units::Amount::Error = bitcoin_units::amount::error::OutOfRangeError
2666
2676
pub type bitcoin_units::Amount::Output = <bitcoin_units::Amount as core::ops::arith::Add<bitcoin_units::result::NumOpResult<bitcoin_units::Amount>>>::Output
0 commit comments