Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "proof",
Short: "Get and store merkle proofs for blockchain data",
Long: `Proofs allows you to validate data and merkle proofs.
These proofs tie the data to a checkpoint, which is managed by "seeds".
Here we can validate these proofs and import/export them to prove specific
data to other peers as needed.
`,
}
RootCmd represents the base command when called without any subcommands
View Source
var StatePresenters = proofs.NewPresenters()
View Source
var TxPresenters = proofs.NewPresenters()
Functions ¶
This section is empty.
Types ¶
type ProofCommander ¶
type ProofCommander struct { lc.Prover ProverFunc func(client.Client) lc.Prover proofs.Presenters // contains filtered or unexported fields }
func (ProofCommander) GetCmd ¶
func (p ProofCommander) GetCmd() *cobra.Command
func (*ProofCommander) Init ¶ added in v0.10.0
func (p *ProofCommander) Init()
Init uses configuration info to create a network connection as well as initializing the prover
func (ProofCommander) Register ¶
func (p ProofCommander) Register(parent *cobra.Command)
Click to show internal directories.
Click to hide internal directories.