Class VtxoBranch
- Namespace
- NArk.Abstractions.VirtualTxs
- Assembly
- NArk.Abstractions.dll
Links a VTXO to one virtual tx in its exit branch, with position ordering. Position 0 = the VTXO's own (leaf) tx, higher = further up the ancestry, ending at the commitment tx (tree root). Do not identify the leaf/root by array position when consuming a branch — match by Commitment for the root, and by txid equal to the VTXO's own outpoint for the leaf.
public record VtxoBranch : IEquatable<VtxoBranch>
- Inheritance
-
VtxoBranch
- Implements
- Inherited Members
Constructors
VtxoBranch(string, uint, string, int)
Links a VTXO to one virtual tx in its exit branch, with position ordering. Position 0 = the VTXO's own (leaf) tx, higher = further up the ancestry, ending at the commitment tx (tree root). Do not identify the leaf/root by array position when consuming a branch — match by Commitment for the root, and by txid equal to the VTXO's own outpoint for the leaf.
public VtxoBranch(string VtxoTxid, uint VtxoVout, string VirtualTxid, int Position)
Parameters
Properties
Position
public int Position { get; init; }
Property Value
VirtualTxid
public string VirtualTxid { get; init; }
Property Value
VtxoTxid
public string VtxoTxid { get; init; }
Property Value
VtxoVout
public uint VtxoVout { get; init; }