proofs

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: Apache-2.0 Imports: 9 Imported by: 7

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)

Jump to

Keyboard shortcuts

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