rust-bitcoin-unsafe-fast/src/blockdata
Matt Corallo 0ab5eeac81 Add method to push an ECDSA sig + sighash type byte on a witness
We do this all over the place in rust-lightning, and its probably
the most common thing to do with a `Witness` so I figured I'd
upstream the util method to do this. It also avoids an allocation
compared to the naive approach of `SerializedSignature.to_vec()`
with two pushes, which is nice.
2022-05-05 03:27:28 +00:00
..
block.rs Remove get_ prefix 2022-03-19 08:28:30 +11:00
constants.rs Use qualified path instead of alias 2022-04-21 12:50:22 +10:00
mod.rs Introduce Witness struct mainly to improve ser/de performance while keeping most usability. 2021-12-28 09:56:38 +01:00
opcodes.rs Use contains() instead of manual range 2022-04-27 07:59:51 +10:00
script.rs Merge rust-bitcoin/rust-bitcoin#673: Use iterator in `blockdata::script::Instructions` 2022-04-30 15:25:41 -07:00
transaction.rs Use vec! macro instead of new followed by push 2022-04-26 11:32:34 +10:00
witness.rs Add method to push an ECDSA sig + sighash type byte on a witness 2022-05-05 03:27:28 +00:00