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
2017-10-10 12:39:21 +04:00
d56b44f3a5
all: no more anonymous imports
2017-10-04 16:40:45 -04:00
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
2017-09-21 16:46:31 -04:00
4382c8d28b
fix tests
2017-09-21 15:52:25 -04:00
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
2017-09-21 14:51:29 -04:00
0d1fa8e884
fixes from review
2017-06-28 11:12:45 -04:00
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
2017-05-29 23:11:40 -04:00
cf686d4f83
Fix commonly misspelled words
2017-05-20 21:43:00 -07:00
f803544195
new logging
2017-05-13 10:24:58 +02:00
46151720f8
fix tests
2017-05-04 22:46:41 -04:00
92bafa7ecd
consensus: fix tests
2017-05-04 22:46:13 -04:00
07e59e63f9
TMEventDataInner
2017-04-28 17:57:06 -04:00
d1926bcad1
use tmlibs
2017-04-21 18:12:54 -04:00
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
2017-03-05 23:28:42 -05:00
d83fc02597
MakePartSet takes partSize from config. fix replay test
2016-11-16 01:23:16 -05:00
57da2e4af5
make byzantine logic testable
2016-11-15 18:45:36 -05:00
f837252ff1
consensus: test reactor
2016-11-15 18:37:33 -05:00
655d829314
Fix proposal sign bytes. Start tracking blockID in POL
2016-11-15 18:35:17 -05:00
3c5a2f55c2
Add validator index and address to Vote.
2016-11-15 18:33:16 -05:00
35d4cca8bb
type safe events
2016-10-10 03:10:29 -04:00
987dac9ee0
consensus: no sign err in replay; fix a race
2016-09-08 19:00:59 -04:00
54357bcf8f
crank consensus timeout parameters for tests (see #236 )
2016-07-12 14:25:27 -04:00
47acada2cb
consensus: t.Fatal -> panic
2016-07-11 22:37:39 -04:00
e4c795f15c
consensus: fix more races in tests
2016-07-11 20:40:48 -04:00
bc0b52293e
update circle and glide
2016-07-05 15:40:53 -04:00
ad17090a0f
No global config
2016-05-08 15:00:58 -07:00
523a170c3e
EventDataTypeNewBlockHeader
2016-04-19 20:59:52 -04:00
922f720cf6
cswal_light logs own votes; fix tests
2016-04-19 20:45:33 -04:00
03115cbf93
Fix tests; Tests run in their own directory
2016-03-06 15:05:50 -08:00
c9ec9cf00e
config: block size, consensus timeouts, recheck tx
2016-02-29 17:04:33 -05:00
0f1cf243fd
Merge remote-tracking branch 'origin/replay'
2016-01-28 19:53:22 -08:00
8a3bba48e3
s/*EventDataRoundState/EventDataRoundState/g
2016-01-28 19:44:44 -08:00
273a65724d
replayCatchup test
2016-01-18 16:13:54 -05:00
8be32257e7
Make subscribeToEvent have capacity 1
2016-01-18 12:18:09 -08:00
9fc0726504
timeoutProposeDelta
2016-01-14 18:58:11 -05:00
f100404362
Make EventDataRoundState use json:"-" instead of Getter/Setter
2016-01-14 11:07:31 -08:00
0be13d1d27
move alert, events, rpc into own repos
2016-01-12 19:15:10 -05:00
3e3c0083c7
Make order be decided first; Remove TMSP Commit/Rollback
2016-01-08 16:51:20 -08:00
b9e143d956
Fireable -> EventSwitch; rs in EventDataRoundState; fixes from review
2015-12-14 00:38:19 -05:00
261647a012
Enter* -> enter*. Comments/fixes from Jae
2015-12-13 20:48:09 -05:00
4483971776
conR uses events to trigger newstep & hasvote broadcasts
2015-12-13 19:30:15 -05:00
9dea9539b4
fix consensus tests
2015-12-13 16:41:13 -05:00
334cab82c2
fix tests: propose and full round suites
2015-12-12 01:28:53 -05:00
d9b55101e5
move routines to consensus state. drop locks and other go routines
2015-12-10 11:41:18 -05:00
35abb4df92
Allow for test apps to return nil hashes
2015-12-04 00:59:02 -08:00
ef43af19ab
Tendermint <-> Application refactor
2015-12-01 20:12:01 -08:00
209bcf905e
proposer selection tests. closes #53
2015-11-10 13:41:49 -08:00
e12f9d10e7
Bare consensus refactor
2015-11-01 11:34:08 -08:00
c4ed55d801
Refactor to move common libraries out of project
2015-10-22 17:39:06 -07:00