Jeff Washington (jwash)
16219e300e
generating index sets uncleaned_roots correctly ( #26431 )
...
* generating index sets uncleaned_roots correctly
* fix test failures
* rename
* update comments
2022-07-06 16:12:47 -05:00
Jeff Biseda
f2fada9f21
document using ldb to drop rocksdb column families for downgrade scenarios ( #26424 )
2022-07-06 13:30:33 -07:00
dependabot[bot]
0b0549bcd8
chore:(deps): bump moment from 2.29.2 to 2.29.4 in /explorer ( #26452 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 20:02:35 +00:00
behzad nouri
d7201a8d1a
names fields in RentResullt::CollectRent enum variant ( #26449 )
...
Avoiding ambiguous raw tuple:
CollectRent((Epoch, u64))
Using named fields instead:
CollectRent {
new_rent_epoch: Epoch,
rent_due: u64,
},
2022-07-06 20:01:16 +00:00
dependabot[bot]
83a73532b0
chore: bump indexmap from 1.8.1 to 1.9.1 ( #26435 )
...
* chore: bump indexmap from 1.8.1 to 1.9.1
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.8.1...1.9.1 )
---
updated-dependencies:
- dependency-name: indexmap
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
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-07-06 13:44:59 -06:00
Justin Starry
f4718be22f
Clean up `leave_nonce_on_success` feature ( #26447 )
...
Clean up leave_nonce_on_success feature
2022-07-06 17:59:34 +00:00
Justin Starry
ff1e6fcbed
Clean up `nonce_must_be_advanceable` feature ( #26446 )
...
Clean up nonce_must_be_advanceable feature
2022-07-06 17:36:33 +00:00
Alexander Meißner
06ebfa1eb2
Replicates `AccountsDataMeter` in `TransactionContext` ( #26438 )
...
Replicates AccountsDataMeter in TransactionContext.
2022-07-06 19:27:42 +02:00
Justin Starry
611ac33718
Clean up `nonce_must_be_authorized` feature ( #26445 )
...
Clean up nonce_must_be_authorized feature
2022-07-06 17:17:31 +00:00
Xiang Zhu
44f499cff3
Refactor account index scan function parameters ( #26428 )
...
* Refactor account index scan function parameters
F: FnMut(bool, &SlotList<T>, &'a Pubkey, RefCount) -> AccountsIndexScanResult,
Refactor to take (&'a Pubkey, Option<(&SlotList<T>, RefCount))
* Update comments based on review feedback
* cargo fmt --all fixes
2022-07-06 09:49:11 -07:00
Jeff Washington (jwash)
17a99d98dd
Revert "avoid adding to 'uncleaned_roots' when generating index and c… ( #26441 )
...
Revert "avoid adding to 'uncleaned_roots' when generating index and caller passes accounts-db-skip-shrink (#25936 )"
This reverts commit e24cc537a4
.
2022-07-06 11:32:45 -05:00
Jeff Washington (jwash)
ab164fc975
simplify code ( #26443 )
2022-07-06 11:22:26 -05:00
Justin Starry
f8dccd4602
Clean up `max_tx_account_locks` feature ( #26440 )
...
Clean up max_tx_account_locks feature
2022-07-06 15:06:03 +00:00
Jeff Washington (jwash)
5afe4d938d
combine lookup in calc_delete_dependencies ( #26429 )
2022-07-06 08:50:14 -05:00
Jeff Washington (jwash)
71c7b4f9cb
use append vec iter in construct_candidate_clean_keys ( #26426 )
2022-07-06 08:49:35 -05:00
behzad nouri
6f5857a5db
removes feature gate code separating durable nonce from blockhash domain ( #26055 )
2022-07-06 12:03:13 +00:00
behzad nouri
d33c548660
bypasses window-service stage before retransmitting shreds ( #26291 )
...
With recent patches, window-service recv-window does not do much other
than redirecting packets/shreds to downstream channels.
The commit removes window-service recv-window and instead sends
packets/shreds directly from sigverify to retransmit-stage and
window-service insert thread.
2022-07-06 11:49:58 +00:00
dependabot[bot]
37f4621c06
chore: bump serde from 1.0.137 to 1.0.138 ( #26421 )
...
* chore: bump serde from 1.0.137 to 1.0.138
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138 )
---
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
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-07-05 23:18:08 -06:00
Tao Zhu
c1d89ad749
forward packets by prioritization in desc order ( #25406 )
...
- Forward packets by prioritization in desc order
- Add support of cost-tracking by transaction requested compute units
- Hook up account buckets to forwarder
- Add metrics for forwardable batches count
- Remove redundant invalid packets filtering at end of slot since forwarder will do the same when batch forwardable packets
- Add bench test for forwarding
2022-07-05 23:24:58 -05:00
Jeff Washington (jwash)
38216aa781
update comment for the next weary traveller ( #26413 )
2022-07-05 23:12:35 -05:00
Jeff Washington (jwash)
75149fd624
move mark_old_slots_as_dirty to be called from ahv ( #26411 )
2022-07-05 23:11:32 -05:00
Jeff Washington (jwash)
8eba4d1698
add 2nd pass at hash calc when failure seen ( #26392 )
2022-07-05 18:01:02 -05:00
Jeff Washington (jwash)
2aafef38f9
is_shrinking_productive calls avoid arc clone ( #26422 )
2022-07-05 17:53:29 -05:00
Kirill Fomichev
90d9118048
Add `get_confirmed_transactions` to `storage-bigtable` ( #25404 )
...
* Add get_confirmed_transactions to storage-bigtable
* remove zip
* HashMap::new instead of default
* extract txs in order
2022-07-05 22:52:11 +00:00
Jeff Washington (jwash)
b7e34aea15
refactor calculate_rent_result ( #26416 )
...
reactor calculate_rent_result
2022-07-05 16:45:59 -05:00
behzad nouri
d3a14f5b30
simplifies packet/shred sanity checks ( #26356 )
2022-07-05 21:41:19 +00:00
Brooks Prumo
53b9420562
Remove `INTO!` macros in serde_snapshot ( #26409 )
2022-07-05 16:37:20 -05:00
Jack May
690efc0b7c
Missing privkey, add 2nd feature key ( #26415 )
2022-07-05 13:36:37 -07:00
dependabot[bot]
61f8769039
chore: bump reqwest from 0.11.10 to 0.11.11 ( #26162 )
...
* chore: bump reqwest from 0.11.10 to 0.11.11
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.10 to 0.11.11.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.10...v0.11.11 )
---
updated-dependencies:
- dependency-name: reqwest
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
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-07-05 20:07:08 +00:00
Jeff Washington (jwash)
26176af4aa
cleanup cli arg help ( #26366 )
2022-07-05 14:49:05 -05:00
carllin
ce39c14025
Add end-to-end replay slot metrics ( #25752 )
2022-07-05 13:58:51 -05:00
Nick Rempel
7e4a5de99c
Refactor ConnectionCache::use_quic ( #26235 )
...
* Remove UseQuic type
Move to storing the UdpSocket on ConnectionCache and accepting a bool
* Remove use_quic from ConnectionCache constructor
Replace with separate with_udp constructor to force callers to choose
2022-07-05 10:49:42 -07:00
HaoranYi
b83203403f
Update openssl-src to fix cargo audit ( #26410 )
...
update openssl-src to fix cargo audit
2022-07-05 12:04:25 -05:00
Jeff Washington (jwash)
0ab521d5f1
inc counter when append vec drop fails ( #26396 )
2022-07-05 11:27:01 -05:00
behzad nouri
61f0a7d9c3
replaces Mutex<PohRecorder> with RwLock<PohRecorder> ( #26370 )
...
Mutex causes superfluous lock contention when a read-only reference suffices.
2022-07-05 14:29:44 +00:00
Brooks Prumo
9ec38a3191
Cleanup snapshot integration tests ( #26390 )
2022-07-05 09:23:23 -05:00
Jeff Washington (jwash)
95ae82e074
add info to ledger tool for total execution time ( #26368 )
2022-07-05 09:23:06 -05:00
Justin Starry
5450f97844
explorer: Update address map program name to address lookup table ( #26388 )
2022-07-04 13:23:42 +00:00
steveluscher
627d91fb20
chore: move `checkBlockHeight` into block where it's used
2022-07-02 13:15:50 -07:00
steveluscher
6f6e5172d3
fix: ingest only the relevant properties when constructing `Transactions`
2022-07-02 13:15:50 -07:00
Jeff Washington (jwash)
5f3b7bdd16
prevent ledger tool from calculating hash on non-rooted slots ( #26355 )
2022-07-02 11:50:01 -05:00
steveluscher
6b82235fab
fix: a much simpler way to prevent getRecentPerformanceSamples from sending a commitment
2022-07-01 22:34:30 -07:00
steveluscher
b1f8baf6ad
test: maybe don't disable all the web3.js tests
2022-07-01 22:31:02 -07:00
steveluscher
e24b64dd71
fix: `getPerformanceSamples` no longer breaks when the connection has a default commitment
2022-07-02 05:29:41 +00:00
Jeff Washington (jwash)
88b5b7e30a
improve log ( #26360 )
2022-07-01 13:12:52 -05:00
HaoranYi
728986ddf4
Spell correction and add remove slot in AccountDB purge assert message ( #26358 )
...
nit spell. add remove slots in accoutdb purge assert message
2022-07-01 17:39:35 +00:00
Tyera Eulberg
d6b53fb173
BigtableUploadService: recheck first_available_block ( #26347 )
...
Recheck first_available_block
2022-07-01 10:42:23 -06:00
Michael Vines
47c596ff12
Bump --contact-debug-interval default to 2m from 10s
2022-07-01 09:41:27 -07:00
Mark Daniel
3fcdc45092
fix: web3.js; maxRetries no longer stripped when zero ( #26345 )
...
Co-authored-by: Mark D <83738282+markusmark1@users.noreply.github.com>
2022-06-30 23:20:22 -07:00
Michael Vines
fdb186ba3b
pacify nightly clippy
2022-06-30 21:31:49 -07:00