Ethan Buchman
3fd54c5df5
docs/spec/abci: update spec
* better overview section
* section on tags
* remove notes about state/concurrency from CheckTx
* incorporate feedback from #2249
* explain how validator set updates effect future blocks
6 years ago
Ethan Buchman
20c55cffc4
docs: move app-dev/abci-spec.md to spec/abci/abci.md
6 years ago
Ethan Buchman
dea34506fb
types/time: add note about stripping monotonic part
6 years ago
Ethan Buchman
54fe6ef73c
version: add and bump abci version
6 years ago
Ethan Buchman
6fd79d1545
docs/spec/blockchain: remove tags from result for now
6 years ago
Ethan Buchman
8fcabe8b05
docs: fix note about ChainID size
6 years ago
Ethan Buchman
e0fa827a53
docs/spec/blockchain: specify consensus params in state.md
6 years ago
Ethan Buchman
bdf3238710
docs/spec/blockchain: bring blockchain.md up-to-date
6 years ago
Ethan Buchman
ed9e00a8a7
docs/spec/blockchain: fix encoding JSON
6 years ago
Ethan Buchman
604eae86b6
Merge branch 'master' into release/v0.24.0
6 years ago
Ethan Buchman
b616e54c9b
changelog and version
6 years ago
Ethan Buchman
fae21c9f52
linkify changelog pending
6 years ago
Ethan Buchman
8c0c4844b6
Merge pull request #2342 from tendermint/dev/changelog2
add script to add links in changelog
6 years ago
Ethan Buchman
bbc30f992e
Merge pull request #2340 from tendermint/bucky/changelog
name drop external contribs in changelog
6 years ago
Ethan Buchman
91f8af8fd8
docs/spec/blockchain: update vote, signature, time
6 years ago
ValarDragon
0881068d76
add script to add links in changelog
6 years ago
Ethan Buchman
80c217089a
docs/spec/blockchain: remove json tags, dont use HexBytes
6 years ago
Ethan Buchman
61914cf48e
docs/tm-core/using-tm: fix indentation for genesis.validators
6 years ago
Ethan Buchman
4416c9e4bc
fix links in abci readme. fixes #2335
6 years ago
Ethan Buchman
c9510d0f50
name drop external contribs in changelog
6 years ago
Ethan Buchman
892b170818
Bucky/changelog ( #2339 )
* update changelog pending
* fixes from review
6 years ago
Zach
7f6bd5c161
docs & spec: deduplicate block-structure.md ( #2331 )
6 years ago
Anton Kaliaev
eb5cf0f0dd
ignore existing peers in DialPeersAsync ( #2327 )
* ignore existing peers in DialPeersAsync
Fixes #2253
* rename HasPeerWithAddress to IsDialingOrExistingAddress
[breaking] remove Switch#IsDialing
* check if addrBook is nil
to be consistent with other usages of addrBook across Switch
* different log messages for 2 use-cases
6 years ago
Ethan Buchman
2a3520a714
Merge pull request #2134 from tendermint/2027-cs-failure
Add priv_validator_laddr to config.toml
6 years ago
Ethan Buchman
39ab199181
Merge pull request #2333 from tendermint/anton/docs
Update indexing docs & write a test cast
6 years ago
Ethan Buchman
4c7591cf6b
Merge pull request #2336 from tendermint/zach/hotfix
fix failing website build
6 years ago
zramsay
0149c8ffee
fix failing website build
6 years ago
Zach
9db66deaa2
test make localnet in CI ( #2281 )
* tests: use make localnet
based on @jackzampolin work in:
https://github.com/cosmos/cosmos-sdk/pull/2067
* keep the p2p tests for now
* fixes after my own review
* nohup
* remove nohup
6 years ago
Anton Kaliaev
098681fd91
test searching txs by height
Refs #2051
6 years ago
Anton Kaliaev
cb91cd5965
[docs] one can also index txs by height now
6 years ago
Zach
92185c017c
Several minor docs & spec cleanup ( #2330 )
* addr_book_strick=false on local nets
* link to spec
* spec: remove TODO, see #1749 instead
* spec: make issues from TODOs
* update docs on addr_book_strict option
6 years ago
JamesRay
d0bb1ab2b0
Filter out empty addresses in persistent_peers/seeds lists ( #2323 )
Fixes #2320
6 years ago
cong
d27cd972d2
Index tx.height ( #2324 )
Refs #2051
6 years ago
Anton Kaliaev
29d2db352e
update outdated abci-cli install instructions ( #2325 )
https://github.com/tendermint/tendermint/pull/2301
6 years ago
Ethan Buchman
eabb1ece8e
tmtime: Canonical, some comments ( #2312 )
6 years ago
Anton Kaliaev
166fd82b70
max-bytes PR follow-up ( #2318 )
* ReapMaxTxs: return all txs if max is negative
this mirrors ReapMaxBytes behavior
See https://github.com/tendermint/tendermint/pull/2184#discussion_r214439950
* increase MaxAminoOverheadForBlock
tested with:
```
func TestMaxAminoOverheadForBlock(t *testing.T) {
maxChainID := ""
for i := 0; i < MaxChainIDLen; i++ {
maxChainID += "𠜎"
}
h := Header{
ChainID: maxChainID,
Height: 10,
Time: time.Now().UTC(),
NumTxs: 100,
TotalTxs: 200,
LastBlockID: makeBlockID(make([]byte, 20), 300, make([]byte, 20)),
LastCommitHash: tmhash.Sum([]byte("last_commit_hash")),
DataHash: tmhash.Sum([]byte("data_hash")),
ValidatorsHash: tmhash.Sum([]byte("validators_hash")),
NextValidatorsHash: tmhash.Sum([]byte("next_validators_hash")),
ConsensusHash: tmhash.Sum([]byte("consensus_hash")),
AppHash: tmhash.Sum([]byte("app_hash")),
LastResultsHash: tmhash.Sum([]byte("last_results_hash")),
EvidenceHash: tmhash.Sum([]byte("evidence_hash")),
ProposerAddress: tmhash.Sum([]byte("proposer_address")),
}
b := Block{
Header: h,
Data: Data{Txs: makeTxs(10000, 100)},
Evidence: EvidenceData{},
LastCommit: &Commit{},
}
bz, err := cdc.MarshalBinary(b)
require.NoError(t, err)
assert.Equal(t, MaxHeaderBytes+MaxAminoOverheadForBlock-2, len(bz)-1000000-20000-1)
}
```
* fix MaxYYY constants calculation
by using math.MaxInt64
See https://github.com/tendermint/tendermint/pull/2184#discussion_r214444244
* pass mempool filter as an option
See https://github.com/tendermint/tendermint/pull/2184#discussion_r214445869
* fixes after Dev's comments
6 years ago
Ismail Khoffi
1de32fba17
Check for int overflow in clist ( #2289 )
* explicitly panic if max capacity is reached
* address review comments
* comments and a test
6 years ago
Zarko Milosevic
7b88172f41
Implement BFT time ( #2203 )
* Implement BFT time
* set LastValidators when creating state in state helper
for heights >= 2
6 years ago
Ethan Buchman
ffe91ae9e3
Merge pull request #2184 from tendermint/2035-max-bytes
MaxBytes
6 years ago
Ethan Buchman
03afad3218
Merge pull request #2307 from tendermint/master
libs/autofile: bring back loops (#2261 )
6 years ago
Peng Zhong
5ecdfacb8e
fix docs base directory ( #2295 )
6 years ago
Ethan Buchman
9e940b95ad
libs/autofile: bring back loops ( #2261 )
* libs/autofile: bring back loops
* changelog, version
6 years ago
Anton Kaliaev
4147f856dc
update arch doc
6 years ago
Anton Kaliaev
02d1b03abb
update comment for MaxBlockSizeBytes
6 years ago
Anton Kaliaev
e873fed815
calculate amino overhead on the fly
6 years ago
Anton Kaliaev
e957f322c7
be more precise in comments
6 years ago
Anton Kaliaev
ad3d42981a
update Gopkg.lock
6 years ago
Anton Kaliaev
0f7485690e
limit chain ID to 50 symbols max
6 years ago
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
6 years ago
Anton Kaliaev
7b2f7090fd
add missing changelog entry ( #2303 )
https://github.com/tendermint/tendermint/pull/2264#issuecomment-417378396
6 years ago