Ethan Buchman
52e21cebcf
remove some xxx comments and the config.mempool.recheck_empty ( #2505 )
...
* remove some XXX
* config: remove Mempool.RecheckEmpty
* docs: remove recheck_empty
2018-09-30 13:28:34 -04:00
Anton Kaliaev
8d50bb9dad
conesnsu: follow up to removing some consensus params ( #2427 )
...
* follow up to removing some consensus params Refs #2382
* change args type to int64 in state#makeParams
* make valsCount and evidenceCount ints again
* MaxEvidenceBytesPerBlock: include magic number in godoc
* [spec] creating a proposal
* test state#TxFilter
* panic if MaxDataBytes is less than 0
* fixes after review
* use amino#UvarintSize to calculate overhead
0c74291f3b/encoder.go (L85-L90)
* avoid cyclic imports
* you can do better Go, come on
* remove testdouble package
2018-09-21 11:00:36 +02:00
Anton Kaliaev
0e1cd88863
Remove ConsensusParams.TxSize and ConsensusParams.BlockGossip ( #2364 )
...
* remove ConsensusParams.TxSize and ConsensusParams.BlockGossip
Refs #2347
* block part size is now fixed
Refs #2347
* use max data size, not max bytes for tx limit
Refs #2347
2018-09-12 15:44:43 -04:00
Anton Kaliaev
d73c5cbdb1
reap max bytes from the mempool & check transaction size
...
See ADR 020: Limiting txs size inside a block docs/architecture/adr-020-block-size.md
Refs #2035
2018-08-31 16:01:21 +04:00
Ethan Buchman
ec710395b7
RIPEMD160 -> SHA256
2018-07-02 14:27:43 -04:00
Ethan Buchman
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
Anton Kaliaev
2d98899b9b
set MaxTxs to 10000 (the same that was used in the config before)
2018-07-01 09:44:12 +04:00
Anton Kaliaev
297cd4cfe8
limit HTTP request body and WS read msg size to 1MB
2018-06-29 12:40:32 +04:00
Alexander Simmerl
a605b66c5a
Move abci imports
2018-06-22 07:28:07 +02:00
Jae Kwon
89cdde7f1e
Fix state tests
2018-04-03 06:50:53 -07:00
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
Ethan Buchman
4e3488c677
update types
2018-02-03 03:23:10 -05:00
Ethan Buchman
6a4fd46479
fixes from rebase
2017-12-26 20:42:34 -05:00
Ethan Buchman
cc418e5dab
state.VerifyEvidence enforces EvidenceParams.MaxAge
2017-12-26 20:27:32 -05:00
Ethan Buchman
48d778c4b3
types/params: introduce EvidenceParams
2017-12-26 20:24:12 -05:00
Ethan Buchman
70a744558c
types: params.Update()
2017-12-21 17:00:52 -05:00
Anton Kaliaev
843e1ed400
Updates -> ValidatoSetUpdates
2017-12-19 13:03:39 -06:00
Ethan Frey
a0b2d77bef
Add hash to ConsensusParams
2017-12-19 12:28:08 -05:00
Ethan Frey
030fd00232
Added tests for applying consensus param changes
2017-12-19 12:28:08 -05:00
Ethan Frey
d21f39160f
Apply ConsensusParamChanges to state/State
2017-12-19 12:28:08 -05:00
Emmanuel Odeke
f24f03906f
types: ConsensusParams: add feedback from @ebuchman and @melekes
2017-10-20 00:11:30 -06:00
Emmanuel Odeke
bff069f83c
types: ConsensusParams test + document the ranges/limits
...
Fixes https://github.com/tendermint/tendermint/issues/747
Updates https://github.com/tendermint/tendermint/issues/693
* Document the unmentioned limits for ConsensusParams.Validate()
* Make the limit for ConsensusParams.BlockSizeParams.MaxBytes
clear at 100MiB
2017-10-16 16:57:44 -06:00
Ethan Buchman
1f0985689d
ConsensusParams ptr in GenesisDoc for json
2017-09-21 15:22:58 -04:00
Ethan Buchman
5feeb65cf0
dont use pointers for ConsensusParams
2017-09-21 14:59:24 -04:00
Ethan Buchman
715e74186c
fixes from review
2017-09-21 14:51:29 -04:00
Ethan Buchman
3a03fe5a15
updated to match adr 005
2017-09-21 14:51:29 -04:00
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00