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 *payload.DPOSProposal) ([]byte, error) SignVote(vote *payload.DPOSProposalVote) ([]byte, error) SignPeerNonce(nonce []byte) (signature [64]byte) SignTx(tx *types.Transaction) ([]byte, error) }
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.