You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.PHONY: all help libs exe race trace-pointer debug debug-ext debug-kill test test-go test-api test-api-attach linux_static deb_init deb_build deb debpub_dev debpub_prod rpm_init rpm_build rpm rpmpub_dev rpmpub_prod clean distclean docker go-vet go-test docker build_localnet_validator protofiles travis_go_checker travis_rpc_checker travis_rosetta_checker debug-start-log debug-stop-log debug-restart-log debug-delete-log
16
18
@@ -38,6 +40,7 @@ help:
38
40
@echo "test-rosetta-attach - attach onto the rosetta testing docker container for inspection"
39
41
@echo "linux_static - static build the harmony binary & bootnode along with the MCL & BLS libs (for linux)"
40
42
@echo "linux_static_quick - static build the harmony binary & bootnode more quickly without recompiling dependencies (for linux)"
43
+
@echo "linux_static_cross_build - cross-compile static Linux binaries for Harmony and Bootnode from macOS"
41
44
@echo "rpm_init - prepare the RPM build environment by creating directories, copying files, and generating the spec file and source tarball"
42
45
@echo "rpm_build - build an RPM package for x86_64 architecture using the spec file (<RPMBUILD>/SPECS/harmony.spec)"
43
46
@echo "rpm - build a harmony RPM pacakge"
@@ -56,6 +59,7 @@ help:
56
59
@echo "travis_rosetta_checker - run the Travis Rosetta checker script, defaulting the test branch to 'master' unless overridden by TEST_REPO_BRANCH"
57
60
@echo "debug_external - cleans up environment, rebuilds the binary, and deploys with external nodes"
58
61
@echo "debug-multi-bls - cleans up environment, rebuilds the binary, and deploys with external nodes in configuration 1 harmony process -> 2 validators"
62
+
@echo "debug-add-extra-nodes-to-the-running-network wait for EPOCH_TO_WAIT and add nodes from EXTRA_NODES_FILE file"
59
63
@echo "build_localnet_validator - imports validator keys, funds validator accounts, waits for the epoch, and creates external validators on a local network"
60
64
@echo "debug-start-log - start a docker compose Promtail->Loki->Grafana stack against localnet logs, creates"\
61
65
"persistent volume to store parsed logs between localnet runs, needs docker compose and started localnet"
@@ -79,10 +83,9 @@ trace-pointer:
79
83
bash ./scripts/go_executable_build.sh -t
80
84
81
85
debug:
82
-
rm -rf .dht-127.0.0.1*
83
86
# uncomment the following lines to enable debug logging for libp2p, it produces a lot of logs, so disabled by default
84
-
#export GOLOG_LOG_LEVEL=debug
85
-
#export GOLOG_OUTPUT=stdout
87
+
#export GOLOG_LOG_LEVEL=debug
88
+
#export GOLOG_OUTPUT=stdout
86
89
# add VERBOSE=true before bash or run `export VERBOSE=true` on the shell level for have max logging
87
90
# add LEGACY_SYNC=true before bash or run `export LEGACY_SYNC=true` on the shell level to switch to the legacy sync
0 commit comments