Returns the parameters that were used to initialize this blockchain. These are fixed at chain creation and cannot be changed later.
Arguments
- conn
A connection object created by
mc_connect.
Value
A list containing blockchain configuration parameters, such as:
- protocolversion
Protocol version.
- targetblocktime
Target time between blocks (seconds).
- maxblocksize
Maximum block size (bytes).
- ...
Other chain-specific parameters.
See also
mc_get_runtime_params for modifiable parameters.
Other node configuration:
mc_get_runtime_params(),
mc_set_runtime_param()
Examples
if (FALSE) { # \dontrun{
params <- mc_get_blockchain_params(conn)
print(params$targetblocktime)
} # }