From 129585fd2b6cef7772dce8d719cde25c35379592 Mon Sep 17 00:00:00 2001 From: Robert Kelly Date: Tue, 24 Apr 2018 13:15:08 -0400 Subject: [PATCH 1/3] added FutureResult to return a Future that immediately resolves --- Cargo.toml | 1 + src/accountant.rs | 6 ++++++ src/accountant_skel.rs | 8 +++++--- src/accountant_stub.rs | 29 +++++++++++++++++------------ src/bin/client-demo.rs | 8 +++++--- src/lib.rs | 2 ++ 6 files changed, 36 insertions(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5b8e9da12b485d..f7571ce681b4fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,3 +63,4 @@ byteorder = "^1.2.1" libc = "^0.2.1" getopts = "^0.2" +futures = "0.1" diff --git a/src/accountant.rs b/src/accountant.rs index 682fa7635bd038..cc5cc377c4309d 100644 --- a/src/accountant.rs +++ b/src/accountant.rs @@ -81,6 +81,12 @@ impl Accountant { true } + // fn forget_signature_with_last_id(&self, last_id: &Hash) -> bool { + // let mut last_ids = self.last_ids.write().unwrap(); + // last_ids.pop_back(); + // true + // } + fn reserve_signature_with_last_id(&self, sig: &Signature, last_id: &Hash) -> bool { if let Some(entry) = self.last_ids .read() diff --git a/src/accountant_skel.rs b/src/accountant_skel.rs index 41d8f90ede1292..97f8e3ec344675 100644 --- a/src/accountant_skel.rs +++ b/src/accountant_skel.rs @@ -28,6 +28,7 @@ use std::time::Duration; use streamer; use transaction::Transaction; + pub struct AccountantSkel { acc: Accountant, last_id: Hash, @@ -326,6 +327,7 @@ mod tests { use accountant_skel::AccountantSkel; use accountant_stub::AccountantStub; use entry::Entry; + use futures::Future; use historian::Historian; use mint::Mint; use plan::Plan; @@ -426,20 +428,20 @@ mod tests { socket.set_read_timeout(Some(Duration::new(5, 0))).unwrap(); let acc = AccountantStub::new(&addr, socket); - let last_id = acc.get_last_id().unwrap(); + let last_id = acc.get_last_id().wait().unwrap(); let tr = Transaction::new(&alice.keypair(), bob_pubkey, 500, last_id); let _sig = acc.transfer_signed(tr).unwrap(); - let last_id = acc.get_last_id().unwrap(); + let last_id = acc.get_last_id().wait().unwrap(); let mut tr2 = Transaction::new(&alice.keypair(), bob_pubkey, 501, last_id); tr2.data.tokens = 502; tr2.data.plan = Plan::new_payment(502, bob_pubkey); let _sig = acc.transfer_signed(tr2).unwrap(); - assert_eq!(acc.get_balance(&bob_pubkey).unwrap().unwrap(), 500); + assert_eq!(acc.get_balance(&bob_pubkey).wait().unwrap(), 500); exit.store(true, Ordering::Relaxed); } diff --git a/src/accountant_stub.rs b/src/accountant_stub.rs index 69d2f959897444..92e4e9253ee2ec 100644 --- a/src/accountant_stub.rs +++ b/src/accountant_stub.rs @@ -5,6 +5,7 @@ use accountant_skel::{Request, Response}; use bincode::{deserialize, serialize}; +use futures::future::{err, ok, FutureResult}; use hash::Hash; use signature::{KeyPair, PublicKey, Signature}; use std::io; @@ -51,35 +52,38 @@ impl AccountantStub { /// Request the balance of the user holding `pubkey`. This method blocks /// until the server sends a response. If the response packet is dropped /// by the network, this method will hang indefinitely. - pub fn get_balance(&self, pubkey: &PublicKey) -> io::Result> { + pub fn get_balance(&self, pubkey: &PublicKey) -> FutureResult { let req = Request::GetBalance { key: *pubkey }; let data = serialize(&req).expect("serialize GetBalance"); - self.socket.send_to(&data, &self.addr)?; + self.socket.send_to(&data, &self.addr).expect("buffer error"); let mut buf = vec![0u8; 1024]; - self.socket.recv_from(&mut buf)?; + self.socket.recv_from(&mut buf).expect("buffer error"); let resp = deserialize(&buf).expect("deserialize balance"); if let Response::Balance { key, val } = resp { assert_eq!(key, *pubkey); - return Ok(val); + return match val { + Some(x) => ok(x), + _ => err(0), + }; } - Ok(None) + err(0) } /// Request the last Entry ID from the server. This method blocks /// until the server sends a response. At the time of this writing, /// it also has the side-effect of causing the server to log any /// entries that have been published by the Historian. - pub fn get_last_id(&self) -> io::Result { + pub fn get_last_id(&self) -> FutureResult { let req = Request::GetLastId; let data = serialize(&req).expect("serialize GetId"); - self.socket.send_to(&data, &self.addr)?; + self.socket.send_to(&data, &self.addr).expect("buffer error"); let mut buf = vec![0u8; 1024]; - self.socket.recv_from(&mut buf)?; + self.socket.recv_from(&mut buf).expect("buffer error"); let resp = deserialize(&buf).expect("deserialize Id"); if let Response::LastId { id } = resp { - return Ok(id); + return ok(id); } - Ok(Default::default()) + ok(Default::default()) } } @@ -88,6 +92,7 @@ mod tests { use super::*; use accountant::Accountant; use accountant_skel::AccountantSkel; + use futures::Future; use historian::Historian; use mint::Mint; use signature::{KeyPair, KeyPairUtil}; @@ -120,10 +125,10 @@ mod tests { socket.set_read_timeout(Some(Duration::new(5, 0))).unwrap(); let acc = AccountantStub::new(addr, socket); - let last_id = acc.get_last_id().unwrap(); + let last_id = acc.get_last_id().wait().unwrap(); let _sig = acc.transfer(500, &alice.keypair(), bob_pubkey, &last_id) .unwrap(); - assert_eq!(acc.get_balance(&bob_pubkey).unwrap().unwrap(), 500); + assert_eq!(acc.get_balance(&bob_pubkey).wait().unwrap(), 500); exit.store(true, Ordering::Relaxed); } } diff --git a/src/bin/client-demo.rs b/src/bin/client-demo.rs index bc059a3347ad29..6e2cb3d773db9f 100644 --- a/src/bin/client-demo.rs +++ b/src/bin/client-demo.rs @@ -2,6 +2,7 @@ extern crate getopts; extern crate rayon; extern crate serde_json; extern crate solana; +extern crate futures; use getopts::Options; use rayon::prelude::*; @@ -15,6 +16,7 @@ use std::net::UdpSocket; use std::process::exit; use std::thread::sleep; use std::time::{Duration, Instant}; +use futures::Future; fn print_usage(program: &str, opts: Options) { let mut brief = format!("Usage: cat | {} [options]\n\n", program); @@ -69,10 +71,10 @@ fn main() { println!("Stub new"); let acc = AccountantStub::new(&addr, socket); println!("Get last id"); - let last_id = acc.get_last_id().unwrap(); + let last_id = acc.get_last_id().wait().unwrap(); println!("Get Balance"); - let mint_balance = acc.get_balance(&mint_pubkey).unwrap().unwrap(); + let mint_balance = acc.get_balance(&mint_pubkey).wait().unwrap(); println!("Mint's Initial Balance {}", mint_balance); println!("Signing transactions..."); @@ -118,7 +120,7 @@ fn main() { while val != prev { sleep(Duration::from_millis(20)); prev = val; - val = acc.get_balance(&mint_pubkey).unwrap().unwrap(); + val = acc.get_balance(&mint_pubkey).wait().unwrap(); } println!("Mint's Final Balance {}", val); let txs = mint_balance - val; diff --git a/src/lib.rs b/src/lib.rs index 7cb82ff53327c3..ee2226c7e21f46 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -35,6 +35,8 @@ extern crate serde_json; extern crate sha2; extern crate untrusted; +extern crate futures; + #[cfg(test)] #[macro_use] extern crate matches; From d6062bf44c1ec2945b899f35639a8831f55c0fea Mon Sep 17 00:00:00 2001 From: Robert Kelly Date: Tue, 24 Apr 2018 13:17:37 -0400 Subject: [PATCH 2/3] added FutureResult to return a Future that immediately resolves --- genesis.log | 2 ++ mint.json | 1 + transactions0.log | 7 +++++++ transactions1.log | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 genesis.log create mode 100644 mint.json create mode 100644 transactions0.log create mode 100644 transactions1.log diff --git a/genesis.log b/genesis.log new file mode 100644 index 00000000000000..7ea87131ab33fa --- /dev/null +++ b/genesis.log @@ -0,0 +1,2 @@ +{"num_hashes":0,"id":[128,202,137,147,220,204,94,52,225,103,179,234,43,221,160,104,54,142,5,113,193,70,38,155,102,116,60,123,96,238,163,231],"events":[]} +{"num_hashes":1,"id":[151,30,114,207,1,225,184,51,152,70,100,229,214,33,6,225,56,188,51,156,63,180,253,59,30,242,36,201,179,245,251,10],"events":[{"Transaction":{"sig":[155,85,21,184,59,100,164,181,33,180,238,34,133,121,1,115,80,164,34,71,13,56,132,240,142,193,17,71,173,67,245,203,148,127,187,91,184,139,220,105,6,143,74,219,96,21,242,228,4,93,173,23,120,207,34,28,103,135,45,60,37,182,253,0],"from":[200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80],"data":{"tokens":1000000000,"last_id":[128,202,137,147,220,204,94,52,225,103,179,234,43,221,160,104,54,142,5,113,193,70,38,155,102,116,60,123,96,238,163,231],"plan":{"Pay":{"tokens":1000000000,"to":[200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80]}}}}}]} diff --git a/mint.json b/mint.json new file mode 100644 index 00000000000000..6d4d2326ea0f69 --- /dev/null +++ b/mint.json @@ -0,0 +1 @@ +{"pkcs8":[48,83,2,1,1,48,5,6,3,43,101,112,4,34,4,32,182,1,69,99,128,143,231,87,124,244,226,10,64,44,58,46,203,155,90,164,52,157,93,248,133,157,26,110,55,225,141,133,161,35,3,33,0,200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80],"pubkey":[200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80],"tokens":1000000000} diff --git a/transactions0.log b/transactions0.log new file mode 100644 index 00000000000000..6ccffdf6c021c7 --- /dev/null +++ b/transactions0.log @@ -0,0 +1,7 @@ +{"num_hashes":2033411,"id":[56,83,210,93,62,7,229,74,227,16,72,23,248,230,21,27,138,31,233,29,170,174,34,254,5,37,209,11,92,134,106,5],"events":[]} +{"num_hashes":2056138,"id":[173,187,195,48,117,173,71,92,58,30,224,39,13,144,170,208,12,70,86,238,251,199,207,68,147,255,70,246,100,109,234,136],"events":[]} +{"num_hashes":1879162,"id":[51,210,166,177,107,251,103,249,41,90,98,247,255,179,10,180,195,93,26,243,97,153,249,94,73,12,84,170,245,28,17,226],"events":[]} +{"num_hashes":2050687,"id":[213,145,151,151,43,122,238,72,139,228,48,2,142,35,233,73,42,106,21,199,184,92,239,30,142,72,188,26,120,166,219,207],"events":[]} +{"num_hashes":1568069,"id":[175,195,215,97,60,51,208,53,170,52,107,156,157,182,249,160,153,6,179,72,202,216,214,130,179,179,199,66,236,40,30,84],"events":[]} +{"num_hashes":811323,"id":[240,225,0,252,77,25,102,94,4,254,209,207,20,146,120,255,58,232,79,164,53,201,55,52,52,125,58,9,76,251,42,239],"events":[]} +{"num_hashes":982885,"id":[253,60,26,9,40,215,119,73,108,53,66,7,178,162,121,170,161,113,161,213,4,198,231,232,148,70,223,119,0,144,208,94],"events":[]} diff --git a/transactions1.log b/transactions1.log new file mode 100644 index 00000000000000..eabb1ba65c5322 --- /dev/null +++ b/transactions1.log @@ -0,0 +1,35 @@ +{"num_hashes":1990689,"id":[37,119,72,25,33,125,212,180,26,95,142,28,232,255,144,116,134,5,231,86,70,3,85,58,235,160,193,97,85,200,27,175],"events":[]} +{"num_hashes":1938180,"id":[165,14,50,198,136,33,107,19,63,245,150,33,50,113,191,119,215,191,68,247,97,151,78,79,126,215,210,85,115,72,2,63],"events":[]} +{"num_hashes":2021317,"id":[226,14,243,250,66,222,35,133,19,223,205,169,237,128,149,222,168,250,243,111,144,210,25,141,181,208,7,4,178,169,108,122],"events":[]} +{"num_hashes":1938592,"id":[74,10,120,221,17,184,183,187,131,103,84,142,125,13,153,202,3,42,92,198,43,207,33,199,15,5,219,56,22,151,163,114],"events":[]} +{"num_hashes":1920321,"id":[170,178,0,39,108,184,201,246,77,15,126,111,88,92,136,238,206,196,77,237,119,14,65,100,82,197,177,107,89,61,95,168],"events":[]} +{"num_hashes":1819484,"id":[199,92,161,3,203,2,131,220,238,235,112,121,238,84,233,221,253,151,165,235,211,237,97,164,207,17,215,253,223,125,34,86],"events":[]} +{"num_hashes":1930358,"id":[72,179,249,219,61,177,143,128,110,56,10,34,76,171,98,50,47,94,1,217,250,134,100,211,138,244,97,34,7,204,176,222],"events":[]} +{"num_hashes":2009756,"id":[234,243,163,48,94,11,19,19,80,85,230,107,6,62,46,135,79,139,52,56,8,201,130,163,248,178,152,21,88,72,204,158],"events":[]} +{"num_hashes":1854554,"id":[37,100,202,121,98,50,200,109,183,247,53,170,185,49,254,222,119,112,72,210,84,254,197,34,69,177,157,62,190,161,184,11],"events":[]} +{"num_hashes":1999089,"id":[146,230,69,149,80,117,150,116,116,116,217,96,145,42,110,101,196,184,108,82,19,51,19,56,84,177,142,179,249,217,246,73],"events":[]} +{"num_hashes":1808873,"id":[177,202,191,110,236,20,1,225,162,63,229,217,202,109,148,54,206,57,120,207,204,24,201,76,185,82,165,139,51,197,194,220],"events":[]} +{"num_hashes":1995263,"id":[5,42,237,203,82,84,148,11,180,255,255,237,142,54,54,212,19,244,247,242,29,219,171,208,98,70,210,88,250,45,154,250],"events":[]} +{"num_hashes":1938957,"id":[115,159,132,209,47,217,203,104,9,82,115,213,126,243,151,237,189,144,206,59,116,101,217,171,57,72,112,232,25,64,45,97],"events":[]} +{"num_hashes":1868689,"id":[218,132,253,213,222,40,143,143,231,82,197,228,70,130,165,182,127,43,164,8,27,230,215,120,41,254,160,6,84,23,74,232],"events":[]} +{"num_hashes":2003229,"id":[48,93,185,135,18,145,155,154,94,13,131,217,193,244,53,21,141,127,139,146,214,65,150,10,179,116,219,160,206,160,108,189],"events":[]} +{"num_hashes":1980077,"id":[244,95,157,143,237,233,157,33,126,131,4,166,94,69,166,233,108,153,48,63,36,73,96,247,4,168,194,3,146,243,134,70],"events":[]} +{"num_hashes":1928042,"id":[29,255,20,138,253,213,156,198,186,99,95,244,244,42,179,19,156,134,23,0,216,48,117,105,123,121,181,57,196,227,122,249],"events":[]} +{"num_hashes":2055148,"id":[207,9,193,29,180,55,224,152,132,172,229,253,191,27,14,227,80,48,144,176,9,119,132,253,244,160,18,228,70,1,249,75],"events":[]} +{"num_hashes":1940868,"id":[155,229,150,36,242,214,220,29,78,213,135,82,154,40,4,164,113,142,152,224,62,223,8,141,36,15,26,239,236,118,97,167],"events":[]} +{"num_hashes":2019268,"id":[114,66,244,137,220,179,81,68,94,179,151,241,143,206,22,217,223,172,235,128,39,1,43,78,37,184,129,128,139,209,165,111],"events":[]} +{"num_hashes":2122411,"id":[206,59,239,190,148,90,63,149,1,232,37,234,55,88,240,58,182,231,234,157,107,71,176,90,196,251,13,23,178,246,19,19],"events":[]} +{"num_hashes":2019086,"id":[82,182,32,182,164,4,90,139,231,12,247,208,168,167,227,114,244,194,53,216,237,190,155,124,65,150,191,232,150,10,178,79],"events":[]} +{"num_hashes":2080075,"id":[254,1,67,174,76,165,167,190,130,245,136,108,125,145,76,116,91,91,210,9,153,39,207,72,252,255,139,62,72,143,198,182],"events":[]} +{"num_hashes":2014243,"id":[252,15,146,66,182,203,6,43,124,132,49,27,85,81,104,252,169,236,119,130,27,138,231,127,12,179,127,69,73,194,155,184],"events":[]} +{"num_hashes":1869261,"id":[151,158,58,246,117,208,65,88,192,59,206,152,56,213,175,142,149,11,142,100,100,104,145,31,32,255,30,40,117,204,233,212],"events":[]} +{"num_hashes":2111164,"id":[175,165,182,158,122,167,181,250,53,153,86,108,229,208,75,88,40,123,62,221,39,102,226,195,195,231,24,82,221,181,81,141],"events":[]} +{"num_hashes":2006123,"id":[157,241,238,153,101,132,13,177,39,38,246,112,195,45,134,155,9,216,255,185,241,150,66,164,73,238,132,212,178,165,176,53],"events":[]} +{"num_hashes":1995953,"id":[143,146,196,92,136,226,60,18,178,73,84,168,111,240,111,236,7,158,124,103,120,14,126,107,55,196,13,120,94,90,231,30],"events":[]} +{"num_hashes":1888883,"id":[117,153,88,242,26,97,153,22,118,91,113,9,198,135,200,36,93,203,76,37,2,37,153,153,54,218,73,206,174,176,0,194],"events":[]} +{"num_hashes":2035646,"id":[145,211,70,155,40,50,252,215,153,145,97,8,197,3,83,104,70,95,147,50,169,104,206,177,118,166,223,177,199,127,96,109],"events":[]} +{"num_hashes":2139081,"id":[194,122,14,91,116,26,244,253,175,13,173,212,18,101,44,185,248,146,149,186,93,34,60,121,249,197,237,85,103,159,110,180],"events":[]} +{"num_hashes":1962564,"id":[197,149,114,125,59,50,205,248,8,5,27,127,233,163,226,165,8,71,55,177,29,152,85,59,141,55,6,230,89,107,188,55],"events":[]} +{"num_hashes":1299819,"id":[197,151,204,154,218,18,109,106,234,160,114,124,223,219,48,158,69,114,61,228,66,166,235,195,189,99,126,99,245,106,250,81],"events":[]} +{"num_hashes":1034625,"id":[180,2,239,239,149,160,219,64,251,170,119,84,23,45,156,123,23,72,92,200,113,131,103,120,43,106,178,196,39,222,187,232],"events":[]} +{"num_hashes":1117869,"id":[204,158,214,208,182,53,126,23,214,109,77,252,115,206,243,25,11,220,12,220,207,106,95,230,212,241,189,226,234,188,48,87],"events":[]} From 4083357766bb29fc9eb481e3011e1148fbbdcc4f Mon Sep 17 00:00:00 2001 From: Robert Kelly Date: Tue, 24 Apr 2018 13:20:46 -0400 Subject: [PATCH 3/3] removed json and log --- genesis.log | 2 -- mint.json | 1 - transactions0.log | 7 ------- transactions1.log | 35 ----------------------------------- 4 files changed, 45 deletions(-) delete mode 100644 genesis.log delete mode 100644 mint.json delete mode 100644 transactions0.log delete mode 100644 transactions1.log diff --git a/genesis.log b/genesis.log deleted file mode 100644 index 7ea87131ab33fa..00000000000000 --- a/genesis.log +++ /dev/null @@ -1,2 +0,0 @@ -{"num_hashes":0,"id":[128,202,137,147,220,204,94,52,225,103,179,234,43,221,160,104,54,142,5,113,193,70,38,155,102,116,60,123,96,238,163,231],"events":[]} -{"num_hashes":1,"id":[151,30,114,207,1,225,184,51,152,70,100,229,214,33,6,225,56,188,51,156,63,180,253,59,30,242,36,201,179,245,251,10],"events":[{"Transaction":{"sig":[155,85,21,184,59,100,164,181,33,180,238,34,133,121,1,115,80,164,34,71,13,56,132,240,142,193,17,71,173,67,245,203,148,127,187,91,184,139,220,105,6,143,74,219,96,21,242,228,4,93,173,23,120,207,34,28,103,135,45,60,37,182,253,0],"from":[200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80],"data":{"tokens":1000000000,"last_id":[128,202,137,147,220,204,94,52,225,103,179,234,43,221,160,104,54,142,5,113,193,70,38,155,102,116,60,123,96,238,163,231],"plan":{"Pay":{"tokens":1000000000,"to":[200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80]}}}}}]} diff --git a/mint.json b/mint.json deleted file mode 100644 index 6d4d2326ea0f69..00000000000000 --- a/mint.json +++ /dev/null @@ -1 +0,0 @@ -{"pkcs8":[48,83,2,1,1,48,5,6,3,43,101,112,4,34,4,32,182,1,69,99,128,143,231,87,124,244,226,10,64,44,58,46,203,155,90,164,52,157,93,248,133,157,26,110,55,225,141,133,161,35,3,33,0,200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80],"pubkey":[200,109,173,206,133,110,240,179,139,190,18,7,132,98,65,91,77,70,149,92,239,166,79,80,118,167,203,230,16,28,173,80],"tokens":1000000000} diff --git a/transactions0.log b/transactions0.log deleted file mode 100644 index 6ccffdf6c021c7..00000000000000 --- a/transactions0.log +++ /dev/null @@ -1,7 +0,0 @@ -{"num_hashes":2033411,"id":[56,83,210,93,62,7,229,74,227,16,72,23,248,230,21,27,138,31,233,29,170,174,34,254,5,37,209,11,92,134,106,5],"events":[]} -{"num_hashes":2056138,"id":[173,187,195,48,117,173,71,92,58,30,224,39,13,144,170,208,12,70,86,238,251,199,207,68,147,255,70,246,100,109,234,136],"events":[]} -{"num_hashes":1879162,"id":[51,210,166,177,107,251,103,249,41,90,98,247,255,179,10,180,195,93,26,243,97,153,249,94,73,12,84,170,245,28,17,226],"events":[]} -{"num_hashes":2050687,"id":[213,145,151,151,43,122,238,72,139,228,48,2,142,35,233,73,42,106,21,199,184,92,239,30,142,72,188,26,120,166,219,207],"events":[]} -{"num_hashes":1568069,"id":[175,195,215,97,60,51,208,53,170,52,107,156,157,182,249,160,153,6,179,72,202,216,214,130,179,179,199,66,236,40,30,84],"events":[]} -{"num_hashes":811323,"id":[240,225,0,252,77,25,102,94,4,254,209,207,20,146,120,255,58,232,79,164,53,201,55,52,52,125,58,9,76,251,42,239],"events":[]} -{"num_hashes":982885,"id":[253,60,26,9,40,215,119,73,108,53,66,7,178,162,121,170,161,113,161,213,4,198,231,232,148,70,223,119,0,144,208,94],"events":[]} diff --git a/transactions1.log b/transactions1.log deleted file mode 100644 index eabb1ba65c5322..00000000000000 --- a/transactions1.log +++ /dev/null @@ -1,35 +0,0 @@ -{"num_hashes":1990689,"id":[37,119,72,25,33,125,212,180,26,95,142,28,232,255,144,116,134,5,231,86,70,3,85,58,235,160,193,97,85,200,27,175],"events":[]} -{"num_hashes":1938180,"id":[165,14,50,198,136,33,107,19,63,245,150,33,50,113,191,119,215,191,68,247,97,151,78,79,126,215,210,85,115,72,2,63],"events":[]} -{"num_hashes":2021317,"id":[226,14,243,250,66,222,35,133,19,223,205,169,237,128,149,222,168,250,243,111,144,210,25,141,181,208,7,4,178,169,108,122],"events":[]} -{"num_hashes":1938592,"id":[74,10,120,221,17,184,183,187,131,103,84,142,125,13,153,202,3,42,92,198,43,207,33,199,15,5,219,56,22,151,163,114],"events":[]} -{"num_hashes":1920321,"id":[170,178,0,39,108,184,201,246,77,15,126,111,88,92,136,238,206,196,77,237,119,14,65,100,82,197,177,107,89,61,95,168],"events":[]} -{"num_hashes":1819484,"id":[199,92,161,3,203,2,131,220,238,235,112,121,238,84,233,221,253,151,165,235,211,237,97,164,207,17,215,253,223,125,34,86],"events":[]} -{"num_hashes":1930358,"id":[72,179,249,219,61,177,143,128,110,56,10,34,76,171,98,50,47,94,1,217,250,134,100,211,138,244,97,34,7,204,176,222],"events":[]} -{"num_hashes":2009756,"id":[234,243,163,48,94,11,19,19,80,85,230,107,6,62,46,135,79,139,52,56,8,201,130,163,248,178,152,21,88,72,204,158],"events":[]} -{"num_hashes":1854554,"id":[37,100,202,121,98,50,200,109,183,247,53,170,185,49,254,222,119,112,72,210,84,254,197,34,69,177,157,62,190,161,184,11],"events":[]} -{"num_hashes":1999089,"id":[146,230,69,149,80,117,150,116,116,116,217,96,145,42,110,101,196,184,108,82,19,51,19,56,84,177,142,179,249,217,246,73],"events":[]} -{"num_hashes":1808873,"id":[177,202,191,110,236,20,1,225,162,63,229,217,202,109,148,54,206,57,120,207,204,24,201,76,185,82,165,139,51,197,194,220],"events":[]} -{"num_hashes":1995263,"id":[5,42,237,203,82,84,148,11,180,255,255,237,142,54,54,212,19,244,247,242,29,219,171,208,98,70,210,88,250,45,154,250],"events":[]} -{"num_hashes":1938957,"id":[115,159,132,209,47,217,203,104,9,82,115,213,126,243,151,237,189,144,206,59,116,101,217,171,57,72,112,232,25,64,45,97],"events":[]} -{"num_hashes":1868689,"id":[218,132,253,213,222,40,143,143,231,82,197,228,70,130,165,182,127,43,164,8,27,230,215,120,41,254,160,6,84,23,74,232],"events":[]} -{"num_hashes":2003229,"id":[48,93,185,135,18,145,155,154,94,13,131,217,193,244,53,21,141,127,139,146,214,65,150,10,179,116,219,160,206,160,108,189],"events":[]} -{"num_hashes":1980077,"id":[244,95,157,143,237,233,157,33,126,131,4,166,94,69,166,233,108,153,48,63,36,73,96,247,4,168,194,3,146,243,134,70],"events":[]} -{"num_hashes":1928042,"id":[29,255,20,138,253,213,156,198,186,99,95,244,244,42,179,19,156,134,23,0,216,48,117,105,123,121,181,57,196,227,122,249],"events":[]} -{"num_hashes":2055148,"id":[207,9,193,29,180,55,224,152,132,172,229,253,191,27,14,227,80,48,144,176,9,119,132,253,244,160,18,228,70,1,249,75],"events":[]} -{"num_hashes":1940868,"id":[155,229,150,36,242,214,220,29,78,213,135,82,154,40,4,164,113,142,152,224,62,223,8,141,36,15,26,239,236,118,97,167],"events":[]} -{"num_hashes":2019268,"id":[114,66,244,137,220,179,81,68,94,179,151,241,143,206,22,217,223,172,235,128,39,1,43,78,37,184,129,128,139,209,165,111],"events":[]} -{"num_hashes":2122411,"id":[206,59,239,190,148,90,63,149,1,232,37,234,55,88,240,58,182,231,234,157,107,71,176,90,196,251,13,23,178,246,19,19],"events":[]} -{"num_hashes":2019086,"id":[82,182,32,182,164,4,90,139,231,12,247,208,168,167,227,114,244,194,53,216,237,190,155,124,65,150,191,232,150,10,178,79],"events":[]} -{"num_hashes":2080075,"id":[254,1,67,174,76,165,167,190,130,245,136,108,125,145,76,116,91,91,210,9,153,39,207,72,252,255,139,62,72,143,198,182],"events":[]} -{"num_hashes":2014243,"id":[252,15,146,66,182,203,6,43,124,132,49,27,85,81,104,252,169,236,119,130,27,138,231,127,12,179,127,69,73,194,155,184],"events":[]} -{"num_hashes":1869261,"id":[151,158,58,246,117,208,65,88,192,59,206,152,56,213,175,142,149,11,142,100,100,104,145,31,32,255,30,40,117,204,233,212],"events":[]} -{"num_hashes":2111164,"id":[175,165,182,158,122,167,181,250,53,153,86,108,229,208,75,88,40,123,62,221,39,102,226,195,195,231,24,82,221,181,81,141],"events":[]} -{"num_hashes":2006123,"id":[157,241,238,153,101,132,13,177,39,38,246,112,195,45,134,155,9,216,255,185,241,150,66,164,73,238,132,212,178,165,176,53],"events":[]} -{"num_hashes":1995953,"id":[143,146,196,92,136,226,60,18,178,73,84,168,111,240,111,236,7,158,124,103,120,14,126,107,55,196,13,120,94,90,231,30],"events":[]} -{"num_hashes":1888883,"id":[117,153,88,242,26,97,153,22,118,91,113,9,198,135,200,36,93,203,76,37,2,37,153,153,54,218,73,206,174,176,0,194],"events":[]} -{"num_hashes":2035646,"id":[145,211,70,155,40,50,252,215,153,145,97,8,197,3,83,104,70,95,147,50,169,104,206,177,118,166,223,177,199,127,96,109],"events":[]} -{"num_hashes":2139081,"id":[194,122,14,91,116,26,244,253,175,13,173,212,18,101,44,185,248,146,149,186,93,34,60,121,249,197,237,85,103,159,110,180],"events":[]} -{"num_hashes":1962564,"id":[197,149,114,125,59,50,205,248,8,5,27,127,233,163,226,165,8,71,55,177,29,152,85,59,141,55,6,230,89,107,188,55],"events":[]} -{"num_hashes":1299819,"id":[197,151,204,154,218,18,109,106,234,160,114,124,223,219,48,158,69,114,61,228,66,166,235,195,189,99,126,99,245,106,250,81],"events":[]} -{"num_hashes":1034625,"id":[180,2,239,239,149,160,219,64,251,170,119,84,23,45,156,123,23,72,92,200,113,131,103,120,43,106,178,196,39,222,187,232],"events":[]} -{"num_hashes":1117869,"id":[204,158,214,208,182,53,126,23,214,109,77,252,115,206,243,25,11,220,12,220,207,106,95,230,212,241,189,226,234,188,48,87],"events":[]}