package
0.31.5
Repository: https://github.com/rnssolution/prism.git
Documentation: pkg.go.dev

# Packages

Package client defines a provider that uses a rpcclient to get information, which is used to get new headers and validators directly from a Tendermint client.
No description provided by the author
No description provided by the author

# Functions

GenSecpPrivKeys produces an array of secp256k1 private keys to generate commits.
NewBaseVerifier returns a new Verifier initialized with a validator set at some height.
No description provided by the author
NewDynamicVerifier returns a new DynamicVerifier.
NewFullCommit returns a new FullCommit.
NewMultiProvider returns a new provider which wraps multiple other providers.

# Structs

BaseVerifier lets us check the validity of SignedHeaders at height or later, requiring sufficient votes (> 2/3) from the given valset.
DBProvider stores commits and validator sets in a DB.
DynamicVerifier implements an auto-updating Verifier.
FullCommit contains a SignedHeader (the block header and a commit that signs it), the validator set which signed the commit, and the next validator set.

# Interfaces

A provider that can also persist new information.
Provider provides information for the lite client to sync validators.
Verifier checks the votes to make sure the block really is signed properly.