Table of Contents

Class TreeSignatureEvent

Namespace
NArk.Abstractions.Batches.ServerEvents
Assembly
NArk.Abstractions.dll

Server's MuSig2 partial signature for a single batch tree transaction.

public record TreeSignatureEvent : BatchEvent, IEquatable<BatchEvent>, IEquatable<TreeSignatureEvent>
Inheritance
TreeSignatureEvent
Implements
Inherited Members

Constructors

TreeSignatureEvent(int, string, string, IReadOnlyCollection<string>, string)

Server's MuSig2 partial signature for a single batch tree transaction.

public TreeSignatureEvent(int BatchIndex, string Id, string Signature, IReadOnlyCollection<string> Topic, string TxId)

Parameters

BatchIndex int

Which subtree this signature is for: 0 = VTXO tree, 1 = connectors tree.

Id string

Batch ID.

Signature string

Partial signature (hex).

Topic IReadOnlyCollection<string>

Stream topics this event targets.

TxId string

The tree transaction being signed.

Properties

BatchIndex

Which subtree this signature is for: 0 = VTXO tree, 1 = connectors tree.

public int BatchIndex { get; init; }

Property Value

int

Id

Batch ID.

public string Id { get; init; }

Property Value

string

Signature

Partial signature (hex).

public string Signature { get; init; }

Property Value

string

Topic

Stream topics this event targets.

public IReadOnlyCollection<string> Topic { get; init; }

Property Value

IReadOnlyCollection<string>

TxId

The tree transaction being signed.

public string TxId { get; init; }

Property Value

string