Package org.bitcoindevkit
Class UnconfirmedTx
-
- All Implemented Interfaces:
-
org.bitcoindevkit.Disposable
public final class UnconfirmedTx implements Disposable
This type replaces the Rust tuple
(tx, last_seen)
used in the Wallet::apply_unconfirmed_txsmethod, where
last_seenis the timestamp of when the transaction
tx` was last seen in the mempool.
-
-
Field Summary
Fields Modifier and Type Field Description private Transaction
tx
private ULong
lastSeen
-
Constructor Summary
Constructors Constructor Description UnconfirmedTx(Transaction tx, ULong lastSeen)
-
Method Summary
Modifier and Type Method Description final Transaction
getTx()
final Unit
setTx(Transaction tx)
final ULong
getLastSeen()
final Unit
setLastSeen(ULong lastSeen)
Unit
destroy()
-
-
Constructor Detail
-
UnconfirmedTx
UnconfirmedTx(Transaction tx, ULong lastSeen)
-
-
Method Detail
-
getTx
final Transaction getTx()
-
setTx
final Unit setTx(Transaction tx)
-
getLastSeen
final ULong getLastSeen()
-
setLastSeen
final Unit setLastSeen(ULong lastSeen)
-
-
-
-