Make Address public
This commit is contained in:
parent
2aeb373e73
commit
1f41a67194
|
@ -31,8 +31,10 @@ use util::base58::{Base58Error,
|
||||||
#[deriving(Clone, PartialEq, Eq)]
|
#[deriving(Clone, PartialEq, Eq)]
|
||||||
/// A Bitcoin address
|
/// A Bitcoin address
|
||||||
pub struct Address {
|
pub struct Address {
|
||||||
network: Network,
|
/// The network on which this address is usable
|
||||||
hash: Ripemd160Hash
|
pub network: Network,
|
||||||
|
/// The pubkeyhash that this address encodes
|
||||||
|
pub hash: Ripemd160Hash
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Address {
|
impl Address {
|
||||||
|
|
Loading…
Reference in New Issue