-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode.toml
More file actions
36 lines (29 loc) · 2.02 KB
/
Copy pathnode.toml
File metadata and controls
36 lines (29 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ╔══════════════════════════════════════════════════════════╗
# ║ RustCoin Node Configuration ║
# ╚══════════════════════════════════════════════════════════╝
# Директория для хранения данных ноды (БД, логи, keystore)
data_dir = "./data"
# Название сети: "mainnet" | "testnet" | "devnet"
network = "devnet"
# ─── P2P Network ─────────────────────────────────────────────────────────────
[p2p]
port = 8333
max_peers = 50
# Бутстрап-ноды (список известных адресов для первого подключения)
bootstrap_peers = [
# "/ip4/1.2.3.4/tcp/8333",
]
# ─── RPC Server ──────────────────────────────────────────────────────────────
[rpc]
enabled = true
host = "127.0.0.1"
port = 8545
cors = true # разрешить запросы с других origin (нужно для block explorer)
# ─── Mining (раскомментируй для включения) ───────────────────────────────────
[mining]
coinbase_address = "YOUR_ADDRESS_HERE"
threads = 0 # 0 = автоматически (по числу ядер)
# ─── Logging ─────────────────────────────────────────────────────────────────
[log]
level = "info" # trace | debug | info | warn | error
format = "pretty" # pretty | json | compact