mirror of
https://github.com/boolnetwork/mining-scripts.git
synced 2026-02-21 10:37:21 +08:00
commit
6e4b1c72c2
@ -116,7 +116,7 @@ Open the `keyring.toml` file under the `configs` directory and replace `0x000000
|
||||
The default configuration file, encompassing identity information, service ports, P2P network, service launch types, etc., is as follows:
|
||||
|
||||
```toml
|
||||
node_ws_url = "ws://172.210.130.200:9944"
|
||||
node_ws_url = "ws://127.0.0.1:9944"
|
||||
# local node_call server port.
|
||||
node_call_port = 8720
|
||||
# the owner address of device (ETH type format)
|
||||
@ -133,8 +133,10 @@ atomic_flush = true
|
||||
|
||||
[network_config]
|
||||
port = 38700
|
||||
boot_nodes = ["/ip4/172.210.130.200/tcp/38700/p2p/12D3KooWJVjkr19spLuvmWb68zdxki2qucnubPzbHRjxRi8jhwzF"]
|
||||
boot_nodes =["/ip4/172.210.130.200/tcp/38701/p2p/12D3KooWJVjkr19spLuvmWb68zdxki2qucnubPzbHRjxRi8jhwzF","/ip4/20.81.161.179/tcp/38701/p2p/12D3KooWMDqap7HMjA6nos1HpHpWt8JBcPepnZgYSd5PPmovAqD7"]
|
||||
share_peer_interval = 30
|
||||
|
||||
only_global_ips = true
|
||||
protocol_id = "betatestnet"
|
||||
|
||||
[key_server_config]
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
node_ws_url = "ws://172.210.130.200:9944"
|
||||
node_ws_url = "ws://127.0.0.1:9944"
|
||||
# local node_call server port.
|
||||
node_call_port = 8720
|
||||
# the owner address of device (ETH type format)
|
||||
@ -16,17 +16,14 @@ atomic_flush = true
|
||||
# Listen on this local ip. optional
|
||||
#ip = "127.0.0.1"
|
||||
port = 38700
|
||||
boot_nodes = ["/ip4/172.210.130.200/tcp/38700/p2p/12D3KooWJVjkr19spLuvmWb68zdxki2qucnubPzbHRjxRi8jhwzF"]
|
||||
boot_nodes =["/ip4/172.210.130.200/tcp/38701/p2p/12D3KooWJVjkr19spLuvmWb68zdxki2qucnubPzbHRjxRi8jhwzF","/ip4/20.81.161.179/tcp/38701/p2p/12D3KooWMDqap7HMjA6nos1HpHpWt8JBcPepnZgYSd5PPmovAqD7"]
|
||||
share_peer_interval = 30
|
||||
only_global_ips = true
|
||||
protocol_id = "betatestnet"
|
||||
is_autonet = true
|
||||
# External address that other nodes will use to connect to this node. optional
|
||||
#external_multiaddrs = ["/ip4/127.0.0.1/tcp/38700"]
|
||||
|
||||
[key_server_config]
|
||||
version = 1
|
||||
attestation_style = 2
|
||||
seal_policy = "MRENCLAVE"
|
||||
attestation_style = 2 #This corresponds to using an image, epid=1, dcap=2
|
||||
seal_policy = "MRSIGNER"
|
||||
exe_policy = { Multiply = { executors = 8 } }
|
||||
round_time_limit = 60
|
||||
clear_msg_interval = 180
|
||||
|
||||
Loading…
Reference in New Issue
Block a user