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
4382c8d28b
fix tests
7 years ago
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
7 years ago
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
7 years ago
Ethan Buchman
0d1fa8e884
fixes from review
7 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
spring1843
cf686d4f83
Fix commonly misspelled words
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
07e59e63f9
TMEventDataInner
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
8 years ago
Jae Kwon
d83fc02597
MakePartSet takes partSize from config. fix replay test
8 years ago
Ethan Buchman
57da2e4af5
make byzantine logic testable
9 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
3c5a2f55c2
Add validator index and address to Vote.
9 years ago
Ethan Buchman
35d4cca8bb
type safe events
8 years ago
Ethan Buchman
987dac9ee0
consensus: no sign err in replay; fix a race
8 years ago
Ethan Buchman
54357bcf8f
crank consensus timeout parameters for tests (see #236 )
8 years ago
Ethan Buchman
47acada2cb
consensus: t.Fatal -> panic
8 years ago
Ethan Buchman
e4c795f15c
consensus: fix more races in tests
8 years ago
Ethan Buchman
bc0b52293e
update circle and glide
8 years ago
Jae Kwon
ad17090a0f
No global config
9 years ago
Ethan Buchman
523a170c3e
EventDataTypeNewBlockHeader
9 years ago
Ethan Buchman
922f720cf6
cswal_light logs own votes; fix tests
9 years ago
Jae Kwon
03115cbf93
Fix tests; Tests run in their own directory
9 years ago
Ethan Buchman
c9ec9cf00e
config: block size, consensus timeouts, recheck tx
9 years ago
Jae Kwon
8a3bba48e3
s/*EventDataRoundState/EventDataRoundState/g
9 years ago
Ethan Buchman
273a65724d
replayCatchup test
9 years ago
Jae Kwon
8be32257e7
Make subscribeToEvent have capacity 1
9 years ago
Ethan Buchman
9fc0726504
timeoutProposeDelta
9 years ago
Jae Kwon
f100404362
Make EventDataRoundState use json:"-" instead of Getter/Setter
9 years ago
Ethan Buchman
0be13d1d27
move alert, events, rpc into own repos
9 years ago
Jae Kwon
3e3c0083c7
Make order be decided first; Remove TMSP Commit/Rollback
9 years ago
Ethan Buchman
b9e143d956
Fireable -> EventSwitch; rs in EventDataRoundState; fixes from review
9 years ago
Ethan Buchman
261647a012
Enter* -> enter*. Comments/fixes from Jae
9 years ago
Ethan Buchman
4483971776
conR uses events to trigger newstep & hasvote broadcasts
9 years ago
Ethan Buchman
9dea9539b4
fix consensus tests
9 years ago
Ethan Buchman
334cab82c2
fix tests: propose and full round suites
9 years ago
Ethan Buchman
d9b55101e5
move routines to consensus state. drop locks and other go routines
9 years ago
Jae Kwon
35abb4df92
Allow for test apps to return nil hashes
9 years ago
Jae Kwon
ef43af19ab
Tendermint <-> Application refactor
9 years ago
Ethan Buchman
209bcf905e
proposer selection tests. closes #53
9 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Ethan Buchman
a26e0b4d48
consensus tests
9 years ago