Anton Kaliaev
dc0e8de9b0
extract some of the consensus types into ./types
so they can be used in rpc/core/types/responses.go.
```
So, it seems like we could use the actual structs here, but we don't want to have to import consensus to get them, as then clients are importing too much crap. So probably we should move some types from consensus into consensus/types so we can import.
Will these raw messages be identical to:
type ResultDumpConsensusState struct {
RoundState cstypes.RoundState
PeerRoundStates map[string]cstypes.PeerRoundState
}
```
https://github.com/tendermint/tendermint/pull/724#discussion_r143598193
7 years ago
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
779c2a22d0
node: NewNode takes DBProvider and GenDocProvider
7 years ago
Ethan Buchman
4382c8d28b
fix tests
7 years ago
Ethan Buchman
944ebccfe9
more PrivValidator interface
7 years ago
Adrian Brink
7dd3c007c7
Refactor priv_validator
Users can now just pass an object that implements the Signer interface.
7 years ago
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Buchman
aea8629272
peer interface
7 years ago
Ethan Buchman
c5a657f540
consensus: test proposal heartbeat
7 years ago
Ethan Buchman
d2f3e9faf4
test CreateEmptyBlocksInterval
7 years ago
Ethan Buchman
37f1390473
CreateEmptyBlocks and CreateEmptyBlocksInterval
7 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
7 years ago
Ethan Buchman
678a9a2e42
TxsAvailable tests
7 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Anton Kaliaev
1dfb95f719
[consensus] color code different consensus instances in consensus tests
(Refs #492 )
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
46151720f8
fix tests
8 years ago
Ethan Buchman
92bafa7ecd
consensus: fix tests
8 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
8 years ago
Ethan Buchman
07e59e63f9
TMEventDataInner
8 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago
Ethan Buchman
56c60fba23
go-p2p -> tendermint/p2p
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
0bec99fbd4
consensus: handshake replay test using wal
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
e7a12f8e38
cs.Wait()
8 years ago
Ethan Buchman
0525e8ed5c
rearrange common_test.go; EnsureDir for privVal
8 years ago
Ethan Buchman
d68cdce2d5
consensus: check HasAll when TwoThirdsMajority
8 years ago
Ethan Buchman
e5fb681615
consensus: remove crankTimeoutPropose from tests
8 years ago
Ethan Buchman
c9698e4848
fixes from review
8 years ago
Ethan Buchman
40b08f2494
consensus: mv timeoutRoutine into TimeoutTicker
8 years ago
Ethan Buchman
faf23aa0d4
consensus: TimeoutTicker, skip TimeoutCommit on HasAll
8 years ago
Ethan Buchman
de6bba4609
test: randConsensusNet takes more args
8 years ago
Ethan Buchman
d800a51da4
test: crank it to eleventy
8 years ago
Ethan Buchman
8df32cd540
test: increase proposal timeout
8 years ago
Ethan Buchman
2f9063c1d6
consensus: test validator set change
8 years ago
Ethan Buchman
e0db20c0cf
update privValidatorIndex on valset change
8 years ago
Ethan Buchman
a3d863f83b
consensus: track index of privVal
8 years ago
Jae Kwon
d83fc02597
MakePartSet takes partSize from config. fix replay test
8 years ago
Ethan Buchman
9d0c7f6ec7
fix bft test. still halts
8 years ago
Ethan Buchman
5f55ed2a40
consensus: ensure dir for cswal on reactor tests
8 years ago
Ethan Buchman
f837252ff1
consensus: test reactor
9 years ago
Jae Kwon
655d829314
Fix proposal sign bytes. Start tracking blockID in POL
8 years ago
Jae Kwon
1173a85c85
Use BlockID everywhere
8 years ago
Jae Kwon
3c5a2f55c2
Add validator index and address to Vote.
9 years ago
Ethan Buchman
3c18d841fa
replay: larger read buffer
8 years ago
Ethan Buchman
35d4cca8bb
type safe events
8 years ago