add stake lockup (#5782)

* add stake lockup

* fixup
This commit is contained in:
Rob Walker
2019-09-04 13:34:09 -07:00
committed by GitHub
parent 94eb78d399
commit 933e835838
7 changed files with 203 additions and 50 deletions

View File

@ -1,7 +1,7 @@
use bincode::{deserialize_from, serialize_into, serialized_size};
use memmap::MmapMut;
use serde::{Deserialize, Serialize};
use solana_sdk::{account::Account, pubkey::Pubkey, Epoch};
use solana_sdk::{account::Account, pubkey::Pubkey, timing::Epoch};
use std::fmt;
use std::fs::{create_dir_all, remove_file, OpenOptions};
use std::io;