Commit Graph

578 Commits (2873abab221052a042e51527f7cc37b9a72cea02)

Author SHA1 Message Date
Leo Chen f2a5e5c5c9 1st attempt to replace broadcast with pubsub 6 years ago
Leo Chen 175e43fed7 add a goroutine to send pong message periodically 6 years ago
Leo Chen 3ffb7bdea9 do not handle duplicated ping message 6 years ago
chaosma 5eb3684d89
fix shard state update bug (#439) 6 years ago
Rongjian Lan e9732bc3ff address comments from last PR 6 years ago
Rongjian Lan ffd06145ec Add message passing between drand leader/validator 6 years ago
chaosma ef7c2e147c
add resharding code (#404) 6 years ago
Rongjian Lan 8142b11aa7 Add channel for confirmed blocks and add that between node and drand 6 years ago
ak db243c1676 update staking list 6 years ago
Leo Chen 98596f4f21 add connecthostpeer function 6 years ago
Leo Chen 7b16b3ceda add more debug log 6 years ago
Leo Chen 8820c257a6 add list of incoming/outgoing peers 6 years ago
Leo Chen 98a15022f7 strip off the first 5 bytes from message content 6 years ago
Leo Chen ec5102708e [libp2p] init integration of group message by pubsub 6 years ago
Leo Chen f3b0432e2d only send pong message from leader 6 years ago
Leo Chen 68a65488a0 [FIX] integer divide by zero error 6 years ago
Leo Chen 455bfc8f83 split streamhandler into two functions 6 years ago
chaosma cd6475c7e5
make state syncing compatible with new BLS consensus code 6 years ago
Minh Doan a3bd76e9cf create newblock service and decouple WaitForConsensusReady into a separate file 6 years ago
Leo Chen 9340ef4f86 move proto/pingping to discovery module 6 years ago
Eugene Kim 24fd9d67b8 More goimports 6 years ago
Minh Doan 85eb712d42 change Type to ServiceType and fix import 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
Leo Chen 5822ec3c40 add a PeerID field for node.Info struct 6 years ago
Leo Chen 8801998f22 add a todo and more debug message in nodel handler 6 years ago
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