Struct silk::accountant_stub::AccountantStub
[−]
[src]
pub struct AccountantStub { pub addr: String, pub socket: UdpSocket, pub last_id: Option<Hash>, }
Fields
addr: String
socket: UdpSocket
last_id: Option<Hash>
Methods
impl AccountantStub
[src]
pub fn new(addr: &str, socket: UdpSocket) -> Self
[src]
pub fn transfer_signed(&self, tr: Transaction<i64>) -> Result<usize>
[src]
pub fn transfer(
&self,
n: i64,
keypair: &KeyPair,
to: PublicKey,
last_id: &Hash
) -> Result<Signature>
[src]
&self,
n: i64,
keypair: &KeyPair,
to: PublicKey,
last_id: &Hash
) -> Result<Signature>