proof

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P

type P map[string]interface{}

func ConvertGoOpsToJsonMap

func ConvertGoOpsToJsonMap(ops []types.ProofLineItem) []P

func Proof

func Proof() P

func (*P) AddCalendarBranch

func (proof *P) AddCalendarBranch(aggState types.AggState, calState string, proofType string) error

func (*P) AddChainBranch

func (proof *P) AddChainBranch(btcAggState types.AnchorBtcAggState, btcTxState types.AnchorBtcTxState, btcHeadState types.AnchorBtcHeadState, proofType string) error

func (*P) AddChainpointHeader

func (proof *P) AddChainpointHeader(context string, jsonType string, hash string, proofId string) error

func (*P) SetProofType

func (proof *P) SetProofType(network string, chainType string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL