Struct bitcoinwallet_interface::WalletTx
source · pub struct WalletTx { /* private fields */ }
Expand description
| A transaction with a bunch of additional | info that only the owner cares about. | | It includes any unrecorded transactions | needed to link it back to the block chain. | | Disable copying of CWalletTx objects to | prevent bugs where instances get copied in | and out of the mapWallet map, and fields | are updated in the wrong copy.
Implementations§
source§impl WalletTx
impl WalletTx
pub fn new(arg: TransactionRef) -> Self
pub fn init(&mut self)
pub fn serialize<Stream>(&self, s: &mut Stream)
pub fn unserialize<Stream>(&mut self, s: &mut Stream)
pub fn set_tx(&mut self, arg: TransactionRef)
sourcepub fn mark_dirty(&mut self)
pub fn mark_dirty(&mut self)
| make sure balances are recalculated |
pub fn is_abandoned(&self) -> bool
pub fn set_abandoned(&mut self)
pub fn is_conflicted(&self) -> bool
pub fn set_conflicted(&mut self)
pub fn is_unconfirmed(&self) -> bool
pub fn set_unconfirmed(&mut self)
pub fn is_confirmed(&self) -> bool
pub fn set_confirmed(&mut self)
pub fn get_hash(&self) -> &u256
pub fn is_coinbase(&self) -> bool
sourcepub fn is_equivalent_to(&self, tx: &WalletTx) -> bool
pub fn is_equivalent_to(&self, tx: &WalletTx) -> bool
| True if only scriptSigs are different |
pub fn in_mempool(&self) -> bool
pub fn get_tx_time(&self) -> i64
Auto Trait Implementations§
impl !RefUnwindSafe for WalletTx
impl !Send for WalletTx
impl !Sync for WalletTx
impl Unpin for WalletTx
impl !UnwindSafe for WalletTx
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more