Ethan Buchman
6f3d9b4be3
fix race
7 years ago
Ethan Buchman
f06cc6630b
mempool: cfg.CacheSize and expose InitWAL
7 years ago
Ethan Buchman
8171628ee5
make tests run faster
7 years ago
Ethan Buchman
1cb76625d3
consensus: rename test funcs
7 years ago
Ethan Buchman
a17105fd46
p2p: peer.Key -> peer.ID
7 years ago
Ethan Buchman
ff99ca7cdf
bump wal test timeout
7 years ago
Ethan Buchman
6112578d07
ValidateBlock is a method on blockExec
7 years ago
Ethan Buchman
ae68fcb78a
move fireEvents to ApplyBlock
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
Ethan Buchman
f55135578c
state: move methods to funcs
7 years ago
Ethan Buchman
a8e625e99d
config: unexpose chainID
7 years ago
Zach Ramsay
9da5cd0180
rebase fix
7 years ago
Zach Ramsay
70ba608850
config: write all default options to config file
config: test the default file
docs: spiff up config
config: minor fixes & comments
config: simplify test
config; use a seperate config directory, #556
config: update docs & parameterize file paths
config: PR comments
config: use the default object
fix a rebase error
7 years ago
Anton Kaliaev
75182f7205
change directory for each call, not only for each test
Fixes #1026
7 years ago
Ethan Buchman
7d81a3f4a5
address some comments from review
7 years ago
Ethan Buchman
6a4fd46479
fixes from rebase
7 years ago
Ethan Buchman
1d021c2790
update consensus/test_data/many_blocks.cswal
7 years ago
Ethan Buchman
869d873d5c
state.ApplyBlock takes evpool and calls MarkEvidenceAsCommitted
7 years ago
Ethan Buchman
7a18fa887d
evidence linked with consensus/node. compiles
7 years ago
Ethan Buchman
f7731d38f6
some comments and cleanup
7 years ago
Ethan Buchman
10c43c9edc
introduce evidence store
7 years ago
Ethan Buchman
fe4b53a463
EvidencePool
7 years ago
Ethan Buchman
7d086e9524
check if we already have evidence
7 years ago
Ethan Buchman
6e9433c7a8
post rebase fix
7 years ago
Ethan Buchman
39299e5cc1
consensus: note about duplicate evidence
7 years ago
Ethan Buchman
4661c98c17
add pubkey to conflicting vote evidence
7 years ago
Ethan Buchman
7928659f70
track evidence, include in block
7 years ago
Ethan Buchman
f80f6445a6
fix test
7 years ago
Ethan Buchman
4171bd3bae
fixes
7 years ago
Ethan Buchman
289d92c97d
consensus: remove log stmt. closes #987
7 years ago
Anton Kaliaev
0093f9877a
change voting power change, not number of vals
7 years ago
Anton Kaliaev
cf0b5d3715
enforce <1/3 validator updates
Refs #950
7 years ago
Ethan Buchman
38608b1b0f
comment and tmlibs fix
7 years ago
Ethan Buchman
3d00c477fc
separate block vs state based validation
7 years ago
Anton Kaliaev
843e1ed400
Updates -> ValidatoSetUpdates
7 years ago
Ethan Frey
960b25408f
Store LastConsensusHash in State as well
Update all BlockValidation that it matches the last state
7 years ago
Ethan Frey
d151e36ea8
Add ConsensusHash to header
7 years ago
Ethan Buchman
cb3ac6987e
remove some debugs
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
a86df17ceb
crank city
7 years ago
Ethan Buchman
5d04ccbe51
excessive logging. update tmlibs for timer fix
7 years ago
Ethan Buchman
0ec7909ec3
more logging in p2p and consensus
7 years ago
Anton Kaliaev
f8f28c8942
enable logging for wal_generator and set timeout to 1 min
Refs #977
7 years ago
Anton Kaliaev
d669816a1b
send absent validators in BeginBlock
Refs #668
7 years ago
Anton Kaliaev
e40689b9cc
PanicCrisis is deprecated
7 years ago
Anton Kaliaev
709cf18aef
add gofuzz test for consensus wal
7 years ago