зеркало из https://github.com/microsoft/CCF.git
94 строки
2.5 KiB
JSON
94 строки
2.5 KiB
JSON
|
{
|
||
|
"enclave": {
|
||
|
"file": "./liblogging.virtual.so",
|
||
|
"type": "Virtual"
|
||
|
},
|
||
|
"network": {
|
||
|
"node_to_node_interface": { "bind_address": "127.176.67.45:0" },
|
||
|
"rpc_interfaces": {
|
||
|
"primary_rpc_interface": {
|
||
|
"bind_address": "127.176.67.45:0",
|
||
|
"endorsement": { "authority": "Service" },
|
||
|
"max_open_sessions_hard": 1010,
|
||
|
"max_open_sessions_soft": 1000,
|
||
|
"published_address": "127.176.67.45:0"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"node_certificate": {
|
||
|
"subject_name": "CN=CCF Node",
|
||
|
"subject_alt_names": [],
|
||
|
"curve_id": "Secp384R1",
|
||
|
"initial_validity_days": 1
|
||
|
},
|
||
|
"command": {
|
||
|
"type": "Join",
|
||
|
"start": {
|
||
|
"members": [],
|
||
|
"constitution_files": [
|
||
|
"/data/cwinter/CCF/build/workspace/recovery_recovery_test_cft_common/actions.js",
|
||
|
"/data/cwinter/CCF/build/workspace/recovery_recovery_test_cft_common/validate.js",
|
||
|
"/data/cwinter/CCF/build/workspace/recovery_recovery_test_cft_common/resolve.js",
|
||
|
"/data/cwinter/CCF/build/workspace/recovery_recovery_test_cft_common/apply.js"
|
||
|
],
|
||
|
"service_configuration": {
|
||
|
"recovery_threshold": 0,
|
||
|
"maximum_node_certificate_validity_days": 365,
|
||
|
"maximum_service_certificate_validity_days": 365,
|
||
|
"reconfiguration_type": "OneTransaction"
|
||
|
},
|
||
|
"initial_service_certificate_validity_days": 1
|
||
|
},
|
||
|
"join": {
|
||
|
"retry_timeout": "4s",
|
||
|
"target_rpc_address": "127.203.117.146:37497"
|
||
|
},
|
||
|
"recover": {
|
||
|
"initial_service_certificate_validity_days": 1,
|
||
|
"previous_service_identity_file": ""
|
||
|
}
|
||
|
},
|
||
|
"ledger": {
|
||
|
"directory": "2.ledger",
|
||
|
"read_only_directories": [],
|
||
|
"chunk_size": "50KB"
|
||
|
},
|
||
|
"snapshots": {
|
||
|
"directory": "2.snapshots",
|
||
|
"tx_count": 10
|
||
|
},
|
||
|
"logging": {
|
||
|
"host_level": "Debug",
|
||
|
"format": "Text"
|
||
|
},
|
||
|
"consensus": {
|
||
|
"type": "CFT",
|
||
|
"message_timeout": "100ms",
|
||
|
"election_timeout": "4000ms"
|
||
|
},
|
||
|
"ledger_signatures": {
|
||
|
"tx_count": 5000,
|
||
|
"delay": "100ms"
|
||
|
},
|
||
|
"jwt": {
|
||
|
"key_refresh_interval": "1800s"
|
||
|
},
|
||
|
"output_files": {
|
||
|
"node_certificate_file": "2.pem",
|
||
|
"pid_file": "node.pid",
|
||
|
"node_to_node_address_file": "2.node_address",
|
||
|
"rpc_addresses_file": "2.rpc_addresses"
|
||
|
},
|
||
|
"service_certificate_file": "service_cert.pem",
|
||
|
"tick_interval": "1ms",
|
||
|
"slow_io_logging_threshold": "10ms",
|
||
|
"client_connection_timeout": "2s",
|
||
|
"node_client_interface": "127.100.0.2",
|
||
|
"worker_threads": 0,
|
||
|
"memory": {
|
||
|
"circuit_size": "4MB",
|
||
|
"max_msg_size": "16MB",
|
||
|
"max_fragment_size": "64KB"
|
||
|
}
|
||
|
}
|