signerpv

package
v0.0.0-...-3b0b990 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicKeyToPubKeySecp256k1

func PublicKeyToPubKeySecp256k1(pubKey0 *ecdsa.PublicKey) secp256k1.PubKeySecp256k1

Types

type Option

type Option func(pv *SignerPV)

func MalleableSigCheck

func MalleableSigCheck(check bool) Option

func RetryLimit

func RetryLimit(limit int) Option

type SignerPV

type SignerPV struct {
	// contains filtered or unexported fields
}

func NewSignerPV

func NewSignerPV(signer crypto.Signer, curve elliptic.Curve, logger log.Logger, options ...Option) *SignerPV

func (*SignerPV) GetPubKey

func (pv *SignerPV) GetPubKey() tmcrypto.PubKey

func (*SignerPV) SignProposal

func (pv *SignerPV) SignProposal(chainID string, proposal *types.Proposal) error

func (*SignerPV) SignVote

func (pv *SignerPV) SignVote(chainID string, vote *types.Vote) error

Jump to

Keyboard shortcuts

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