Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackBuilder ¶
type PackBuilder struct {
// contains filtered or unexported fields
}
PackBuilder constructs the final EvidencePack archive representing an ARC attempt.
func NewPackBuilder ¶
func NewPackBuilder(missionID string) *PackBuilder
func (*PackBuilder) AppendProofGraph ¶
func (p *PackBuilder) AppendProofGraph(graph *proofgraph.Graph) error
AppendProofGraph locks the graph's terminal state into the archive.
func (*PackBuilder) Finalize ¶
func (p *PackBuilder) Finalize() ([]byte, error)
Finalize closes the archive and returns the immutable byte stream.
Click to show internal directories.
Click to hide internal directories.