Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperblock processor #4

Merged
merged 16 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
SHELL := $(shell which bash)

debugger := $(shell which dlv)

.PHONY: help build run runb kill debug debug-ath

cmd_dir = cmd/connector
binary = connector

build:
cd ${cmd_dir} && \
go build -v -o ${binary}

run: build
cd ${cmd_dir} && \
./${binary}

debug: build
cd ${cmd_dir} && \
${debugger} exec ./${binary}
2 changes: 1 addition & 1 deletion cmd/connector/config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Possible values: json, gogo protobuf. Should be compatible with [HostDriverConfig].MarshallerType
marshaller_type = "gogo protobuf"
# This flag describes the mode to start the WebSocket connector. Can be "client" or "server"
mode = "client"
mode = "server"
# Retry duration (receive/send data/acknowledge) in seconds
retry_duration = 5
# This flag specifies if we should send an acknowledge signal upon recieving data
Expand Down
Loading
Loading