From 182ee14212b3d179353dcc50bf74ddcb529d1e00 Mon Sep 17 00:00:00 2001 From: lunar-mining Date: Tue, 3 May 2022 10:05:53 +0200 Subject: [PATCH] ircd: example config files --- bin/ircd/config/inbound.toml | 33 +++++++++++++++++++++++++++++++++ bin/ircd/config/outbound.toml | 33 +++++++++++++++++++++++++++++++++ bin/ircd/config/seed.toml | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 bin/ircd/config/inbound.toml create mode 100644 bin/ircd/config/outbound.toml create mode 100644 bin/ircd/config/seed.toml diff --git a/bin/ircd/config/inbound.toml b/bin/ircd/config/inbound.toml new file mode 100644 index 000000000..2ce669ed4 --- /dev/null +++ b/bin/ircd/config/inbound.toml @@ -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 + diff --git a/bin/ircd/config/outbound.toml b/bin/ircd/config/outbound.toml new file mode 100644 index 000000000..ca11eec8e --- /dev/null +++ b/bin/ircd/config/outbound.toml @@ -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 + diff --git a/bin/ircd/config/seed.toml b/bin/ircd/config/seed.toml new file mode 100644 index 000000000..a405e06f9 --- /dev/null +++ b/bin/ircd/config/seed.toml @@ -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 +