Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFreeSpace ¶ added in v0.1.30
GetFreeSpace returns total number of free bytes on a path's volume
func ValidatePath ¶ added in v0.1.30
ValidatePath validates file permissions for the current user for the directory in the provided path
Types ¶
type AccountState ¶
type InnerSerializableSignedTransaction ¶
type InnerSerializableSignedTransaction struct { AccountNonce uint64 Recipient types.Address GasLimit uint64 Price uint64 Amount uint64 }
InnerSerializableSignedTransaction is the internal transaction data TODO rename to SerializableTransaction once we remove the old SerializableTransaction
type LocalAccount ¶
type LocalAccount struct { Name string PrivKey ed25519.PrivateKey // the pub & private key PubKey ed25519.PublicKey // only the pub key part }
func (*LocalAccount) Address ¶
func (a *LocalAccount) Address() gosmtypes.Address
type SerializableSignedTransaction ¶
type SerializableSignedTransaction struct { InnerSerializableSignedTransaction Signature [64]byte }
SerializableSignedTransaction is a signed serializable transaction Once we support signed txs we should replace SerializableTransaction with this struct. Currently it is only used in the rpc server.
type Store ¶
type Store map[string]accountKeys
func (Store) CreateAccount ¶
func (s Store) CreateAccount(alias string) *LocalAccount
func (Store) GetAccount ¶
func (s Store) GetAccount(name string) (*LocalAccount, error)
func (Store) ListAccounts ¶
Click to show internal directories.
Click to hide internal directories.