corda / net.corda.core.messaging / CordaRPCOps / acceptNewNetworkParameters


abstract fun acceptNewNetworkParameters(parametersHash: SecureHash): Unit

Accept network parameters with given hash, hash is obtained through networkParametersFeed method. Information is sent back to the zone operator that the node accepted the parameters update - this process cannot be undone. Only parameters that are scheduled for update can be accepted, if different hash is provided this method will fail. Note: This operation may be restricted only to node administrators.


parametersHash - hash of network parameters to accept


IllegalArgumentException - if network map advertises update with different parameters hash then the one accepted by node's operator.

IOException - if failed to send the approval to network map