mempool tests

This commit is contained in:
Ethan Buchman
2015-09-29 11:36:52 -04:00
parent 12566f51af
commit cccb722ba8
6 changed files with 324 additions and 15 deletions

View File

@@ -128,3 +128,7 @@ func (p *Peer) String() string {
func (p *Peer) Equals(other *Peer) bool {
return p.Key == other.Key
}
func (p *Peer) Get(key string) interface{} {
return p.Data.Get(key)
}