Forward transactions as packets instead of blobs (#5334)

* Forward transactions as packets instead of blobs

* clippy
This commit is contained in:
Pankaj Garg
2019-07-30 14:50:02 -07:00
committed by GitHub
parent 8d243221f0
commit a7a10e12c7
8 changed files with 46 additions and 200 deletions

View File

@@ -33,7 +33,7 @@ impl Tpu {
poh_recorder: &Arc<Mutex<PohRecorder>>,
entry_receiver: Receiver<WorkingBankEntries>,
transactions_sockets: Vec<UdpSocket>,
tpu_via_blobs_sockets: Vec<UdpSocket>,
tpu_forwards_sockets: Vec<UdpSocket>,
broadcast_socket: UdpSocket,
sigverify_disabled: bool,
blocktree: &Arc<Blocktree>,
@@ -44,7 +44,7 @@ impl Tpu {
let (packet_sender, packet_receiver) = channel();
let fetch_stage = FetchStage::new_with_sender(
transactions_sockets,
tpu_via_blobs_sockets,
tpu_forwards_sockets,
&exit,
&packet_sender,
&poh_recorder,