Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG EXTRA_BUILD_APK_PACKAGES
RUN apk add --no-cache --update \
autoconf automake bison build-base bzip2 cmake curl \
dbus-dev flex git gmp-dev libsodium-dev libtool linux-headers lz4 \
openssl-dev pkgconfig protoc sed tar wget \
openssl-dev pkgconfig protoc sed tar wget gcompat \
${EXTRA_BUILD_APK_PACKAGES}

# Install Rust toolchain
Expand Down Expand Up @@ -59,7 +59,7 @@ FROM ${RUNNER_IMAGE} as runner
ARG VERSION
ARG EXTRA_RUNNER_APK_PACKAGES

RUN apk add --no-cache --update ncurses dbus libsodium libstdc++ \
RUN apk add --no-cache --update ncurses dbus libsodium libstdc++ curl \
${EXTRA_RUNNER_APK_PACKAGES}

RUN ulimit -n 64000
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ else
endif

GRPC_SERVICES_DIR=src/grpc/autogen

GATEWAY_RS_VSN ?= "v1.0.0-alpha.31"
GWMP_MUX_VSN ?= "v0.9.4"
GATEWAY_RS_VSN ?= "0c37be5dff56d6f989c1dcc8ebf6bb1819d6e447"
GWMP_MUX_VSN ?= "v0.9.8"

all: compile

Expand Down
1 change: 1 addition & 0 deletions config/val.config.src
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
]},
{blockchain,
[
{aux_ledger_dir, "aux"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is on the validator config, did you want it on a config used by miner?

{listen_addresses, ["${LISTEN_ADDRESS:-/ip4/0.0.0.0/tcp/2154}"]},
{fetch_latest_from_snap_source, false},
{block_sync_batch_size, 10},
Expand Down
6 changes: 6 additions & 0 deletions priv/gateway_rs/settings.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## api listening port override
api = 4468

[poc]
entropy_uri = "https://entropy.helium.io/entropy"
ingest_uri = "http://mainnet-pociot.helium.io:9080"
beacon_interval = 600
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beacon_interval seems to be the only setting you actually need here. Ingest token is not needed on the lora network ingestor and the two URIs match the default values.
you could set this as an environment variable for the gateway in miner_gateway_port as GW_POC_BEACON_INTERVAL=600 if you prefer but I thought we had to rename that to just interval?

ingest_token = "dev"