Erik Grinaker
bdbe4a7cd7
test/e2e: disable abci/grpc and blockchain/v2 due to flake ( #5854 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
v0.34.2
2021-01-12 18:24:44 +01:00
Callum Waters
6a7a431ba5
remove misbehaviors from e2e generator ( #5629 )
2021-01-12 18:24:44 +01:00
Tess Rinearson
23c8a7a93d
changelog: prepare 0.34.2 release ( #5894 )
2021-01-12 17:42:26 +01:00
Callum Waters
cf3a720988
state sync: correctly set last consensus params height ( #5889 )
2021-01-12 16:44:42 +01:00
Callum Waters
ad552b2bb1
evidence: buffer evidence from consensus ( #5890 )
2021-01-12 16:44:42 +01:00
Erik Grinaker
5d63765990
os: simplify EnsureDir() ( #5871 )
...
#5852 fixed an issue with error propagation in `os.EnsureDir()`. However, this function is basically identical to `os.MkdirAll()`, and can be replaced entirely with a call to it. We keep the function for backwards compatibility.
2021-01-06 17:27:51 +01:00
Erik Grinaker
3185bb8b22
blockchain/v0: stop tickers on poolRoutine exit ( #5860 )
...
Fixes #5841 .
2021-01-06 17:27:51 +01:00
Erik Grinaker
2eba38051a
blockchain/v2: fix missing mutex unlock ( #5862 )
...
Fixes #5843 .
2021-01-06 17:27:51 +01:00
Erik Grinaker
15eed81f12
test/consensus: improve WaitGroup handling in Byzantine tests ( #5861 )
...
Fixes #5845 .
2021-01-06 17:27:51 +01:00
Erik Grinaker
fca7c6449a
libs/os: EnsureDir now returns IO errors and checks file type ( #5852 )
...
Fixes #5839 .
2021-01-06 17:27:51 +01:00
Erik Grinaker
c2b5f8bc4a
abci/grpc: fix invalid mutex handling in StopForError() ( #5849 )
...
Fixes #5840 .
2021-01-06 17:27:51 +01:00
Erik Grinaker
4246000a8c
tools/tm-signer-harness: fix listener leak in newTestHarnessListener() ( #5850 )
...
Fixes #5837 .
2021-01-06 17:27:51 +01:00
Tess Rinearson
2924d41f8b
changelog: update changelog for v0.34.1 ( #5872 )
v0.34.1
2021-01-06 16:32:43 +01:00
Erik Grinaker
13833cba9e
p2p: fix MConnection inbound traffic statistics and rate limiting ( #5868 ) ( #5870 )
...
Fixes #5866 . Inbound traffic monitoring (and by extension inbound rate limiting) was inadvertently removed in 660e72a .
2021-01-06 16:10:28 +01:00
Tess Rinearson
17ce2ccc92
CHANGELOG: prepare 0.34.1-rc1 ( #5832 )
v0.34.1-rc1
2020-12-23 18:45:04 +01:00
Anton Kaliaev
b1328db07f
modify Reactor priorities ( #5826 ) ( #5830 )
...
blockchain/vX reactor priority was decreased because during the normal operation
(i.e. when the node is not fast syncing) blockchain priority can't be
the same as consensus reactor priority. Otherwise, it's theoretically possible to
slow down consensus by constantly requesting blocks from the node.
NOTE: ideally blockchain/vX reactor priority would be dynamic. e.g. when
the node is fast syncing, the priority is 10 (max), but when it's done
fast syncing - the priority gets decreased to 5 (only to serve blocks
for other nodes). But it's not possible now, therefore I decided to
focus on the normal operation (priority = 5).
evidence and consensus critical messages are more important than
the mempool ones, hence priorities are bumped by 1 (from 5 to 6).
statesync reactor priority was changed from 1 to 5 to be the same as
blockchain/vX priority.
Refs https://github.com/tendermint/tendermint/issues/5816
2020-12-23 18:05:14 +01:00
Marko
829a9e1de7
docs/tutorials: specify 0.34 ( #5823 )
...
# Description
Specify 0.34 for tutorials.
Closes : #5735
2020-12-21 09:39:07 -08:00
Anton Kaliaev
dc101f2eff
mempool: disable MaxBatchBytes ( #5800 )
...
@p4u from vocdoni.io reported that the mempool might behave incorrectly under a
high load. The consequences can range from pauses between blocks to the peers
disconnecting from this node.
My current theory is that the flowrate lib we're using to control flow
(multiplex over a single TCP connection) was not designed w/ large blobs
(1MB batch of txs) in mind.
I've tried decreasing the Mempool reactor priority, but that did not
have any visible effect. What actually worked is adding a time.Sleep
into mempool.Reactor#broadcastTxRoutine after an each successful send ==
manual control flow of sort.
As a temporary remedy (until the mempool package
is refactored), the max-batch-bytes was disabled. Transactions will be sent
one by one without batching
Closes #5796
2020-12-21 20:29:31 +04:00
Anton Kaliaev
dc90cf60d5
mempool: introduce KeepInvalidTxsInCache config option ( #5813 )
...
When set to true, an invalid transaction will be kept in the cache (this may help some applications to protect against spam).
NOTE: this is a temporary config option. The more correct solution would be to add a TTL to each transaction (i.e. CheckTx may return a TTL in ResponseCheckTx).
Closes : #5751
2020-12-21 20:29:14 +04:00
Callum Waters
9f0d71e81f
cmd: hyphen-case cli v0.34.1 ( #5786 )
2020-12-11 13:22:09 +01:00
Anton Kaliaev
7f06371915
evidence: omit bytes field ( #5745 )
...
Follow-up to https://github.com/tendermint/tendermint/pull/5743
2020-12-04 12:18:14 +01:00
Tess Rinearson
2a4fd3804c
blockchain/v1: omit incoming message bytes from log
2020-12-04 12:18:14 +01:00
Tess Rinearson
0d9606e1b4
reactors: omit incoming message bytes from reactor logs ( #5743 )
...
After a reactor has failed to parse an incoming message, it shouldn't output the "bad" data into the logs, as that data is unfiltered and could have anything in it. (We also don't think this information is helpful to have in the logs anyways.)
2020-12-04 12:18:14 +01:00
Erik Grinaker
ce144a1d71
test: fix TestByzantinePrevoteEquivocation flake ( #5710 )
...
This fixes spurious `TestByzantinePrevoteEquivocation` failures by extending the block range and time spent waiting for evidence. I've seen many runs where the evidence isn't committed until e.g. height 27. Haven't looked into _why_ this happens, but as long as the evidence is committed eventually and the test doesn't spuriously fail I'm (mostly) happy. WDYT @cmwaters?
2020-11-30 11:30:40 +01:00
Marko
6c0d4070c2
ci: build for 32 bit, libs: fix overflow ( #5700 )
2020-11-30 11:00:35 +01:00
Erik Grinaker
15b70373cc
crypto: fix infinite recursion in Secp256k1 string formatting ( #5707 ) ( #5709 )
...
This caused stack overflow panics in E2E tests, e.g.:
```
2020-11-24T02:37:17.6085640Z [35mvalidator04 |[0m runtime: goroutine stack exceeds 1000000000-byte limit
2020-11-24T02:37:17.6087818Z [35mvalidator04 |[0m runtime: sp=0xc0234b23c0 stack=[0xc0234b2000, 0xc0434b2000]
2020-11-24T02:37:17.6088920Z [35mvalidator04 |[0m fatal error: stack overflow
2020-11-24T02:37:17.6089776Z [35mvalidator04 |[0m
2020-11-24T02:37:17.6090569Z [35mvalidator04 |[0m runtime stack:
2020-11-24T02:37:17.6091677Z [35mvalidator04 |[0m runtime.throw(0x12dc476, 0xe)
2020-11-24T02:37:17.6093123Z [35mvalidator04 |[0m /usr/local/go/src/runtime/panic.go:1116 +0x72
2020-11-24T02:37:17.6094320Z [35mvalidator04 |[0m runtime.newstack()
2020-11-24T02:37:17.6095374Z [35mvalidator04 |[0m /usr/local/go/src/runtime/stack.go:1067 +0x78d
2020-11-24T02:37:17.6096381Z [35mvalidator04 |[0m runtime.morestack()
2020-11-24T02:37:17.6097657Z [35mvalidator04 |[0m /usr/local/go/src/runtime/asm_amd64.s:449 +0x8f
2020-11-24T02:37:17.6098505Z [35mvalidator04 |[0m
2020-11-24T02:37:17.6099328Z [35mvalidator04 |[0m goroutine 88 [running]:
2020-11-24T02:37:17.6100470Z [35mvalidator04 |[0m runtime.heapBitsSetType(0xc009565380, 0x20, 0x18, 0x1137e00)
2020-11-24T02:37:17.6101961Z [35mvalidator04 |[0m /usr/local/go/src/runtime/mbitmap.go:911 +0xaa5 fp=0xc0234b23d0 sp=0xc0234b23c8 pc=0x432625
2020-11-24T02:37:17.6103906Z [35mvalidator04 |[0m runtime.mallocgc(0x20, 0x1137e00, 0x117b601, 0x11e9240)
2020-11-24T02:37:17.6105179Z [35mvalidator04 |[0m /usr/local/go/src/runtime/malloc.go:1090 +0x5a5 fp=0xc0234b2470 sp=0xc0234b23d0 pc=0x428b25
2020-11-24T02:37:17.6106540Z [35mvalidator04 |[0m runtime.convTslice(0xc002743710, 0x21, 0x21, 0xc0234b24e8)
2020-11-24T02:37:17.6107861Z [35mvalidator04 |[0m /usr/local/go/src/runtime/iface.go:385 +0x59 fp=0xc0234b24a0 sp=0xc0234b2470 pc=0x426379
2020-11-24T02:37:17.6109315Z [35mvalidator04 |[0m github.com/tendermint/tendermint/crypto/secp256k1.PubKey.String(...)
2020-11-24T02:37:17.6151692Z [35mvalidator04 |[0m /src/tendermint/crypto/secp256k1/secp256k1.go:161
2020-11-24T02:37:17.6153872Z [35mvalidator04 |[0m github.com/tendermint/tendermint/crypto/secp256k1.(*PubKey).String(0xc009565360, 0x11e9240, 0xc009565360)
2020-11-24T02:37:17.6157421Z [35mvalidator04 |[0m <autogenerated>:1 +0x65 fp=0xc0234b24f8 sp=0xc0234b24a0 pc=0x656965
2020-11-24T02:37:17.6159134Z [35mvalidator04 |[0m fmt.(*pp).handleMethods(0xc00956c680, 0x58, 0xc0234b2801)
2020-11-24T02:37:17.6161462Z [35mvalidator04 |[0m /usr/local/go/src/fmt/print.go:630 +0x30a fp=0xc0234b2768 sp=0xc0234b24f8 pc=0x518b8a
[...]
2020-11-24T02:37:17.6649685Z [35mvalidator04 |[0m /usr/local/go/src/fmt/print.go:630 +0x30a fp=0xc0234b7f48 sp=0xc0234b7cd8 pc=0x518b8a
2020-11-24T02:37:17.6651177Z [35mvalidator04 |[0m created by github.com/tendermint/tendermint/node.startStateSync
2020-11-24T02:37:17.6652521Z [35mvalidator04 |[0m /src/tendermint/node/node.go:587 +0x150
```
2020-11-24 14:01:53 +01:00
Tess Rinearson
182fa32851
.goreleaser: build for windows
v0.34.0
2020-11-19 18:52:34 +01:00
Tess Rinearson
fe94825985
changelog: squash changelog from 0.34 RCs into one ( #5687 )
...
"Squashes" the changelog from RCs 2-6 into one changelog message for 0.34.0, and adds the changelog pending.
2020-11-19 18:43:04 +01:00
Tess Rinearson
386a44cd02
.goreleaser: don't build linux/arm
2020-11-19 18:32:32 +01:00
Marko
0f29b1631e
fix docker deployment ( #5647 )
2020-11-19 18:03:24 +01:00
Tess Rinearson
b80d4d8ff0
relase_notes: add release notes for v0.34.0
2020-11-19 17:41:41 +01:00
Tess Rinearson
b5b53bfc0d
upgrading: update 0.34 instructions with updates since RC4 ( #5686 )
2020-11-18 19:16:05 +01:00
Callum Waters
4ed0fddc37
light: make fraction parts uint64, ensuring that it is always positive ( #5655 )
2020-11-18 15:49:31 +01:00
Marko
23bc2f690c
ci: remove add-path ( #5674 )
2020-11-18 15:21:52 +01:00
Marko
bea7673c1c
e2e: use ed25519 for secretConn (remote signer) ( #5678 )
...
## Description
Hardcode ed25519 to dialTCPFn in e2e tests.
I will backport `DefaultRequestHandler` fixes
This will be replaced when grpc is implemented.
2020-11-18 15:21:52 +01:00
Marko
26493bbbd8
test/e2e: fix secp failures ( #5649 )
2020-11-18 15:21:52 +01:00
Aleksandr Bezobchuk
53463b3fef
rpc: fix content-type header
2020-11-16 10:54:34 -05:00
Anton Kaliaev
e0cf94f5b0
privval: reset pingTimer to avoid sending unnecessary pings ( #5642 ) ( #5668 )
...
Refs #5550
2020-11-16 18:10:49 +04:00
Anton Kaliaev
047b5ea85e
bump go version to 1.15 ( #5639 ) ( #5667 )
2020-11-16 17:58:55 +04:00
Anton Kaliaev
9567477d55
privval: increase read/write timeout to 5s and calculate ping interva… ( #5666 )
...
…l based on it (#5638 )
Partially closes #5550
2020-11-16 17:49:56 +04:00
Erik Grinaker
637d76254d
go.mod: upgrade iavl and deps ( #5657 )
...
Bumps IAVL, which pulled in some other upgrades as well. I think they should be fine though.
2020-11-13 14:11:08 +01:00
dependabot[bot]
a447c507e4
build(deps): Bump github.com/tendermint/tm-db from 0.6.2 to 0.6.3
...
Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db ) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/tendermint/tm-db/releases )
- [Changelog](https://github.com/tendermint/tm-db/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tendermint/tm-db/compare/v0.6.2...v0.6.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-13 14:11:08 +01:00
dependabot[bot]
24d13479fe
build(deps): Bump google.golang.org/grpc from 1.33.1 to 1.33.2 ( #5635 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.33.1 to 1.33.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/grpc/grpc-go/releases ">google.golang.org/grpc's releases</a>.</em></p>
<blockquote>
<h2>Release 1.33.2</h2>
<ul>
<li>protobuf: update all generated code to google.golang.org/protobuf (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/3932 ">#3932</a>)</li>
<li>xdsclient: populate error details for NACK (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/3975 ">#3975</a>)</li>
<li>internal/credentials: fix a bug and add one more helper function SPIFFEIDFromCert (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/3929 ">#3929</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-go/commit/56d63285d528c0d33f9bf8c355139d91edc047de "><code>56d6328</code></a> github: remove advancedtls examples test</li>
<li><a href="https://github.com/grpc/grpc-go/commit/6396e4b7d7b107f2c61fbefe8bca06c4a78dfe9a "><code>6396e4b</code></a> vet: ignore proto deprecation warnings</li>
<li><a href="https://github.com/grpc/grpc-go/commit/0afe9d28d8be06318769e6c1e22632b87f47edbb "><code>0afe9d2</code></a> github: add Github Actions workflow for tests; support in vet.sh (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4005 ">#4005</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/8a0ca33b8542c02085e3d6988fb6e0678b1a9ed4 "><code>8a0ca33</code></a> Change version to 1.33.2</li>
<li><a href="https://github.com/grpc/grpc-go/commit/c1989b58a5867364d14a2089eef6bfbbc77ef23b "><code>c1989b5</code></a> protobuf: update all generated code to google.golang.org/protobuf (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/3932 ">#3932</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/b205df69d4fed4ef9b38c0a772f98a86be4b9c87 "><code>b205df6</code></a> xdsclient: populate error details for NACK (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/3975 ">#3975</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/75e27683ed73aa11adad2c7520bf89e8b8292fb7 "><code>75e2768</code></a> internal/credentials: fix a bug and add one more helper function SPIFFEIDFrom...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/17493ac06746ffc550e9b1fec77a158509d2beae "><code>17493ac</code></a> Change version to 1.33.2-dev</li>
<li>See full diff in <a href="https://github.com/grpc/grpc-go/compare/v1.33.1...v1.33.2 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2020-11-13 14:11:08 +01:00
dependabot[bot]
9c32ad4a02
build(deps): Bump google.golang.org/grpc from 1.32.0 to 1.33.1 ( #5544 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.32.0 to 1.33.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.32.0...v1.33.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Grinaker <erik@interchain.berlin >
2020-11-13 14:11:08 +01:00
dependabot[bot]
de0bef5db5
build(deps): Bump github.com/spf13/cobra from 1.1.0 to 1.1.1 ( #5526 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.0 to 1.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/spf13/cobra/releases ">github.com/spf13/cobra's releases</a>.</em></p>
<blockquote>
<h2>v1.1.1</h2>
<ul>
<li><strong>Fix:</strong> yaml.v2 2.3.0 contained a unintended breaking change. This release reverts to yaml.v2 v2.2.8 which has recent critical CVE fixes, but does not have the breaking changes. See <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1259 ">spf13/cobra#1259</a> for context.</li>
<li><strong>Fix:</strong> correct internal formatting for go-md2man v2 (which caused man page generation to be broken). See <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1049 ">spf13/cobra#1049</a> for context.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/spf13/cobra/commit/86f8bfd7fef868a174e1b606783bd7f5c82ddf8f "><code>86f8bfd</code></a> fix manpage building with new go-md2man (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1255 ">#1255</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/f32f4ef15ba84d01a8672ca8402be5d7695054f8 "><code>f32f4ef</code></a> Don't use yaml.v2 2.3.0 which has a breaking change (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1259 ">#1259</a>)</li>
<li>See full diff in <a href="https://github.com/spf13/cobra/compare/v1.1.0...v1.1.1 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2020-11-13 14:11:08 +01:00
dependabot[bot]
0a4432baf5
build(deps): Bump github.com/prometheus/client_golang from 1.7.1 to 1.8.0 ( #5515 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.7.1 to 1.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prometheus/client_golang/releases ">github.com/prometheus/client_golang's releases</a>.</em></p>
<blockquote>
<h2>1.8.0 / 2020-10-15</h2>
<ul>
<li>[CHANGE] API client: Use <code>time.Time</code> rather than <code>string</code> for timestamps in <code>RuntimeinfoResult</code>. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/777 ">#777</a></li>
<li>[FEATURE] Export <code>MetricVec</code> to facilitate implementation of vectors of custom <code>Metric</code> types. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/803 ">#803</a></li>
<li>[FEATURE API client: Support <code>/status/tsdb</code> endpoint. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/773 ">#773</a></li>
<li>[ENHANCEMENT] API client: Enable GET fallback on status code 501. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/802 ">#802</a></li>
<li>[ENHANCEMENT] Remove <code>Metric</code> references after reslicing to free up more memory. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/784 ">#784</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md ">github.com/prometheus/client_golang's changelog</a>.</em></p>
<blockquote>
<h2>1.8.0 / 2020-10-15</h2>
<ul>
<li>[CHANGE] API client: Use <code>time.Time</code> rather than <code>string</code> for timestamps in <code>RuntimeinfoResult</code>. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/777 ">#777</a></li>
<li>[FEATURE] Export <code>MetricVec</code> to facilitate implementation of vectors of custom <code>Metric</code> types. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/803 ">#803</a></li>
<li>[FEATURE API client: Support <code>/status/tsdb</code> endpoint. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/773 ">#773</a></li>
<li>[ENHANCEMENT] API client: Enable GET fallback on status code 501. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/802 ">#802</a></li>
<li>[ENHANCEMENT] Remove <code>Metric</code> references after reslicing to free up more memory. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/784 ">#784</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/prometheus/client_golang/commit/47cfdc9bb8ceaf18b12a4b7ba778b06e12d1a97a "><code>47cfdc9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/806 ">#806</a> from prometheus/beorn7/release</li>
<li><a href="https://github.com/prometheus/client_golang/commit/67f573aafe0f2bf815446c4a98d5ba96e7b61325 "><code>67f573a</code></a> Cut v1.8.0</li>
<li><a href="https://github.com/prometheus/client_golang/commit/ded247442080dbf80b322f90d38e0309f18761fd "><code>ded2474</code></a> Update dependencies</li>
<li><a href="https://github.com/prometheus/client_golang/commit/3d1759b4c60802e6525503486a0fb1209cd46ab9 "><code>3d1759b</code></a> Run check for unused/missing Go packages only against latest Go version</li>
<li><a href="https://github.com/prometheus/client_golang/commit/e6ea98bdda971dabab09e8d93a8d65885460fd1e "><code>e6ea98b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/803 ">#803</a> from prometheus/beorn7/vec</li>
<li><a href="https://github.com/prometheus/client_golang/commit/85aa957f631d2e252dade63ca7138946197a772c "><code>85aa957</code></a> Export MetricVec (again)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/6007b2b5cae01203111de55f753e76d8dac1f529 "><code>6007b2b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/802 ">#802</a> from prometheus/beorn7/fallback</li>
<li><a href="https://github.com/prometheus/client_golang/commit/64b4a9cf9dd5fff0b66a14ed685a2c686d4a4766 "><code>64b4a9c</code></a> API client: Enable fallback on status code 501, too</li>
<li><a href="https://github.com/prometheus/client_golang/commit/65c5578b2d355256aa9f6e7cb965149650d6f112 "><code>65c5578</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/800 ">#800</a> from prometheus/beorn7/doc</li>
<li><a href="https://github.com/prometheus/client_golang/commit/b54b73c7b192c9010f3a9100199d17e39ceb7071 "><code>b54b73c</code></a> Remove spurious commas from links to the docs site</li>
<li>Additional commits viewable in <a href="https://github.com/prometheus/client_golang/compare/v1.7.1...v1.8.0 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2020-11-13 14:11:08 +01:00
dependabot[bot]
0bdc76a78c
build(deps): Bump github.com/spf13/cobra from 1.0.0 to 1.1.0 ( #5505 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.0.0 to 1.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/spf13/cobra/releases ">github.com/spf13/cobra's releases</a>.</em></p>
<blockquote>
<h2>v1.1.0</h2>
<h2>Notable Changes</h2>
<ul>
<li>Extend Go completions and revamp zsh comp (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1070 ">#1070</a>)</li>
<li>Add completion for help command (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1136 ">#1136</a>)</li>
<li>Complete subcommands when TraverseChildren is set (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1171 ">#1171</a>)</li>
<li>Fix stderr printing functions (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/894 ">#894</a>)</li>
<li>fix: fish output redirection (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1247 ">#1247</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/spf13/cobra/blob/master/CHANGELOG.md ">github.com/spf13/cobra's changelog</a>.</em></p>
<blockquote>
<h1>Cobra Changelog</h1>
<h2>Pending</h2>
<ul>
<li>Fix man page doc generation - no auto generated tag when <code>cmd.DisableAutoGenTag = true</code> <a href="https://github.com/jpmcb ">@jpmcb</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/spf13/cobra/commit/142dfb15a8b9122dd6543adc769cbf59b976d793 "><code>142dfb1</code></a> Add example for making persistent flags required (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1135 ">#1135</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/723d0c36fc2f1c8d4cc49180d3875534a7229820 "><code>723d0c3</code></a> Add tendermint and cosmos-sdk to the list of projects using cobra (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/855 ">#855</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/b97b5ead31f7d34f764ac8666e40c214bb8e06dc "><code>b97b5ea</code></a> fix: fish output redirection (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1247 ">#1247</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/f64bfa1e08c3199f3e740b5f96a9dd07b727c368 "><code>f64bfa1</code></a> Fix zsh completion not working on the first time in a shell session (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1237 ">#1237</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/40d34bca1bffe2f5e84b18d7fd94d5b3c02275a6 "><code>40d34bc</code></a> Fix stderr printing functions (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/894 ">#894</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/0bc8bfbe596beeea88b39beb0fca86b3d7d10de6 "><code>0bc8bfb</code></a> Remove secondary go mod to prevent broken <code>go get</code> (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1233 ">#1233</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/7f8e83d9366ab8e96959f9c3fbdf3507d4b39c3b "><code>7f8e83d</code></a> Modifying "snake-case" to "kebab-case" for clarity. (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1196 ">#1196</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/8a39cb261478a2bedc5759889215a788eadc1d7d "><code>8a39cb2</code></a> Bug fix in README (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1199 ">#1199</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/2a8d0f327d7abf52c256b17aa998290e1e5bd011 "><code>2a8d0f3</code></a> Adding Kool to list of projects using cobra (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1224 ">#1224</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/6c06523c96f18046b968374723fcb4950dfd127e "><code>6c06523</code></a> add arduino-cli to projects using cobra (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1117 ">#1117</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/spf13/cobra/compare/v1.0.0...v1.1.0 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2020-11-13 14:11:08 +01:00
dependabot[bot]
a2addecb3d
build(deps): Bump github.com/golang/protobuf from 1.4.2 to 1.4.3 ( #5506 )
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.4.2 to 1.4.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golang/protobuf/releases ">github.com/golang/protobuf's releases</a>.</em></p>
<blockquote>
<h2>v1.4.3</h2>
<p>Notable changes:</p>
<p>(<a href="https://github-redirect.dependabot.com/golang/protobuf/issues/1221 ">#1221</a>) jsonpb: Fix marshaling of Duration
(<a href="https://github-redirect.dependabot.com/golang/protobuf/issues/1210 ">#1210</a>) proto: convert integer to rune before converting to string</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/protobuf/commit/4846b58453b3708320bdb524f25cc5a1d9cda4d4 "><code>4846b58</code></a> jsonpb: Fix marshaling of Duration (<a href="https://github-redirect.dependabot.com/golang/protobuf/issues/1221 ">#1221</a>)</li>
<li><a href="https://github.com/golang/protobuf/commit/91c84e0db17890c2bb64280a6d660e73e4237fd1 "><code>91c84e0</code></a> travis.yml: update tested versions of Go (<a href="https://github-redirect.dependabot.com/golang/protobuf/issues/1211 ">#1211</a>)</li>
<li><a href="https://github.com/golang/protobuf/commit/3860b2764ff25e103fbe1db40f22248fe7a6dc20 "><code>3860b27</code></a> proto: convert integer to rune before converting to string (<a href="https://github-redirect.dependabot.com/golang/protobuf/issues/1210 ">#1210</a>)</li>
<li>See full diff in <a href="https://github.com/golang/protobuf/compare/v1.4.2...v1.4.3 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2020-11-13 14:11:08 +01:00
Anton Kaliaev
54a0940e40
blockchain/v2: remove peers from the processor ( #5607 )
...
after they were pruned by the scheduler
Closes #5513
2020-11-05 16:55:11 +04:00
Anton Kaliaev
25fafb30b5
blockchain/v2: make the removal of an already removed peer a noop ( #5553 )
...
also, since multiple StopPeerForError calls may be executed in parallel,
only execute StopPeerForError once
Closes #5541
2020-11-05 14:48:31 +04:00