[][src]Crate grin_wallet

Library module for the main wallet functionalities provided by Grin.

Re-exports

pub use libwallet::types::BlockFees;
pub use libwallet::types::CbData;
pub use libwallet::types::NodeClient;
pub use libwallet::types::WalletBackend;
pub use libwallet::types::WalletInfo;
pub use libwallet::types::WalletInst;
pub use lmdb_wallet::wallet_db_exists;
pub use lmdb_wallet::LMDBBackend;

Modules

command
command_args
controller

Controller for wallet.. instantiates and handles listeners (or single-run invocations) as needed. Still experimental

display
libwallet

Higher level wallet functions which can be used by callers to operate on the wallet, as well as helpers to invoke and instantiate wallets and listeners

lmdb_wallet

Structs

EncryptedWalletSeed

Encrypted wallet seed, for storing on disk and decrypting with provided password

Error

Error definition

FileWalletCommAdapter
HTTPNodeClient
HTTPWalletCommAdapter
KeybaseWalletCommAdapter
NullWalletCommAdapter
WalletConfig
WalletSeed

Enums

ErrorKind

Wallet errors, mostly wrappers around underlying crypto or I/O errors.

Constants

SEED_FILE

Traits

WalletCommAdapter

Encapsulate wallet to wallet communication functions

Functions

create_coinbase

Call the wallet API to create a coinbase output for the given block_fees. Will retry based on default "retry forever with backoff" behavior.

instantiate_wallet

Helper to create an instance of the LMDB wallet