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:
Pankaj Garg
2018-09-18 13:49:10 -07:00
parent 8f0648e8fc
commit bff8f2614b
5 changed files with 30 additions and 32 deletions

View File

@@ -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());
}