Free up the name 'accounting_stage'
This commit is contained in:
@@ -7,10 +7,10 @@ extern crate solana;
|
||||
use getopts::Options;
|
||||
use isatty::stdin_isatty;
|
||||
use solana::accountant::Accountant;
|
||||
use solana::accounting_stage::AccountingStage;
|
||||
use solana::crdt::ReplicatedData;
|
||||
use solana::entry::Entry;
|
||||
use solana::event::Event;
|
||||
use solana::event_processor::EventProcessor;
|
||||
use solana::rpu::Rpu;
|
||||
use solana::signature::{KeyPair, KeyPairUtil};
|
||||
use std::env;
|
||||
@@ -115,9 +115,9 @@ fn main() {
|
||||
|
||||
eprintln!("creating networking stack...");
|
||||
|
||||
let accounting_stage = AccountingStage::new(accountant, &last_id, Some(1000));
|
||||
let event_processor = EventProcessor::new(accountant, &last_id, Some(1000));
|
||||
let exit = Arc::new(AtomicBool::new(false));
|
||||
let rpu = Arc::new(Rpu::new(accounting_stage));
|
||||
let rpu = Rpu::new(event_processor);
|
||||
let serve_sock = UdpSocket::bind(&serve_addr).unwrap();
|
||||
let gossip_sock = UdpSocket::bind(&gossip_addr).unwrap();
|
||||
let replicate_sock = UdpSocket::bind(&replicate_addr).unwrap();
|
||||
|
Reference in New Issue
Block a user