Add a bunch of traits to Network so I can use it as a HashMap key

This commit is contained in:
Andrew Poelstra 2014-07-29 15:55:25 -07:00
parent 8cd8947cf3
commit 020295f8c9
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ use network::serialize::Serializable;
use util::misc::prepend_err;
/// The cryptocurrency to operate on
#[deriving(PartialEq, Eq, Clone, Show)]
#[deriving(Encodable, Decodable, PartialEq, Eq, Clone, Show, Hash)]
pub enum Network {
/// Classic Bitcoin
Bitcoin,