Eugene Kim
96e17f87a2
Add getopts bolilerplate
6 years ago
Eugene Kim
5ee16d844b
Do not allow extra arguments; guards against typos
6 years ago
Eugene Kim
63ad477004
Factor print-usage-and-exit out as a function
6 years ago
Eugene Kim
46c8dcc137
Add ${progname} var and msg/err utility functions
6 years ago
Minh Doan
99669ed1dc
add blsgen instruction
6 years ago
Leo Chen
6d3193b2e3
[node] adjust node.sh with the new -accounts option
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
5dd4848c2c
[wallet] remove wallet.ini
...
we have switched to use dns based rpc query, no longer need wallet.ini
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Rongjian Lan
f79d46b3fe
Update to use bls384_256 curve for BLS12-381
6 years ago
Leo Chen
67e497abfc
[node] enable is_archival for node runners by default
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Richard Liu
1db7381d28
Ricl rpc ( #880 )
...
* added readme
* more RPC APIs
* update for comments; fix travis issues
* update auto-generated host_mock.go
* pubsub WIP
* WIP
* added hmy/backend.go
* update to support newBlockFilter
* fix golint
* update readme; add log in travis_checker.sh
* add APIs
* update deploy.sh for duration
* enable sync by default
* testing getFilterChange
* fix ten-oneshard.txt
* add support for bloom indexer
* minior
* update
* [protobuf] generate the pb.go files
Signed-off-by: Leo Chen <leo@harmony.one>
* undo parameters
* remove bloombits
* fix bloom9_test
* remove service.go
6 years ago
Leo Chen
53c78c9fb4
[node] fix node.sh to input passphrase
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
21aa375850
[node] fix the download path of node program
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
e54d4fd0ca
[drum] change release name
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
c1b009b4be
[script] upload wallet to pub repo
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Peter Chung
c3860b750c
[scripts] fix wallet build script
6 years ago
Peter Chung
7d101692aa
[internal/utils] add EmbedFile function
...
utils.EmbedFile is a text file embed script for go:generate
to embed text files into generated golang source.
related to #830
6 years ago
Peter Chung
566c3aeb60
[wallet] embed wallet.ini into wallet binary ( #830 )
...
utilize go:generate to convert the default wallet.ini file
into go constant `defaultWalletIni` defined in
`cmd/client/wallet/generated_ini.go` which will be used when
`.hmy/wallet.ini` doesn't exist under the current filesystem.
6 years ago
Leo Chen
64310e1a89
[node] reserve more spot for foundational nodes to join testnet
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
6ffbedcd73
Update scripts/docker/docker-node.sh
...
Co-Authored-By: LeoHChen <leo@harmony.one>
6 years ago
Leo Chen
0970dfe1e8
Update docker-node.sh
...
update valid range.
6 years ago
Yelin Lu
0a78ce1564
[script] Add windows bat to start docker node on windows
6 years ago
Eugene Kim
f0188747a2
Exempt mock_* packages as generated
...
This is the default mockgen convention.
6 years ago
Yelin Lu
2de92d7dd0
[script] update docker image of cello branch
6 years ago
Yelin Lu
fa9ed3c88c
[script] Improve docker-node.sh with option to kill node
...
Also update to use different volumes for different containers.
6 years ago
Leo Chen
9b6d4cd033
[wallet] add a wallet wrapper script
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
fdc82bc49e
[node] update script for cello release
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Yelin Lu
4799f80050
[script] Improve docker-node.sh with option to kill node
...
Also update to use different volumes for different containers.
6 years ago
Yelin Lu
ff3510d229
[script] Add docker files
6 years ago
Yelin Lu
d4bae2bd22
[script] Count rev count in current branch only
6 years ago
Leo Chen
daf6aa1e5d
[node] get ipv4 address only
...
This is based on the feedback from one of our foundation node runners.
Since we only support IPv4 address at this stage, we should just
retrieve the IPv4 address if both IPv6 and IPv4 addresses exist.
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Yelin Lu
bdbae9e23f
update node.sh to avoid adding config multiple times
...
Also fix a message to use "pkill" instead of "kill" to terminate harmony
6 years ago
Leo Chen
620433fce2
[debug] add debug option in build
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
9685d5b114
Treat .go files in "mock" dir as generated
6 years ago
Eugene Kim
dfe11a90d9
Add a script to install and track Go tool packages
6 years ago
Eugene Kim
d9fbfc8edf
Remove protoc installation instruction
...
This is now handled by scripts/install_build_tools.sh.
6 years ago
Eugene Kim
ca6fd788ce
Factor build tool installation out into a script
...
For now it only moves protoc installation. Support for version-pegging
“go get”-able tools is included, but since tools/tools.go lists no tools
yet, it is a no-op. The list will be populated/migrated in later
commits.
6 years ago
Eugene Kim
e080bfe902
Add goget.sh to install version-pegged packages
...
For each package name P given, goget.sh examines go.mod to find a
matching module and its pegged version V, then executes “go get P@V” to
install that specific version.
6 years ago
Eugene Kim
2b8d287d55
Honor HMY_PATH if set
6 years ago
Leo Chen
11bd1079f4
[build] update go.mod and enforce GO111MODULE=on
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
ed7a62ebab
Use a rough equivalent of realpath
...
realpath(1) is not available on macOS.
(Funny, because realpath(3) originated in FreeBSD, so it came to macOS
before Linux adopted it, but Linux beat macOS to realpath(1).)
6 years ago
Leo Chen
1142356c4f
[build] fix jenkins build issue
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Rongjian Lan
673c3d9144
merge
6 years ago
Leo Chen
b814fa056b
[build] add -v option in build script
...
-v will output a lot of build process
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
d7afbc35e9
[node] update node script for banjo release
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
a6ed72800b
GO111MODULE does not belong here; remove
6 years ago
Eugene Kim
31be7f0632
Make go build verbose
6 years ago
Eugene Kim
bf662ff159
Check if go.mod dependencies have changed
...
This is to see if manual tool installation upgraded any dependencies.
6 years ago
Eugene Kim
36e794564a
Move go test to the end because it takes longest
6 years ago
Eugene Kim
5d99b22d30
Make go generate verbose
6 years ago
Leo Chen
29eaa346a5
get public IP on all Linux platform working
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago