56d7160606
Add ValidatorPubkeyTypes as a consensus param ( #2636 )
...
* Add ValidatorPubkeyTypes as a consensus param
Ref #2414
* update spec
* address anton's comment
* Switch to Validator and Validator Params
* Correct changelog entry
* Address bucky's comments!
* forgot to update changelog
* fix typo
* fix Params naming
2018-10-30 11:36:53 -04:00
4ab7dcf3ac
[R4R] Unmerklize ConsensusParams.Hash() ( #2609 )
...
* Hash() uses tmhash instead of merkle.SimpleHashFromMap
* marshal whole struct
* update comments
* update docs
2018-10-15 16:31:27 -04:00
12fa9d1cab
crypto/merkle: Remove byter in favor of plain byte slices ( #2595 )
...
* crypto/merkle: Remove byter in favor of plain byte slices
This PR is fully backwards compatible in terms of function output!
(The Go API differs though) The only test case changes was to refactor
it to be table driven.
* Update godocs per review comments
2018-10-10 12:46:09 -04:00
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
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
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
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
ec710395b7
RIPEMD160 -> SHA256
2018-07-02 14:27:43 -04:00
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
2d98899b9b
set MaxTxs to 10000 (the same that was used in the config before)
2018-07-01 09:44:12 +04:00
297cd4cfe8
limit HTTP request body and WS read msg size to 1MB
2018-06-29 12:40:32 +04:00
a605b66c5a
Move abci imports
2018-06-22 07:28:07 +02:00
89cdde7f1e
Fix state tests
2018-04-03 06:50:53 -07:00
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
2018-03-31 00:18:43 +02:00
4e3488c677
update types
2018-02-03 03:23:10 -05:00
6a4fd46479
fixes from rebase
2017-12-26 20:42:34 -05:00
cc418e5dab
state.VerifyEvidence enforces EvidenceParams.MaxAge
2017-12-26 20:27:32 -05:00
48d778c4b3
types/params: introduce EvidenceParams
2017-12-26 20:24:12 -05:00
70a744558c
types: params.Update()
2017-12-21 17:00:52 -05:00
843e1ed400
Updates -> ValidatoSetUpdates
2017-12-19 13:03:39 -06:00
a0b2d77bef
Add hash to ConsensusParams
2017-12-19 12:28:08 -05:00
030fd00232
Added tests for applying consensus param changes
2017-12-19 12:28:08 -05:00
d21f39160f
Apply ConsensusParamChanges to state/State
2017-12-19 12:28:08 -05:00
f24f03906f
types: ConsensusParams: add feedback from @ebuchman and @melekes
2017-10-20 00:11:30 -06:00
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
1f0985689d
ConsensusParams ptr in GenesisDoc for json
2017-09-21 15:22:58 -04:00
5feeb65cf0
dont use pointers for ConsensusParams
2017-09-21 14:59:24 -04:00
715e74186c
fixes from review
2017-09-21 14:51:29 -04:00
3a03fe5a15
updated to match adr 005
2017-09-21 14:51:29 -04:00
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00