Files
darkfi/contrib/localnet/darkirc-four-nodes/darkirc_full_node1.toml
2025-12-09 04:05:00 +03:00

71 lines
1.6 KiB
TOML

## IRC listen URL
irc_listen = "tcp://127.0.0.1:22022"
## How many DAGs to be synced (each DAG represents a 1hr msg history),
## increasing this number means you get/sync previous hours msg history
## as well (max. 24)
dags_count = 1
## Sets Datastore Path
datastore = "darkirc1"
## List of channels to autojoin for new client connections
autojoin = ["#dev", "#test"]
# Log to file. Off by default.
log = "/tmp/darkirc1.log"
# Set log level. 1 is info (default), 2 is debug, 3 is trace
#verbose = 2
## Running darkirc in header-only mode
## history won't be fetched but DAG sync fast
#fast_mod = false
## JSON-RPC settings
[rpc]
## JSON-RPC listen URL
rpc_listen = "tcp://127.0.0.1:8890"
## Disabled RPC methods
#rpc_disabled_methods = ["p2p.get_info"]
# [rln]
# nullifier = "28UWJrkAj54CjFhr7Dv2veysqtsiSH2HegjucfPPCFVH"
# trapdoor = "E8eEAnkvrdAygSG6aGKJFMNrYV7tf12WHZEETb4RnKxV"
# user_message_limit = 10
## P2P net settings
[net]
## Connection slots
outbound_connections = 8
## Inbound connection slots
inbound_connections = 8
inbound = ["tcp://127.0.0.1:25552"]
external_addrs = ["tcp://127.0.0.1:25552"]
# peers = []
## Seed nodes to connect to
seeds = ["tcp://127.0.0.1:25551"]
# Prefered transports for outbound connections
allowed_transports = ["tcp"]
localnet = true
hostlist = "darkirc1/hostlist.tsv"
#
# [channel."#dev"]
# topic = "DarkFi Development HQ"
[channel."#test"]
secret = "HoLfk8vXBvNsBZ73e2xRPBZ9vEbnF9FVi4fDdyU9AZLU"
[contact."node2"]
dm_chacha_public = "ACaVU2uf4n2cheRHFP7RB9PASLweBJNdp5QJ4PGwVz67"
my_dm_chacha_secret = "Bwdhe48rKsqFwGUquQSSGZZS5NQP1szrdJUhyDE77Br6"
#my_dm_chacha_public = "BmUo88RJ5TyR7gUWnr6Mk7tqZE5xPuCqJdJV8KWzsagh"