- Bump Docker image version from 1.2.0 to 1.4.0 for enhanced functionality. - Modify config.json to change trail_head_blocks from 0 to 3, adjust snapshot_sync sleep from 3 to 1.5 seconds, and increase batch_size from 1800 to 10000, while adding sync_period of 10 seconds for better synchronization efficiency.
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"log_path": "infernet_node.log",
|
|
"server": {
|
|
"port": 4000
|
|
},
|
|
"chain": {
|
|
"enabled": true,
|
|
"trail_head_blocks": 3,
|
|
"rpc_url": "###RPC_URL###",
|
|
"registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170",
|
|
"wallet": {
|
|
"max_gas_limit": 4000000,
|
|
"private_key": "###PRIVATE_KEY###"
|
|
}
|
|
},
|
|
"startup_wait": 1.0,
|
|
"docker": {
|
|
"username": "your-username",
|
|
"password": ""
|
|
},
|
|
"redis": {
|
|
"host": "redis",
|
|
"port": 6379
|
|
},
|
|
"forward_stats": true,
|
|
"snapshot_sync": {
|
|
"sleep": 1.5,
|
|
"batch_size": 10000,
|
|
"starting_sub_id": 100000,
|
|
"sync_period": 10
|
|
},
|
|
"containers": [
|
|
{
|
|
"id": "hello-world",
|
|
"image": "ritualnetwork/hello-world-infernet:latest",
|
|
"external": true,
|
|
"port": "3000",
|
|
"allowed_delegate_addresses": [],
|
|
"allowed_addresses": ["###WALLET_ADDRESS###"],
|
|
"allowed_ips": [],
|
|
"command": "--bind=0.0.0.0:3000 --workers=2",
|
|
"env": {},
|
|
"accepted_payments": {}
|
|
}
|
|
]
|
|
}
|