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
BatchIndexintWhich subtree this signature is for: 0 = VTXO tree, 1 = connectors tree.
IdstringBatch ID.
SignaturestringPartial signature (hex).
TopicIReadOnlyCollection<string>Stream topics this event targets.
TxIdstringThe 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
Id
Batch ID.
public string Id { get; init; }
Property Value
Signature
Partial signature (hex).
public string Signature { get; init; }
Property Value
Topic
Stream topics this event targets.
public IReadOnlyCollection<string> Topic { get; init; }
Property Value
TxId
The tree transaction being signed.
public string TxId { get; init; }