|
82945ba973
|
Optimize TpuConnection and its implementations and refactor connection-cache to not use dyn in order to enable those changes (#23877)
|
2022-03-24 11:40:26 -04:00 |
|
|
d4292774c5
|
checks
|
2022-02-25 08:05:28 +00:00 |
|
|
4b24499916
|
removes total-size from return value of recv_mmsg
|
2022-01-04 21:06:59 +00:00 |
|
|
b8837c04ec
|
Reformat imports to a consistent style for imports
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
|
2021-12-03 09:19:13 -08:00 |
|
|
8229a4fbf6
|
removes raw indexing from streamer (#19183)
Raw indexing is verbose and error-prone. This same code had an indexing
bug causing validator nodes panic just a few months ago:
https://github.com/solana-labs/solana/commit/482b8c6be
|
2021-08-12 01:42:12 +00:00 |
|
|
049fb0417f
|
allows sendmmsg api taking owned values (as well as references) (#18999)
Current signature of api in sendmmsg requires a slice of inner
references:
https://github.com/solana-labs/solana/blob/fe1ee4980/streamer/src/sendmmsg.rs#L130-L152
That forces the call-site to convert owned values to references even
though doing so is redundant and adds an extra level of indirection:
https://github.com/solana-labs/solana/blob/fe1ee4980/core/src/repair_service.rs#L291
This commit expands the api using AsRef and Borrow traits to allow
calling the method with owned values (as well as references like
before).
|
2021-07-30 20:58:49 +00:00 |
|
|
ae5ad5cf9b
|
sendmmsg cleanup #18589
Rationalize usage of sendmmsg(2). Skip packets which failed to send and track failures.
|
2021-07-16 14:36:49 -07:00 |
|
|
482b8c6be9
|
Merge pull request from GHSA-qgrq-w56v-hr62
|
2021-04-01 09:54:45 -07:00 |
|
|
570fd3f810
|
makes turbine peer computation consistent between broadcast and retransmit (#14910)
get_broadcast_peers is using tvu_peers:
https://github.com/solana-labs/solana/blob/84e52b606/core/src/broadcast_stage.rs#L362-L370
which is potentially inconsistent with retransmit_peers:
https://github.com/solana-labs/solana/blob/84e52b606/core/src/cluster_info.rs#L1332-L1345
Also, the leader does not include its own contact-info when broadcasting
shreds:
https://github.com/solana-labs/solana/blob/84e52b606/core/src/cluster_info.rs#L1324
but on the retransmit side, slot leader is removed only _after_ neighbors and
children are computed:
https://github.com/solana-labs/solana/blob/84e52b606/core/src/retransmit_stage.rs#L383-L384
So the turbine broadcast tree is different between the two stages.
This commit:
* Removes retransmit_peers. Broadcast and retransmit stages will use tvu_peers
consistently.
* Retransmit stage removes slot leader _before_ computing children and
neighbors.
|
2021-03-24 13:34:48 +00:00 |
|
|
4677cdb4c2
|
Optimize broadcast cluster_info critical section (#9327)
|
2020-04-06 17:36:22 -07:00 |
|
|
9cedeb0a8d
|
Pull streamer out into its own module. (#8917)
automerge
|
2020-03-17 23:30:23 -07:00 |
|