mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
ircd: example config files
This commit is contained in:
33
bin/ircd/config/inbound.toml
Normal file
33
bin/ircd/config/inbound.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
## JSON-RPC listen URL
|
||||
rpc_listen="127.0.0.1:1234"
|
||||
|
||||
## IRC listen URL
|
||||
irc_listen="127.0.0.1:11067"
|
||||
|
||||
## Sets Datastore Path
|
||||
datastore="~/.config/ircd-inbound"
|
||||
|
||||
## Raft net settings
|
||||
[net]
|
||||
## P2P accept address
|
||||
inbound="127.0.0.1:11002"
|
||||
|
||||
## Connection slots
|
||||
#outbound_connections=5
|
||||
|
||||
## P2P external address
|
||||
external_addr="127.0.0.1:11004"
|
||||
|
||||
## Peers to connect to
|
||||
#peers=["127.0.0.1:11003"]
|
||||
|
||||
## Seed nodes to connect to
|
||||
seeds=["127.0.0.1:11001"]
|
||||
|
||||
## these are the default configuration for the p2p network
|
||||
#manual_attempt_limit=0
|
||||
#seed_query_timeout_seconds=8
|
||||
#connect_timeout_seconds=10
|
||||
#channel_handshake_seconds=4
|
||||
#channel_heartbeat_seconds=10
|
||||
|
||||
33
bin/ircd/config/outbound.toml
Normal file
33
bin/ircd/config/outbound.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
## JSON-RPC listen URL
|
||||
rpc_listen="127.0.0.1:7777"
|
||||
|
||||
## IRC listen URL
|
||||
irc_listen="127.0.0.1:11066"
|
||||
|
||||
## Sets Datastore Path
|
||||
datastore="~/.config/ircd-outbound"
|
||||
|
||||
## Raft net settings
|
||||
[net]
|
||||
## P2P accept address
|
||||
# inbound="127.0.0.1:11002"
|
||||
|
||||
## Connection slots
|
||||
outbound_connections=5
|
||||
|
||||
## P2P external address
|
||||
#external_addr="127.0.0.1:11002"
|
||||
|
||||
## Peers to connect to
|
||||
#peers=["127.0.0.1:11003"]
|
||||
|
||||
## Seed nodes to connect to
|
||||
seeds=["127.0.0.1:11001"]
|
||||
|
||||
## these are the default configuration for the p2p network
|
||||
#manual_attempt_limit=0
|
||||
#seed_query_timeout_seconds=8
|
||||
#connect_timeout_seconds=10
|
||||
#channel_handshake_seconds=4
|
||||
#channel_heartbeat_seconds=10
|
||||
|
||||
33
bin/ircd/config/seed.toml
Normal file
33
bin/ircd/config/seed.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
## JSON-RPC listen URL
|
||||
rpc_listen="127.0.0.1:8000"
|
||||
|
||||
## IRC listen URL
|
||||
irc_listen="127.0.0.1:11065"
|
||||
|
||||
## Sets Datastore Path
|
||||
datastore="~/.config/ircd-seed"
|
||||
|
||||
## Raft net settings
|
||||
[net]
|
||||
## P2P accept address
|
||||
inbound="127.0.0.1:11001"
|
||||
|
||||
## Connection slots
|
||||
# outbound_connections=5
|
||||
|
||||
## P2P external address
|
||||
# external_addr="127.0.0.1:11001"
|
||||
|
||||
## Peers to connect to
|
||||
# peers=["127.0.0.1:11001"]
|
||||
|
||||
## Seed nodes to connect to
|
||||
# seeds=["127.0.0.1:11002"]
|
||||
|
||||
## these are the default configuration for the p2p network
|
||||
#manual_attempt_limit=0
|
||||
#seed_query_timeout_seconds=8
|
||||
#connect_timeout_seconds=10
|
||||
#channel_handshake_seconds=4
|
||||
#channel_heartbeat_seconds=10
|
||||
|
||||
Reference in New Issue
Block a user