Konstantin
0753c94c2b
Epoch syncing - syncing only epoch blocks. ( #4070 )
...
* Epoch syncing - syncing only epoch blocks.
* Fix go test, added command to run.
* Block signature validation.
* Support getting block by height.
* Fix to compile.
* Http method.
* Generate fix.
* Install protoc-gen-go-grpc.
* Fix sync, additional timeouts, fix epoch.
* Chain behaviour options, optional state validation on blockchain initialization.
* Added limit to avoid abuse, small fixes.
* Fix duplicate code.
* Fix isInSyn.
* Fix method call.
* Removed additional block sending.
* Fix in sync.
* Code clean up.
* Fix beacon chain func.
* Return back Beaconchain.
* Fix sending only epoch blocks.
* Fix failed startup with validator.
* Increase recv message size.
* Remove peer.
* Add logs.
* Add logs.
* Fix msgf call.
* Epoch syncing - syncing only epoch blocks.
* Block signature validation.
* Fix sync, additional timeouts, fix epoch.
* Chain behaviour options, optional state validation on blockchain initialization.
* Support getting block by height.
* Http method.
* Fix duplicate code.
* Fix isInSyn.
* Added limit to avoid abuse, small fixes.
* Fix method call.
* Removed additional block sending.
* Fix in sync.
* Small fix.
* Code clean up.
* Fix beacon chain func.
* Return back Beaconchain.
* Fix sending only epoch blocks.
* Fix failed startup with validator.
* Increase recv message size.
* Remove peer.
* Add logs.
* Fix msgf call.
* Sending crosslinks from beacon to non-beacon chains.
* Receiving crosslinks.
* Broadcast.
* Fix comment.
* Crosslink signal.
* Crosslink hardbeat signal receiving.
* Sending crosslinks from beacon to non-beacon chains.
* Sending crosslinks from beacon to non-beacon chains.
* Broadcast.
* Fix comment.
* Crosslink signal.
* Crosslink signal.
* Add comment to run tests.
* Fix comments.
* Fix comments.
* Fix review comments.
* Updated with last crosslink heart beat signal.
* Merged crosslink signal.
* Clean up code.
* Add logs for cl debug.
* Stop iterate on receiving result.
* Add logs.
* Fix in sync check.
* Fix reconnect problems.
* Fix tests and reduce dependency.
* Updated with main.
* Fix review comments.
* Changed to compare epochs.
* Fix crosslinks usage.
* Fix initialization.
* Epoch chain implementation.
* Legacy sync by default.
* Revert "Legacy sync by default."
This reverts commit 5fa6ce002a
.
* Epoch sync for downloader.
* Build docker image while tests.
* Fix paths.
* Updated travis.
* Review improvements.
Co-authored-by: Konstantin <k.potapov@softpro.com>
2 years ago
Konstantin
3175d8aab3
Bump go1.18. ( #4107 )
...
* Bump go1.18.
* Build tags.
* Go vet errors fix.
* Fix imports.
* Fix imports.
* Fix go vet.
* Fix protobuf.
* Fix file gen.
* Fix tools.
* Travis fix.
* Travis fix.
* Travis fix.
* Fix dependency.
* Clean up.
* Fix rosetta test.
* Add comment to run tests.
* Add comment to run tests.
* 1.18.2
* Fix rosetta script.
* Fix docker version.
* Fix imports.
* Fix formatting.
* Fix formatting.
Co-authored-by: Konstantin <k.potapov@softpro.com>
2 years ago
Konstantin
e56ee2e689
Build docker image while tests. ( #4233 )
...
* Build docker image while tests.
* Fix paths.
* Empty line to trigger tests.
* Empty line to trigger tests.
Co-authored-by: Konstantin <k.potapov@softpro.com>
2 years ago
Konstantin
06de7dcd6c
Fix race errors. ( #4184 )
...
* Fix data races.
* Fix block num.
* Pub key lock.
* Fixed race errors.
* Fix flag.
* Fix comments.
* Fix comments.
* Fix type.
* Fix race errors in tests.
Co-authored-by: Konstantin <k.potapov@softpro.com>
2 years ago
PeekPI
8b1d7a526a
[consensus] HIP-18: Allowlist for external leaders ( #4146 )
...
* HIP18: support allowlist
* sort allowlist by default order
* fix and add unit test
* simplified calculation of index of leader
* restore code of NthNextHmy()
* rename MaxLimit to MaxLimitPerShard and add comments
* init allowlist of testnet
* update allowlist
* change HIP18 epoch to TBD
* set HIP18 of testnet to 75840
* rename _BLS() to BLS()
* update comment
* add version of allowlist variable
* recover the travis_rpc_checker script
* update HIP18 epoch
3 years ago
PeekPI
2367a0da23
align eip-1898: support block number or hash on state-related methods ( #4181 )
...
* align eip-1898: support block number or hash on state-related methods
* fix compatibility of BlockNumberOrHash
* fix unit test
3 years ago
Konstantin
97eb8d972f
Go vet fixed.
3 years ago
peekpi
82f40d5a32
add script to check snapdb
3 years ago
Frozen
c698ee4c5d
Feature get blocks by height. ( #4078 )
...
* Support getting block by height.
* Fix to compile.
* Http method.
* Generate fix.
* Install protoc-gen-go-grpc.
* Added limit to avoid abuse, small fixes.
Co-authored-by: Konstantin <k.potapov@softpro.com>
3 years ago
Nicholas Aiello
4956719abc
update dockerfile to consider target platform's CPU arch, consolidate layers, and fix aarch64 mapping in install_protoc
3 years ago
Leo Chen
463ec55c51
[build] update protoc version ( #4013 )
...
Signed-off-by: Leo Chen <leo@harmony.one>
3 years ago
Peter Chung
d8336d677e
removing redundant binary
3 years ago
Peter Chung
1ed07e93d1
[cmd] fix config persist
3 years ago
Alex Chen
7cf2ce59fb
Try Fix go1.16 mod issue
4 years ago
Jacky Wang
956265dbfc
[utils] fix s3 upload script ( #3544 )
...
Co-authored-by: Rongjian Lan <rongjian.lan@gmail.com>
4 years ago
Daniel Van Der Maden
0b6a90a28c
[travis] Cache docker imgs ( #3523 )
...
* [travis] Cache build img
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
* [travis] Safely cache imgs
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
4 years ago
Leo Chen
2d6f1f8c6e
[golint] relax exit error status on golint
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
05de30e546
[node] new node.sh 3.0
...
* greatly simplified the node.sh to remove the legacy code
* mainly used to download latest harmony binaries
* added signature verification using gpg
* add ethrelay/btcrelay placeholder
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
683f331d5f
[build] simplify arm64 support
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
f4af5c05fc
[node.sh] return ipv4 address only
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
f2ffd98e04
[node.sh] fix public ip query issue with opendns
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Daniel Van Der Maden
a69d87740f
[travis] Rename travis_build_checker.sh to travis_go_checker.sh
...
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
4 years ago
Daniel Van Der Maden
42f7ab68c5
[travis] Add travis_rosetta_checker.sh & rename other checks
...
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
4 years ago
Rongjian Lan
5d1517cdf7
Revert "[travis]integrate with codecov.io" ( #3376 )
...
* Revert "move codecov script to checker"
This reverts commit 2272237738
.
* Revert "[travis]integrate with codecov.io"
This reverts commit 054d280463
.
4 years ago
Leo Chen
79d43c2ce8
fix test cases
...
updated protoc version
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
haodi
2272237738
move codecov script to checker
4 years ago
haodi
054d280463
[travis]integrate with codecov.io
4 years ago
Anatoli Babenia
a3477b6c16
[travis] Move `go get` to Makefile
...
Building `bls` in `go get` requires sourcing env vars
4 years ago
Leo Chen
5cf4a32d4f
[package] add a readme.md file
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
d5965cea99
[package] specify the rclone path
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
03f6d23352
[deb] add recommended dependencies
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
419967d274
[deb] can not remove local repo
...
[deb] improve deb scripts
[deb] restart harmony after upgrade
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
ca635bfedc
[rpm] improve rpm scripts
...
[rpm] add change log
[rpm] fix postun in spec file
[rpm] make config files
[rpm] add more changelog to test upgrade
[rpm] add jq as dependency
[rpm] right usage of %config
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
9f378c36d5
[rclone] improve harmony-rclone.sh
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
0c71a85bc8
[harmony-setup] set IsArchival mode for validator/explorer
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
0e1e6f38d6
[rpm/deb] query version/release from git tag
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
b32c489ab3
[deb] publish deb package
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
57343d8e0e
[rpm] support rpm signing
...
[rpm] publish rpm package to yum repo
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
40771eaa10
[build] Mac OS build using upgraded openssl library
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
71b168efdf
[deb] add debian package build support
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
241fcde39a
[package] add rclone config and script
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
7bf3acafe4
[rpm] move common files to package directory
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
7218ca135e
[rpm] specify absolute path of harmony in unit file
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
eb3115b374
[rpm] remove unused cfg files
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
a3ffd5be27
[rpm] simplify the harmony-setup.sh
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
d85c37de08
[rpm] use one single config file for harmony node
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
44ed29f000
[rpm] apply sysctl after installation
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
170321eb37
[rpm] add harmony-setup.sh script
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Leo Chen
0be1359e8a
[build] build harmony RPM package
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
Jacky Wang
6d3e7526af
changed node.sh bucket
4 years ago