Jae Kwon
a073b1db9c
Refactor replay console -> replay_file in consensus/replay_file.go
8 years ago
Ethan Buchman
94b6dd65ee
AppendTx -> DeliverTx
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
2dd7030579
tmsp: ResponseInfo and ResponseEndBlock
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
814ef37f75
fix tests
8 years ago
Ethan Buchman
3c589dac19
startConsensusNet and stopConsensusNet
8 years ago
Ethan Buchman
ce0c638005
little fix
8 years ago
Anton Kalyaev
535fc6cd63
test we can make blocks with skip_timeout_commit=false
8 years ago
Anton Kalyaev
3308ac7d83
set skip_timeout_commit to true for tests
For the tests its better to not use the timeout_commit, and to wait for all the
votes, because otherwise we can end up with timing dependencies in the testing
code which can lead to nondeterministic failures. That was part of the reason
for this change originally.
8 years ago
Anton Kalyaev
a1fd312bb1
make progress asap on full precommit votes optional (Refs #348 )
8 years ago
Ethan Buchman
d68cdce2d5
consensus: check HasAll when TwoThirdsMajority
8 years ago
Jae Kwon
43fdc4a1ce
Fix #341
8 years ago
Anton Kalyaev
cb2f2b94ee
log stages to stdout
8 years ago
Anton Kalyaev
4722410e5e
test validator set changes more extensively
8 years ago
Ethan Buchman
55b4bfa1fe
consensus: let time.Timer handle non-positive durations
8 years ago
Ethan Buchman
bae0bc02a6
consensus: be more explicit when we need to write height after handshake
8 years ago
Ethan Buchman
f30a9752e2
more fixes from review
8 years ago
Ethan Buchman
0c01b0ded9
state.State and wal.writeHeight after handshake
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
f4e6cf4439
consensus: sync wal.writeHeight
8 years ago
Ethan Buchman
b126ca0606
consensus: no internal vars in reactor.String()
8 years ago
Ethan Buchman
40b08f2494
consensus: mv timeoutRoutine into TimeoutTicker
8 years ago
Ethan Buchman
8211fa6ce4
enterNewRound on HasAll
8 years ago
Ethan Buchman
706dd1d6c5
test: dont start cs until all peers connected
8 years ago
Ethan Buchman
faf23aa0d4
consensus: TimeoutTicker, skip TimeoutCommit on HasAll
8 years ago
Ethan Buchman
1bd700ee52
test: automate building consensus/test_data
8 years ago
Ethan Buchman
38783e7fa1
types: SignatureEd25519 -> Signature
8 years ago
Ethan Buchman
dcbb35089f
consensus: wal.Flush() and cleanup replay tests
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
Jae Kwon
4202c4bf20
Fix Merge pull request #319
8 years ago
Ethan Buchman
b74a97a4f6
update grpc broadcast tx
8 years ago
Ethan Buchman
0fe53dc5cf
remove privValIndex; Stale->AppHashIsStale
8 years ago
Ethan Buchman
2f9063c1d6
consensus: test validator set change
8 years ago
Ethan Buchman
6f8c91b651
use NewValidator; fix setPrivValidatorIndex
8 years ago
Ethan Buchman
e0db20c0cf
update privValidatorIndex on valset change
8 years ago
Ethan Buchman
655b6300f5
val set changes
8 years ago
Ethan Buchman
d7f6c0775a
remove LastCommitHeight
8 years ago
Ethan Buchman
a3d863f83b
consensus: track index of privVal
8 years ago
Jae Kwon
e09950d3fb
Use new Group semantics
8 years ago
Ethan Buchman
c6a648fad7
consensus: lock before loading commit
8 years ago
Ethan Buchman
07597dfd45
post rebase fixes for BlockID, partSize
8 years ago
Ethan Buchman
4360c360a4
move handshake to state, use Handshaker, more tests
8 years ago
Ethan Buchman
3f90fcae48
fail tests and fix
8 years ago
Ethan Buchman
8ec1839f5d
save block b4 apply; track stale apphash
8 years ago
Ethan Buchman
fb9735ef46
rebase fixes and BeginBlock(hash,header)
8 years ago