account

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: MIT Imports: 3 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 *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

Jump to

Keyboard shortcuts

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