Skip to content

Release/v0.26.0#2750

Merged
ebuchman merged 117 commits intomasterfrom
release/v0.26.0
Nov 3, 2018
Merged

Release/v0.26.0#2750
ebuchman merged 117 commits intomasterfrom
release/v0.26.0

Conversation

@ebuchman
Copy link
Contributor

@ebuchman ebuchman commented Nov 2, 2018

ebuchman and others added 30 commits September 23, 2018 09:19
* stop node upon receiving SIGTERM or CTRL-Ceven during genesis sleep by setting up interrupt before starting a node

Closes #2434

* call Start, not OnStart when starting a component to avoid:

```
E[09-24|10:13:15.805] Not stopping PubSub -- have not been started yet module=pubsub impl=PubSub
```

being printed on exit
* handle SIGHUP explicitly inside autofile
Refs #2260
* libs: Use consistent channel suffix
* Add additional metrics to p2p and consensus
Partially addresses cosmos/cosmos-sdk#2169.
* WIP
* Updates from code review
* Updates from code review
* Add instrumentation namespace to configuration
* Fix test failure
* Updates from code review
* Add quotes
* Add atomic load
* Use storeint64
* Use addInt64 in writePacketMsgTo
* fix Group.RotateFile need call Flush() before rename. #2428
* fix some review issue. #2428
 refactor Group's config: replace  setting member with initial option
* fix a handwriting mistake
* fix a time window error between rename and write.
* fix a syntax mistake.
* change option name Get_ to With_
* fix review issue
* fix review issue
* add missing options to config.toml template and docs
Refs #2232
* config#ValidateBasic
Refs #2232
* [config] timeouts as time.Duration, not ints
Why:
- native type provides better guarantees than ", in ms" comment (harder
to shoot yourself in the leg)
- flexibility: you can change units
* Implement issues 2386: add synchronization in lite verify and change all Certify to Verify

* Replace make(chan struct{}, 0) with make(chan struct{})

* Parameterize memroy cache size and add concurrent test

* Refactor import order
* switch to amino for SignBytes and add Reply with error message

- currently only Vote is done

* switch Reply type in socket for other messages

 - add error description on error

* add TODOs regarding error handling

* address comments from peer review session (thx @xla)

 - contains all changes besides the test-coverage / error'ing branches

* increase test coverage:

 - add tests for each newly introduced error'ing code path

* return error if received wrong response

* add test for wrong response branches (ErrUnexpectedResponse)

* update CHANGELOG_PENDING and related documentation (spec)

* fix typo: s/CanonicallockID/CanonicalBlockID

* fixes from review
* first commit

finalize rebase

add protoc_merkle to Makefile

* in progress

* fix kvstore

* fix tests

* remove iavl dependency

* fix tx_test

* fix test_abci_cli

fix test_apps

* fix test_apps

* fix test_cover

* rm rebase residue

* address comment in progress

* finalize rebase
* tmlibs -> libs

* update changelog

* address some comments from review of #2298
* minor doc cleanup

* docs/tools: link fixes and readme

* docs/networks: networks/local/README.md

* docs: update vuepress config

* docs: fixes from review
This change doubles the speed of the mempool's reaping.
Before:

BenchmarkReap-8   	    5000	    365390 ns/op	  122887 B/op

After:

BenchmarkReap-8   	   10000	    158274 ns/op	  122882 B/op
* remove some XXX

* config: remove Mempool.RecheckEmpty

* docs: remove recheck_empty
* docs: links to dirs need a slash

* docs/spec/abci: consensus params and general merkle
* timeouts as time.Duration are also breaking for old configs
* split BaseConfig#ValidateBasic into smaller methods
Also make reversing a slice more efficient
also, fix potential bug in Or function
* Disable transitioning to new round upon 2/3+ of Precommit nils

Pull in ensureVote test function from #2132

* Add several ensureX test methods to wrap channel read with timeout

* Revert panic in tests
* docs: fix links

* docs: add readme from each section to the sidebar
ebuchman and others added 22 commits October 19, 2018 14:23
* types: first field in Canonical structs is Type

* fix spec
* crypto: use stdlib crypto/rand. ref #2099

* comment
* version bump

* update UPGRADING.md

* add missing pr numbers to changelog pending

* linkify changelog
* use types.NewValidator

* node: set p2p.ProtocolVersion from state, not globals
* types: test tm2pm on fully populated header

* upgrade for amino v0.13.0-rc0

* fix lint

* comment out final test
* catch up with amino changes in
tendermint/go-amino#222

* WIP: update to amino v0.13.0

* update to fixed amino release
* WIP: update to amino 0.14.0

* update Changelog

* Update to latest amino version (v0.14.0)
* 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
* add year to log format

* update documentation
* reorder fields

* add TestVoteString & update tests

* remove redundant info from Proposal.String()

* update spec

* revert changes on vote.String() -> more human friendly
* Introduce EventValidBlock for informing peer about wanted block

* Merge with develop

* Add isCommit flag to NewValidBlock message

- Add test for the case of +2/3 Precommit from the previous round
* Align Proposal message with spec

* Update spec
* Fix general merkle keypath to start w/ last op's key

* Update CHANGELOG_PENDING.md
* tmhash is fully 32 bytes. closes #1990

* AddressSize

* fix tests

* fix max sizes
* validate reactor messages

Refs #2683

* validate blockchain messages

Refs #2683

* validate evidence messages

Refs #2683

* todo

* check ProposalPOL and signature sizes

* add a changelog entry

* check addr is valid when we add it to the addrbook

* validate incoming netAddr (not just nil check!)

* fixes after Bucky's review

* check timestamps

* beef up block#ValidateBasic

* move some checks into bcBlockResponseMessage

* update Gopkg.lock

Fix

```
grouped write of manifest, lock and vendor: failed to export github.com/tendermint/go-amino: fatal: failed to unpack tree object 6dcc6ddc143e116455c94b25c1004c99e0d0ca12
```

by running `dep ensure -update`

* bump year since now we check it

* generate test/p2p/data on the fly using tendermint testnet

* allow sync chains older than 1 year

* use full path when creating a testnet

* move testnet gen to test/docker/Dockerfile

* relax LastCommitRound check

Refs #2737

* fix conflicts after merge

* add small comment

* some ValidateBasic updates

* fixes

* AppHash length is not fixed
* pubsub adr

Refs #951, #1879, #1880

* highlight question

* fix typos after Ismail's review
* changelog_pending -> changelog

* update changelog

* update changelog

* update changelog and upgrading
@codecov-io
Copy link

Codecov Report

Merging #2750 into master will increase coverage by 0.58%.
The diff coverage is 61.66%.

@@            Coverage Diff             @@
##           master    #2750      +/-   ##
==========================================
+ Coverage    61.7%   62.29%   +0.58%     
==========================================
  Files         198      212      +14     
  Lines       16358    17185     +827     
==========================================
+ Hits        10094    10705     +611     
- Misses       5436     5583     +147     
- Partials      828      897      +69
Impacted Files Coverage Δ
crypto/secp256k1/secp256k1.go 54.09% <ø> (ø) ⬆️
state/store.go 70.07% <ø> (ø) ⬆️
state/validation.go 65.81% <ø> (+16.72%) ⬆️
state/metrics.go 25% <ø> (ø)
crypto/xchacha20poly1305/xchachapoly.go 92.45% <ø> (ø) ⬆️
libs/pubsub/pubsub.go 83.89% <ø> (ø) ⬆️
crypto/xsalsa20symmetric/symmetric.go 70.37% <ø> (ø) ⬆️
rpc/core/mempool.go 0% <ø> (ø) ⬆️
rpc/core/tx.go 0% <ø> (ø) ⬆️
rpc/core/blocks.go 18.75% <ø> (ø) ⬆️
... and 124 more

@ebuchman ebuchman merged commit c086d0a into master Nov 3, 2018
@ebuchman ebuchman deleted the release/v0.26.0 branch November 3, 2018 19:46
ebuchman added a commit that referenced this pull request Nov 3, 2018
Merge pull request #2750 from tendermint/release/v0.26.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.