[][src]Function indyrs::pool::create_pool_ledger_config

pub fn create_pool_ledger_config(
    pool_name: &str,
    pool_config: Option<&str>
) -> Box<dyn Future<Item = (), Error = IndyError>>

Creates a new local pool ledger configuration that can be used later to connect pool nodes.

Arguments

  • config_name - Name of the pool ledger configuration.
  • config (required)- Pool configuration json. Example: { "genesis_txn": string (required), A path to genesis transaction file. }