update config

This commit is contained in:
kayryu 2023-03-30 12:08:22 +00:00
parent b242ba4068
commit e9bff361d8
5 changed files with 14 additions and 18 deletions

View File

@ -1,4 +1,4 @@
port = 8710
port = 18710
num_workers = 20
db_path = "/bnk/data"
token = ""

View File

@ -1,9 +1,9 @@
version = 1
attestation_style = 1
port = 8730
port = 18730
executors = 2
db_url = "http://127.0.0.1:8710"
msg_pool_url = "http://127.0.0.1:8720"
db_url = "http://127.0.0.1:18710"
msg_pool_url = "http://127.0.0.1:18720"
db_token = ""
cert_path = "../servers/test-ca/ca.cert"
round_time_limit = 60

View File

@ -1,7 +1,5 @@
port = 8740
port = 18740
database_url = "/bnk/data/sqlite.db"
notified_url = "http://localhost:8750/event"
[default_watcher]
enabled = true

View File

@ -1,24 +1,22 @@
# local msg_pool server port.
msg_pool_port = 8720
msg_pool_port = 18720
# local node url for watcher
node_ws_url = "ws://127.0.0.1:9944"
node_ws_url = "ws://127.0.0.1:9945"
# local database url for data storage.
db_url = "http://127.0.0.1:8710"
db_url = "http://127.0.0.1:18710"
# local database token for database usage.
db_token = ""
# local sgx key server url
key_server_url = "https://localhost:8730"
key_server_url = "https://localhost:18730"
# used to generate LocalKeyStore, used to get AccountId in substrate.
identity = "0x0000000000000000000000000000000000000000000000000000000000000000"
# Notifies relayer of the event
relayer_server_url = "http://localhost:8750"
# seconds per block
block_time = 3
# blocks per epoch
epoch_duration = 200
[network_config]
port = 38700
boot_nodes = ["/ip4/20.3.233.7/tcp/38700/p2p/12D3KooWEZopB8nMuMGFT24LrkGzxCEkwUpY4w5mgY78biy8ZiU5"]
port = 48700
boot_nodes = [""]
share_peer_interval = 30
only_global_ips = true

View File

@ -3,9 +3,9 @@ services:
bnk-node:
image: boolnetwork/bnk-node:pre-release
ports:
- "9933:9933"
- "9944:9944"
- "30333:30333"
- "9934:9933"
- "9945:9944"
- "30335:30333"
environment:
RUST_LOG: info
volumes: