Retreives run time options for producer node
{ }
{- "max_transaction_time": 200,
- "max_irreversible_block_age": -1,
- "produce_time_offset_us": -100000,
- "last_block_time_offset_us": -200000,
- "max_scheduled_transaction_time_per_block_ms": 100,
- "incoming_defer_ratio": "1.00000000000000000",
- "greylist_limit": 1000
}
Update run time options for producer node
required | object Defines the run time options to set for the producer | ||||||||||||||
|
{- "options": {
- "max_transaction_time": 100,
- "max_irreversible_block_age": -1,
- "produce_time_offset_us": -100000,
- "last_block_time_offset_us": -200000,
- "max_scheduled_transaction_time_per_block_ms": 100,
- "subjective_cpu_leeway_us": 10,
- "incoming_defer_ratio": 1
}
}
{- "result": "ok"
}
Adds accounts to grey list for producer node
required | object | ||||
|
{- "accounts": [
- "alice",
- "bob"
]
}
null
Removes accounts from greylist for producer node.At least one account is required.
required | object | ||||
|
{- "accounts": [
- "alice"
]
}
{- "result": "ok"
}
Retrieves the whitelist and blacklist for producer node. A JSON object containing whitelist and blacklist information.
{ }
{- "actor_whitelist": [
- "bob"
], - "actor_blacklist": [ ],
- "contract_whitelist": [ ],
- "contract_blacklist": [ ],
- "action_blacklist": [ ],
- "key_blacklist": [ ]
}
Sets the white list and black list for producer node
required | object Defines the actor whitelist and blacklist, the contract whitelist and blacklist, the action blacklist and key blacklist | ||||||||||||
|
{- "actor_whitelist": [
- "bob"
], - "actor_blacklist": [ ],
- "contract_whitelist": [ ],
- "contract_blacklist": [ ],
- "action_blacklist": [ ],
- "key_blacklist": [ ]
}
{- "result": "ok"
}
Submits a request to automatically generate snapshots according to a schedule specified with given parameters. If request body is empty, schedules immediate snapshot generation. Returns error when unable to accept schedule.
block_spacing | integer Generate snapshot every block_spacing blocks |
start_block_num | integer Block number at which schedule starts |
end_block_num | integer Block number at which schedule ends |
snapshot_description | string Description of the snapshot |
{- "block_spacing": 0,
- "start_block_num": 5102,
- "end_block_num": 15102,
- "snapshot_description": "Daily snapshot"
}
{- "snapshot_request_id": 0,
- "block_spacing": 0,
- "start_block_num": 5102,
- "end_block_num": 15102,
- "snapshot_description": "Daily snapshot"
}
{- "snapshot_requests": [
- {
- "snapshot_request_id": 0,
- "block_spacing": 0,
- "start_block_num": 5102,
- "end_block_num": 15102,
- "snapshot_description": "Daily snapshot",
- "pending_snapshots": [
- {
- "head_block_id": "string",
- "head_block_num": 5102,
- "head_block_time": "2020-11-16T00:00:00.000",
- "version": 6,
- "snapshot_name": "/home/me/nodes/node-name/snapshots/snapshot-0000999f99999f9f999f99f99ff9999f999f9fff99ff99ffff9f9f9fff9f9999.bin"
}
]
}
]
}
Removes snapshot request identified by id. Returns error if referenced snapshot request does not exist.
snapshot_request_id | integer snapshot id |
{- "snapshot_request_id": 0
}
{- "snapshot_request_id": 0,
- "block_spacing": 0,
- "start_block_num": 5102,
- "end_block_num": 15102,
- "snapshot_description": "Daily snapshot"
}
Retreives the integrity hash for producer node
{ }
{- "head_block_id": "0005857b77cc98941c6caa90fa8a083d2b1f4416ac015a107e04ed06774cce94",
- "integrity_hash": "ac2a27f3b40ff252c2450341d2e4f8dbc1f83949103b83d8569c4292b265b224"
}
Schedule protocol feature activation for producer node
required | object | ||
|
{- "schedule": {
- "protocol_features_to_activate": [
- "ABCDEF123456..."
]
}
}
null
Retreives supported protocol features for producer node
required | object Defines filters based on which to return the supported protocol features | ||||
|
{- "params": {
- "exclude_disabled": false,
- "exclude_unactivatable": false
}
}
[- "string"
]