## JSON-RPC listen URL
#rpc_listen="tcp://127.0.0.1:26660"

## IRC listen URL
#irc_listen="tcp://127.0.0.1:7776"
#irc_listen="tls://0.0.0.0:7796"

## TLS certificate path if IRC acceptor uses TLS (optional)
#irc_tls_cert = "/etc/letsencrypt/ircd/fullchain.pem"

## TLS secret key path if IRC acceptor uses TLS (optional)
#irc_tls_secret = "/etc/letsencrypt/ircd/privkey.pem"

## List of channels to autojoin for new client connections
autojoin = ["#dev", "#memes", "#philosophy", "#markets", "#math", "#random"]

## Daemon specific password (optional, but once you configure it,
## it is required from the client side)
#password="CHANGE_ME"

## P2P net settings
[net]
## Connection slots
outbound_connections=5

## P2P accept addresses
#inbound = ["tls://0.0.0.0:26661"]
# ipv6 version:
#inbound = ["tls://[::]:26661"]

## P2P external addresses
## Put your IPs or hostnames here
## This is how people can reach you on the inbound port configured above
## You can also put an ipv6 address :)
#external_addr = ["tls://XXX.XXX.XXX.XXX:26661"]
# ipv6 version:
#external_addr = ["tls://[ipv6 address here]:26661"]

## Manually configured peers to connect to
#peers = ["tls://127.0.0.1:26661"]

## Seed nodes to connect to 
seeds = ["tcp+tls://lilith0.dark.fi:26661", "tcp+tls://lilith1.dark.fi:26661"]

# Prefered transports for outbound connections
outbound_transports = ["tcp", "tcp+tls"]

## Only used for debugging. Compromises privacy when set.
#node_id = "foo"

## 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

## Per-channel settings
#[channel."#foo"]
## Create with `ircd --gen-secret`
#secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
## Topic to set for the channel
#topic = "DarkFi Foo Stuff"

[channel."#dev"]
topic = "DarkFi Development HQ"

### Contacts list
## Private key used to decrypt direct messages to you along with
## contact_pubkey. (configured only once)
## Generate keypair using 'ircd --gen-keypair' 
## or to save to a file 'ircd --gen-keypair -o ~/some_dir/filename'
## !!SHOULD NEVER SHARE THIS!!
#[private_key."955Dfa83pU7RCevT2rMrGfhza4kcy6FShSNE6AdR4Q7A"]

## Shared Public key that encrypt direct communication between two nicknames
## on the network.
## These are in the form of [Contact_nick, Contact_pubkey]
## Per-contact settings
## contact nickname (this is not irc nickname, and could be anything you want)
## irc msgs should be pointed to this nickname.
#[contact."bar"]
## contact public key
#contact_pubkey = "C9vC6HNDfGQofWCapZfQK5MkV1JR8Cct839RDUCqbDGK"
