Greg Cusack
d5c5f06ddb
Remove `ThinClient` from `dos/` ( #117 )
...
* remove `ThinClient` from `dos/` and replace `ThinClient` with `TpuClient`
* remove test for valid_client_facing_addr since it is no longer used
2024-03-15 22:22:45 -05:00
Brooks
096a1f4e5c
Removes holding storages in AccountsHashVerifier for fastboot ( #120 )
2024-03-15 22:22:45 -05:00
Brooks
27e51b3196
Removes atomic-ness from AccountStorageEntry `id` and `slot` fields ( #119 )
2024-03-15 22:22:45 -05:00
Lucas Steuernagel
799888efc8
Add tests for `svm/transaction_processor.rs` ( #186 )
2024-03-15 22:22:45 -05:00
Brooks
cfe6868f63
Removes the storage recycler ( #118 )
2024-03-15 22:22:45 -05:00
Greg Cusack
4a80bb902e
bump deprecated version numbers for `get_client` and `get_multi_client` ( #184 )
...
bump deprecated version numbers
2024-03-15 22:22:45 -05:00
behzad nouri
4d3546ad75
expands weighted-shuffle benchmarks ( #179 )
...
Adding separate benchmarks for WeightedShuffle::new and
WeightedShuffle::shuffle.
2024-03-15 22:22:45 -05:00
steviez
365922d814
Move AccountsDb replication arguments to deprecated list ( #157 )
...
These arguments are not read by anything, and they appear to correspond
to a proposed feature that is no longer in the codebase.
2024-03-15 22:22:45 -05:00
Tyera
4e63141e38
Version bump v2.0.0 ( #121 )
...
* Put solana-svm in alphabetical order
* Update version to 2.0.0.
---------
Co-authored-by: Will Hickey <will.hickey@solana.com>
2024-03-15 22:22:43 -05:00
Jeff Washington (jwash)
ad42bebe57
remove dead code ( #176 )
2024-03-15 22:21:42 -05:00
Greg Cusack
f5e13a1c9f
deprecate `get_client` and `get_multi_client` ( #177 )
...
deprecate get_client and get_multi_client
2024-03-15 22:21:42 -05:00
Brooks
5611a73b0e
Moves accounts benches into accounts-db crate ( #164 )
2024-03-15 22:21:42 -05:00
GHA: Update Upstream From Fork
11f44777e3
Remove agave references accidentially added by f944227dba
2024-03-15 22:21:27 -05:00
bji
f219fbc8f0
Update maximum credits awarded per vote from 8 to 16 ( #127 )
...
This reduces the maximum penalty for voting after the grace period by
roughly 50%. This new value was derived from looking at the effects
that TVC at max credits 8 would have for recent epochs (500+) and
noting that the effect was a bit extreme, up to and exceeding 10%
"bonus" for faster voters. This change reduces that maximum bonus by
roughly half.
In addition, the TVC feature key has been changed.
2024-03-15 21:32:41 -05:00
GHA: Update Upstream From Fork
e0203f22dc
Revert "ci: rename script ( #125 )"
...
This reverts commit ed57e6aa10
.
2024-03-11 08:17:30 -05:00
GHA: Update Upstream From Fork
a8e2540a57
Revert "Use agave prefix in scripts for pre-installed binaries ( #155 )"
...
This reverts commit 3cba072274
.
2024-03-11 08:17:09 -05:00
Dmitri Makarov
85ccadf35b
SVM: Add doc comments, restrict visibility of some xfaces to crate ( #136 )
2024-03-09 13:28:08 -06:00
steviez
1fcef51714
Make ReplayStage create the parallel fork replay threadpool ( #137 )
...
ReplayStage owning the pool allows for subsequent work to configure
the size of the pool; configuring the size of the pool inside of the
lazy_static would have been a little messy
2024-03-09 13:28:08 -06:00
HaoranYi
f8c5e15020
Move delta hash test function to dev-context-utils ( #151 )
...
move delta hash test function to dev-context-utils
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2024-03-09 13:28:08 -06:00
Justin Starry
3cba072274
Use agave prefix in scripts for pre-installed binaries ( #155 )
2024-03-09 13:28:08 -06:00
dependabot[bot]
d5ffeefb3d
build(deps): bump cc from 1.0.83 to 1.0.89 ( #40 )
...
* build(deps): bump cc from 1.0.83 to 1.0.89
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.83 to 1.0.89.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.83...1.0.89 )
---
updated-dependencies:
- dependency-name: cc
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>
2024-03-09 13:28:08 -06:00
Lucas Steuernagel
2c55819e7b
Gather recording booleans in a data structure ( #134 )
2024-03-09 13:28:08 -06:00
Jon C
ce10dc1043
runtime: Move `From<AddressLookupError>` from sdk ( #141 )
...
sdk: Move `From<AddressLookupError>` into runtime
2024-03-09 13:28:08 -06:00
Yihau Chen
ed57e6aa10
ci: rename script ( #125 )
2024-03-09 13:28:07 -06:00
Tao Zhu
ca41b16e47
add precompile signature metrics to cost tracker ( #133 )
2024-03-09 13:28:07 -06:00
steviez
9decf2a320
blockstore: Remove unnecessary function and threadpool ( #122 )
...
In a previous change, we removed the threadpool used to fetch entries
in parallel in favor of combining all fetches into a single rocksdb
multi_get() call.
This change does the same thing, except for a threadpool that was used
to fetch entries when we needed them to purge the transaction status
and address signatures columns.
2024-03-09 13:28:07 -06:00
kirill lykov
ca1af7b702
Add get_blocks and get_slot methods to bench-tps-client ( #94 )
...
* add get_block(s)/slot methods to BenchTpsClient
* Update Cargo.lock
* add commitment level for get_slot/blocks
2024-03-09 13:28:07 -06:00
Dmitri Makarov
264f4dfdd0
[SVM] Move RuntimeConfig to program-runtime ( #96 )
...
RuntimeConfig doesn't use anything SVM specific and logically belongs
in program runtime rather than SVM. This change moves the definition
of RuntimeConfig struct from the SVM crate to program-runtime and
adjusts `use` statements accordingly.
2024-03-09 13:27:11 -06:00
behzad nouri
8da3f5bec4
adds api to obtain the parent node in the turbine retransmit tree ( #115 )
...
Following commits will use this api to check retransmitter's signature
on incoming shreds.
2024-03-09 13:26:34 -06:00
Lucas Steuernagel
d7efade85a
Add tests for `svm/transaction_processor.rs` ( #112 )
2024-03-09 13:26:34 -06:00
Tao Zhu
e5ec7853c6
Combine builtin and BPF compute cost in cost model ( #29 )
...
* Combine builtin and BPF execution cost into programs_execution_cost since VM has started to consume CUs uniformly
* update tests
* apply suggestions from code review
2024-03-09 13:26:34 -06:00
Justin Starry
c36b572c36
Add support for partial tx batch unlocking ( #110 )
...
* Add support for partial tx batch unlocking
* add assert
* fix build
* Add comments
2024-03-09 13:26:34 -06:00
Yueh-Hsuan Chiang
782591eb77
[TieredStorage] Deprecate the use of account-hash in HotStorage ( #93 )
...
#### Problem
TieredStorage stores account hash as an optional field inside its HotStorage.
However, the field isn't used and we have already decided to deprecate
the account hash.
#### Summary of Changes
Remove account-hash from the tiered-storage.
#### Test Plan
Existing tiered-storage tests.
Running validators w/ tiered-storage in mainnet-beta w/o storing account-hash.
2024-03-09 13:26:34 -06:00
Tyera
a8d527b446
Prep Anchor downstream CI job for v2 bump ( #123 )
...
* Add new script to patch spl in anchor downstream
* Only specify major version for token-2022
* Add update for ahash
* Patch spl in anchor
* Remove dex and metadata features for now
2024-03-09 13:26:34 -06:00
Justin Starry
1ff68447d4
Refactor transaction account unlocking ( #103 )
...
refactor: unlock accounts
2024-03-09 13:26:34 -06:00
steviez
d0cb5e273a
Name previously unnamed thread pool threads ( #104 )
...
Several rayon and tokio threadpools did not have names; give them names
to make tracking them in debug tools easier
2024-03-09 13:26:34 -06:00
Brennan
54b44a382f
fix typo ( #57 )
2024-03-09 13:26:34 -06:00
steviez
f944227dba
Use tokio directly instead of jsonrpc_server_utils's re-export ( #116 )
2024-03-09 13:24:55 -06:00
Tao Zhu
c9549399fb
assert simple vote tx const cost ( #100 )
...
* assert simple vote tx const cost
2024-03-09 13:23:06 -06:00
Jon C
1f7e6f269b
frozen-abi: Remove proc_macro_hygiene featurization ( #109 )
2024-03-09 13:23:06 -06:00
Tyera
e6a71366fa
Cli: improve vote-account vote-authority display ( #95 )
...
* Simplify vote-authority display
* Add handling for new vote authority
* Add proper None handling, because unit test (shouldn't happen IRL, though)
* Unwrap->expect
2024-03-09 13:23:06 -06:00
steviez
f3c6c08752
Give SigVerify and ShredFetch threads unique names ( #98 )
...
- solTvuFetchPmod ==> solTvuPktMod + solTvuRepPktMod
- solSigVerifier ==> solSigVerTpu + solSigVerTpuVot
2024-03-09 13:23:06 -06:00
steviez
4753dcae71
Rename and uniquify QUIC thread names ( #28 )
...
When viewing in various tools such as gdb and perf, it is not easy to
distinguish which threads are serving which function (TPU or TPU FWD)
2024-03-09 13:23:06 -06:00
Brooks
f6cd7c278e
Increases account hash's stack buffer to hold 200 bytes of data ( #56 )
2024-03-09 13:23:06 -06:00
steviez
e81ecfbe9f
Revert "remove repetitive words ( #35434 )" ( #35436 )
...
This reverts commit 556a749948
.
2024-03-08 23:36:52 -06:00
gcmutator
556a749948
remove repetitive words ( #35434 )
...
Signed-off-by: gcmutator <329964069@qq.com>
2024-03-08 23:01:33 -06:00
Yihau Chen
cb4ddfb5c1
ci: disable dependabot ( #35430 )
2024-03-07 12:18:39 +08:00
Will Hickey
9b1243ee4c
Revert "[anza migration] replace binaries backend ( #6 )"
...
This reverts commit 9355518424
.
2024-03-05 10:19:55 -06:00
Will Hickey
6e01a074df
Revert "[anza migration] ci ( #5 )"
...
This reverts commit b0022d73ea
.
2024-03-05 10:19:45 -06:00
Will Hickey
4cb7c315b8
Revert "[anza migration] ci: fix path ( #8 )"
...
This reverts commit 58e9a19f11
.
2024-03-05 10:19:20 -06:00