account

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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