Jeff Washington (jwash)
2087f5da94
refactor generate_index_for_slot ( #17984 )
2021-06-21 15:32:50 -05:00
Jeff Washington (jwash)
bf97627021
eliminate flatten and sort in hash calculation ( #17802 )
...
* eliminate flatten and sort in hash calculation
* reduce critical section time
* remove now no-longer necessary test code
* conflict with reset bins to 0 pr
2021-06-21 15:32:03 -05:00
behzad nouri
58e115275a
obtains shred-version from entrypoint's ip-echo-server in validator-main
2021-06-21 19:37:16 +00:00
behzad nouri
598093b5db
adds shred-version to ip-echo-server response
...
When starting a validator, the node initially joins gossip with
shred_verison = 0, until it adopts the entrypoint's shred-version:
https://github.com/solana-labs/solana/blob/9b182f408/validator/src/main.rs#L417
Depending on the load on the entrypoint, this adopting entrypoint
shred-version through gossip sometimes becomes very slow, and causes
several problems in gossip because we have to partially support
shred_version == 0 which is a source of leaking crds values from one
cluster to another. e.g. see
https://github.com/solana-labs/solana/pull/17899
and the other linked issues there.
In order to remove shred_version == 0 from gossip, this commit adds
shred-version to ip-echo-server response. Once the entrypoints are
updated, on validator start-up, if --expected_shred_version is not
specified we will obtain shred-version from the entrypoint using
ip-echo-server.
2021-06-21 19:37:16 +00:00
dependabot[bot]
46c805fb90
chore: bump semantic-release from 17.4.3 to 17.4.4 in /web3.js ( #18097 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.4.3 to 17.4.4.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.4.3...v17.4.4 )
---
updated-dependencies:
- dependency-name: semantic-release
dependency-type: direct:development
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>
2021-06-21 19:32:20 +00:00
dependabot[bot]
4fb1bfb1fa
chore:(deps): bump @react-hook/debounce from 3.0.0 to 4.0.0 in /explorer ( #18094 )
...
Bumps [@react-hook/debounce](https://github.com/jaredLunde/react-hook ) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/jaredLunde/react-hook/releases )
- [Commits](https://github.com/jaredLunde/react-hook/commits )
---
updated-dependencies:
- dependency-name: "@react-hook/debounce"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 19:02:34 +00:00
dependabot[bot]
97e51dfb35
chore:(deps): bump @types/chai from 4.2.18 to 4.2.19 in /explorer ( #18090 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.18 to 4.2.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
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>
2021-06-21 17:44:09 +00:00
Tyera Eulberg
faecc41603
Add logging when RpcHealthStatus::Unknown ( #18098 )
2021-06-21 11:37:34 -06:00
dependabot[bot]
1b4528b9ca
chore: bump hidapi from 1.2.5 to 1.2.6 ( #18088 )
...
* chore: bump hidapi from 1.2.5 to 1.2.6
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/compare/v1.2.5...v1.2.6 )
---
updated-dependencies:
- dependency-name: hidapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-06-21 11:28:47 -06:00
Tyera Eulberg
4d46cb686a
Fix build: clippy lint
2021-06-21 10:18:21 -07:00
dependabot[bot]
6972fdc7e1
chore: bump @types/node from 15.12.2 to 15.12.4 in /web3.js ( #18093 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.12.2 to 15.12.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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>
2021-06-21 16:57:43 +00:00
dependabot[bot]
d458fac2ff
chore: bump bincode from 1.3.1 to 1.3.3 ( #18087 )
...
* chore: bump bincode from 1.3.1 to 1.3.3
Bumps [bincode](https://github.com/servo/bincode ) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.3.1...v1.3.3 )
---
updated-dependencies:
- dependency-name: bincode
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2021-06-21 16:06:31 +00:00
Jeff Washington (jwash)
ae82e4e25b
refactor reconstruct_accountsdb_from_fields ( #17987 )
2021-06-21 10:47:58 -05:00
dependabot[bot]
e7a7d0d55f
chore: bump byte-unit from 4.0.9 to 4.0.12 ( #18089 )
...
Bumps [byte-unit](https://github.com/magiclen/byte-unit ) from 4.0.9 to 4.0.12.
- [Release notes](https://github.com/magiclen/byte-unit/releases )
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.9...v4.0.12 )
---
updated-dependencies:
- dependency-name: byte-unit
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>
2021-06-21 15:21:10 +00:00
Jeff Washington (jwash)
ec2f930475
user process.accounts_db_test_hash_calculation for debug_verify hash ( #18053 )
2021-06-21 10:20:27 -05:00
dependabot[bot]
0eb5b0ce42
chore: bump eslint from 7.28.0 to 7.29.0 in /web3.js ( #18092 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
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>
2021-06-21 15:00:32 +00:00
dependabot[bot]
1c1f15fd27
chore:(deps): bump @testing-library/jest-dom in /explorer ( #17926 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.13.0 to 5.14.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.13.0...v5.14.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
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>
2021-06-21 09:25:50 -05:00
dependabot[bot]
60277fe598
chore: bump tslib from 2.2.0 to 2.3.0 in /web3.js ( #17911 )
...
Bumps [tslib](https://github.com/Microsoft/tslib ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/Microsoft/tslib/releases )
- [Commits](https://github.com/Microsoft/tslib/compare/2.2.0...2.3.0 )
---
updated-dependencies:
- dependency-name: tslib
dependency-type: direct:development
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>
2021-06-21 09:22:47 -05:00
dependabot[bot]
bbbde81a75
chore:(deps): bump @solana/spl-token-registry in /explorer ( #18086 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.142 to 0.2.146.
- [Release notes](https://github.com/solana-labs/token-list/releases )
- [Changelog](https://github.com/solana-labs/token-list/blob/main/CHANGELOG.md )
- [Commits](https://github.com/solana-labs/token-list/compare/v0.2.142...v0.2.146 )
---
updated-dependencies:
- dependency-name: "@solana/spl-token-registry"
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>
2021-06-21 08:12:15 +00:00
Michael Vines
889d35f350
Update to Rust 1.53.0
2021-06-18 20:20:13 -07:00
Dmitri Makarov
d6bad60c1b
Bump bpf-tools version to 1.11 ( #18079 )
...
Avoid including local paths in compiler generated ELF files
2021-06-19 01:00:59 +00:00
Michael Vines
1b7f6d2bc0
More nightly clippy fixes
2021-06-18 17:07:50 -07:00
Michael Vines
4a12c715a3
Drop Error suffix from enum values to avoid the enum_variant_names clippy lint
2021-06-18 23:02:13 +00:00
dependabot[bot]
2b39eb6412
chore: bump winreg from 0.7.0 to 0.9.0 ( #18061 )
...
Bumps [winreg](https://github.com/gentoo90/winreg-rs ) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/gentoo90/winreg-rs/releases )
- [Commits](https://github.com/gentoo90/winreg-rs/compare/v0.7.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: winreg
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>
2021-06-18 15:29:59 -06:00
Tyera Eulberg
83a6c669a5
Add additional subscription metrics ( #18071 )
2021-06-18 19:52:22 +00:00
Jack May
d18e02ef44
fix loader instruction checker ( #18047 )
2021-06-18 11:37:39 -07:00
dependabot[bot]
491e4450cc
chore: bump libc from 0.2.96 to 0.2.97 ( #18060 )
...
* chore: bump libc from 0.2.96 to 0.2.97
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.96 to 0.2.97.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.96...0.2.97 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2021-06-18 11:51:06 -06:00
Alexander Meißner
c1e03f3410
Updates BPF program assert_instruction_count tests.
2021-06-18 10:42:46 -07:00
Alexander Meißner
789f33e8db
chore: cargo fmt
2021-06-18 10:42:46 -07:00
Alexander Meißner
6514096a67
chore: cargo +nightly clippy --fix -Z unstable-options
2021-06-18 10:42:46 -07:00
Dmitri Makarov
3570b00560
Make cargo-build-bpf pass additional options to cargo build command
...
Users need to be able to pass additional command line options such as
-p that are not supported by 'cargo build-bpf' but are meaningful for
the 'cargo build' command. This change allows cargo-build-bpf to pass
all command line options specified after '--' option to 'cargo build'.
2021-06-18 10:20:35 -07:00
behzad nouri
5a99fa3790
adds mapping from nodes pubkeys to their shred-version ( #17940 )
...
Crds values of nodes with different shred versions are creeping into
gossip table resulting in runtime issues as the one addressed in:
https://github.com/solana-labs/solana/pull/17899
This commit works towards enforcing more checks and filtering based on
shred version by adding necessary mapping and api to gossip table.
Once populated, pubkey->shred-version mapping persists as long as there
are any values associated with the pubkey.
2021-06-18 15:56:04 +00:00
dependabot[bot]
abc9839d86
chore: bump flate2 from 1.0.14 to 1.0.20 ( #18062 )
...
* chore: bump flate2 from 1.0.14 to 1.0.20
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.14 to 1.0.20.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.14...1.0.20 )
---
updated-dependencies:
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2021-06-18 15:55:48 +00:00
dependabot[bot]
d0e134998a
chore:(deps): bump @types/react-dom from 17.0.7 to 17.0.8 in /explorer ( #18064 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 17.0.7 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
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>
2021-06-18 10:13:24 +00:00
dependabot[bot]
877b94fbd5
chore:(deps): bump @solana/spl-token-registry in /explorer ( #18063 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.135 to 0.2.142.
- [Release notes](https://github.com/solana-labs/token-list/releases )
- [Changelog](https://github.com/solana-labs/token-list/blob/main/CHANGELOG.md )
- [Commits](https://github.com/solana-labs/token-list/compare/v0.2.135...v0.2.142 )
---
updated-dependencies:
- dependency-name: "@solana/spl-token-registry"
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>
2021-06-18 08:42:48 +00:00
dependabot[bot]
a2507ae196
chore:(deps): bump typescript from 4.3.3 to 4.3.4 in /explorer ( #18058 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.3...v4.3.4 )
---
updated-dependencies:
- dependency-name: typescript
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>
2021-06-18 08:07:19 +00:00
Michael Vines
810fce1f3d
Fix build issues downstream due to stake state shuffle
2021-06-17 23:59:05 -07:00
Tyera Eulberg
d0511de9a6
chore: bump trees from 0.2.1 to 0.4.2 ( #18052 )
...
* chore: bump trees from 0.2.1 to 0.4.2 (#18041 )
Bumps [trees](https://github.com/oooutlk/trees ) from 0.2.1 to 0.4.2.
- [Release notes](https://github.com/oooutlk/trees/releases )
- [Commits](https://github.com/oooutlk/trees/commits )
---
updated-dependencies:
- dependency-name: trees
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>
* Accommodate field & type changes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-17 22:45:09 +00:00
Ashwin Sekar
423e0d90ee
Fix flaky optimistic violation detection cluster test ( #18027 )
...
* Fix flaky optimistic violation detection cluster test
* Add small sleep to avoid tight loop
2021-06-17 13:22:46 -07:00
Jeff Washington (jwash)
0a81c37fce
introduce LockMapType for accounts_index ( #18021 )
2021-06-17 14:41:52 -05:00
Jeff Washington (jwash)
bab96e878e
Revert "chore: bump trees from 0.2.1 to 0.4.2 ( #18041 )" ( #18045 )
...
This reverts commit f2a7152c0c
.
2021-06-17 14:04:59 -05:00
Jeff Washington (jwash)
1feaaf009d
generate_index timings ( #17983 )
2021-06-17 13:35:25 -05:00
Jeff Washington (jwash)
20e714b3d0
remove unused code ( #17981 )
2021-06-17 13:30:46 -05:00
Lijun Wang
071b1ee3e5
Removed pub from some functions which are actually private to improve encapsulation ( #18030 )
...
Remove the pub marker to improve encapsulation. Readability improvement only, no functional impact.
2021-06-17 10:14:21 -07:00
dependabot[bot]
76d49523e9
chore: bump dialoguer from 0.6.2 to 0.8.0 ( #18039 )
...
* chore: bump dialoguer from 0.6.2 to 0.8.0
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.6.2 to 0.8.0.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/0.6.2...0.8.0 )
---
updated-dependencies:
- dependency-name: dialoguer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <anatoly+githubjenkins@solana.io>
2021-06-17 14:28:13 +00:00
dependabot[bot]
cca0f744ab
chore: bump async-trait from 0.1.42 to 0.1.50 ( #18040 )
...
* chore: bump async-trait from 0.1.42 to 0.1.50
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.42 to 0.1.50.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.42...0.1.50 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2021-06-17 08:07:28 -06:00
dependabot[bot]
f2a7152c0c
chore: bump trees from 0.2.1 to 0.4.2 ( #18041 )
...
Bumps [trees](https://github.com/oooutlk/trees ) from 0.2.1 to 0.4.2.
- [Release notes](https://github.com/oooutlk/trees/releases )
- [Commits](https://github.com/oooutlk/trees/commits )
---
updated-dependencies:
- dependency-name: trees
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>
2021-06-17 08:07:16 -06:00
dependabot[bot]
9b182f4087
chore:(deps): bump typescript from 4.3.2 to 4.3.3 in /explorer ( #18038 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.2...v4.3.3 )
---
updated-dependencies:
- dependency-name: typescript
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>
2021-06-17 08:08:37 +00:00
Trent Nelson
5efc48fc69
validator: expose max active pubsub subscriptions to CLI
2021-06-17 06:32:52 +00:00
Michael Vines
db37680f6f
Add extra authorized withdrawer test
2021-06-16 18:26:25 -07:00