dependabot[bot]
4d599a8362
Bump rand_core from 0.6.3 to 0.6.4 ( #30114 )
...
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-02-08 21:27:26 -07:00
dependabot[bot]
46293ec43f
Bump openssl from 0.10.41 to 0.10.45 ( #30115 )
...
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-02-08 21:26:43 -07:00
Nick Frostbutter
4a10ebdf0b
[docs] style: prettier force line length to 80 chars ( #30133 )
2023-02-09 03:23:21 +00:00
Nick Frostbutter
ae59195ed0
[docs] fix: rpc api redirect ( #30212 )
2023-02-08 20:40:05 -06:00
steviez
d3dab24bbe
chore: Use `i` over `ix` variable name when naming worker threads ( #30206 )
2023-02-09 01:24:57 +00:00
behzad nouri
1ad69cfc38
removes dynamic cast and dynamic dispatch from connection-cache ( #30128 )
...
Dynamic dispatch forces heap allocation and adds extra overhead.
Dynamic casting as in the ones below, lacks compile-time type safety:
https://github.com/solana-labs/solana/blob/eeb622c4e/quic-client/src/lib.rs#L172-L175
https://github.com/solana-labs/solana/blob/eeb622c4e/udp-client/src/lib.rs#L52-L55
The commit removes all instances of Any, Box<dyn ...>, and Arc<dyn ...>,
and instead uses generic and associated types.
There are only two protocols QUIC and UDP; and the code which has to
work with both protocols can use a trivial thin enum wrapper.
With respect to connection-cache specifically:
* connection-cache/ConnectionCache is a single protocol cache which
allows to use either QUIC or UDP without any build dependency on the
other protocol.
* client/ConnectionCache is an enum wrapper around both protocols and
can be used in the code which has to work with both QUIC and UDP.
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2023-02-09 00:50:44 +00:00
Jon Cinque
0481ce3069
sdk: Make `declare_id` mostly const ( #30177 )
2023-02-09 01:26:09 +01:00
steviez
55c8963462
Append integer to solBigTGetBlk threads to uniquify them ( #30184 )
2023-02-09 00:23:29 +00:00
Tao Zhu
5569946a8f
correct a comment with right info ( #30201 )
2023-02-08 17:33:28 -06:00
Pankaj Garg
375f9ae41d
LoadedPrograms cache implementation and tests ( #30139 )
2023-02-08 13:24:44 -08:00
Dmitri Makarov
1896d4110f
Bump sbf-tools version ( #30186 )
2023-02-08 13:20:26 -08:00
Jeff Washington (jwash)
0ca638648b
add shrink_can_be_active to remove ( #30191 )
2023-02-08 11:32:18 -08:00
Jeff Washington (jwash)
b4fe1280b3
add Debug to some structs ( #30193 )
2023-02-08 10:17:07 -08:00
Jeff Washington (jwash)
427bd62642
handle_dropped_roots_for_ancient takes iter ( #30190 )
2023-02-08 09:40:49 -08:00
Jeff Washington (jwash)
0da4697b2f
add ancient write_ancient_accounts ( #30182 )
2023-02-08 09:40:17 -08:00
behzad nouri
544fbded07
removes wallclock from duplicate-shreds handler ( #30187 )
2023-02-08 17:29:30 +00:00
Jeff Washington (jwash)
5cbd6b3a74
minor cleanup ( #30181 )
2023-02-08 08:00:14 -08:00
Jeff Washington (jwash)
70d635127e
add `ancient collect_sort_filter_info` ( #30169 )
2023-02-08 07:08:20 -08:00
kirill lykov
10dde654e7
add client-type cli option documentation ( #30170 )
2023-02-08 10:56:25 +01:00
kirill lykov
9f35ffc639
add http to the url in remote-client script ( #30167 )
2023-02-08 10:56:10 +01:00
Illia Bobyr
cf77f5dbb8
doc: ledger: Document `completed_data_sets_service` module ( #30001 )
2023-02-07 21:20:09 -08:00
Illia Bobyr
6bc566d802
doc: ledger: Document `CompletedDataSetInfo` ( #29998 )
2023-02-07 21:19:07 -08:00
Jeff Washington (jwash)
e14d0638e7
add ancient get_unique_accounts_from_storage_for_combining_ancient_slots ( #30176 )
2023-02-07 18:22:54 -08:00
Pankaj Garg
d0623a38c8
API to match account owner against a set of owners ( #30154 )
2023-02-07 17:48:10 -08:00
Jeff Washington (jwash)
bfc29a6b2f
remove storage_finder from write_accounts_to_storage ( #30172 )
...
Co-authored-by: Trent Nelson <trent@solana.com>
2023-02-07 14:44:40 -08:00
Trent Nelson
5494146413
ci: update openssl-src to 111.25 as per RUSTSEC-2023-0007 ( #30173 )
2023-02-07 15:22:48 -07:00
Jeff Washington (jwash)
1eb304de28
NonZeroU64 for ideal_storage_size ( #30168 )
2023-02-07 13:34:27 -08:00
Athar Mohammad
78f9d8b66d
Fix camelCase response for RpcPrioritizationFee ( #30162 )
2023-02-07 13:42:58 -07:00
Jeff Washington (jwash)
927da903a8
StoreTo::Storage holds storage ( #30156 )
2023-02-07 11:54:26 -08:00
Jeff Washington (jwash)
d53c49c230
add ancient filter_ancient_slots ( #30152 )
2023-02-07 10:35:40 -08:00
Andrew Fitzgerald
2b99756b3e
BankingStage Refactor: Move counters out of record_transactions ( #30093 )
...
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2023-02-07 07:45:50 -08:00
HaoranYi
3f913e49fc
refactor rent payment order cmp ( #30132 )
2023-02-07 09:30:48 -06:00
HaoranYi
5dd90268b1
comments fix ( #30134 )
...
Co-authored-by: haoran <haoran@mbook>
2023-02-07 09:22:08 -06:00
Alexander Meißner
d387f15587
Refactor - Remove redundant `use_jit` flag from `BpfExecutor` ( #30116 )
2023-02-07 10:05:54 +01:00
Michael Vines
b8a8ca7c2b
Mergify: include destination branch in backport PR title ( #30153 )
2023-02-06 16:13:54 -08:00
Jeff Washington (jwash)
db4174cbcb
ancient choose_storages_to_shrink ( #30146 )
2023-02-06 14:29:54 -08:00
Brooks
84d746a8dd
Reorders AccountInfo checks in check_type_assumptions() ( #30143 )
2023-02-06 17:06:07 -05:00
behzad nouri
60858d043c
uses array instead of HashMap in duplicate shreds ProofChunkMap ( #30147 )
2023-02-06 19:48:56 +00:00
Tyera
a14473eb54
Prevent Rent-reward recipients from ending up RentPaying ( #30130 )
2023-02-06 12:16:36 -07:00
Jeff Washington (jwash)
01f0dcdad4
add ancient ancient filter_by_smallest_capacity and truncate_to_max_storages ( #30129 )
2023-02-06 11:04:53 -08:00
Lijun Wang
f3457a8485
Refactor client::nonblocking::tpu_client to use tpu_client::nonblocki… ( #30136 )
...
Refactor client::nonblocking::tpu_client to use tpu_client::nonblocking::tpu_client use a thin wrapper only
for backward compatibility
2023-02-06 10:07:26 -08:00
omahs
70d6614b50
Fix: typos ( #30141 )
2023-02-06 10:04:46 -07:00
Andrew Fitzgerald
d9444a6576
remove unnecessary clippy warning ignore ( #30100 )
2023-02-06 08:27:18 -08:00
Andrew Fitzgerald
7fb2fc6f27
Add comment on the closure ( #30091 )
2023-02-06 08:24:36 -08:00
Brooks
b77e12b3a9
Makes AccountInfo repr(C) ( #30124 )
2023-02-06 08:00:46 -05:00
Jeff Washington (jwash)
8785942f56
add ancient sort_shrink_indexes_by_bytes_saved ( #30123 )
2023-02-05 12:14:14 -08:00
Jeff Washington (jwash)
0bbc4774d7
minor cleanup on tests ( #30125 )
2023-02-05 12:13:39 -08:00
Lijun Wang
a24363bb04
Refactor tpu_client -- remove duplicate code ( #30104 )
...
Removed implementation in client/tpu_client and make it a thin wrapper to forward calls to the backend TpuClient. There is some minor change to coerce the client/ConnectionCache to connection-cache/ConnectionCache.
2023-02-03 17:47:50 -08:00
Wen
151585e596
Filter pubkey in gossip duplicateproof ingestion ( #29879 )
2023-02-03 11:41:32 -08:00
Andrew Fitzgerald
8914d1af27
BankingStage Refactor: Add state to PacketReceiver ( #30090 )
2023-02-03 11:35:43 -08:00