Pankaj Garg
49df1c47e8
Use batch send in bench-tps to send transactions ( #27527 )
...
* Use batch send in bench-tps to send transactions
* serialize using par iter
2022-09-01 17:32:23 +00:00
Justin Starry
31087b8aba
Revert "fix: add compute units to jsonrpc parser" ( #27553 )
...
Revert "fix: add compute units to jsonrpc parser (#27466 )"
This reverts commit b34cab46d6
.
2022-09-01 13:30:22 -04:00
Maximilian Schneider
b34cab46d6
fix: add compute units to jsonrpc parser ( #27466 )
...
add compute units to jsonrpc parser
2022-09-01 09:34:10 -07:00
Brooks Prumo
a6d737d773
Add EpochAccountsHash to AccountsDb ( #27538 )
2022-09-01 12:11:07 -04:00
Jeff Washington (jwash)
3e40fad46b
deserialize(or eof) snapshot epoch_accounts_hash ( #27513 )
...
deserialize(or eof) snapshot prior_epoch_accounts_hash
2022-09-01 08:35:52 -07:00
Jeff Washington (jwash)
0df0b94a72
randomly shrink ancient append vecs ( #27523 )
2022-09-01 08:32:43 -07:00
Haoran Yi
28c3552756
remove counter stat for clean which is already captured in clean_accounts_stats
2022-09-01 10:11:08 -05:00
Haoran Yi
a28f336eb3
add timing unit scale in field name
2022-09-01 10:11:08 -05:00
Haoran Yi
43e3545c26
add stats of dirty_slots for cleaning during hash calc
2022-09-01 10:11:08 -05:00
Haoran Yi
407717eb2a
add timing stat for account hash calc with cache
2022-09-01 10:11:08 -05:00
apfitzge
3bdc5b3f2b
separate packet_deserializer inside banking_stage ( #27120 )
...
* separate packet_deserializer inside banking_stage
* Make ReceivePacketResults into a struct with named fields
2022-09-01 10:00:48 -05:00
Jeff Washington (jwash)
874085aadc
improve performance of unrefing ancient pubkeys ( #27485 )
2022-09-01 07:34:52 -07:00
Yihau Chen
e7689f7961
chore: bump shellcheck v0.8.0 ( #27463 )
...
* bump shellcheck to stable verion, v0.8.0
* fix SC2086
* fix SC2269, https://www.shellcheck.net/wiki/SC2294
* fix SC2294
* do null and unset check for variable, FORCE_DELETE
2022-09-01 06:48:20 +00:00
dependabot[bot]
7d17f423f3
chore: bump pem from 1.0.2 to 1.1.0 ( #27514 )
...
* chore: bump pem from 1.0.2 to 1.1.0
Bumps [pem](https://github.com/jcreekmore/pem-rs ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/jcreekmore/pem-rs/releases )
- [Changelog](https://github.com/jcreekmore/pem-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jcreekmore/pem-rs/compare/v1.0.2...v1.1.0 )
---
updated-dependencies:
- dependency-name: pem
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>
2022-08-31 21:51:14 -06:00
apfitzge
af971e63ab
Create all shared buffer readers before spawning threads ( #27512 )
...
* Create all shared buffer readers before spawning threads
* Allow 'needless' collect - clippy is wrong
* move clippy allow, spacing
2022-08-31 22:49:02 -05:00
dependabot[bot]
66717ff87d
chore: bump chrono from 0.4.21 to 0.4.22 ( #27509 )
...
* chore: bump chrono from 0.4.21 to 0.4.22
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/v0.4.22/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.21...v0.4.22 )
---
updated-dependencies:
- dependency-name: chrono
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>
2022-08-31 22:39:12 +00:00
dependabot[bot]
e22842f5db
chore: bump enum-iterator from 0.8.1 to 1.2.0 ( #27496 )
...
* chore: bump enum-iterator from 0.8.1 to 1.2.0
Bumps [enum-iterator](https://github.com/stephaneyfx/enum-iterator ) from 0.8.1 to 1.2.0.
- [Release notes](https://github.com/stephaneyfx/enum-iterator/releases )
- [Commits](https://github.com/stephaneyfx/enum-iterator/compare/0.8.1...1.2.0 )
---
updated-dependencies:
- dependency-name: enum-iterator
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Make versions consistent, and a-z toml
* Accommodate new apis
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-08-31 15:07:29 -06:00
Florian Hartwig
12f921386f
Make CommitmentLevel constructors const ( #27367 )
...
make CommitmentLevel constructors const
2022-08-31 13:20:53 -06:00
dependabot[bot]
2e7dc64dbd
chore: bump caps from 0.5.3 to 0.5.4 ( #27187 )
...
* chore: bump caps from 0.5.3 to 0.5.4
Bumps [caps](https://github.com/lucab/caps-rs ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/lucab/caps-rs/releases )
- [Commits](https://github.com/lucab/caps-rs/compare/v0.5.3...v0.5.4 )
---
updated-dependencies:
- dependency-name: caps
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>
2022-08-31 18:52:06 +00:00
dependabot[bot]
d99618957c
chore: bump cc from 1.0.71 to 1.0.73 ( #27186 )
...
* chore: bump cc from 1.0.71 to 1.0.73
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.71 to 1.0.73.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.71...1.0.73 )
---
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>
2022-08-31 11:36:14 -06:00
Nick Frostbutter
1f8258f547
[docs] developers home page ( #27436 )
...
* feat: developers landing page
* fix: updated links
* fix: updated labels for translateIds
* refactor: updated index page to use Card component
* style: removed whitespace
* refactor: added static labels for developer sidebar items
* feat: developer's sidebar and new layout file
* chore: removed whitespace
* fix: removed duplicate CLI sidebar item
* fix: card shadows and RPC card text
2022-08-31 12:32:36 -05:00
Alexander Meißner
84b5a2bcf4
Refactor: `TransactionContext` ABIv2 adjustments ( #27476 )
...
* Marks methods and structs which are only to be used by the program runtime.
* Removes TransactionContext::get_keys_of_accounts().
* Adds InstructionContext::get_instruction_accounts_lamport_sum().
2022-08-31 17:47:47 +02:00
Yihau Chen
bbc3c5c32d
chore: add cargo audit at the beginning of secondary pipeline ( #27470 )
2022-08-31 15:45:29 +00:00
Brooks Prumo
93841a9484
ci: Fix steps in run-local ( #27499 )
2022-08-31 15:26:59 +00:00
Jeff Washington (jwash)
8c1e193d5d
delay trying to flush cached upserts until far future ( #26908 )
2022-08-31 08:56:26 -05:00
Tao Zhu
8bb039d08d
collect min prioritization fees when replaying sanitized transactions ( #26709 )
...
* Collect blocks' minimum prioritization fees when replaying sanitized transactions
* Limits block min-fee metrics reporting to top 10 writable accounts
* Add service thread to asynchronously update and finalize prioritization fee cache
* Add bench test for prioritization_fee_cache
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-08-31 08:00:55 -05:00
Justin Starry
292b2a1bfe
feat: update `Connection` to support versioned transactions ( #27068 )
...
feat: update Connection to support versioned transactions
2022-08-31 08:46:24 -04:00
dependabot[bot]
0eec25be1a
chore: bump iana-time-zone from 0.1.44 to 0.1.46 ( #27482 )
...
* chore: bump iana-time-zone from 0.1.44 to 0.1.46
Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone ) from 0.1.44 to 0.1.46.
- [Release notes](https://github.com/strawlab/iana-time-zone/releases )
- [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md )
- [Commits](https://github.com/strawlab/iana-time-zone/compare/0.1.44...v0.1.46 )
---
updated-dependencies:
- dependency-name: iana-time-zone
dependency-type: indirect
...
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 <you@example.com>
2022-08-30 23:39:35 -06:00
Yueh-Hsuan Chiang
6d070cee08
Fix the boundary inconsistency between delete_file_in_range and delete_range ( #27201 )
...
#### Problem
RocksDB's delete_range applies to [from, to) while delete_file_in_range
applies to [from, to] by default, and the rust-rocksdb api does not include
the option to make delete_file_in_range apply to [from, to). Such inconsistency
might cause `blockstore::run_purge` to produce an inconsistent result as it
invokes both delete_range and delete_file_in_range.
#### Summary of Changes
This PR makes all our purge / delete related functions to be inclusive
on both starting and ending slots.
2022-08-30 21:38:54 -07:00
Brennan Watt
9094076de7
Increase downstream-projects timeout ( #27486 )
2022-08-30 21:07:32 -07:00
Brennan Watt
dfdb422fb1
Minor shred constant cleanup ( #27472 )
...
* Minor shred constant cleanup to eliminate magic number
2022-08-30 18:53:05 -07:00
Jeff Washington (jwash)
b5cca0bfa3
add tests to AccountsDb::unref_accounts ( #27474 )
2022-08-30 18:51:20 -05:00
Jeff Washington (jwash)
3d03f7b47e
remove unused acct idx::upsert_on_disk ( #27479 )
2022-08-30 15:42:46 -05:00
Jeff Washington (jwash)
2e4a52d010
remove storages that only contain empty ( #27452 )
2022-08-30 14:04:17 -05:00
Jeff Washington (jwash)
1154bc8636
get rid of acquisition of read lock while unrefing accounts in scan ( #27388 )
2022-08-30 14:04:02 -05:00
Michael Vines
574097f640
Wait for first incremental snapshot after a full snapshot before restarting
2022-08-30 11:31:28 -07:00
Will Hickey
4aa2a42cc7
Fix test_bench_tps_local_cluster_solana ( #27448 )
...
* Fix test_bench_tps_local_cluster_solana
* Remove #[ignore] annotations from dos tests (which are also fixed by this change)
* Remove #[ignore] annotations from local cluster tests (which are also fixed by this change)
2022-08-30 13:04:31 -05:00
Jeff Washington (jwash)
9bde3261fd
cleanup ( #27453 )
...
* cleanup
* Update runtime/src/accounts_db.rs
Co-authored-by: Brooks Prumo <brooks@prumo.org>
Co-authored-by: Brooks Prumo <brooks@prumo.org>
2022-08-30 10:58:35 -05:00
Jeff Washington (jwash)
e35cd7a34a
comment loop in function ( #27454 )
2022-08-30 10:58:02 -05:00
Tyera Eulberg
7bd08ad3ae
Featurize spinner in rpc-client and tpu-client ( #27381 )
...
* Add spinner features to rpc-client and tpu-client, and disable where unneeded
* Add doc comment
2022-08-30 09:56:56 -06:00
Jeff Washington (jwash)
3d692ba046
refactor clean_dead_slots_from_accounts_index ( #27451 )
2022-08-30 10:06:52 -05:00
Jeff Washington (jwash)
73ee94d674
remove old bank hashes with ancient shrink ( #27450 )
2022-08-30 09:31:20 -05:00
Justin Starry
71a086863b
Update 0-community.md
2022-08-30 15:12:09 +01:00
Justin Starry
4e8d4a012f
Update 0-community.md
2022-08-30 15:08:54 +01:00
Justin Starry
470e6d726c
Update 0-community.md
2022-08-30 15:07:37 +01:00
Justin Starry
56d698de61
Separate the general issue template into community / core ( #27469 )
2022-08-30 15:00:42 +01:00
Jeff Washington (jwash)
a4b8ab2f59
clean_dead_slots_from_accounts_index unrefs correctly ( #27461 )
2022-08-30 08:40:21 -05:00
Haoran Yi
8f3c1e3ebb
report a datapoint
2022-08-29 19:06:30 -05:00
Haoran Yi
7e722f15f2
reduce log frequence to 1m when qlen is above the threshold
2022-08-29 19:06:30 -05:00
Haoran Yi
37bba64613
remove bank drop queue stat
...
remove try_send
add warn! for excessively long bank drop queue
2022-08-29 19:06:30 -05:00