Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 11 additions & 57 deletions hoprd.cfg.yaml
Original file line number Diff line number Diff line change
@@ -1,70 +1,24 @@
---
blokli_url: https://blokli-piz-palu.prod.hoprnet.link
blokli_url: https://blokli.piz-palu.gnosisvpn.io
hopr:
network:
pix:
num_ssa_parts: 4096
ssa_part_size: 64
additional_shares: 20
max_ssas_per_request: 3
incoming_session_pix:
enforce_pix: false
max_ssa_delivery_time: 20s
max_deposit_wait: 60s
ssas_per_request: 1
probe_interval: 30s
probe_recheck_threshold: 60s
strategy:
allow_recursive: false
execution_interval: 15s
strategies:
- AutoRedeeming:
redeem_on_winning: true
- ChannelLifecycle:
population:
min_open_channels: 10
target_open_channels: 40
eligibility:
require_currently_connected: true
min_peer_quality_score: 0.5
peer_quality_weight: 0.6
ticket_activity_weight: 0.4
require_observed_since_start: true
allowlist: ~
blocklist: []
# Channel funding is expressed as data capacity; the node resolves each
# capacity to wxHOPR every tick using live ticket economics. Since
# hopr-strategy 0.25 the hop count is fixed at ASSUMED_HOPS = 3 and the
# assumed_hops key is rejected outright (deny_unknown_fields):
# N = ceil(capacity_bytes / 1038) # HoprPacket::PAYLOAD_SIZE
# F = ticket_price * 3 / winning_prob # one winning ticket
# E = N * 3 * ticket_price # mean drain
# stake = whole_tickets(max(F, E)) # sizing_mode: deterministic
#
# Every capacity is floored at one winning ticket and then rounded up to
# a whole number of them, so the tiers below only stay distinct while
# they sit above that floor. Note deterministic changed meaning in 0.23:
# it is the mean drain floored at one ticket, no longer a worst case.
# ticket_price = 1e-16 wxHOPR, winning_prob = 1.25e-4
# => F = 2.4e-12 wxHOPR (2400000 wei); the floor binds below ~8.3 MB.
# stake (initial_capacity) = 1 GiB -> 130 tickets -> 312000000 wei
# topup (topup_capacity) = 1 GiB -> 130 tickets -> 312000000 wei
# floor (lower_capacity_threshold) = 512 MiB -> 65 tickets -> 156000000 wei topup trigger
min_open_channels: 5
target_open_channels: 20
peer_reopen_cooldown: 30m
funding:
initial_capacity: "1 GiB"
Comment thread
Teebor-Choka marked this conversation as resolved.
topup_capacity: "1 GiB"
topup_capacity: "512 MiB"
Comment thread
Teebor-Choka marked this conversation as resolved.
lower_capacity_threshold: "512 MiB"
proactive_funding:
enabled: true
safety_margin: 1.5
balance_drain_weight: 1.0
ticket_index_drain_weight: 1.0
closure:
close_below_quality_score: 0.3
close_when_drained_below: "0 wxHOPR"
close_max_concurrent: 2
finalizer:
enabled: true
finalize_max_concurrent: 30
restart: {}
finalize_max_concurrent: 5
concurrency:
max_concurrent_actions: 30
selector: default
- AutoRedeeming:
minimum_redeem_ticket_value: "1 wei wxHOPR"
max_concurrent_actions: 5
Loading