Documentation
¶
Index ¶
- Variables
- func AddBalance(address core.Address, amount *common.Amount, bc *core.Blockchain) error
- func CreateBlockchain(address core.Address, db storage.Storage, consensus core.Consensus) (*core.Blockchain, error)
- func CreateWallet() (client.Wallet, error)
- func DeleteWallet(key *core.KeyPair) error
- func DeleteWallets() error
- func GetAllAddresses() ([]core.Address, error)
- func GetBalance(address core.Address, db storage.Storage) (*common.Amount, error)
- func Send(senderWallet client.Wallet, to core.Address, amount *common.Amount, tip uint64, ...) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddBalance ¶
add balance
func CreateBlockchain ¶
func CreateBlockchain(address core.Address, db storage.Storage, consensus core.Consensus) (*core.Blockchain, error)
create a blockchain
func DeleteWallet ¶
func DeleteWallets ¶
func DeleteWallets() error
func GetBalance ¶
get balance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.