Documentation
¶
Index ¶
- type CertChain
- func (cc *CertChain) Generate(ctx context.Context, length uint64) ([]*certs.FinalityCertificate, error)
- func (cc *CertChain) GetCommittee(instance uint64) (*gpbft.Committee, error)
- func (cc *CertChain) GetProposal(instance uint64) (*gpbft.SupplementalData, gpbft.ECChain, error)
- func (cc *CertChain) Validate(ctx context.Context, crts []*certs.FinalityCertificate) error
- type FinalityCertificateProvider
- type Option
- type SignVerifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertChain ¶
type CertChain struct {
// contains filtered or unexported fields
}
func (*CertChain) GetCommittee ¶
func (*CertChain) GetProposal ¶
type Option ¶
type Option func(*options) error
func WithManifest ¶
func WithSignVerifier ¶
func WithSignVerifier(sv SignVerifier) Option
type SignVerifier ¶
Click to show internal directories.
Click to hide internal directories.