outbound.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ## IRC listen URL
  2. irc_listen = "tcp://127.0.0.1:11066"
  3. ## Sets Datastore Path
  4. datastore = "~/.local/share/darkfi/darkirc/localnet/outbound/darkirc_db"
  5. ## JSON-RPC settings
  6. [rpc]
  7. ## JSON-RPC listen URL
  8. rpc_listen = "tcp://127.0.0.1:7777"
  9. ## Disabled RPC methods
  10. rpc_disabled_methods = ["p2p.get_info"]
  11. ## Raft net settings
  12. [net]
  13. # Magic Bytes to distinguish the p2p network
  14. magic_bytes = [251, 229, 199, 181]
  15. ## Permit loopback P2P addresses for this development network
  16. localnet = true
  17. ## Dedicated P2P state
  18. p2p_datastore = "~/.local/share/darkfi/darkirc/localnet/outbound/p2p"
  19. hostlist = "~/.local/share/darkfi/darkirc/localnet/outbound/p2p_hostlist.tsv"
  20. ## Connection slots
  21. outbound_connections = 5
  22. # Whitelisted transports for outbound connections
  23. active_profiles = ["tcp"]
  24. [net.profiles."tcp"]
  25. ## Seed nodes to connect to
  26. seeds = ["tcp://127.0.0.1:11001"]
  27. ## P2P accept addresses
  28. # inbound=["tcp://127.0.0.1:11002"]
  29. ## P2P external addresses
  30. #external_addrs = ["tcp://127.0.0.1:11002"]
  31. ## Peers to connect to
  32. peers = ["tcp://127.0.0.1:11002"]