Leo Chen
f3ffc65401
[cleanup] remove libp2p unicast support
...
fix test cases after remove libp2p unicast
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Minh Doan
42bdc72a08
remove beacon main and others
6 years ago
Leo Chen
3b1622ba21
update beacon chain multiaddr
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
b9f56509ce
improve node.sh for better macos support
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
e0ea16e8e0
adjust node.sh for the testnet
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
c8b1ac3758
set module version
...
this shall fix the ambiguous import issue
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
cc5c09ac0c
upload lib for wallet on mac/linux
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
5b460a986e
Add help
...
Suggested-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
7615c7bf5a
Refactor for readability
...
Suggested-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
3034d8c217
Install protoc and gencodec
...
mockgen is installed as part of go get -t ./... (which pulls in gomock).
6 years ago
Eugene Kim
7d19151be7
Check if generated files are out of date
6 years ago
Eugene Kim
bd0f4401de
DYLD_LIBRARY_PATH → DYLD_FALLBACK_LIBRARY_PATH
...
DYLD_LIBRARY_PATH has a “look here first before usual places” semantics,
in order to let users use an alternative version of a shared library.
On the other side, DYLD_FALLBACK_LIBRARY_PATH has a “look here if not
found in usual places” semantics, in order to let users specify
additional locations where a shared library is found.
In our case, if a binary refers to a common shared library found in
usual places, we want to use it; we simply want to specify additional
locations where BLS/MCL/OpenSSL libraries are found. So it is more
appropriate to use DYLD_FALLBACK_LIBRARY_PATH.
This also fixes a nasty symbol table mismatch, which is the main reason
for this change: Certain commonly used shared libraries - such as
libJPEG.dylib, co-located within the ImageIO framework and expected by
the main ImageIO library – are often also found in Homebrew or MacPorts
root (/opt/local//lib for MacPort). If DYLD_LIBRARY_PATH included
/opt/local/lib for OpenSSL, many system programs linked against ImageIO
will erroneously pick up libJPEG.dylib in /opt/local/lib, which lacks
certain internal symbols that the framework version has. Using
DYLD_FALLBACK_LIBRARY_PATH makes dyld honor the full path to the
framework version of libJPEG, which is hardcoded in the main ImageIO
framework library.
6 years ago
Nicolas Burtey
99fe6dc9e6
run node in hackground; chmod +x node;
6 years ago
Nicolas Burtey
c531001445
versioning of the node running script
6 years ago
Eugene Kim
ed8b3c0a3f
Exempt hostv2 mocks from goimports/golint
6 years ago
Leo Chen
8f4ff12c4f
minor fix of build script
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Rongjian Lan
399b130679
Add multi-sig check on validator commit phase
6 years ago
Leo Chen
82f4a1751d
add skeleton of bootnode
...
support save/load private key to .bnkey file
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
c923fe529e
support build one binary only
...
We may need to build one binary for testing.
This change enables building one binary only to speed up the testing
process.
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
fa458f9fb9
upload bls dependency libraries to s3 bucket
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
7f5b167849
Let caller specify where to find OpenSSL/MCL/BLS
...
This is done by defining {OPENSSL,MCL,BLS}_DIR environment variable.
6 years ago
Eugene Kim
0ff17bebb0
Use the first element of GOPATH for the src dir
...
See “go help gopath-get” for details.
6 years ago
Eugene Kim
68594d8bd4
If unset, take default GOPATH from go env
6 years ago
Eugene Kim
18804ded81
Factor BLS build flag setup into its own script
6 years ago
Eugene Kim
bb3d29f476
Factor golint validation into a script
...
This script (scripts/golint.sh) handily exempts vendored and generated
files.
Sample usage:
* “scripts/goimports.sh -d -e” → show full diff
* “scripts/goimports.sh -w” → fix files in-place
6 years ago
Eugene Kim
97809dd0dd
Factor goimports validation into a script
...
This script (scripts/goimports.sh) handily exempts vendored and
generated files.
Sample usage:
* “scripts/goimports.sh -d -e” → show full diff
* “scripts/goimports.sh -w” → fix files in-place
6 years ago
Eugene Kim
ecd1977c05
Factor dirnames into a script
6 years ago
Eugene Kim
02a42cdcbd
Factor print_file into a script
6 years ago
Eugene Kim
fd45de0fd1
Factor Go source file listing into a script
6 years ago
Eugene Kim
887fdbc1a5
Avail script dir in progdir and add it to PATH
6 years ago
Eugene Kim
5c8b8ea9b3
Exempt generated files from golint/goimports
6 years ago
Eugene Kim
0755123ca3
s/gofmt/goimports/
...
goimports is a superset of gofmt. It does everything gofmt does, and
also organizes package imports.
6 years ago
Rongjian Lan
8e14357e44
Use GOPATH instead of PWD
6 years ago
Minh Doan
dd214dbd88
add protobuf setup instruction and message generation script
6 years ago
Rongjian Lan
39b941d904
Migrate to BLS
6 years ago
Leo Chen
ce77142cf2
be verbose in travis checker
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Eugene Kim
92161a2f2d
Revert "fix travis_checker"
...
This reverts commit 496c4a2c7e
.
6 years ago
Minh Doan
496c4a2c7e
fix travis_checker
6 years ago
Eugene Kim
f7d77a22ed
Report all gofmt errors, not just first 10
6 years ago
Eugene Kim
f7c40d3bb4
golint/gofmt only local .go files not in vendor/
...
Also, do not fail on the first failed check.
6 years ago
ak
8eee072300
fixing golint issues
6 years ago
Eugene Kim
ca854d5644
Remove trie/db/log filtering from coverage script
6 years ago
Minh Doan
d95a2dc60d
rename gofmt to travis_checker.sh and add testing checker
6 years ago
Nicolas Burtey
488d7378cd
renaming benchmark to harmony; more readme instructions
6 years ago
Nicolas Burtey
a345483137
renaming benchmark to harmony; more readme instructions
6 years ago
Minh Doan
798b6d22bb
move coverage.sh to scripts
6 years ago
Richard Liu
f8ffda6934
added request-spot.sh
7 years ago
Richard Liu
1b95c23c0e
appspec
7 years ago