Rename Genesis to Mint

Genesis is a story of creation. We should only use that term to
for the event log that bootstraps the system.
This commit is contained in:
Greg Fitzgerald
2018-03-07 17:08:12 -07:00
parent b6d8f737ca
commit 5dd567deef
8 changed files with 35 additions and 35 deletions

View File

@ -115,14 +115,14 @@ mod tests {
use accountant_skel::AccountantSkel;
use std::thread::{sleep, spawn};
use std::time::Duration;
use genesis::Genesis;
use mint::Mint;
use signature::{KeyPair, KeyPairUtil};
#[test]
fn test_accountant_stub() {
let addr = "127.0.0.1:9000";
let send_addr = "127.0.0.1:9001";
let alice = Genesis::new(10_000);
let alice = Mint::new(10_000);
let acc = Accountant::new(&alice, None);
let bob_pubkey = KeyPair::new().pubkey();
spawn(move || AccountantSkel::new(acc).serve(addr).unwrap());