Versions in this module Expand all Collapse all v1 v1.1.1 Oct 29, 2019 Changes in this version + var Big0 = big.NewInt(0) + var Big1 = big.NewInt(1) + var Big2 = big.NewInt(2) + var Big256 = big.NewInt(0xff) + var Big257 = big.NewInt(257) + var Big27 = big.NewInt(27) + var Big3 = big.NewInt(3) + var Big32 = big.NewInt(32) + var Big35 = big.NewInt(35) + func AbsolutePath(Datadir string, filename string) string + func FileExist(filePath string) bool + func LoadJSON(file string, val interface{}) error + func MakeName(name, version string) string + func MsgpHash(x interface{}) (h types.Hash, err error) + func PrintDepricationWarning(str string) + func Report(extra ...interface{}) + type ChainStateReader interface + BalanceAt func(ctx context.Context, account types.Address, blockNumber *big.Int) (*big.Int, error) + CodeAt func(ctx context.Context, account types.Address, blockNumber *big.Int) ([]byte, error) + NonceAt func(ctx context.Context, account types.Address, blockNumber *big.Int) (uint64, error) + StorageAt func(ctx context.Context, account types.Address, key types.Hash, ...) ([]byte, error) + type PrettyDuration time.Duration + func (d PrettyDuration) String() string + type Serializer interface + Serialize func(w io.Writer) error + type StorageSize float64 + func (s StorageSize) String() string + func (s StorageSize) TerminalString() string + type Subscription interface + Err func() <-chan error + Unsubscribe func() + type SyncProgress struct + CurrentBlock uint64 + HighestBlock uint64 + KnownStates uint64 + PulledStates uint64 + StartingBlock uint64 + type UnSerializer interface + UnSerialize func(stream interface{}) error