Add a bunch of traits to Network so I can use it as a HashMap key
This commit is contained in:
parent
8cd8947cf3
commit
020295f8c9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue