253 Commits (cd11a54f7a9d4987d03873e795f89bae270558f8)

Author SHA1 Message Date
  Anton Kaliaev c6f612bfc3
subscribe before state emits NewRoundStep 7 years ago
  Anton Kaliaev bb9aa85d22
copy events and pubsub packages from tmlibs 7 years ago
  Anton Kaliaev c4fef499b6
switch to events package 7 years ago
  Anton Kaliaev b77d5344fc
rename methods for clarity 7 years ago
  Anton Kaliaev 21f5f3faa7
use channels to send votes, ... from consensus state to reactor 7 years ago
  Zarko Milosevic b5ac9ede8a Add rules in gossipVotesForHeight to clarify priorities on messages to send 7 years ago
  Jae Kwon e3c4625e63 Suggested changes to consensus/reactor.go 7 years ago
  Zarko Milosevic 83ca46396d Update gossipVotes routine to align with validBlock mechanism 7 years ago
  Jae Kwon 56c9e0da7e Add back sample output in rpc/core/consensus.go; Tweak DumpConsensusState output for peers 7 years ago
  Jae Kwon edbec10f9e Expose peer stats for dump_consensus_state 7 years ago
  Anton Kaliaev 26c38e770e
fix data race 7 years ago
  Ethan Buchman 1a1e4e767b check max msg size in DecodeMessage 7 years ago
  Jae Kwon fb64314d1c Review from Anton 7 years ago
  Jae Kwon e4492afbad Merge 7 years ago
  Jae Kwon 45ec5fd170 WIP consensus 7 years ago
  Anton Kaliaev a506cf47ad
protect Record* peerStateStats functions by mutex 7 years ago
  Ethan Buchman 5f548c7679 consensus: close pubsub channels. fixes #1372 7 years ago
  Thomas Corbière 2644a529f0 Fix lint errors (#1390) 7 years ago
  Anton Kaliaev 2c445059f2
mark peer as good every blocksToContributeToBecomeGoodPeer blocks 7 years ago
  Anton Kaliaev ab59f64f57
test we record votes and block parts 7 years ago
  Anton Kaliaev 42e3457884
fix tracking of votes and blockparts to not allow old information 7 years ago
  Anton Kaliaev 31f3dd42e7
mark peer as good only once 7 years ago
  Anton Kaliaev 5fab8e404d
replace magic number with blocksToContributeToBecomeGoodPeer const 7 years ago
  Anton Kaliaev 86ddf17db0
add a todo 7 years ago
  Anton Kaliaev a655500047
fix copy-pasted comment [ci skip] 7 years ago
  Anton Kaliaev 714f885dac
mark peer as good if it contributed enough votes or block parts 7 years ago
  Anton Kaliaev 266974cb59
stop peer if it sends invalid vote 7 years ago
  Anton Kaliaev 4242352852
stop peer on decoding error 7 years ago
  Anton Kaliaev 2a24ae90c1
fixes from Jae's review 7 years ago
  Ethan Buchman ee674f919f StopPeerForError in blockchain and consensus 7 years ago
  Ethan Buchman a17105fd46 p2p: peer.Key -> peer.ID 7 years ago
  Ethan Buchman 0acca7fe69 final updates for state 7 years ago
  Ethan Buchman 289d92c97d consensus: remove log stmt. closes #987 7 years ago
  Ethan Buchman cb3ac6987e remove some debugs 7 years ago
  Ethan Buchman 5d04ccbe51 excessive logging. update tmlibs for timer fix 7 years ago
  Ethan Buchman 0ec7909ec3 more logging in p2p and consensus 7 years ago
  Anton Kaliaev 922af7c405
int64 height 7 years ago
  Anton Kaliaev b3492356e6 uint64 height (Refs #911) 7 years ago
  Anton Kaliaev 69b5da766c
service#Start, service#Stop signatures were changed 7 years ago
  Zach Ramsay 563faa98de address comments, pr #643 7 years ago
  Zach Ramsay 8f0237610e linting errors: clean it all up 7 years ago
  Zach Ramsay 331857c9e6 linting: apply errcheck part2 7 years ago
  Zach Ramsay 46ccbcbff6 linting: apply 'gofmt -s -w' throughout 7 years ago
  Ethan Buchman 0448c2b437 consensus: fix LastCommit log 7 years ago
  Anton Kaliaev a1cdc2b68a
set logger for peer's MConnection 7 years ago
  Anton Kaliaev ad03491ee6
remove duplicated key 7 years ago
  Ethan Buchman 4b9dfc8990 consensus: fix for initializing block parts during catchup 7 years ago
  Ethan Buchman 3b81d3fea4 consensus: ensure prs.ProposalBlockParts is initialized. fixes #810 7 years ago
  Ethan Buchman d71aed309f some minor changes 7 years ago
  Anton Kaliaev 61d76a273f
fixes from Bucky's and Emmanuel's reviews 7 years ago