Skip to content

Commit a4bcb24

Browse files
authored
Merge pull request #194 from dappnode/Jaguaras-config-v5
Updating config file for v5
2 parents c8fe18b + 7474a79 commit a4bcb24

1 file changed

Lines changed: 11 additions & 57 deletions

File tree

‎hoprd.cfg.yaml‎

Lines changed: 11 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,24 @@
11
---
2-
blokli_url: https://blokli-piz-palu.prod.hoprnet.link
2+
blokli_url: https://blokli.piz-palu.gnosisvpn.io
33
hopr:
44
network:
5-
pix:
6-
num_ssa_parts: 4096
7-
ssa_part_size: 64
8-
additional_shares: 20
9-
max_ssas_per_request: 3
10-
incoming_session_pix:
11-
enforce_pix: false
12-
max_ssa_delivery_time: 20s
13-
max_deposit_wait: 60s
14-
ssas_per_request: 1
5+
probe_interval: 30s
6+
probe_recheck_threshold: 60s
157
strategy:
168
allow_recursive: false
17-
execution_interval: 15s
189
strategies:
10+
- AutoRedeeming:
11+
redeem_on_winning: true
1912
- ChannelLifecycle:
2013
population:
21-
min_open_channels: 10
22-
target_open_channels: 40
23-
eligibility:
24-
require_currently_connected: true
25-
min_peer_quality_score: 0.5
26-
peer_quality_weight: 0.6
27-
ticket_activity_weight: 0.4
28-
require_observed_since_start: true
29-
allowlist: ~
30-
blocklist: []
31-
# Channel funding is expressed as data capacity; the node resolves each
32-
# capacity to wxHOPR every tick using live ticket economics. Since
33-
# hopr-strategy 0.25 the hop count is fixed at ASSUMED_HOPS = 3 and the
34-
# assumed_hops key is rejected outright (deny_unknown_fields):
35-
# N = ceil(capacity_bytes / 1038) # HoprPacket::PAYLOAD_SIZE
36-
# F = ticket_price * 3 / winning_prob # one winning ticket
37-
# E = N * 3 * ticket_price # mean drain
38-
# stake = whole_tickets(max(F, E)) # sizing_mode: deterministic
39-
#
40-
# Every capacity is floored at one winning ticket and then rounded up to
41-
# a whole number of them, so the tiers below only stay distinct while
42-
# they sit above that floor. Note deterministic changed meaning in 0.23:
43-
# it is the mean drain floored at one ticket, no longer a worst case.
44-
# ticket_price = 1e-16 wxHOPR, winning_prob = 1.25e-4
45-
# => F = 2.4e-12 wxHOPR (2400000 wei); the floor binds below ~8.3 MB.
46-
# stake (initial_capacity) = 1 GiB -> 130 tickets -> 312000000 wei
47-
# topup (topup_capacity) = 1 GiB -> 130 tickets -> 312000000 wei
48-
# floor (lower_capacity_threshold) = 512 MiB -> 65 tickets -> 156000000 wei topup trigger
14+
min_open_channels: 5
15+
target_open_channels: 20
16+
peer_reopen_cooldown: 30m
4917
funding:
5018
initial_capacity: "1 GiB"
51-
topup_capacity: "1 GiB"
19+
topup_capacity: "512 MiB"
5220
lower_capacity_threshold: "512 MiB"
53-
proactive_funding:
54-
enabled: true
55-
safety_margin: 1.5
56-
balance_drain_weight: 1.0
57-
ticket_index_drain_weight: 1.0
58-
closure:
59-
close_below_quality_score: 0.3
60-
close_when_drained_below: "0 wxHOPR"
61-
close_max_concurrent: 2
6221
finalizer:
63-
enabled: true
64-
finalize_max_concurrent: 30
65-
restart: {}
22+
finalize_max_concurrent: 5
6623
concurrency:
67-
max_concurrent_actions: 30
68-
selector: default
69-
- AutoRedeeming:
70-
minimum_redeem_ticket_value: "1 wei wxHOPR"
24+
max_concurrent_actions: 5

0 commit comments

Comments
 (0)