diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dac25ce..00cf5ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,9 +2,6 @@ name: Build (experimental package) on: pull_request: - push: - branches: - - develop jobs: build: @@ -27,6 +24,5 @@ jobs: npx @dappnode/dappnodesdk build \ --provider "remote" \ --verbose | tee build.log - echo "DNP (DAppNode Package) built and uploaded" >> $GITHUB_STEP_SUMMARY grep "ipfs" build.log >> $GITHUB_STEP_SUMMARY diff --git a/hoprd.cfg.yaml b/hoprd.cfg.yaml index c84eb18..74d77ca 100644 --- a/hoprd.cfg.yaml +++ b/hoprd.cfg.yaml @@ -18,6 +18,7 @@ hopr: network: rotsee keep_logs: true fast_sync: true + logs_snapshot_url: "https://logs-snapshots-rotsee.hoprnet.org/rotsee-v3.0-latest.tar.xz" safe_module: safe_transaction_service_provider: https://safe-transaction.prod.hoprnet.link/ transport: diff --git a/setup-wizard.yml b/setup-wizard.yml index a99da0c..6792eaa 100644 --- a/setup-wizard.yml +++ b/setup-wizard.yml @@ -154,3 +154,18 @@ fields: secret: false pattern: ^(true|false)$ patternErrorMessage: Must be either `true` or `false`! + + - id: HOPRD_ENABLE_LOGS_SNAPSHOT + target: + type: environment + name: HOPRD_ENABLE_LOGS_SNAPSHOT + service: node + title: Enables downloading logs snapshot at node startup + required: false + description: |- + By enabling this option, you acknowledge and agree to trust the integrity and accuracy of the pre-synced snapshot logs url used. + You assume all responsibility for using these files with your node and do so at your own risk. + The node will attempt to download logs snapshot from the configuration property at 'hopr.chain.logs_snapshot_url'. + secret: false + pattern: ^(true|false)$ + patternErrorMessage: Must be either `true` or `false`!