Jeff Washington (jwash)
fcddeb446b
add disk bucket get_restart_file ( #33373 )
...
* add disk bucket get_restart_file
* add get_restartable_buckets
2023-09-22 12:34:43 -07:00
Jeff Washington (jwash)
5eb61ddf21
simple cleanup in bucket map ( #33376 )
2023-09-22 11:47:32 -07:00
Jeff Washington (jwash)
7cf71011fd
disk bucket: init restart path ( #33375 )
2023-09-22 11:40:46 -07:00
Jeff Washington (jwash)
d2464d9d7c
use bytemuck for disk bucket restart ( #33371 )
2023-09-22 10:17:04 -07:00
Jeff Washington (jwash)
97d53be16e
add Restart structs for disk index ( #33361 )
2023-09-22 06:49:55 -07:00
steviez
3428333127
Switch confirmed_unrooted_slots from Vec<_> to HashSet<_> ( #33311 )
...
The container is only used to check for inclusion of slots with
the .contains() method. This method is O(n) on a Vec<_> but O(1) on a
HashSet<_>.
2023-09-22 07:15:47 +02:00
Yihau Chen
4d96c384a1
ci: install openssl for the Windows build ( #33356 )
2023-09-22 10:52:28 +08:00
sakridge
3b1cbaec72
Add csv output option to stake and vote account rewards ( #32360 )
...
* Add csv option to vote-account
* Add CSV format to solana stake command
Csv rename
2023-09-21 19:23:37 +02:00
Tyera
3e8ccbe196
Add comment to OptimisticallyConfirmedBankTracker ( #33238 )
...
Add comment
2023-09-21 09:59:51 -06:00
dependabot[bot]
cd9b2cc20b
build(deps): bump quinn-proto from 0.10.4 to 0.10.5 ( #33345 )
...
* build(deps): bump quinn-proto from 0.10.4 to 0.10.5
Bumps [quinn-proto](https://github.com/quinn-rs/quinn ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/commits )
---
updated-dependencies:
- dependency-name: quinn-proto
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-09-21 23:17:58 +08:00
Tao Zhu
a2ad820309
compute_budget heap_size does not have to be optional ( #33313 )
2023-09-21 09:24:47 -05:00
Jeff Washington (jwash)
1fc4264a1c
add bucket::load_on_restart ( #33328 )
2023-09-21 06:47:28 -07:00
steviez
357eabd5f3
Move LedgerColumn delete() implementation to less restrictive traits ( #33304 )
2023-09-21 02:06:00 -04:00
Trent Nelson
7c545b0ae9
bump rust stable to 1.72.1 ( #33333 )
...
* bump rust stable to 1.72.1
* bump rust nightly to 2023-09-20
* fix nightly lint -- unused doc comment
-- rustdoc does not generate documentation for expression fields
* fix nightly lint -- unnecessarily eager cloning of iterator items
* fix nightly lint -- loop never actually loops
2023-09-20 23:53:36 -06:00
Yihau Chen
62f153ec88
ci: use new installation instructions for nodejs ( #33337 )
...
* use new installation instructions for nodejs
* more comments
* remove apt list in the end
2023-09-21 13:46:23 +08:00
Yihau Chen
f22a349541
chore: remove unused code ( #33335 )
...
remove unused code
2023-09-21 12:21:10 +08:00
Brooks
1d39c3167d
Adds default info to cli arg for --accounts-hash-cache-path ( #33331 )
2023-09-20 23:45:55 -04:00
Brooks
2839d51d5e
Unhides fastboot cli arg ( #33329 )
2023-09-20 16:52:52 -04:00
Jeff Washington (jwash)
a32ef97592
fix comments ( #33330 )
2023-09-20 13:38:12 -07:00
Jeff Washington (jwash)
b7bac74d47
refactor header alignment check in bucket storage ( #33326 )
2023-09-20 12:57:27 -07:00
Nick Frostbutter
d27aaa79c8
[docs] clarified `jsonParsed` fallback encoding for `simulateTransaction` ( #33324 )
...
docs: clarified fallback encoding
2023-09-20 09:53:12 -07:00
HaoranYi
1e56b88f59
Update index bucket after data bucket updated ( #33315 )
...
* typos
* update index bucket after data bucket
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-09-20 11:12:42 -05:00
Jeff Washington (jwash)
5f58d2dd4a
add occupy_if_matches to bucket map ( #33318 )
2023-09-20 08:12:07 -07:00
Jeff Washington (jwash)
cfd0a00ae2
drop disk index bucket files on drop by default ( #33316 )
2023-09-20 07:50:17 -07:00
aric
df93145c97
Update compressed-nfts.md typo single single token ( #33321 )
2023-09-20 12:04:46 +02:00
Tyera
bca41edf20
Make active stake consistent in split ( #33295 )
...
* Add feature gate
* Add helper fn
* Require split destination to be rent-exempt if it is active
* Update cli to prefund split accounts
* cli: require rent param with sign-only
* Update tokens to prefund split accounts
* Update split tests with sysvar accounts
* Fix test_split_to_account_with_rent_exempt_reserve
* Fix test_staked_split_destination_minimum_balance
* Fix test_split_more_than_staked
* Fix test_split_minimum_stake_delegation and remove misleading StakeState::Initialized case
* Fix test_split_from_larger_sized_account
* Add test for pre-/post-activation behavior splitting some or all of stake account
* Assert active stake
* Fix runtime test
* Ignore stake-pool downstream
* Review comments
* Feature gate sysvar reads
2023-09-20 06:00:51 +00:00
Jeff Washington (jwash)
7a8a492d4c
fix clippy error ( #33317 )
...
* fix clippy error
* fix fmt that somehow got merged
2023-09-19 20:28:55 -07:00
Jeff Washington (jwash)
58f980a19b
refactor bucket storage file open ( #33314 )
2023-09-19 19:26:43 -07:00
Jeff Washington (jwash)
288e8a682a
conditionally erase folders on drop of `BucketMap` ( #33309 )
2023-09-19 13:02:22 -07:00
Jeff Washington (jwash)
056e7cc240
bucket storage refactoring ( #33308 )
2023-09-19 13:01:49 -07:00
Pankaj Garg
f50342a790
Split vote related code from runtime to its own crate ( #32882 )
...
* Move vote related code to its own crate
* Update imports in code and tests
* update programs/sbf/Cargo.lock
* fix check errors
* update abi_digest
* rebase fixes
* fixes after rebase
2023-09-19 10:46:37 -07:00
Brooks
889d6c655e
Moves accounts-db benches to accounts-db crate ( #33306 )
2023-09-19 13:09:42 -04:00
Andrew Fitzgerald
22338f5472
TransactionScheduler: InFlightTracker ( #33206 )
2023-09-19 09:08:42 -07:00
Kevin Heavey
92ab3827fd
program: move array-bytes to dev-dependencies ( #33277 )
...
* program: move array-bytes to dev-dependencies
* run cargo-for-all-lock-files.sh tree
2023-09-19 09:07:35 -07:00
Pankaj Garg
62888d297a
Implement CLI front-end for loader-v4 commands ( #33289 )
...
* Implement CLI front-end for loader-v4 commands
* remove dead_code clippy overrides
* Add unit tests
2023-09-19 08:27:35 -07:00
Alexander Meißner
bc38ef27d8
Feature - Enable Program-Runtime-v2 and Loader-v4 ( #33294 )
...
* Adds a new feature `enable_program_runtime_v2_and_loader_v4`.
* Adds a feature gated builtin entry for the solana_loader_v4_program.
2023-09-19 16:29:52 +02:00
Jimii
9970bfcf97
docs: add solana stack exchange site ( #33280 )
2023-09-19 11:30:18 +02:00
Brooks
bc2b372762
Adds DCOU to verify_snapshot_archive() ( #33298 )
2023-09-18 19:11:28 -04:00
HaoranYi
c85eb73300
O(n) dedup ( #33297 )
...
O(N) dedup
Co-authored-by: jeff washington <jeff.washington@solana.com>
2023-09-18 17:55:28 -05:00
Tao Zhu
8b8a21a52f
cleanup feature: enable request heap frame instruction #30076 ( #33243 )
...
* cleanup feature: enable request heap frame instruction #30076
* update sbf tests
* removed out dated comments and test
2023-09-18 16:06:24 -05:00
Jeff Washington (jwash)
17c3930bc8
in gen index, stop using big hashmap ( #33252 )
...
* in gen index, stop using big hashmap
* update accounts_data_len
* remove approx_stored_count
2023-09-18 11:13:18 -07:00
Jeff Washington (jwash)
402981e3c1
cleanup test ( #33291 )
2023-09-18 10:59:42 -07:00
Andrew Fitzgerald
86dd18bfb5
TransactionScheduler: Id Generators ( #33207 )
2023-09-18 10:07:40 -07:00
Andrew Fitzgerald
e860019687
TransactionScheduler: Pipe BlockProductionMethod ( #33217 )
2023-09-18 10:05:27 -07:00
Jeff Washington (jwash)
27caf4d1d2
add test for duplicates in generate_index and fix approx stored count ( #33290 )
...
add test
2023-09-18 09:46:52 -07:00
steviez
a15564d719
ledger-tool: Cleanup argument parsing logic ( #33283 )
...
value_t!() macro and .unwrap_or() are more succinct than if/else blocks,
and the value_t!() macro handles parsing values from strings.
2023-09-18 11:07:35 -05:00
steviez
9e11ae6275
Make program owners a const array instead of Vec<_> ( #33275 )
...
The program owners pubkeys are constant, no need to reconstruct the
Vec<Pubkey> and Vec<&Pubkey> each time this function runs (every time we
execute transactions).
2023-09-18 10:59:03 -05:00
Yihau Chen
fe598a9273
bump syn to 2.0.37 for test-case ( #33288 )
2023-09-18 22:50:11 +08:00
Pankaj Garg
5dbc19ccbf
Processors to compile and send LoaderV4 CLI commands ( #33228 )
...
* Processors to compile and send LoaderV4 CLI commands
* suppress unused code warning
* clippy fixes
* redeploy program using source buffer
* unify deploy and redeploy to a single function
* clippy fixes
* fixes after testing the CLI frontend
2023-09-18 06:43:33 -07:00
dependabot[bot]
196a354093
build(deps): bump test-case from 3.1.0 to 3.2.1 ( #33285 )
...
Bumps [test-case](https://github.com/frondeus/test-case ) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/frondeus/test-case/releases )
- [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md )
- [Commits](https://github.com/frondeus/test-case/compare/v3.1.0...v3.2.1 )
---
updated-dependencies:
- dependency-name: test-case
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-09-18 13:26:04 +00:00