Commit Graph

168 Commits (4ebb553a500ec1b00691e3459081f0eca111bd85)

Author SHA1 Message Date
Rongjian Lan c78f6a1914 More comments and code fixes 6 years ago
Leo Chen 3356c61332 use in-repo log module for p2p 6 years ago
Rongjian Lan f372ef7421 Cleanup node_handler.go 6 years ago
ak 99bdb39875 proto files 6 years ago
Rongjian Lan 38a011f42f Remove proto/consensus and migrate consensus message types fully to gRpc 6 years ago
Rongjian Lan 4e97b3b595 Do not proceed if no tx in block 6 years ago
Rongjian Lan a73a9a9f09 Remove UTXO model 6 years ago
Rongjian Lan 9437e32bb3 Make leader finish consensus easiler 6 years ago
Rongjian Lan a181f0ec70 Fix timing issue of txgen 6 years ago
Rongjian Lan ab150879a1 Fix faucet contract tx related txgen sync problem 6 years ago
Rongjian Lan 97e169fe27 Implement faucet functionality and sharded transaction for wallet 6 years ago
Rongjian Lan ac2a998a36 add transfer functionality for wallet 6 years ago
Minh Doan 276d314dd1 genesis block should be fixed 6 years ago
Leo Chen 53a5c3c856 HAR-65: support node removal after node is offline 6 years ago
Minh Doan 2bf9e7e7ec use struct{} which is size 0, good practice for many go programmers 6 years ago
Richard Liu 64230da6ee abstract out 2 versions of p2p 6 years ago
Leo Chen ab4a61d360 use a better way to stop ping message 6 years ago
Leo Chen 54e4a7baa2 client node ping leaders to register client 6 years ago
Minh Doan 4677d82c63 disable syncing for new node. Remove a debug line which causes the leader died 6 years ago
Minh Doan 284a765fd9 change logic of syncing 6 years ago
Minh Doan 89bf6b4668 change state syncing if the node is doing consensus 6 years ago
Minh Doan 004b906d08 add DoSyncing when doing censonsus if the node state is still NodeJoinedShard 6 years ago
Minh Doan 91c7f51c6a setup syncing when node.State transitioned to NodeJoinedShard 6 years ago
Minh Doan b6dd823812 write get peers to do syncing 6 years ago
Rongjian Lan 036023869f Implement valid selection for account model txs 6 years ago
Leo Chen 0407dc559b HAR-65: send redundant Pong messages to validators 6 years ago
Leo Chen 7bf3bfcdfc HAR-65: use better broadcast model for ping message 6 years ago
Leo Chen 4a41e67c87 HAR-65: optimize the pong message sending 6 years ago
Minh Doan ddf0e3cc52 move p2p logic into seperate files 6 years ago
Leo Chen 94fdb1e20c HAR-84: fix golint warnings on proto/ directory 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 5519408900 add clean-up old sync code 6 years ago
Richard Liu 9ac2645935 integrate libp2p as version 2 p2p 6 years ago
Leo Chen fe16532820 use mutex to fix race condtion when updating PublicKeys 6 years ago
Minh Doan 29a5cc563e add some more State and set up syncing in each node 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
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 fe6fc151bf change constants to gofmt style 6 years ago