Commit Graph

93 Commits (901e7f884f70f080bcfa97245ad756298dc42a4f)

Author SHA1 Message Date
Minh Doan 901e7f884f setup consensus and node based on nodeconfig 6 years ago
Minh Doan e399e2a31d clean & refactor. move beacondb to nodeconfig 6 years ago
Minh Doan 15d134e280 support db by default. move ldb to nodeconfig 6 years ago
Minh Doan fcd950e270 create global config 6 years ago
Minh Doan a4d3c13a18 rename PubKey to BlsPubKey 6 years ago
Leo Chen eab75dd757 add a node configuration module 6 years ago
Rongjian Lan eb0af9c05d Use hard coded account for staking 6 years ago
Rongjian Lan 72f75935e7 Make the first staking transaction working on the contract 6 years ago
Leo Chen f3ffc65401 [cleanup] remove libp2p unicast support 6 years ago
Minh Doan 6c8f0f4b02 add comments 6 years ago
Minh Doan 3bf27e3047 set up staking key temporarily 6 years ago
Minh Doan 2df79e3bec modify genesis string 6 years ago
Minh Doan 269e4f6119 fix private key constant 6 years ago
Minh Doan 93c94c4bd9 generate fake deploy contract 6 years ago
Rongjian Lan e298bc572a Clean up some code 6 years ago
Leo Chen a55b4514dd use gossip for all consensus messages 6 years ago
Eugene Kim 02abf88079 Move connection logger to internal/utils 6 years ago
Leo Chen c6c7f9c46d add comment for testing bootnode 6 years ago
Leo Chen 94be80920d load both pub/priv p2p keys 6 years ago
Minh Doan 55b6f3be2c add more address 6 years ago
Minh Doan e4fe327426 move constants to contract/constants.go to avoid cycle import 6 years ago
Leo Chen da0d9bc227 use a global BootNodes variable 6 years ago
Rongjian Lan d8c46c61d2 Say goodbye to Schnorr sig and kyber package and mark BLS done 6 years ago
Leo Chen ad9c68a4db add an AddrList type for a list of multiaddress 6 years ago
Leo Chen eb6e2f569b add private key save and load functions 6 years ago
Leo Chen f814a0b630 change the interface not to use pointer 6 years ago
Leo Chen a84b645cd8 merge load/save test functions 6 years ago
Leo Chen bbc1192cf6 add util functions to convert p2p private keys to/from base64 string 6 years ago
Rongjian Lan 97a04231df Add comments for test and improve bls test 6 years ago
Rongjian Lan 7cbb6e4835 Add unit tests for bls utils 6 years ago
Eugene Kim 24fd9d67b8 More goimports 6 years ago
Rongjian Lan c1944bd71e Init bls explicitly 6 years ago
Leo Chen 8b7766de6f encode PeerID using IDB58 6 years ago
Leo Chen fe06318d04 add PeerID in beacon chain RPC message 6 years ago
Minh Doan d634d43148 fix import order 6 years ago
Eugene Kim cf0486dbd3 More goimports 6 years ago
Minh Doan 6d825adac3 add missing log fix 6 years ago
Minh Doan 139d81113e only use logging singleton 6 years ago
Rongjian Lan 39b941d904 Migrate to BLS 6 years ago
Leo Chen 2984fb90ba fix go test errors in travis_checker.sh 6 years ago
Leo Chen c112ffb414 generate private key outside of host creation 6 years ago
Leo Chen 8edebd2250 fix some send message failure 6 years ago
Minh Doan 9762ab75bd switch using disk-based db by default. logging singleton should have context of the node (ip and port) 6 years ago
Eugene Kim 4a2e1e2110 Move Host interface into the top-level p2p package 6 years ago
Leo Chen 49a48958d9 address all review comments 6 years ago
Leo Chen 550da64144 fix all the go test errors after p2p changes 6 years ago
Leo Chen ccd9728069 support the peerstore in beacon chain node 6 years ago
Leo Chen a93672449b add functions to generate keypairs for libp2p 6 years ago
Leo Chen f8b14043eb use Info to replace nodeInfo in pingpong 6 years ago
ak 93cfa9b2df responding to RJs changes 6 years ago