[][src]Function indyrs::ledger::build_pool_config_request

pub fn build_pool_config_request(
    submitter_did: &str,
    writes: bool,
    force: bool
) -> Box<dyn Future<Item = String, Error = IndyError>>

Builds a POOL_CONFIG request. Request to change Pool's configuration.

Arguments

  • submitter_did - DID of the submitter stored in secured Wallet.
  • writes - Whether any write requests can be processed by the pool (if false, then pool goes to read-only state). True by default.
  • force - Whether we should apply transaction (for example, move pool to read-only state) without waiting for consensus of this transaction.

Returns

Request result as json.