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

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

Arguments

  • submitter_did - Identifier (DID) of the transaction author as base58-encoded string. Actual request sender may differ if Endorser is used (look at append_request_endorser)
  • 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.