Type Alias GraphSeal

Source
pub type GraphSeal = BlindSeal<TxPtr>;
Expand description

Seal type which can be blinded and chained with other seals.

Aliased Type§

struct GraphSeal {
    pub method: CloseMethod,
    pub txid: TxPtr,
    pub vout: Vout,
    pub blinding: u64,
}

Fields§

§method: CloseMethod

Commitment to the specific seal close method [CloseMethod] which must be used to close this seal.

§txid: TxPtr

Txid of the seal definition.

It may be missed in situations when ID of a transaction is not known, but the transaction still can be identified by some other means (for instance it is a transaction spending specific outpoint, like other seal definition).

§vout: Vout

Tx output number, which should be always known.

§blinding: u64

Blinding factor providing confidentiality of the seal definition. Prevents rainbow table bruteforce attack based on the existing blockchain txid set.

Trait Implementations§

Source§

impl From<VoutSeal> for GraphSeal

Source§

fn from(seal: VoutSeal) -> Self

Converts to this type from the input type.