Brooks
965dd37924
Moves SnapshotGossipManager to its own file ( #31147 )
2023-04-11 15:51:52 -04:00
Nick Frostbutter
ac761dd9c0
[docs] added google analytics to docs ( #31141 )
...
* feat: added google analytics to docs
* docs: added comments
2023-04-11 14:35:40 -05:00
Brooks
e1cb8a672b
Renames SnapshotHashes in cluster info metrics ( #31145 )
2023-04-11 17:35:00 +00:00
Pankaj Garg
fb6e02c46c
Retain usage counter on program upgrade ( #31142 )
...
* Retain usage counter on program upgrade
* cleanup as per feedback
* fix clippy
2023-04-11 09:43:42 -07:00
Brooks
453f272698
Rename IncrementalSnapshotHashes to SnapshotHashes ( #31136 )
2023-04-11 10:30:29 -04:00
Jeff Washington (jwash)
0121be5a9f
disk index: add more tests ( #31135 )
2023-04-11 07:30:11 -07:00
steviez
0eec1ad57f
chore: Update Blockstore::get_slots_since() doc comments ( #31134 )
...
Additionally, change the function definition to use Slot instead of u64.
Slot is defined as an alias of u64 so these are functionally equivalent,
but using Slot over u64 is more expressive of the intent.
2023-04-11 02:39:31 -05:00
steviez
814de50f2a
chore: Variable rename `height` ==> `slot` in blockstore function ( #31132 )
...
Slots refer to time windows where a block could be produced whereas
height refers to how many blocks are actually in a fork. This function
is operating on a list of slots, so the use of "height" is incorrect and
misleading.
2023-04-11 02:38:20 -05:00
Pankaj Garg
12e3e8b467
Add provisions to unload a program from the cache ( #31036 )
2023-04-10 16:42:05 -07:00
DimAn
622141c5eb
doc: typo in geyser plugin doc ( #31125 )
...
doc: typo
2023-04-10 17:28:34 -06:00
dependabot[bot]
fe8a4015ca
Bump serde from 1.0.158 to 1.0.159 ( #31119 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.158 to 1.0.159.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](serde-rs/serde@v1.0.158...v1.0.159)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 15:19:16 -07:00
dependabot[bot]
04f46466eb
Bump predicates from 2.1.1 to 2.1.5 ( #31121 )
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 2.1.1 to 2.1.5.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases )
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](assert-rs/predicates-rs@v2.1.1...v2.1.5)
---
updated-dependencies:
- dependency-name: predicates
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 15:17:54 -07:00
Brooks
f3083ad2e0
Rename SnapshotHashes to LegacySnapshotHashes ( #31086 )
2023-04-10 17:52:20 -04:00
HaoranYi
e12c250cf5
Extract new_epoch processing out of new_bank ( #31127 )
...
* extract new epoch processing out of new_bank
* review feedbacks
* remove epoch_schedule param
* use RewardCalcTracer
2023-04-10 16:10:45 -05:00
Jeff Washington (jwash)
4f0adcde89
disk index: correctly keep track of count during batch add ( #31133 )
2023-04-10 14:01:25 -07:00
Brennan
861bca87f9
Reconfigure genesis hash download and check ( #30949 )
...
* Reconfigure genesis hash download and check
* Propagate get genesis errors
2023-04-10 11:46:56 -07:00
Jeff Washington (jwash)
d63359a3ff
disk index: batch insert ( #31094 )
2023-04-10 11:08:54 -07:00
behzad nouri
ce21a58b65
reworks streamer::StakedNodes ( #31082 )
...
{min,max}_stake are computed but never assigned:
https://github.com/solana-labs/solana/blob/4564bcdc1/core/src/staked_nodes_updater_service.rs#L54-L57
The updater code is also inefficient and verbose.
2023-04-10 17:07:40 +00:00
Charles Edward Gagnon
4a157446ac
Documentation typo in on-chain-programs/deploying.md ( #31126 )
...
Doc typo
2023-04-10 11:36:00 -05:00
Brooks
f9276d1748
Uses MAX_ACCOUNTS_HASHES instead of MAX_SNAPSHOT_HASHES in accounts_hash_verifier.rs ( #31114 )
2023-04-10 10:44:40 -04:00
joeaba
68d57b1b9f
update influx enterprise scripts ( #31117 )
...
* update influx enterprise scripts
2023-04-10 09:10:54 -05:00
Pankaj Garg
2613ad7d70
Fix unused import error in LoadedPrograms ( #31116 )
2023-04-08 00:31:23 -07:00
dependabot[bot]
2630f8506a
Bump generic-array from 0.14.6 to 0.14.7 ( #31100 )
...
Bumps [generic-array](https://github.com/fizyk20/generic-array ) from 0.14.6 to 0.14.7.
- [Release notes](https://github.com/fizyk20/generic-array/releases )
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fizyk20/generic-array/commits )
---
updated-dependencies:
- dependency-name: generic-array
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:25:03 -07:00
dependabot[bot]
f105dea502
Bump indicatif from 0.17.1 to 0.17.3 ( #31101 )
...
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.1 to 0.17.3.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](console-rs/indicatif@0.17.1...0.17.3)
---
updated-dependencies:
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:17:30 -07:00
dependabot[bot]
76c6ded304
Bump anyhow from 1.0.58 to 1.0.70 ( #31102 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.58 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](dtolnay/anyhow@1.0.58...1.0.70)
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:14:33 -07:00
dependabot[bot]
05372274b9
Bump rustversion from 1.0.11 to 1.0.12 ( #31104 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](dtolnay/rustversion@1.0.11...1.0.12)
---
updated-dependencies:
- dependency-name: rustversion
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:09:36 -07:00
dependabot[bot]
6e47286e49
Bump serde_yaml from 0.9.13 to 0.9.21 ( #31103 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.13 to 0.9.21.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](dtolnay/serde-yaml@0.9.13...0.9.21)
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 15:58:27 -07:00
HaoranYi
fcd1fe0959
Refactor fault hash injection into lambda ( #31093 )
...
* refactor out fault hash inject output AccountsHashVerifier
* refactor faught injector out of AccountHashVerifier
* use type alias
* Apply suggestions from code review
Co-authored-by: Brooks <brooks@prumo.org>
* move type alias
* rename
---------
Co-authored-by: Brooks <brooks@prumo.org>
2023-04-07 17:50:21 -05:00
Brennan
b3bb4357bb
Add snapshot download metrics ( #31111 )
...
* Add snapshot download metrics
2023-04-07 13:19:14 -07:00
Tao Zhu
9a7b6abc91
update benches after removing packet.sender_stake ( #31110 )
2023-04-07 14:27:29 -05:00
Andrew Fitzgerald
926bb0c794
MultiIteratorScanner::finalize returns (payload, already_processed) ( #31054 )
...
* finalize() returns (payload, already_processed)
* Additional testing around already_handled
* Return type wrapper and comment update
2023-04-07 11:17:36 -07:00
Andrew Fitzgerald
15011eaa5a
separate check_transaction_age from check_age ( #30994 )
2023-04-07 09:04:03 -07:00
Jeff Washington (jwash)
03abaf76d0
disk index: bucket_index_ix doesn't % by capacity ( #31096 )
2023-04-07 06:59:35 -07:00
Jeff Washington (jwash)
3422823932
disk index: keep same random during resize ( #31095 )
2023-04-07 06:54:50 -07:00
behzad nouri
466a9a2449
removes ip_stake_map field from streamer::StakedNodes ( #31078 )
2023-04-07 13:27:29 +00:00
Alexander Meißner
0cd57addcf
Cleanup - mock_process_instruction() ( #31088 )
...
* Uses declare_process_instruction!() in all tests.
* Adds post_adjustments to mock_process_instruction().
Removes "solana_sbf_rust_external_spend" from assert_instruction_count() as it panics.
2023-04-07 12:53:19 +02:00
dependabot[bot]
bcd43d7a79
Bump rayon from 1.5.3 to 1.7.0 ( #30981 )
...
* Bump rayon from 1.5.3 to 1.7.0
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.5.3 to 1.7.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.5.3...rayon-core-v1.7.0 )
---
updated-dependencies:
- dependency-name: rayon
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
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-04-06 23:27:53 -06:00
Ryo Onodera
f0432ec50f
Avoid overflow in ThreadSet::any() and nits ( #31098 )
...
Avoid overflow in ThreadSet::any and etc
2023-04-07 12:45:29 +09:00
dependabot[bot]
dd82157afb
Bump ouroboros from 0.15.0 to 0.15.6 ( #31090 )
...
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.15.0 to 0.15.6.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 19:11:32 -07:00
dependabot[bot]
9410e95baa
Bump crossbeam-channel from 0.5.6 to 0.5.7 ( #31091 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.6...crossbeam-channel-0.5.7)
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 19:00:49 -07:00
dependabot[bot]
6782a6fe38
Bump strum_macros from 0.24.0 to 0.24.3 ( #31092 )
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.24.0 to 0.24.3.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 18:52:16 -07:00
dependabot[bot]
0783363183
Bump blake3 from 1.3.1 to 1.3.3 ( #31089 )
...
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](BLAKE3-team/BLAKE3@1.3.1...1.3.3)
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 18:51:40 -07:00
behzad nouri
4d0abebe0e
removes Packet Meta.sender_stake and find_packet_sender_stake_stage ( #31077 )
...
Packet Meta.sender_stake is unused since
https://github.com/solana-labs/solana/pull/26512
removed sender_stake from banking-stage buffer prioritization.
2023-04-06 21:33:43 +00:00
dependabot[bot]
5f413db04f
Bump webpack from 5.74.0 to 5.78.0 in /docs ( #31074 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.74.0 to 5.78.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](webpack/webpack@v5.74.0...v5.78.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 14:27:55 -07:00
Illia Bobyr
0f8317b22e
dependabot: Increase PR limit to 6 ( #31087 )
...
Current limit of 3 is too low, as the updates are happening faster than
they are processed via our review process.
As this limit applies to the total number of outstanding PRs, any PR
that requires additional investigation is further reducing the update
speed.
Bumping 2x to see if this would get us back on track to catching up with
the current state of the world.
2023-04-06 14:26:57 -07:00
Andrew Fitzgerald
3a6d990d4c
[docs]: reduce header level ( #31084 )
2023-04-06 14:41:55 -05:00
Jeff Washington (jwash)
6dc18fe241
fix cli arg for ancient append vecs ( #31066 )
2023-04-06 12:03:31 -07:00
dependabot[bot]
62b7de88e5
Bump chrono-humanize from 0.2.1 to 0.2.2 ( #31075 )
...
Bumps [chrono-humanize](https://gitlab.com/imp/chrono-humanize-rs ) from 0.2.1 to 0.2.2.
- [Release notes](https://gitlab.com/imp/chrono-humanize-rs/tags )
- [Commits](https://gitlab.com/imp/chrono-humanize-rs/compare/0.2.1...0.2.2 )
---
updated-dependencies:
- dependency-name: chrono-humanize
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 11:50:25 -07:00
Andrew Fitzgerald
00250819b8
ThreadAwareAccountLocks ( #30422 )
2023-04-06 10:12:03 -07:00
Vide Krajnc
d6051ba434
Update install-solana-cli-tools.md ( #31080 )
...
Fix typo in the linux asset name.
2023-04-06 11:27:25 -05:00