state: move methods to funcs

This commit is contained in:
Ethan Buchman
2017-12-28 23:15:54 -05:00
parent 139eca0177
commit f55135578c
9 changed files with 299 additions and 295 deletions
-9
View File
@@ -70,15 +70,6 @@ type BlockStore interface {
SaveBlock(block *Block, blockParts *PartSet, seenCommit *Commit)
}
//------------------------------------------------------
// state
// State defines the stateful interface used to verify evidence.
// UNSTABLE
type State interface {
VerifyEvidence(Evidence) (priority int64, err error)
}
//------------------------------------------------------
// evidence pool