apfitzge
83b245642f
--snapshot-archive-format should not conflict w/ --no-snapshot ( #25368 )
2022-05-19 12:49:59 -05:00
Brooks Prumo
021276c955
Move updating accounts data len from execute to commit ( #25256 )
2022-05-19 12:24:13 -05:00
sakridge
8c39648ec6
Give some tolerance to recv_mmsg test ( #25299 )
2022-05-19 18:54:39 +02:00
Lijun Wang
2266dfc696
Remove unnecessary async marker for create_endpoint ( #25290 )
...
* Add metrics for open_uni
* Remove unnecessary async marker for create_endpoint
* Removed noisy metrics
2022-05-19 01:17:29 -07:00
Alexander Meißner
d38752e1e7
Bumps solana_rbpf to v0.2.29 ( #25333 )
2022-05-19 09:19:05 +02:00
Dmitri Makarov
569b00025c
fix: replace rust cfg annotations that use bpf by target_os solana
2022-05-18 20:39:43 -07:00
behzad nouri
be1d606dea
adds sanity checks to Shred::reference_tick_from_data
...
Shred::reference_tick_from_data should check if payload is indeed a data
shred and has valid size.
2022-05-18 21:56:22 +00:00
behzad nouri
e2bbc3913d
separates out data vs code shreds at the type level
...
Working towards revising shred struct to embed versioning so that a new
variant can contain merkle tree hashes of the erasure batch. To ease out
migration the commit adds more type-safety by distinguishing data vs
code shreds at the type level.
Additionally having both data and coding headers in each shred is
redundant as only one is relevant for each shred. The revised shred type
in this commit will only have one type-specific header.
https://github.com/solana-labs/solana/blob/c785f1ffc/ledger/src/shred.rs#L198-L203
2022-05-18 21:56:22 +00:00
buffalu
971748b335
fix banking stage starvation ( #25245 )
2022-05-18 22:37:47 +02:00
dependabot[bot]
5299038065
chore: bump rustls from 0.20.5 to 0.20.6 ( #25331 )
...
* chore: bump rustls from 0.20.5 to 0.20.6
Bumps [rustls](https://github.com/rustls/rustls ) from 0.20.5 to 0.20.6.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.20.5...v/0.20.6 )
---
updated-dependencies:
- dependency-name: rustls
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-05-18 14:36:22 -06:00
Lijun Wang
81d9a7585d
Add make_connection metrics ( #25280 )
...
* Add metrics for open_uni
* Added metrics for make_connection
* measure make_connection success or fail
2022-05-18 13:23:29 -07:00
Michael Vines
edd090f4a7
Avoid "Dropped RPC Notification" log spam ( #25341 )
2022-05-18 12:45:45 -07:00
Steven Luscher
84f1e5c0da
fix: speed up transaction signing by removing code that does nothing ( #25302 )
2022-05-18 11:08:13 -07:00
dependabot[bot]
7402878628
chore: bump raptorq from 1.6.5 to 1.7.0 ( #25330 )
...
Bumps [raptorq](https://github.com/cberner/raptorq ) from 1.6.5 to 1.7.0.
- [Release notes](https://github.com/cberner/raptorq/releases )
- [Commits](https://github.com/cberner/raptorq/compare/v1.6.5...v1.7.0 )
---
updated-dependencies:
- dependency-name: raptorq
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>
2022-05-18 17:56:38 +00:00
Jeff Washington (jwash)
0f703b71cc
minor test renaming ( #25297 )
2022-05-18 12:53:55 -05:00
Jeff Washington (jwash)
fe91f40f8a
use previous epoch rent collector in expected rent collection ( #25289 )
2022-05-18 12:53:45 -05:00
yihau
c49efae445
chore: windows build use channel or tag
2022-05-19 00:41:33 +08:00
dependabot[bot]
542bd0ec3c
chore: bump rayon from 1.5.2 to 1.5.3 ( #25242 )
...
* chore: bump rayon from 1.5.2 to 1.5.3
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.5.2...v1.5.3 )
---
updated-dependencies:
- dependency-name: rayon
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-05-18 09:39:57 -06:00
dependabot[bot]
3b47250d4a
chore: bump signal-hook from 0.3.13 to 0.3.14 ( #25281 )
...
* chore: bump signal-hook from 0.3.13 to 0.3.14
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.13...v0.3.14 )
---
updated-dependencies:
- dependency-name: signal-hook
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-05-18 09:28:52 -06:00
dependabot[bot]
3bda895ea9
chore: bump rustls from 0.20.4 to 0.20.5 ( #25243 )
...
* chore: bump rustls from 0.20.4 to 0.20.5
Bumps [rustls](https://github.com/rustls/rustls ) from 0.20.4 to 0.20.5.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.20.4...v/0.20.5 )
---
updated-dependencies:
- dependency-name: rustls
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-05-18 09:27:16 -06:00
DimAn
24122768da
fix bootstrap without known validators ( #25293 )
2022-05-18 06:12:05 -05:00
Justin Starry
5548baf4dd
Don't drop transactions which use a request heap size ix ( #25315 )
2022-05-18 17:47:24 +08:00
Justin Starry
a1522d0024
Use consistent naming for compute unit limit ( #25229 )
...
* Use consistent naming for compute unit limit
* feedback
2022-05-18 13:14:31 +08:00
yihau
66c9513eb0
chore: fix windows build doesn't be triggered correctly
2022-05-18 11:42:36 +08:00
Michael Vines
795f6eda44
`--rpc-pubsub-notification-threads 0` now turns off the internal PubSub notification machinery ( #25307 )
2022-05-17 20:23:51 -07:00
Michael Vines
0bdc4cdb7e
Reduce admin rpc service thread count from the number of available cores to 3 ( #25306 )
2022-05-17 19:40:13 -07:00
steviez
b27125815a
Simplify logic around MAX_ORPHAN_REPAIR_RESPONSES constant ( #25032 )
2022-05-17 19:45:45 -06:00
Phil Chen
456e6711f0
chore: typo in BlockheightBasedTransactionConfirmationStrategy ( #25279 )
...
* fix typo: Confimation => Confirmation
* chore: run prettier
Co-authored-by: steveluscher <me+github@steveluscher.com>
2022-05-17 16:59:04 -07:00
behzad nouri
9b13b1b712
adds const_assert_eq for shred constants ( #25288 )
...
Adding const_assert_eq:
* Documents explicitly what the constants are equal to.
* Prevents introducing bugs by silently changing the constants as the
code is updated.
2022-05-17 22:44:35 +00:00
steviez
3d8e5e91ed
Fix ledger-tool from erroring with unspecified archive_format ( #25298 )
...
value_t_or_exit()! will error if the user doesn't specify a value at
runtime, use value_of() instead which will give either the default value
or whatever the user specified.
2022-05-17 15:46:31 -06:00
Jon Cinque
0820065c98
rpc: Support token-2022 in token-specific calls ( #25150 )
...
* rpc: Support token-2022 in token-specific calls
* Address feedback
2022-05-17 21:02:43 +02:00
Brooks Prumo
dff089e0dd
Fix RpcResponseContext in rpc_client test ( #25296 )
2022-05-17 12:44:43 -05:00
Brooks Prumo
e608580040
Add get_stake_minimum_delegation() to rpc_client ( #25200 )
2022-05-17 11:46:34 -05:00
scriptrunner2049
4b43308f00
Update SECURITY.md
2022-05-18 00:23:38 +08:00
scriptrunner2049
dd22b0cb84
Update SECURITY.md
2022-05-18 00:23:21 +08:00
HaoranYi
85a2e599bb
revert memory map for reading snapshot ( #25259 )
2022-05-17 09:32:18 -05:00
scriptrunner2049
266c3059ca
Update SECURITY.md
2022-05-17 16:59:28 +08:00
scriptrunner2049
5503e1486d
Update SECURITY.md
2022-05-17 16:58:48 +08:00
Justin Starry
4690956849
RPC: Add minContextSlot param to ensure consistent responses ( #25161 )
...
* RPC: Add minContextSlot param to ensure consistent responses
* revert changes to deprecated endpoints
* update docs
2022-05-17 14:46:02 +08:00
Justin Starry
4e352bffaf
cli: Fix display of staked validators ( #25216 )
2022-05-17 14:32:52 +08:00
buffalu
6bcadc755e
Speedup bigtable block upload by factor of 8-10x ( #24534 )
...
Added multiple blockstore read threads.
Run the bigtable upload in tokio::spawn context.
Run bigtable tx and tx-by-addr uploads in tokio::spawn context.
2022-05-17 00:21:05 -06:00
Michael Vines
e718c80a21
Avoid multiple base58 encodes for all votes when no `voteSubscribe` is disabled
2022-05-16 19:56:48 -07:00
Jon Cinque
48982778ef
ci: Remove downstream anchor projects ( #25266 )
2022-05-17 02:27:38 +02:00
ahlee42
9c754d6c95
Fixed typo in Docs ("transacton" -> "transaction") ( #25260 )
...
Co-authored-by: Arnold Lee <103599294+TamashiDev@users.noreply.github.com>
2022-05-16 14:48:59 -07:00
Brooks Prumo
18c45a610c
clippy: Use `unsigned_abs()` ( #25250 )
2022-05-16 16:08:42 -05:00
Jeff Washington (jwash)
2cf7c73ced
cleanup types in tests ( #25254 )
2022-05-16 15:54:40 -05:00
sakridge
a63d99fd11
Use write! to fix clippy and save heap allocation ( #25220 )
2022-05-16 22:39:33 +02:00
Jack May
21e066ef26
Merge pull request from GHSA-wxrh-ff9f-fc6w
2022-05-16 12:30:37 -07:00
Yueh-Hsuan Chiang
5625959f7e
(LedgerStore) Change perf_samples_counter from Arc<AtomicUsize> to AtomicUsize ( #25043 )
...
#### Problem
After #25042 , each LedgerColumn has its own BlockstoreRocksDbWritePerfMetrics
and BlockstoreRocksDbReadPerfMetrics instances. As it has total ownership,
its member field does not need to use Arc.
#### Summary of Changes
Change perf_samples_counter from Arc<AtomicUsize> to AtomicUsize
under BlockstoreRocksDbWritePerfMetrics and BlockstoreRocksDbReadPerfMetrics.
2022-05-16 11:31:07 -07:00
Lijun Wang
196de1c043
Refactor make_connection ( #25225 )
...
1. Move logics related to creating endpoint, creating new connection and retry 0rtt connections into a wrapper construct QuicNewConnection to put the logic together.
2. get_or_add_connection: logic is much simplified to allow manage the connection cache -- the QUIC connection is lazy constructed. get_or_add_connection should no longer be a global hotspot.
3. Per connection stats update is moved out of get_or_add_connection to avoid bad connection impacting good connections.
2022-05-16 11:13:18 -07:00