Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLocked = accounts.NewAuthNeededError("password or unlock") ErrNoMatch = errors.New("no key for given address or file") )
Functions ¶
Types ¶
type Account ¶
type Account struct { Code []byte `json:"code,omitempty"` Storage map[common.Hash]common.Hash `json:"storage,omitempty"` Balance *big.Int `json:"balance" gencodec:"required"` Nonce uint64 `json:"nonce,omitempty"` PrivateKey *ecdsa.PrivateKey `toml:"-"` }
Account is an account in the state of the genesis block.
type Accounts ¶
Accounts specifies the initial state that is part of the genesis block.
func (*Accounts) UnmarshalJSON ¶
type Genesis ¶
func FakeGenesis ¶
FakeGenesis generates fake genesis with n-nodes.
Click to show internal directories.
Click to hide internal directories.