Struct dbc::lockscript::LockscriptContainer [−][src]
pub struct LockscriptContainer {
pub script: LockScript,
pub pubkey: PublicKey,
pub tag: Hash,
pub tweaking_factor: Option<Hmac<Hash>>,
}Fields
script: LockScriptpubkey: PublicKeytag: HashSingle SHA256 hash of the protocol-specific tag
tweaking_factor: Option<Hmac<Hash>>Tweaking factor stored after LockscriptCommitment::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 LockscriptContainer
impl Send for LockscriptContainer
impl Sync for LockscriptContainer
impl Unpin for LockscriptContainer
impl UnwindSafe for LockscriptContainer
Blanket Implementations
Mutably borrows from an owned value. Read more