Jeff Washington (jwash)
6172b0d50c
cleanup a stat call to `is_ancient` ( #31621 )
...
cleanup some calls to `is_ancient`
2023-05-15 13:22:15 -07:00
Jeff Washington (jwash)
656d93d805
remove unused `accounts_hash_complete_oldest_non_ancient_slot` ( #31652 )
2023-05-15 12:44:37 -07:00
steviez
02679eb5f9
ledger-tool: Move ELF magic numbers into constant with comment ( #31655 )
2023-05-15 19:32:59 +00:00
Andrew Fitzgerald
e5effa38b1
derive TransactionCost::{PartialEq, Eq} ( #31626 )
2023-05-15 12:27:17 -07:00
Maximilian Schneider
31aafc8ae6
race condition when running solana-program-test ( #31637 )
...
* hold bank freeze lock in banks-server to prevent RC on slot change
* clean up comments and loop
---------
Co-authored-by: Maximilian Schneider <max@mango.markets>
2023-05-15 12:25:06 -07:00
Dmitri Makarov
950892e503
Fix ledger-tool program command for non-runnable subcommands ( #31596 )
...
* Fix ledger-tool program command for non-runnable subcommands
These subcommands (cfg and disassemble) don't need to load a ledger
database for running, and neither do they need an input file
specifying instruction accounts etc. This change creates a simplified
invoke_context for processing the static actions of ledger-tool
program subcommand.
* Factor out program file loading
2023-05-15 14:23:54 -04:00
Jeff Washington (jwash)
596a76ffb3
`get_ancient_slots` returns slots based on slot as opposed to contents ( #31620 )
2023-05-15 11:21:33 -07:00
Brooks
dd4cfe9924
Do not purge bank snapshots in AccountsBackgroundService ( #31647 )
2023-05-15 13:53:48 -04:00
dependabot[bot]
4ac0ffcace
Bump hidapi from 2.3.1 to 2.3.2 ( #31634 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 2.3.1 to 2.3.2.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-15 10:42:43 -07:00
Andrew Fitzgerald
694099bbe3
Remove unused debug ( #31618 )
2023-05-15 09:38:32 -07:00
Brooks
bac4d50761
Uses `_` instead of `-` for datapoint field names ( #31648 )
2023-05-15 12:02:43 -04:00
Andrew Fitzgerald
d2bd6c72aa
Keep signal_receiver in scope ( #31625 )
2023-05-15 08:56:57 -07:00
behzad nouri
5178d4d49b
adds quic tvu port to contact-info ( #31614 )
...
Working towards migrating turbine to QUIC.
2023-05-15 15:13:21 +00:00
Jeff Washington (jwash)
376f562d8f
mark_old_slots_as_dirty is a no-op when ancient append vecs are enabled ( #31624 )
2023-05-15 06:28:06 -07:00
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