Move entry->blob creation out of write stage (#1257)
- The write stage will output vector of entries - Broadcast stage will create blobs out of the entries - Helps reduce MIPS requirements for write stage
This commit is contained in:
@@ -243,7 +243,7 @@ impl Fullnode {
|
||||
// TODO: To light up PoH, uncomment the following line:
|
||||
//let tick_duration = Some(Duration::from_millis(1000));
|
||||
|
||||
let (tpu, blob_receiver) = Tpu::new(
|
||||
let (tpu, entry_receiver) = Tpu::new(
|
||||
keypair,
|
||||
&bank,
|
||||
&crdt,
|
||||
@@ -262,7 +262,7 @@ impl Fullnode {
|
||||
shared_window,
|
||||
entry_height,
|
||||
blob_recycler.clone(),
|
||||
blob_receiver,
|
||||
entry_receiver,
|
||||
);
|
||||
thread_hdls.extend(broadcast_stage.thread_hdls());
|
||||
}
|
||||
|
Reference in New Issue
Block a user