-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
67 lines (57 loc) · 1.47 KB
/
config.example.toml
File metadata and controls
67 lines (57 loc) · 1.47 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# NTL Node Configuration
# https://ntl.openntl.org/guides/quickstart
[network]
bootstrap_nodes = [
"ntl://bootstrap-1.openntl.org:4433",
"ntl://bootstrap-2.openntl.org:4433",
"ntl://bootstrap-af.openntl.org:4433",
]
bind_address = "0.0.0.0"
port = 4433
[crypto]
module = "pq-v1" # post-quantum default
# module = "classical-v1" # Ed25519/X25519 for legacy
# module = "hybrid-v1" # dual PQ + classical
[synapse]
initial_weight = 0.1
max_weight = 1.0
decay_rate = 0.01 # weight decay per hour
dormancy_threshold = 0.01
prune_after_hours = 168 # 7 days
max_synapses = 1000
attenuation_factor = 0.9
[synapse.transport]
preferred = "quic"
fallback = "tcp"
[propagation]
default_ttl = 10
min_propagation_weight = 0.01
attenuation_factor = 0.9
max_fanout = 5 # max synapses per propagation
dedup_cache_seconds = 300 # 5 minutes
[propagation.scoring]
weight_factor = 0.4
latency_factor = 0.2
affinity_factor = 0.3
recency_factor = 0.1
[activation]
base_threshold = 0.5
activation_function = "step" # step, sigmoid, leaky
refractory_period_ms = 10
max_potential = 10.0
dynamic_threshold = true
# Optional: SiafuDB integration
# [siafu]
# enabled = true
# data_dir = "~/.ntl/siafu"
# sync_mode = "eventual"
# Optional: Web2 adapter
# [adapter.web2]
# enabled = true
# bind_address = "0.0.0.0:8080"
# tls = true
# Optional: Web3 adapter
# [adapter.web3]
# enabled = false
# [adapter.web3.chains]
# ethereum = { rpc = "https://...", chain_id = 1 }