Move Event into its own crate

The log crate was starting to be the catch-all for all things
related to entries, events, signatures, and hashes. This split
shows us that:

* Event depends only on signatures, not on hashes [directly]
* All event testing was done via log testing (shame on me)
* Accounting depends only on events
This commit is contained in:
Greg Fitzgerald
2018-03-02 08:43:54 -07:00
parent 662e10c3e0
commit 1b77e8a69a
9 changed files with 134 additions and 109 deletions

View File

@@ -4,7 +4,7 @@ fn main() {
use silk::accountant_stub::AccountantStub;
use std::time::Instant;
use std::net::UdpSocket;
use silk::log::{generate_keypair, get_pubkey};
use silk::event::{generate_keypair, get_pubkey};
let addr = "127.0.0.1:8000";
let send_addr = "127.0.0.1:8001";