bdk_chain::bitcoin::taproot

Module serialized_signature

Expand description

Implements SerializedSignature and related types.

Serialized Taproot signatures have the issue that they can have different lengths. We want to avoid using Vec since that would require allocations making the code slower and unable to run on platforms without an allocator. We implement a special type to encapsulate serialized signatures and since it’s a bit more complicated it has its own module.

Structs§