Greg Morrison
692f23d589
events: Add block_id to NewBlockEvent ( #6478 )
...
Adds `block_id` to the `newblock` websocket event
Closes #6028
2021-05-27 07:43:24 +00:00
dependabot[bot]
11b5885894
build(deps): Bump google.golang.org/grpc from 1.37.1 to 1.38.0 ( #6483 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.37.1 to 1.38.0.
<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.38.0</h2>
<h1>API Changes</h1>
<ul>
<li>reflection: accept interface instead of grpc.Server struct in Register() (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4340 ">#4340</a>)</li>
<li>resolver: add error return value from ClientConn.UpdateState (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4270 ">#4270</a>)</li>
</ul>
<h1>Behavior Changes</h1>
<ul>
<li>client: do not poll name resolver when errors or bad updates are reported (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4270 ">#4270</a>)</li>
<li>transport: InTapHandle may return RPC status errors; no longer RST_STREAMs (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4365 ">#4365</a>)</li>
</ul>
<h1>New Features</h1>
<ul>
<li>client: propagate connection error causes to RPC status (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4311 ">#4311</a>, <a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4316 ">#4316</a>)</li>
<li>xds: support inline RDS resource from LDS response (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4299 ">#4299</a>)</li>
<li>xds: server side support is now experimentally available</li>
<li>server: add ForceServerCodec() to set a custom encoding.Codec on the server (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4205 ">#4205</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/ash2k "><code>@ash2k</code></a></li>
</ul>
</li>
</ul>
<h1>Performance Improvements</h1>
<ul>
<li>metadata: reduce memory footprint in FromOutgoingContext (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4360 ">#4360</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/irfansharif "><code>@irfansharif</code></a></li>
</ul>
</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>xds/balancergroup: fix rare memory leak after closing ClientConn (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4308 ">#4308</a>)</li>
</ul>
<h1>Documentation</h1>
<ul>
<li>examples: update xds examples for PSM security (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4256 ">#4256</a>)</li>
<li>grpc: improve docs on StreamDesc (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4397 ">#4397</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0257c86573 "><code>0257c86</code></a> Change version to 1.38.0 (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4418 ">#4418</a>)</li>
<li><a href="ce3e5ec0d8 "><code>ce3e5ec</code></a> v1.38.x: backport (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4453 ">#4453</a>)</li>
<li><a href="5f95ad6233 "><code>5f95ad6</code></a> xds: workaround to deflake xds e2e tests (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4413 ">#4413</a>)</li>
<li><a href="b1940e15f6 "><code>b1940e1</code></a> xds: register resources at the mgmt server before requesting them (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4406 ">#4406</a>)</li>
<li><a href="98c895f7e0 "><code>98c895f</code></a> cleanup: use testutils.MarshalAny in more places (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4404 ">#4404</a>)</li>
<li><a href="12a377b1e4 "><code>12a377b</code></a> xds: nack route configuration with regexes that don't compile (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4388 ">#4388</a>)</li>
<li><a href="c15291b0f5 "><code>c15291b</code></a> client: initialize safe config selector when creating ClientConn (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4398 ">#4398</a>)</li>
<li><a href="328b1d171a "><code>328b1d1</code></a> transport: allow InTapHandle to return status errors (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4365 ">#4365</a>)</li>
<li><a href="aff517ba8a "><code>aff517b</code></a> xds: make e2e tests use a single management server instance (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4399 ">#4399</a>)</li>
<li><a href="0439465fe2 "><code>0439465</code></a> xds_resolver: fix flaky Test/XDSResolverDelayedOnCommitted (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4393 ">#4393</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.37.1...v1.38.0 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
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>
2021-05-26 19:28:06 +00:00
Sam Kleinman
e9928f6186
p2p: limit rate of dialing new peers ( #6485 )
2021-05-26 14:39:04 -04:00
Orkun Külçe
68f4a210d3
config: Add private peer id /net_info expose information in default config ( #6490 )
...
Should give a warning in config until this is below issue is resolved
Related to https://github.com/tendermint/tendermint/issues/3055
2021-05-26 14:59:59 +00:00
VIMAL SURESH
6b353df567
Readme Introduction Reframed for better clarity ( #6493 )
...
Read me Introduction reframed for improving clarity
2021-05-26 14:17:51 +00:00
dependabot[bot]
07a1b4d618
build(deps): Bump browserslist from 4.16.4 to 4.16.6 in /docs ( #6487 )
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.4 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 15:54:45 -04:00
Marko
719e028e00
libs: internalize some packages ( #6366 )
...
## Description
Internalize some libs. This reduces the amount ot public API tendermint is supporting. The moved libraries are mainly ones that are used within Tendermint-core.
2021-05-25 16:25:31 +00:00
Callum Waters
72ee5aab26
evidence: separate abci specific validation ( #6473 )
2021-05-25 16:53:14 +02:00
Callum Waters
09e0df8479
light: spec alignment on verify skipping ( #6474 )
2021-05-25 14:48:15 +02:00
Cuong Manh Le
2d0b3a300f
libs/clist: fix flaky tests ( #6453 )
...
To make sure finalizers run, we use channel for synchronization, and a
separate goroutine for trigger runtime.GC every 1 second. In practice,
just two consecutive runtime.GC calls can make all finalizers will run,
but using a separate goroutine make the code more robust and not depend
on garbage collector internal implementation.
Fixes #6452
2021-05-25 09:36:11 +00:00
Yixin Luo
f3216e6953
rename HasVote to ReceivedVote ( #289 )
2021-05-25 07:42:30 +00:00
dependabot[bot]
90434cb74d
build(deps): bump actions/stale from 3.0.18 to 3.0.19 ( #302 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3.0.18 to 3.0.19.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.18...v3.0.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 07:37:38 +00:00
Sam Kleinman
e2a26c732c
e2e: prevent non-viable testnets ( #6486 )
2021-05-24 14:10:56 -04:00
Sam Kleinman
d9134063e7
rpc: add chunked rpc interface ( #6445 )
2021-05-24 09:48:27 -04:00
Marko
7b5a732644
consensus: add test vector for hasvote ( #6469 )
...
## Description
adds a test vector for hasvote in order to extra sure https://github.com/tendermint/tendermint/pull/6287 isnt breaking
2021-05-20 14:33:46 +00:00
dependabot[bot]
527dbaaa66
build(deps-dev): Bump watchpack from 2.1.1 to 2.2.0 in /docs ( #6482 )
...
Bumps [watchpack](https://github.com/webpack/watchpack ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/webpack/watchpack/releases )
- [Commits](https://github.com/webpack/watchpack/compare/v2.1.1...v2.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 14:09:43 +00:00
dependabot[bot]
aba090a69a
build(deps): bump actions/stale from 3 to 3.0.18 ( #300 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3 to 3.0.18.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3...v3.0.18 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 10:50:56 +00:00
dependabot[bot]
a9e231b54d
build(deps): Bump actions/stale from 3.0.18 to 3.0.19 ( #6477 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3.0.18 to 3.0.19.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.18...v3.0.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-18 08:55:26 -04:00
Sam Kleinman
0781ca3f50
p2p/pex: cleanup to pex internals and peerManager interface ( #6476 )
2021-05-17 17:05:44 -04:00
Sam Kleinman
ee230cd0f6
p2p: revert change to routePeer ( #6475 )
2021-05-17 12:52:57 -04:00
Sam Kleinman
fa891c5a4b
node: cleanup pex initialization ( #6467 )
2021-05-14 10:05:59 -04:00
Aleksandr Bezobchuk
15a67b37d8
adr 067: updates ( #6465 )
...
* adr: updates
* fix link
2021-05-13 12:49:46 +00:00
Aleksandr Bezobchuk
f969614dc8
adr 067: mempool refactor ( #6368 )
2021-05-13 08:21:01 -04:00
Sam Kleinman
048f6a32f9
lint: fix lint errors ( #301 )
2021-05-12 18:33:24 -04:00
dependabot[bot]
9cee35bb8c
build(deps): Bump google.golang.org/grpc from 1.37.0 to 1.37.1 ( #6461 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.37.0 to 1.37.1.
<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.37.1</h2>
<ul>
<li>client: fix rare panic when shutting down client while receiving the first name resolver update (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4398 ">#4398</a>)</li>
<li>client: fix leaked addrConn struct when addresses are updated (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4347 ">#4347</a>)</li>
<li>xds/resolver: prevent panic when two LDS updates are receives without RDS in between (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4327 ">#4327</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="64031cbfcf "><code>64031cb</code></a> Change version to 1.37.1 (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4415 ">#4415</a>)</li>
<li><a href="ef64e13978 "><code>ef64e13</code></a> v1.37.x: backport PRs (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4411 ">#4411</a>)</li>
<li><a href="43d7a9fbd8 "><code>43d7a9f</code></a> test: enable xDS CSDS test (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4359 ">#4359</a>)</li>
<li><a href="274d8cf1f6 "><code>274d8cf</code></a> Change version to 1.37.1-dev (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4305 ">#4305</a>)</li>
<li>See full diff in <a href="https://github.com/grpc/grpc-go/compare/v1.37.0...v1.37.1 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
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>
2021-05-12 19:14:31 +00:00
Callum Waters
230abbe676
fix pex test to handle too many addresses ( #6451 )
2021-05-12 15:35:28 +02:00
dependabot[bot]
7648544f27
build(deps): Bump docker/login-action from 1 to 1.9.0 ( #6460 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 1.9.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v1.9.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 15:22:50 +02:00
dependabot[bot]
6cd07682ae
build(deps): Bump actions/checkout from 2 to 2.3.4 ( #6456 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 15:13:36 +02:00
dependabot[bot]
dfa28b77c5
build(deps): Bump actions/stale from 3 to 3.0.18 ( #6455 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3 to 3.0.18.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3...v3.0.18 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-05-12 15:02:54 +02:00
dependabot[bot]
c29aaf78d4
build(deps): Bump docker/build-push-action from 2 to 2.4.0 ( #6454 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 2.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v2.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 14:59:09 +02:00
MengXiangJian
4a9bcebe2a
fix message type for block-sync ( #298 )
2021-05-12 11:28:40 +02:00
Callum Waters
c320eb1407
split out initializers into setup.go ( #6446 )
2021-05-12 11:11:24 +02:00
Cuong Manh Le
a9fc0c32b2
crypto/merkle: pre-allocate data slice in innherHash ( #6443 )
...
So we can reduce pressure on runtime for checking that slice has enough
capacity before appending.
2021-05-12 11:02:15 +02:00
Sam Kleinman
fdd506a126
rpc: clean up client global state in tests ( #6438 )
2021-05-11 10:22:38 -04:00
Callum Waters
811dbe439f
light: ensure trust level is strictly less than 1 ( #6447 )
2021-05-11 15:13:52 +02:00
dependabot[bot]
d1c9463bef
build(deps): Bump JamesIves/github-pages-deploy-action ( #6448 )
...
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases )
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.1...fc8c70cff50fde90064206d16371f7b0fb936d7d )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 15:01:15 +02:00
Callum Waters
9e2af66a0a
types: fix verify commit light / trusting bug ( #6414 )
2021-05-11 11:06:37 +02:00
Alexandre Ardhuin
6abfa1d52f
Update DOCKER/README.md to make init succeed ( #6444 )
2021-05-11 08:25:54 +02:00
Callum Waters
64e7b5efea
p2p: add channel descriptors to open channel ( #6440 )
2021-05-10 22:22:07 +02:00
JayT106
e334555393
node/state: graceful shutdown in the consensus state ( #6370 )
2021-05-10 21:45:26 +02:00
Callum Waters
4dded9c852
pex: fix send requests too often test ( #6437 )
2021-05-10 09:48:24 +02:00
Jordan Sexton
4b79bccc0b
Fixed a broken link ( #291 )
2021-05-07 14:29:12 -04:00
Callum Waters
a91680efee
test: create common functions for easily producing tm data structures ( #6435 )
2021-05-07 17:00:02 +02:00
Emmanuel T Odeke
6fdf665385
libs/os: avoid CopyFile truncating destination before checking if regular file ( #6428 )
...
This change fixes a potential exploitable vulnerability
that can cause the WAL to be consistently truncated by falsely
supplying the WAL path which would be any arbitrary dirrectory.
Fixes #6427
2021-05-07 14:46:16 +02:00
Sam Kleinman
0b0914b3df
rpc: remove global environment ( #6426 )
2021-05-06 17:06:16 -04:00
Callum Waters
0740d8626c
remove visibility of security page from tendermint docs ( #6420 )
2021-05-06 20:13:57 +02:00
Dmitry Shulyak
dcc2556e08
fix: benchmark single operation in parallel benchmark not b.N ( #6422 )
...
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-05-05 14:29:11 -04:00
Callum Waters
ec5e3b0b02
p2p: wire pex v2 reactor to router ( #6407 )
2021-05-05 18:46:51 +02:00
dependabot[bot]
ea601ccf15
build(deps): Bump github.com/cosmos/iavl from 0.15.3 to 0.16.0 ( #6421 )
...
Bumps [github.com/cosmos/iavl](https://github.com/cosmos/iavl ) from 0.15.3 to 0.16.0.
- [Release notes](https://github.com/cosmos/iavl/releases )
- [Changelog](https://github.com/cosmos/iavl/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cosmos/iavl/compare/v0.15.3...v0.16.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 14:09:20 +02:00
Sam Kleinman
09b2aa1bfa
mempool: add duplicate transaction and parallel checktx benchmarks ( #6419 )
2021-05-04 17:20:24 -04:00