Commit Graph

628 Commits (27e44c60b06c88d80f2b38664a4121f08dbd8eee)

Author SHA1 Message Date
Minh Doan 162866d1b4 fix golint 6 years ago
Minh Doan 7b37717e7e fix golint 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
Minh Doan 5a8a3ebcc0 add clean-up old sync code 6 years ago
Leo Chen 8595971083 HAR-84: golint fix of proto/node files 6 years ago
Rongjian Lan 9762051ebb Add shard Id into txgen and make it work 6 years ago
Minh Doan 8902365c45 clean up code 6 years ago
Minh Doan 5519408900 add clean-up old sync code 6 years ago
Richard Liu ba47c85faf ip+port => peer; update signature of consensus.New and node.New as preparation for p2p 6 years ago
Minh Doan 1525d75484 enable back the syncing service by assigning syncing port equal to node port - 1000. with that, all the syncing ports will be different 6 years ago
Richard Liu 9ac2645935 integrate libp2p as version 2 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
Minh Doan dbe474a25c change the listened address 6 years ago
Minh Doan 29a5cc563e add some more State and set up syncing in each node 6 years ago
Minh Doan c2263ed53d change the listened address 6 years ago
Minh Doan 45e0eeb728 add some more State and set up syncing in each node 6 years ago
Leo Chen 91f804eb13 [HAR-5] Leader populates public keys to all validators 6 years ago
Rongjian Lan a4200bccb1 Fully integrate with tx gen by account model 6 years ago
Minh Doan fadc5b086d setup syncing server in a node 6 years ago
Rongjian Lan 5b1324305e Add loop in new block creation 6 years ago
Leo Chen ae136e299a remove ping/pong debug messages 6 years ago
Leo Chen d8f0d504cc fix validatorID not populated to all validator issue 6 years ago
Leo Chen 0978a9ade0 broadcast pong messages to all neighbors 6 years ago
Rongjian Lan c1ef9423f2 Add account-based tx gen 6 years ago
Rongjian Lan 2bcaad8a3a add more addresses in the simulated txs 6 years ago
Minh Doan ab2f39f5a3 fix import with goimport 6 years ago
Rongjian Lan 544f0e39bd Report transactions stats (Account Model) 6 years ago
Minh Doan 48b40bc88c add TestGetBlockHashes and refactor related code 6 years ago
Minh Doan 38a690bfc2 add func for download and testing 6 years ago
Minh Doan fe6fc151bf change constants to gofmt style 6 years ago
Leo Chen 0de13862e0 set unique validator id for new node 6 years ago
Rongjian Lan 2784e13766 add valid transactions and make consensus fully verify each block 6 years ago
Rongjian Lan 29a758a1f3 Make account-based block verified in consensus 6 years ago
Rongjian Lan 48c0d684f9 Merge conflict 6 years ago
Leo Chen 985179ea8e fix constant naming 6 years ago
Leo Chen 71c9dc5f83 fix concurrent map access error 6 years ago
Leo Chen b722e495d3 set node state to JOIN once received PONG message 6 years ago
Leo Chen 443feac41d handle ping/pong message properly 6 years ago
Leo Chen ac3f19ba5e add join shard support in node 6 years ago
Rongjian Lan 0c0dfd8462 integrate account model into consensus without the block verification part 6 years ago
Rongjian Lan b7db989f00 Add simulated transactions generation in node_handler 6 years ago
Rongjian Lan e143e6fea8 Simulate random transactions and add to the worker 6 years ago
Rongjian Lan 5a3755419f Add more functionalities to worker 6 years ago
Rongjian Lan 9fbfee9907 integrate account model into consensus without the block verification part 6 years ago
Rongjian Lan a9b47b07f7 Add simulated transactions generation in node_handler 6 years ago
Rongjian Lan 8af291aa01 Simulate random transactions and add to the worker 6 years ago
Rongjian Lan a5c70f0898 Add more functionalities to worker 6 years ago
Rongjian Lan df5e649ece Merge conflict 6 years ago