Commit Graph

128 Commits (b9317f01c5909f29752b63bbd980ed08519368df)

Author SHA1 Message Date
Minh Doan a53670c4ae Maps are reference types, so they are allways passed by reference. 6 years ago
Minh Doan 0cfa7cf3ff cleanup syncing logging which prints very long debug code in deploy.sh 6 years ago
ak 598d740e09 fixing style issues 6 years ago
ak 9c377ce08e Add deposit contract as a smart contract transaction on every node 6 years ago
chaosma cd6475c7e5
make state syncing compatible with new BLS consensus code 6 years ago
Rongjian Lan d8c46c61d2 Say goodbye to Schnorr sig and kyber package and mark BLS done 6 years ago
Leo Chen 9340ef4f86 move proto/pingping to discovery module 6 years ago
Rongjian Lan cb424adf17 Change func name to populateMessageFields 6 years ago
Rongjian Lan 81c42216ed Refactor consensus signature signing and marshalling 6 years ago
Rongjian Lan 3a5e6c691d Refactor message population into a func 6 years ago
Rongjian Lan 073efb6776 Refactor basic consensus message checking 6 years ago
Rongjian Lan e46785eabd Refactor consensus message signing 6 years ago
Rongjian Lan 44f52b39f8 Add error check and tests for bls signature verification 6 years ago
Rongjian Lan c8d9aaee5d Add comment for verifyMessageSig 6 years ago
Rongjian Lan ddd7f1a46a Refactor the sig change into a func 6 years ago
Eugene Kim 24fd9d67b8 More goimports 6 years ago
Minh Doan d634d43148 fix import order 6 years ago
Minh Doan 139d81113e only use logging singleton 6 years ago
Rongjian Lan 39b941d904 Migrate to BLS 6 years ago
chaosma 3161a42e49
state syncing integration (#283) 6 years ago
Eugene Kim 4a2e1e2110 Move Host interface into the top-level p2p package 6 years ago
Eugene Kim 0ec8fa1548 Rename state.StateDB to state.DB (#255) 6 years ago
Eugene Kim 5ad4d5a8f0 Adjust import paths and also goimports 6 years ago
Rongjian Lan 6c2363e09e Migrate sha3 to golang's sha3 6 years ago
ak 99bdb39875 proto files 6 years ago
Rongjian Lan 09b41bd48f More cleanup on consensus code 6 years ago
Minh Doan 82a725abfa move trie and utils into internal 6 years ago
Rongjian Lan 514d810c01 Clean up blockHeader field and some comments for consensus 6 years ago
Rongjian Lan 80e05b8837 Migrate consensus message to grpc proto 6 years ago
Rongjian Lan a73a9a9f09 Remove UTXO model 6 years ago
Leo Chen 1207378606 HAR-65: move remove peer handler to node package 6 years ago
Leo Chen 53a5c3c856 HAR-65: support node removal after node is offline 6 years ago
Richard Liu 64230da6ee abstract out 2 versions of p2p 6 years ago
Minh Doan 074d468fe6 fix golint 6 years ago
Leo Chen 0407dc559b HAR-65: send redundant Pong messages to validators 6 years ago
Minh Doan 15fddd608f fix dependencies 6 years ago
Rongjian Lan e7e7772858 Delete temp bft.go and integrate the interface into consensus.go 6 years ago
Leo Chen 76375a2425 HAR-84: golint fix of p2p/peer.go 6 years ago
Leo Chen 2bb8648784 HAR-84: golint fix of utils/singleton 6 years ago
Richard Liu ba47c85faf ip+port => peer; update signature of consensus.New and node.New as preparation for p2p 6 years ago
Leo Chen 44f5e85433 [HAR-83] peer discovery works under account model 6 years ago
Leo Chen fe16532820 use mutex to fix race condtion when updating PublicKeys 6 years ago
Leo Chen 91f804eb13 [HAR-5] Leader populates public keys to all validators 6 years ago
Leo Chen d8f0d504cc fix validatorID not populated to all validator issue 6 years ago
Leo Chen 0de13862e0 set unique validator id for new node 6 years ago
Leo Chen cc62f68b38 fix validators map concurrent write issue 6 years ago
Leo Chen 0da6e48f1e Update publicKeys of consensus object 6 years ago
Leo Chen 676785fa36 [HAR-5] leader won't start consensus if not enough validators 6 years ago
Leo Chen 4c4e1c2fb3 Add ping/pong message handlers 6 years ago
Leo Chen 2a602db9b0 fix the build after rename the repo to harmony-one 6 years ago