Connect TPU's broadcast service with TVU's blob fetch stage (#2587)
* Connect TPU's broadcast service with TVU's blob fetch stage - This is needed since ledger is being written only in TVU now * fix clippy warnings * fix failing test * fix broken tests * fixed failing tests
This commit is contained in:
@@ -167,8 +167,9 @@ impl Replicator {
|
||||
let mut blob_sockets: Vec<Arc<UdpSocket>> =
|
||||
node.sockets.tvu.into_iter().map(Arc::new).collect();
|
||||
blob_sockets.push(repair_socket.clone());
|
||||
let (fetch_stage, blob_fetch_receiver) =
|
||||
BlobFetchStage::new_multi_socket(blob_sockets, exit.clone());
|
||||
let (blob_fetch_sender, blob_fetch_receiver) = channel();
|
||||
let fetch_stage =
|
||||
BlobFetchStage::new_multi_socket(blob_sockets, &blob_fetch_sender, exit.clone());
|
||||
|
||||
// todo: pull blobs off the retransmit_receiver and recycle them?
|
||||
let (retransmit_sender, retransmit_receiver) = channel();
|
||||
@@ -189,6 +190,7 @@ impl Replicator {
|
||||
leader_pubkey,
|
||||
))),
|
||||
done.clone(),
|
||||
exit.clone(),
|
||||
);
|
||||
|
||||
info!("window created, waiting for ledger download done");
|
||||
|
Reference in New Issue
Block a user