区块的产生
//! Utilities to check the status of all the outputs we have stored in
//! the wallet storage and update them.
updater
retrieve_outputs
/// Retrieve all of the outputs (doesn't attempt to update from node)
retrieve_txs
/// Retrieve all of the transaction entries, or a particular entry
refresh_outputs
/// Refreshes the outputs in a wallet with the latest information
/// from a node
map_wallet_outputs
/// build a local map of wallet outputs keyed by commit
/// and a list of outputs we want to query the node for
cancel_tx_and_outputs
/// Cancel transaction and associated outputs
apply_api_outputs
/// Apply refreshed API output data to the wallet
retrieve_info
/// Retrieve summary info about the wallet
/// caller should refresh first if desired
build_coinbase
/// Build a coinbase output and insert into wallet
receive_coinbase
//TODO: Split up the output creation and the wallet insertion
/// Build a coinbase output and the corresponding kernel