[][src]Crate grin_wallet

Library module for the main wallet functionalities provided by Grin.

Re-exports

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

Modules

command
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
test_framework

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