Ethan Buchman
3d33226e80
move types/services.go to state pkg. pass State to evpool.Update
7 years ago
Alexander Simmerl
bf370d36c2
Extract priv_validator into first class package
This is a maintenance change to move the private validator package out
of the types and to a top-level location. There is no good reason to
keep it under the types and it will more clearly coommunicate where
additions related to the privval belong. It leaves the interface and the
mock in types for now as it would introduce circular dependency between
privval and types, this should be resolved eventually.
* mv priv_validator to privval pkg
* use consistent `privval` as import
Follow-up to #1255
7 years ago
Ethan Buchman
082a02e6d1
consensus: only fsync wal after internal msgs
7 years ago
Thomas Corbière
ab00bf7c8b
standardize PRNG access ( #1411 )
* replace math/rand with tmlibs equivalent.
* update tmlibs dependency
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
1c82281b77
make app_options -> app_state backwards compatible
7 years ago
Ethan Frey
fff0c6cd8e
Add app_state from genesis file in InitChain message
7 years ago
Zach
2cc63069c6
rename dummy to kvstore ( #1223 )
* remove accidental binary
* docs: s/Dummy&dummy/KVStore&kvstore/g
* glide update to abci
* update abci import paths
* dummy begone, hello kvstore
* RequestInitChain needs genesisBytes
* glide update
7 years ago
Ethan Buchman
1d6f00859d
fixes from review
7 years ago
Ethan Buchman
537b0dfa1a
use NopEventBus
7 years ago
Ethan Buchman
0acca7fe69
final updates for state
7 years ago
Anton Kaliaev
75182f7205
change directory for each call, not only for each test
Fixes #1026
7 years ago
Ethan Buchman
6a4fd46479
fixes from rebase
7 years ago
Anton Kaliaev
843e1ed400
Updates -> ValidatoSetUpdates
7 years ago
Anton Kaliaev
5a83e58428
stop eventBus
7 years ago
Anton Kaliaev
3f02ab0ead
unidirectional channel
7 years ago
Anton Kaliaev
99c58fc561
enable logging for wal_generator and set timeout to 1 min
Refs #977
7 years ago
Ethan Buchman
5d04ccbe51
excessive logging. update tmlibs for timer fix
7 years ago
Anton Kaliaev
f8f28c8942
enable logging for wal_generator and set timeout to 1 min
Refs #977
7 years ago
Ethan Buchman
e0296d6c3c
consensus: fix makeBlockchainFromWAL
7 years ago
Anton Kaliaev
40f9261d48
handle data corruption errors
Refs #573
7 years ago
Anton Kaliaev
b2385b46cf
wait 5 sec for a block on CircleCI
Fixes:
```
--- FAIL: TestHandshakeReplaySome (12.40s)
replay_test.go:332: waited too long for tendermint to produce 6 blocks
```
7 years ago
Anton Kaliaev
07571741c5
[consensus] remove WAL separator (Refs #785 )
We don't really need a separator unless we have complex structures
(rows, cells like RDBMS have https://www.sqlite.org/fileformat.html ).
7 years ago
Anton Kaliaev
5cb936fa00
fixes after my own review
7 years ago
Anton Kaliaev
c6f025f40e
generate WAL on the fly (Refs #468 )
7 years ago