Skip to content

Commit a2b68b6

Browse files
Upgrading to 3.0.0
1 parent b5c6301 commit a2b68b6

File tree

6 files changed

+39
-33
lines changed

6 files changed

+39
-33
lines changed

dappnode_package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hopr-testnet.public.dappnode.eth",
33
"version": "1.0.0",
4-
"upstreamVersion": "saint-louis",
4+
"upstreamVersion": "kaunas",
55
"description": "The HOPR protocol ensures everyone has control of their privacy, data, and identity. By running a HOPR Node, you can obtain HOPR tokens by relaying data and connect to the HOPR Network.",
66
"type": "service",
77
"architectures": [
@@ -21,7 +21,7 @@
2121
"links": {
2222
"homepage": "https://hoprnet.org/",
2323
"ui": "http://admin.hopr-testnet.public.dappnode/?apiEndpoint=http://hopr-testnet.public.dappnode:3101",
24-
"api": "http://hopr-testnet.public.dappnode:3101/scalar",
24+
"api": "http://hopr-testnet.public.dappnode:3101/swagger-ui/index.html",
2525
"docs": "https://docs.hoprnet.org"
2626
},
2727
"repository": {
@@ -53,6 +53,12 @@
5353
"port": 9191,
5454
"serviceName": "node"
5555
},
56+
{
57+
"name": "GnosisVPN Session port",
58+
"description": "Port used for Gnosis VPN",
59+
"port": 1422,
60+
"serviceName": "node"
61+
},
5662
{
5763
"name": "HOPR p2p (alt 1)",
5864
"description": "HOPR P2P port (alternative 1)",

docker-compose.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.5"
1+
version: "3.6"
22
services:
33
node:
44
# Do not set image field here, it will be set automatically by the sdk.
@@ -39,13 +39,14 @@ services:
3939
HOPRD_HOST: "127.0.0.1:9191"
4040
HOPRD_SAFE_ADDRESS: 0x
4141
HOPRD_MODULE_ADDRESS: 0x
42-
HOPRD_HEARTBEAT_THRESHOLD: 60
43-
HOPRD_HEARTBEAT_INTERVAL: 20
44-
HOPRD_HEARTBEAT_VARIANCE: 1
45-
HOPR_INTERNAL_LIBP2P_YAMUX_MAX_NUM_STREAMS: 1024
4642
HOPRD_PASSWORD: ""
4743
HOPRD_PROVIDER: ""
4844
HOPRD_SESSION_PORT_RANGE: "10000:10100"
45+
HOPRD_MAX_BLOCK_RANGE: 100
46+
HOPRD_MAX_RPC_REQUESTS_PER_SEC: 10
47+
HOPRD_NAT: "true"
48+
ADDITIONAL_CMDLINE_ARGS: ""
49+
ADDITIONAL_ENVIRONMENT_VARS: ""
4950
restart: unless-stopped
5051
deploy:
5152
resources:
@@ -57,7 +58,7 @@ services:
5758
build:
5859
context: ./hopr-admin
5960
image: >-
60-
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:2.1.14
61+
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:kaunas
6162
ports:
6263
- "3100:4677"
6364
restart: unless-stopped

hopr-admin/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:2.1.6
1+
FROM europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:kaunas
22

33
ENTRYPOINT ["nginx", "-g", "daemon off;"]

hoprd.cfg.yaml

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,22 @@ hopr:
99
allow_recursive: true
1010
strategies:
1111
- !Aggregating
12-
aggregation_threshold: 100
12+
aggregation_threshold: 250
1313
unrealized_balance_ratio: 0.9
1414
aggregate_on_channel_close: true
1515
- !AutoRedeeming
1616
redeem_only_aggregated: true
17-
on_close_redeem_single_tickets_value_min: "90000000000000000 HOPR"
18-
minimum_redeem_ticket_value: "30000000000000000000 HOPR"
17+
minimum_redeem_ticket_value: "0.25 wxHOPR"
1918
- !ClosureFinalizer
20-
max_closure_overdue: 3600
21-
network_options:
22-
min_delay: 1
23-
max_delay: 300
24-
quality_bad_threshold: 0.2
25-
quality_offline_threshold: 0.1
26-
quality_step: 0.1
27-
quality_avg_window_size: 25
28-
ignore_timeframe: 600
29-
backoff_exponent: 1.5
30-
backoff_min: 2.0
31-
backoff_max: 300.0
19+
max_closure_overdue: 300
3220
protocol:
33-
heartbeat:
34-
timeout: 15
3521
ticket_aggregation:
3622
timeout: 15
3723
chain:
3824
announce: true
39-
check_unrealized_balance: true
4025
network: rotsee
26+
keep_logs: true
27+
fast_sync: true
4128
safe_module:
4229
safe_transaction_service_provider: https://safe-transaction.prod.hoprnet.link/
4330
transport:
@@ -50,8 +37,5 @@ api:
5037
host:
5138
address: !IPv4 0.0.0.0
5239
port: 3101
53-
inbox:
54-
capacity: 512
55-
max_age: 900
56-
excluded_tags:
57-
- 0
40+
session_ip_forwarding:
41+
target_allow_list: []

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"repository": "https://github.com/dappnode/DAppNodePackage-Hopr-Testnet",
44
"private": true,
55
"devDependencies": {
6-
"@dappnode/dappnodesdk": "0.3"
6+
"@dappnode/dappnodesdk": "^0.3.45"
77
}
88
}

setup-wizard.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,18 @@ fields:
119119
secret: false
120120
pattern: "^[a-z0-9.-]{3,}:919[1-9]$"
121121
patternErrorMessage: Must be in correct host:port format!
122+
123+
- id: HOPRD_NAT
124+
target:
125+
type: environment
126+
name: HOPRD_NAT
127+
service: node
128+
title: Enable NAT mode
129+
required: false
130+
description: |-
131+
By default the HOPR node assumes that it is running behind a NAT on a
132+
dappnode. If this is not the case or proper port forwarding has been
133+
set up this option can be set to `false` to disable NAT mode.
134+
secret: false
135+
pattern: ^(true|false)$
136+
patternErrorMessage: Must be either `true` or `false`!

0 commit comments

Comments
 (0)