forked from Owlput/OwlNest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
owlnest_config.toml.example
122 lines (98 loc) · 1.84 KB
/
owlnest_config.toml.example
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[swarm]
identity_path = ""
swarm_event_buffer_size = 16
swarm_event_timeout = 200
[kad]
max_packet_size = 16384
record_filtering = "Unfiltered"
kbucket_inserts = "OnConnected"
[kad.query_config]
replication_factor = 20
parallelism = 3
disjoint_query_paths = false
[kad.query_config.timeout]
secs = 60
nanos = 0
[kad.record_ttl]
secs = 172800
nanos = 0
[kad.record_replication_interval]
secs = 3600
nanos = 0
[kad.record_publication_interval]
secs = 79200
nanos = 0
[kad.provider_record_ttl]
secs = 172800
nanos = 0
[kad.provider_publication_interval]
secs = 43200
nanos = 0
[kad.caching.Enabled]
max_peers = 1
[kad.periodic_bootstrap_interval]
secs = 300
nanos = 0
[kad.automatic_bootstrap_throttle]
secs = 10
nanos = 0
[identify]
protocol_version = "owlnest/0.0.1"
agent_version = "rust-libp2p/owlnest/0.0.1"
interval = 300
push_listen_addr_updates = false
cache_size = 100
[mdns]
enable_ipv6 = false
[mdns.ttl]
secs = 360
nanos = 0
[mdns.query_interval]
secs = 300
nanos = 0
[messaging.timeout]
secs = 30
nanos = 0
[blob]
max_pending_recv = 16
pending_recv_timeout = 3600
ongoing_recv_timeout = 60
pending_send_timeout = 0
ongoing_send_timeout = 180
[blob.timeout]
secs = 60
nanos = 0
[advertise]
max_advertise_capacity = 32
[advertise.timeout]
secs = 30
nanos = 0
[relay_server]
max_reservations = 128
max_reservations_per_peer = 4
reservation_duration = 3600
max_circuits = 16
max_circuits_per_peer = 4
max_circuit_duration = 43200
max_circuit_bytes = 0
[gossipsub]
validation_mode = "Strict"
max_transmit_size = 65536
history_length = 5
history_gossip = 3
mesh_n = 6
mesh_n_low = 5
mesh_n_high = 12
retain_scores = 4
gossip_lazy = 6
gossip_factor = 0.25
allow_self_origin = false
gossip_retransimission = 3
max_ihave_length = 5000
max_ihave_messages = 10
[gossipsub.heartbeat_interval]
secs = 1
nanos = 0
[gossipsub.duplicate_cache_time]
secs = 60
nanos = 0