Function libindy_sys::indy_build_pool_config_request[][src]

pub unsafe extern "C" fn indy_build_pool_config_request(
    command_handle: indy_handle_t,
    submitter_did: *const c_char,
    writes: indy_bool_t,
    force: indy_bool_t,
    str: indy_str_cb
) -> indy_error_t

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

#Params command_handle: command handle to map callback to caller context. 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. cb: Callback that takes command result as parameter.

#Returns Request result as json.

#Errors Common*