Jeff Washington (jwash)
5cdb5daaad
clean stat updated based on slot instead of contents ( #31623 )
2023-05-15 06:26:40 -07:00
Jeff Washington (jwash)
13077e0b71
remove an irrelevant ancient stat ( #31622 )
2023-05-15 06:25:54 -07:00
Yihau Chen
98bef5c3da
ci: install lld to docker images ( #31645 )
...
ci: install lld to docker image
2023-05-15 11:34:14 +00:00
Ashwin Sekar
3e8f5bad81
refactor: highest_cluster_confirmed_root -> highest_super_majority_root ( #31619 )
2023-05-14 00:42:03 -07:00
dependabot[bot]
531c5ebe97
Bump rocksdb from 0.19.0 to 0.21.0 ( #31590 )
...
Bump rocksdb from 0.19.0 to 0.21.0
* Bumps [rocksdb](https://github.com/rust-rocksdb/rust-rocksdb ) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/rust-rocksdb/rust-rocksdb/releases )
- [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-rocksdb/rust-rocksdb/compare/v0.19.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: rocksdb
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
* Update Env::default() to Env::new()
Env::default() was removed and replaced with Env::new(). The change is
in name only, between versions, ffi::rocksdb_create_default_env() is
still called under the hood by both functions.
---------
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>
Co-authored-by: Steven Czabaniuk <steven@solana.com>
2023-05-13 11:46:19 -07:00
Ashwin Sekar
c85b057cc8
disambiguate the matches then mismatches case for ancestor samples ( #31617 )
2023-05-13 11:12:21 -07:00
Ashwin Sekar
ef75f1cb4e
Add ancestor hashes to state machine ( #31627 )
...
* Notify replay of pruned duplicate confirmed slots
* Ingest replay signal and run ancestor hashes for pruned
* Forward PDC to ancestor hashes and ingest pruned dumps from ancestor hashes service
* Add local-cluster test
2023-05-13 02:05:44 -07:00
samkim-crypto
618d8cf2a6
[clap-v3-utils, keygen] Refactor mnemonics, derivation path, and argument parsing clap logic in keygen ( #30977 )
...
* move mnemonic clap logic from keygen to clap-v3-utils
* move derivation path clap logic from keygen to clap-v3-utils
* move keygen clap logic from keygen to clap-v3-utils
* resolve error from rebase
* resolve conflict from rebase
* reorganize derivation_path and mnemonic as modules inside keygen
2023-05-13 14:30:03 +09:00
Jordan Sexton
125a18550d
[docs] Add note about txids to signature status RPC method docs ( #31628 )
2023-05-12 20:16:16 -07:00
Brooks
962650e88e
AccountsHashVerifier purges old bank snapshots ( #31519 )
2023-05-12 17:02:43 -04:00
Brooks
8e5e66fdb4
Revert "Revert "SnapshotPackagerService purges old bank snapshots ( #31511 )" ( #31524 )" ( #31558 )
...
This reverts commit 775639c058
.
2023-05-12 15:39:14 -04:00
Will Hickey
91194cd342
Revert "Update CI pipeline to only run `checks` step on version bump … ( #31603 )
...
Revert "Update CI pipeline to only run `checks` step on version bump PRs (#29243 )"
This reverts commit 0581fc2def
.
2023-05-12 13:03:21 -05:00
Brooks
7dbcf5a0fd
Do not remove bank snapshots in new_from_dir() ( #31556 )
2023-05-12 13:19:07 -04:00
Andrew Fitzgerald
6adbb1254c
consumer bench ( #31414 )
2023-05-12 09:44:37 -07:00
behzad nouri
4e34abbf3d
specifies protocol in contact-info get-socket api ( #31602 )
2023-05-12 16:16:20 +00:00
Alexander Meißner
5c8b5a2a68
Bump solana_rbpf to v0.4.0 ( #31594 )
...
* Moves "disable_deploy_of_alloc_free_syscall" parameter inside create_loader().
* Removes the "is_abi_v2" flag.
* Bumps solana_rbpf to v0.4.0
2023-05-12 18:07:13 +02:00
Pankaj Garg
a649459fc6
LoadedPrograms::extract() code cleanup and unit tests ( #31604 )
2023-05-12 08:55:03 -07:00
Andrew Fitzgerald
2c869ef778
QoS refactor: Allow pre-filtering ( #31542 )
2023-05-12 08:53:22 -07:00
Dmitri Makarov
c5905f525c
Update on-chain debugging docs following up changes in ledger-tool UI ( #31593 )
2023-05-12 06:34:51 -04:00
Dave
30d051da84
Bump librocksdb-sys to 0.8.3 and bindgen to 0.64.0 ( #31580 )
...
Fixes builds when using llvm16 systems
Would get error:
```
thread 'main' panicked at '"enum_(unnamed_at_rocksdb/include/rocksdb/c_h_981_1)" is not a valid Ident'
```
when attempting to build the bins.
Ref:
https://github.com/rust-rocksdb/rust-rocksdb/issues/713
Bumps librocksdb-sys to 0.8.3
and bindgen to 0.64.0
in the Cargo.lock
2023-05-11 23:29:43 -07:00
Yihau Chen
f5eaed6f2b
ci: make mergify only remove automerge when PR hasn't been merged ( #31574 )
2023-05-12 12:50:26 +08:00
Jeff Washington (jwash)
3e543665c7
remove unused functions connecting hash calc and ancient append vec boundary ( #31575 )
...
remove coupling between hash calc and ancient append vec boundary
2023-05-11 13:30:44 -07:00
Jeff Washington (jwash)
122b05b9f5
pass include_slot_in_hash through hash calcs to allow rehashing if hash is not stored ( #31579 )
...
* pass include_slot_in_hash through hash calcs to allow rehashing
* tests use each include_slot_in_hash value
* move include_slot_in_hash
* typo
* reorder struct init
* spelling is hard
2023-05-11 13:23:29 -07:00
Jeff Washington (jwash)
d9cfb31bba
remove unnecessary struct IndexAccountMapEntry ( #31605 )
2023-05-11 13:22:03 -07:00
Jeff Washington (jwash)
e0b914e775
use highest alive root to determine ancient for packing ( #31573 )
2023-05-11 12:13:15 -07:00
Jeff Washington (jwash)
ea95173b27
remove IndexAccountMapEntry.store_id ( #31600 )
...
* remove IndexAccountMapEntry.store_id
* fix empty case that test hit
* store_id checks
* cleanup generate index when slot contains no storage
* remove unwrap
2023-05-11 12:12:41 -07:00
Illia Bobyr
43c0f05ca0
Bumps base64 from 0.13.1 to 0.21.0. ( #31522 )
...
Changes:
marshallpierce/rust-base64@v0.13.1...v0.21.0
`base64::{encode,decode}` are now deprecated in favor of an API that
explicitly selects an `Engine`. Migrated all calls to the new API.
2023-05-11 11:34:58 -07:00
dependabot[bot]
76d1c38f59
Bump js-sys from 0.3.59 to 0.3.62 ( #31592 )
...
* Bump js-sys from 0.3.59 to 0.3.62
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.59 to 0.3.62.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
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
---------
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-05-11 16:40:08 +00:00
Brooks
93087324e3
Uses AccountsBackgroundService::setup_bank_drop_callback() in tests ( #31598 )
2023-05-11 12:40:03 -04:00
dependabot[bot]
a414b67b88
Bump wasm-bindgen from 0.2.84 to 0.2.85 ( #31589 )
...
* Bump wasm-bindgen from 0.2.84 to 0.2.85
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.84 to 0.2.85.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.84...0.2.85 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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
---------
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-05-11 10:35:42 -06:00
Jon Cinque
c0e107a97d
gossip-service: Spy multiple nodes by pubkey at once ( #31597 )
...
* gossip: Spy multiple pubkeys
* Address behzad's feedback
2023-05-11 18:24:35 +02:00
Jeff Washington (jwash)
722921380b
remove unused IndexAccountMapEntry.write_version ( #31599 )
2023-05-11 09:16:27 -07:00
dependabot[bot]
c22b87e49a
Bump serde from 1.0.162 to 1.0.163 ( #31591 )
...
* Bump serde from 1.0.162 to 1.0.163
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.162 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163 )
---
updated-dependencies:
- dependency-name: serde
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
---------
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-05-11 09:59:55 -06:00
Tao Zhu
49f44f5ded
Refactor pass feature status to deserialized packet via packet meta ( #31549 )
...
Add a flag to packet, set its value by packet_deserializer when received by banking_stage with working_bank
2023-05-11 09:31:05 -05:00
Ryo Onodera
4d4dddcaea
Update to nightly rustc to 2023-04-19 ( #31381 )
...
* Update to nightly rustc to 2023-04-19
* pray...
* Not enough pray..
* skip check...
* hope merciful shellcheck
* ci hack...
* Restore ci/test-checks.sh
* Restore debug_assertions with proper workaround...
* small cleanup
* seems this isn't needed?
* Make the workaround more robust...
* Remove now-resolved clippy exception
2023-05-11 15:48:13 +09:00
Alexander Meißner
bbd8be6cbe
Refactor - Renames loader-v3 to loader-v4. ( #31570 )
...
Renames loader-v3 to loader-v4.
2023-05-11 08:29:06 +02:00
dependabot[bot]
f985f73d52
Bump libc from 0.2.142 to 0.2.144 ( #31552 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.142 to 0.2.144.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](rust-lang/libc@0.2.142...0.2.144)
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-10 19:28:52 -07:00
dboures
1149c91660
Batch rpc calls in `solana-tokens distribute-spl-tokens` ( #31419 )
...
* refactor: batch token account rpc calls in distribute-spl-tokens
* batch fee estimate rpc calls in distribute-spl-tokens
2023-05-11 01:55:58 +02:00
Tyera
3f70ddb2c5
Add entry notification service for geyser ( #31290 )
...
* Move entry_notifier_interface
* Add EntryNotifierService
* Use descriptive struct in sender/receiver
* Optionally initialize EntryNotifierService in validator
* Plumb EntryNotfierSender into Tvu, blockstore_processor
* Plumb EntryNotfierSender into Tpu
* Only return one option when constructing EntryNotifierService
2023-05-10 17:20:51 -06:00
Ashwin Sekar
c900ef8290
refactor: combine SlotStateUpdate impls ( #31578 )
2023-05-10 15:12:39 -06:00
steviez
18a118b438
Condense banking_stage counters into existing datapoint ( #31564 )
...
Counters incur additional overhead in sending points to the MetricsAgent
over a crossbeam channel. Additionally, some of these counters would be
submitted by non-voting nodes which is just extra overhead and noise.
This change condenses several updates of a counter into a field of the
existing BankingStageStats metrics struct.
2023-05-10 15:44:42 -05:00
samkim-crypto
39701fa560
[zk-token-sdk] Refactor encryption error types ( #31569 )
...
* reorganize encryption error types
* remove encryption errors module
* cargo fmt
2023-05-11 04:43:25 +09:00
Dmitri Makarov
fb79e2bbb8
Reorganize ledger-tool run sub-command ( #31572 )
...
* Rename ledger-tool run subcommand to program subcommand
* Reorganize ledger-tool program command to multiple subcommands
2023-05-10 15:25:38 -04:00
Pankaj Garg
04425b81ce
Add stats for LoadedPrograms ( #31577 )
2023-05-10 12:08:55 -07:00
dependabot[bot]
e1b57b8a37
Bump hidapi from 2.2.0 to 2.3.1 ( #31554 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/commits )
---
updated-dependencies:
- dependency-name: hidapi
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>
2023-05-10 12:26:56 -06:00
Will Hickey
3293ca4a52
Add canaries to metrics config ( #31517 )
2023-05-10 12:12:50 -05:00
dependabot[bot]
5377bd6de4
Bump quote from 1.0.26 to 1.0.27 ( #31553 )
...
* Bump quote from 1.0.26 to 1.0.27
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.26...1.0.27 )
---
updated-dependencies:
- dependency-name: quote
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
---------
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-05-10 10:22:39 -06:00
dependabot[bot]
26269dadc3
Bump indexmap from 1.9.2 to 1.9.3 ( #31551 )
...
* Bump indexmap from 1.9.2 to 1.9.3
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.9.2 to 1.9.3.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.9.2...1.9.3 )
---
updated-dependencies:
- dependency-name: indexmap
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
---------
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-05-10 10:21:48 -06:00
Jeff Washington (jwash)
fed1bb7d54
use max alive root to determine ancient cutoff for clean stats ( #31545 )
...
* use max alive root to determine ancient cutoff for clean stats
* fix math and add tests
2023-05-10 08:05:31 -07:00
Alexander Meißner
9e72668a77
Refactor - Simplify built-in program feature transition ( #31565 )
...
* Removes builtins::get_builtins(), instead derive them from Bank::builtin_programs.
* Removes BuiltinAction.
Turns BuiltinFeatureTransition from an enum into a struct.
* Makes Bank::remove_builtin() place tombstones.
2023-05-10 16:53:36 +02:00