diff --git a/README.md b/README.md index dd14116..a761c3d 100644 --- a/README.md +++ b/README.md @@ -135,12 +135,11 @@ atomic_flush = true port = 38700 boot_nodes =["/ip4/172.210.130.200/tcp/38701/p2p/12D3KooWJVjkr19spLuvmWb68zdxki2qucnubPzbHRjxRi8jhwzF","/ip4/20.81.161.179/tcp/38701/p2p/12D3KooWMDqap7HMjA6nos1HpHpWt8JBcPepnZgYSd5PPmovAqD7"] share_peer_interval = 30 - +is_autonat = true only_global_ips = true protocol_id = "betatestnet" [key_server_config] -version = 1 attestation_style = 2 #This corresponds to using an image, epid=1, dcap=2 seal_policy = "MRENCLAVE" exe_policy = { Multiply = { executors = 8 } } @@ -180,8 +179,6 @@ Parameter Descriptions: - **`network_config.peer_key`**: Specifies the keyring service's P2P identity information. If not filled, it will be generated randomly. -- **`key_server_config.version`**: The version number necessary for keyring service registration is a collaborative effort between BOOLNetwork official and the community. It increments as the functionality of the keyring software is enhanced or altered. Users should refrain from making arbitrary changes, as it may lead to software malfunctions. The exact software version number and registration version can be obtained from official information. - - **`key_server_config.attestation_style`**: The mode of SGX remote attestation for the keyring service, where `1` represents `EPID` and `2` represents `DCAP`. - **`key_server_config.seal_policy`**: The data encryption method for the keyring service, supporting `MRSIGNER` and `MRENCLAVE`. It has the same meaning as [Intel SGX sealing](https://www.intel.com/content/www/us/en/developer/articles/technical/introduction-to-intel-sgx-sealing.html). `MRSIGNER` trusts the software publisher, and the advantage is that it is compatible with historical data after software upgrades. `MRENCLAVE` only trusts the code, and the disadvantage is that it cannot read historical data after software upgrades. diff --git a/configs/keyring.toml b/configs/keyring.toml index 267e4a0..e5d74c8 100644 --- a/configs/keyring.toml +++ b/configs/keyring.toml @@ -20,6 +20,9 @@ boot_nodes =["/ip4/172.210.130.200/tcp/38701/p2p/12D3KooWJVjkr19spLuvmWb68zdxki2 share_peer_interval = 30 only_global_ips = true protocol_id = "betatestnet" +is_autonat = 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] attestation_style = 2 #This corresponds to using an image, epid=1, dcap=2