Skip to content

Commit

Permalink
chore(config): update config files for testnet-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocao committed Jan 30, 2019
1 parent 66ad2c6 commit 2bfcdb3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fmt:

# run node
node:
RUST_LOG=witnet=trace cargo run node
RUST_LOG=witnet=info cargo run node

# run local documentation server at localhost:8000
docs-dev:
Expand Down
9 changes: 6 additions & 3 deletions witnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
# https://docs.witnet.io/configuration/toml-file/
[connections]
server_addr = "127.0.0.1:21337"
known_peers = ["40.121.131.135:21337"]
outbound_limit = 1
bootstrap_peers_period_seconds = 15

[storage]
db_path = ".wit"

[consensus_constants]
checkpoint_zero_timestamp = 1542203073
checkpoint_zero_timestamp = 1548855420

#########################################
### LOGGING CONFIGURATION ###
Expand All @@ -19,13 +22,13 @@ checkpoint_zero_timestamp = 1542203073
log_to_stdout = true

# Log level for stdout: Critical, Error, Warning, Info, Debug, Trace
stdout_log_level = "Debug"
stdout_log_level = "Info"

# Whether to log to a file
log_to_file = true

# Log level for file: Critical, Error, Warning, Info, Debug, Trace
file_log_level = "Debug"
file_log_level = "Info"

# Log file path
log_file_path = "wit.log"
Expand Down

0 comments on commit 2bfcdb3

Please sign in to comment.