Struct dbc::taproot::TaprootContainer [−][src]
pub struct TaprootContainer {
pub script_root: Hash,
pub intermediate_key: PublicKey,
pub tag: Hash,
pub tweaking_factor: Option<Hmac<Hash>>,
}
Fields
script_root: Hash
intermediate_key: PublicKey
tag: Hash
Single SHA256 hash of the protocol-specific tag
tweaking_factor: Option<Hmac<Hash>>
Tweaking factor stored after TaprootCommitment::embed_commit
procedure
Trait Implementations
type Supplement = Hash
type Supplement = Hash
Out supplement is a protocol-specific tag in its hashed form
fn reconstruct(
proof: &Proof,
supplement: &Self::Supplement,
_: &Self::Host
) -> Result<Self, Error>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TaprootContainer
impl Send for TaprootContainer
impl Sync for TaprootContainer
impl Unpin for TaprootContainer
impl UnwindSafe for TaprootContainer
Blanket Implementations
Mutably borrows from an owned value. Read more