mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-15 04:13:11 +00:00
chore: minor edits in config files
This commit is contained in:
parent
366d96dcba
commit
e3bfdac2d7
@ -13,15 +13,14 @@ nodekey = "17950ef7510db19197ec0e3d34b41c0ed60bb7a0a619aa504eb6689c85ca9925"
|
||||
# (Alice will connect to Bob via REST API later)
|
||||
staticnode = [ "/ip4/127.0.0.1/tcp/60003/p2p/16Uiu2HAkyxHKziUQghTarGhBSFn8GcVapDgkJjMFTUVCCfEuyzSd" ]
|
||||
|
||||
# Connect to The Waku Network (TWN)
|
||||
# (must come before we override relay and discovery to false)
|
||||
preset = "twn"
|
||||
|
||||
# Disable Relay and RLN-Relay
|
||||
# (TODO: is disabling RLN-Relay needed here?)
|
||||
relay = false
|
||||
rln-relay = false
|
||||
|
||||
# Use cluster 1 (TWN)
|
||||
# (TODO: shall we use preset=twn instead?)
|
||||
cluster-id = 1
|
||||
|
||||
# Disable discovery methods to ensure node isolation
|
||||
discv5-discovery = false
|
||||
dns-discovery = false
|
||||
@ -36,7 +35,7 @@ ports-shift = 1
|
||||
rest = true
|
||||
rest-admin = true
|
||||
rest-address = "127.0.0.1"
|
||||
rest-allow-origin = [ "*" ]
|
||||
rest-allow-origin = [ "127.0.0.1:*" ]
|
||||
|
||||
# Log level
|
||||
log-level = "DEBUG"
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
# Bob also checks for double-spend attempts -
|
||||
# when Alice submits duplicate txid as proof of payment.
|
||||
|
||||
|
||||
# Enable Lightpush
|
||||
lightpush = true
|
||||
|
||||
@ -21,10 +20,10 @@ relay = true
|
||||
# Connect to The Waku Network (TWN)
|
||||
preset = "twn"
|
||||
|
||||
# Disable discovery methods to ensure node isolation
|
||||
# TODO: is it needed? (Bob only connecting to Dave is OK)
|
||||
# Optional: Bob only connecting to Dave is OK for testing scenario
|
||||
discv5-discovery = false
|
||||
dns-discovery = false
|
||||
nat = "upnp"
|
||||
|
||||
# Eligibility-related parameters
|
||||
eligibility-enabled = true
|
||||
@ -34,14 +33,11 @@ eligibility-payment-amount-wei = 1000000000
|
||||
# RLN-related parameters
|
||||
rln-relay-tree-path = "~/.waku/rln-tree-db"
|
||||
|
||||
# NAT (required for local setup: TODO: explain why)
|
||||
nat = "upnp"
|
||||
|
||||
# Enable REST API including admin functions
|
||||
rest = true
|
||||
rest-admin = true
|
||||
rest-address = "127.0.0.1"
|
||||
rest-allow-origin = [ "*" ]
|
||||
rest-allow-origin = [ "127.0.0.1:*" ]
|
||||
|
||||
# Log level
|
||||
log-level = "DEBUG"
|
||||
|
||||
@ -20,6 +20,7 @@ preset = "twn"
|
||||
# Disable discovery methods to ensure node isolation
|
||||
discv5-discovery = false
|
||||
dns-discovery = false
|
||||
nat = "upnp"
|
||||
|
||||
# Eligibility-related parameters
|
||||
eligibility-enabled = true
|
||||
@ -32,17 +33,11 @@ ports-shift = 3
|
||||
# RLN-related parameters
|
||||
rln-relay-tree-path = "~/.waku/rln-tree-db-3"
|
||||
|
||||
# NAT (required for local setup: TODO: explain why)
|
||||
nat = "upnp"
|
||||
|
||||
# Enable REST API including admin functions
|
||||
rest = true
|
||||
rest-admin = true
|
||||
rest-address = "127.0.0.1"
|
||||
rest-allow-origin = [ "*" ]
|
||||
rest-allow-origin = [ "127.0.0.1:*" ]
|
||||
|
||||
# Log level
|
||||
log-level = "DEBUG"
|
||||
|
||||
# CLI-only equivalent command (for reference)
|
||||
# ./build/wakunode2 --lightpush --rln-relay-tree-path=~/.waku/rln-tree-db-3 --nodekey=$CHARLIE_NODEKEY --discv5-discovery=false --dns-discovery=false --rest=true --rest-admin=true --rest-address=127.0.0.1 --ports-shift=3 --rest-allow-origin="*" --preset=twn --relay=true --nat=upnp --rln-relay-eth-client-address=$RLN_RELAY_ETH_CLIENT_ADDRESS --rln-relay-cred-password=$RLN_RELAY_CRED_PASSWORD --rln-relay-cred-path=$RLN_RELAY_CRED_PATH --log-level=DEBUG --eligibility-enabled=true --eligibility-eth-client-address=$ELIGIBILITY_ETH_CLIENT_ADDRESS --eligibility-receiver-address=$ELIGIBILITY_RECEIVER_ADDRESS --eligibility-payment-amount-wei=$ELIGIBILITY_PAYMENT_AMOUNT_WEI
|
||||
@ -14,6 +14,7 @@ relay = true
|
||||
|
||||
# Connect to The Waku Network (TWN)
|
||||
preset = "twn"
|
||||
nat = "upnp"
|
||||
|
||||
# Shift ports to avoid conflicts in local setups
|
||||
ports-shift = 2
|
||||
@ -21,14 +22,11 @@ ports-shift = 2
|
||||
# RLN-related parameters
|
||||
rln-relay-tree-path = "~/.waku/rln-tree-db-2"
|
||||
|
||||
# NAT (required for local setup: TODO: explain why)
|
||||
nat = "upnp"
|
||||
|
||||
# Enable REST API including admin functions
|
||||
rest = true
|
||||
rest-admin = true
|
||||
rest-address = "127.0.0.1"
|
||||
rest-allow-origin = [ "*" ]
|
||||
rest-allow-origin = [ "127.0.0.1:*" ]
|
||||
|
||||
# Log level
|
||||
log-level = "DEBUG"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user