Leo Chen
dd99219ee3
add NotifyService function in the service interface
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
464527a99a
fix a nil pointer issue cased program crash
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
57ee1d6018
support multiple groups in discovery service
...
add an action channel to support dynamic pause/resume of discovery
service.
it also enables two stage discovery.
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
a27cff729c
use a channel to signal consensus service to start
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
702e5e2f19
add leader pubkey in pong message
...
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Leo Chen
81877a149a
add service to regular shard
...
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
844bb37577
Merge pull request #463 from harmony-ek/fix_stream_leak
...
Fix stream leak
6 years ago
Eugene Kim
f96ad9727b
Fix stream leak
...
Since streams were multiplexed over connections, this wouldn't have
caused file descriptor/socket leaks; however, it would have definitely
caused memory leak (for the stream data structures).
6 years ago
Leo Chen
b875062a61
Merge pull request #461 from LeoHChen/master
...
fix command parameter in wallet
6 years ago
chaosma
8544a90ed2
genesis block binary creation ( #462 )
6 years ago
Rongjian Lan
e64820f2a2
Merge pull request #460 from harmony-one/rj_temp
...
Remove keytransparency and trillian dependency, we actually doesn't necessarily need them.
6 years ago
Eugene Kim
ea0e5a04da
Merge pull request #457 from harmony-ek/go_generate_redux
...
Check if all generated files are up to date in Travis-CI
Beyond this commit, Travis-CI will regenerate all generated and
checked-in source code to see if any of them has changed. If so, it
means that some of the generated files are outdated, so Travis-CI will
fail. This happens mostly when someone touches mocked interfaces or
protobuf source files.
6 years ago
Leo Chen
a3ef1d8a96
fix command parameter in wallet
...
be consistent with the testnet document
Signed-off-by: Leo Chen <leo@harmony.one>
6 years ago
Rongjian Lan
c0741c6af3
Remove testdata
6 years ago
Rongjian Lan
8176fbf511
Remove trillian dependency in p256
6 years ago
Rongjian Lan
213b1c6d82
Remove the extra tests that havev heavy external dependency, we actually don't need them
6 years ago
Rongjian Lan
68a3b99bfe
Add keytransparency and trillian into submodule
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
Rongjian Lan
afcdb8b63d
Add RandPreimage in block; Add pRnd into new block
6 years ago
Rongjian Lan
f54abebb9a
Change rand seed uint32
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
Rongjian Lan
f6ce924bdf
Merge pull request #449 from harmony-one/rj_branch
...
Add real vrf into drand with validator generating vrf and leader verifying them; Also reduce manager_test.go's delay
6 years ago
Eugene Kim
7d19151be7
Check if generated files are out of date
6 years ago
Eugene Kim
687e01f137
Regenerate
6 years ago
Eugene Kim
59d53cb294
Add //go:generate for mocks and .pb.go files
...
Mocks have their //go:generate line in the corresponding source Go file.
This way, editors can run go generate automatically on save.
.pb.go files have their //go:generate line in the corresponding .go
files (without .pb).
6 years ago
Eugene Kim
1fef4eb5f0
Merge pull request #456 from harmony-ek/clean_up_p2p
...
Clean up p2p
6 years ago
chaosma
3f6bb9e19b
modify deploy with state sync; add more info in debug log ( #450 )
6 years ago
Eugene Kim
05fdaa9197
Introduce and use uniform host logger
...
The host logger includes host ID (libp2p peer ID), and inherits
IP address and port from the one created by utils.GetLogInstance().
6 years ago
Eugene Kim
2680b7cc7d
Fix gometalinter warnings
6 years ago
Eugene Kim
610c02803d
Tag libp2p packages with libp2p_ prefix
...
This is because we are introducing more and more parallel P2P concepts
(libp2p peer versus our own peer, for example). Explicit tagging makes
it easier for untrained eyes to understand which side the code refers
to: If it's prefixed with libp2p_, it's libp2p; if not, it's our p2p.
While we are at this, apply the std → 3rd-party → local import grouping,
and also rename multiaddr to ma (the upstream canonical name of
go-multiaddr) in the affected files.
6 years ago
Eugene Kim
913cb45115
Move go:generate to the source side
6 years ago
Eugene Kim
f05eca3f8a
Unexport internally used interfaces
6 years ago
Eugene Kim
a62b65ece9
pubsub → libp2p_pubsub
...
This is in preparation of PubSub → pubsub rename.
6 years ago
Eugene Kim
f24509594e
Remove libp2p config option passthrough
...
No code uses this libp2p-specific hardwiring provision.
6 years ago
alajko
292fc38d49
Merge pull request #437 from harmony-one/fixNewbinary
...
Update Binary and Staking Calls based on new staking contract
6 years ago
Rongjian Lan
3499d5ca8d
Merge pull request #454 from harmony-one/rj_temp
...
Add apache license to vrf package
6 years ago
Rongjian Lan
437060a73c
Add apache license to vrf package
6 years ago
ak
f265aa59ba
Merge branch 'master' of github.com:harmony-one/harmony into fixNewbinary
6 years ago
Eugene Kim
245a8d46e1
Merge branch 'master' of github.com:harmony-one/harmony into add_third_party_license_clause
6 years ago
Rongjian Lan
100cb84781
Merge branch 'master' of github.com:harmony-one/harmony into rj_branch
6 years ago
Rongjian Lan
3a362dbe01
Merge pull request #452 from harmony-one/rj_temp
...
Fix test on p256
6 years ago
Rongjian Lan
b274cef420
Fix test on p256
6 years ago
Rongjian Lan
b9b27fcf1c
Merge branch 'master' of github.com:harmony-one/harmony
6 years ago
Rongjian Lan
91d7567c94
Reduce delay on the manager test
6 years ago
Rongjian Lan
c55d2ef04a
Add real vrf into drand with validator generating vrf and leader verifying them
6 years ago
Eugene Kim
7dddac0958
Add a third-party license clause to README.md
...
This is to deal with third-party code – hard-forked and embedded – such
as Ethereum and Google Key Transparency.
6 years ago
ak
daff387369
Adding Comments to explain decoding of function signature
6 years ago
ak
cbea168a5f
comment about function singature
6 years ago