Commit Graph

9460 Commits

Author SHA1 Message Date
tycho garen
0804e6fb9f comments mostly
(cherry picked from commit 053ecd9b8c)
2022-06-15 10:37:36 -04:00
tycho garen
d6ce48430a Merge remote-tracking branch 'origin/v0.35.x' into p2p-dialer-storage-change-35-backport 2022-06-15 10:12:57 -04:00
dependabot[bot]
bee6597b28 build(deps): Bump github.com/vektra/mockery/v2 from 2.13.0 to 2.13.1 (#8765)
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/vektra/mockery/releases)
- [Changelog](https://github.com/vektra/mockery/blob/master/.goreleaser.yml)
- [Commits](https://github.com/vektra/mockery/compare/v2.13.0...v2.13.1)

---
updated-dependencies:
- dependency-name: github.com/vektra/mockery/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sam Kleinman <garen@tychoish.com>
2022-06-15 10:12:21 -04:00
tycho garen
664e1a097e connection tracking 2022-06-15 10:07:04 -04:00
tycho garen
13f6493813 add max dialing attempts 2022-06-15 09:32:57 -04:00
tycho garen
b0e0e3acbb Merge remote-tracking branch 'origin/v0.35.x' into p2p-dialer-storage-change-35-backport 2022-06-15 07:56:58 -04:00
mergify[bot]
ce8284c027 p2p: accept should not abort on first error (backport #8759) (#8760) 2022-06-15 07:56:15 -04:00
Sam Kleinman
cc1d0644af Merge branch 'v0.35.x' into p2p-dialer-storage-change-35-backport 2022-06-14 20:27:25 -04:00
tycho garen
8adc97e631 fix up advertise
(cherry picked from commit 8195c97590)
2022-06-14 16:49:44 -04:00
tycho garen
ca1237667f actually shuffle peers more 2022-06-14 16:15:35 -04:00
tycho garen
8b5d2c0a61 rename metrics 2022-06-14 16:09:23 -04:00
dependabot[bot]
d02f58e191 build(deps): Bump github.com/vektra/mockery/v2 from 2.12.3 to 2.13.0 (#8747)
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery) from 2.12.3 to 2.13.0.
- [Release notes](https://github.com/vektra/mockery/releases)
- [Changelog](https://github.com/vektra/mockery/blob/master/.goreleaser.yml)
- [Commits](https://github.com/vektra/mockery/compare/v2.12.3...v2.13.0)

---
updated-dependencies:
- dependency-name: github.com/vektra/mockery/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 10:00:05 -07:00
tycho garen
acc4476985 update metrics
(cherry picked from commit 720600ef62)
2022-06-14 09:24:14 -04:00
tycho garen
4e373231fe noop metrics 2022-06-14 09:19:55 -04:00
tycho garen
56cf8f1df3 default metrics to noop 2022-06-14 09:02:02 -04:00
tycho garen
71fa7d7b6c fix test 2022-06-14 08:49:04 -04:00
tycho garen
3d6becbcc4 fix compile 2022-06-14 08:30:16 -04:00
tycho garen
9532fa4eb7 add metrics 2022-06-14 07:03:07 -04:00
tycho garen
0a0425ae6f fix panic 2022-06-13 12:25:21 -04:00
tycho garen
1dabae273b cleanup peer manager 2022-06-13 10:48:55 -04:00
tycho garen
ef0d832f70 fix scoring test
(cherry picked from commit 9abc55f3a0)
2022-06-13 08:56:52 -04:00
tycho garen
470920ad9f test: new scoring
(cherry picked from commit 930fd7f2be)
2022-06-10 16:58:13 -04:00
tycho garen
a1ef61b63e comment
(cherry picked from commit 9f604fd2ef)
2022-06-10 16:00:25 -04:00
Sam Kleinman
dc148b81d8 Update internal/p2p/peermanager.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
(cherry picked from commit 1c02758eaf)
2022-06-10 16:00:25 -04:00
Sam Kleinman
fc9ba51b28 Update internal/p2p/peermanager.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
(cherry picked from commit f23f6e1089)
2022-06-10 16:00:25 -04:00
tycho garen
e38d5b7547 overflows
(cherry picked from commit 4c8651026a)
2022-06-10 16:00:25 -04:00
tycho garen
f772dccf3b oops 2022-06-10 16:00:19 -04:00
tycho garen
9f910e6a98 cleanup
(cherry picked from commit eddb23b5af)
2022-06-10 15:54:42 -04:00
tycho garen
60484e7a24 update comment
(cherry picked from commit 31bd396c88)
2022-06-10 15:54:42 -04:00
tycho garen
7ed1236dea make const
(cherry picked from commit e3068b50b2)
2022-06-10 15:54:42 -04:00
tycho garen
3674859836 reduce logging level
(cherry picked from commit 4e2bc8f51e)
2022-06-10 15:54:40 -04:00
tycho garen
029e1925cd remove seed flag
(cherry picked from commit 000aa05485)
2022-06-10 15:54:09 -04:00
tycho garen
8019a49037 fix error message
(cherry picked from commit 86db59f53b)
2022-06-10 15:54:05 -04:00
tycho garen
6833ca805d fix small case
(cherry picked from commit 56a91642dc)
2022-06-10 15:53:18 -04:00
tycho garen
dfcd59c367 don't gossip inactive peers
(cherry picked from commit cc28ce298f)
2022-06-10 15:53:18 -04:00
tycho garen
45ad693b23 reduce persistent peer max
(cherry picked from commit b213a2766f)
2022-06-10 15:53:18 -04:00
tycho garen
cee254e695 p2p: peer store and dialing changes
(cherry picked from commit 9dbb135152)
2022-06-10 15:53:12 -04:00
Callum Waters
28c38522e0 do not log an error for duplicate txs (#8732) 2022-06-10 11:56:00 +02:00
Sam Kleinman
0b63e293f1 e2e/generator: add additional testnets (0.35) (#8730) 2022-06-10 03:55:29 -04:00
mergify[bot]
af0590a819 consensus: switch timeout message to be debug and clarify meaning (#8694) (#8696)
(cherry picked from commit 75a12ea0c6)

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
2022-06-09 09:45:58 -04:00
mergify[bot]
46c27b45ab rpc: always close http bodies (backport #8712) (#8715)
(cherry picked from commit 931c98f7ad)

Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-06-08 11:57:55 -07:00
dependabot[bot]
3c29b6996b build(deps): Bump github.com/rs/zerolog from 1.26.1 to 1.27.0 (#8723)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.26.1...v1.27.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 07:14:17 -07:00
dependabot[bot]
138be1f7b0 build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#8710)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 04:59:40 -04:00
mergify[bot]
98411962c6 p2p: pass maxConns for MaxPeers during node setup (#8684) (#8692)
* pass maxConns for MaxPeers
* add upgrade connections to max connections for max peers
* change the formula to calculate max peers

(cherry picked from commit 30929cf190)

Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
2022-06-04 08:53:41 -07:00
M. J. Fromberger
3079eb8b30 Prepare Release v0.35.6 (#8685) v0.35.6 2022-06-03 10:42:06 +02:00
mergify[bot]
0e3a3fe58b p2p: shed peers from store from other networks (backport #8678) (#8681) 2022-06-02 12:15:55 -04:00
mergify[bot]
e17e6b1aaa migrate: provide function for database production (backport #8614) (#8672)
(cherry picked from commit d5299882b0)
2022-06-02 06:17:06 -04:00
dependabot[bot]
0421f8b25e build(deps): Bump google.golang.org/grpc from 1.46.2 to 1.47.0 (#8666)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.46.2 to 1.47.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.2...v1.47.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:59:15 -07:00
Callum Waters
4faa8b72aa cmd: don't used global config for reset commands (#8668) 2022-06-01 18:34:35 +02:00
Callum Waters
336dc2f2c5 chore: update version (#8634) 2022-06-01 15:48:35 +02:00