Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DposAccount ¶
type DposAccount interface {
SignProposal(proposal *types.DPosProposal) ([]byte, error)
SignVote(vote *types.DPosProposalVote) ([]byte, error)
SignPeerNonce(nonce []byte) (signature [64]byte)
}
func NewDposAccount ¶
func NewDposAccount(password []byte) (DposAccount, error)
func NewDposAccountFromExisting ¶
func NewDposAccountFromExisting(a *account.Account) DposAccount
Click to show internal directories.
Click to hide internal directories.