PersistentTransactionManager(appContext: Context, encoder: TransactionEncoder, service: LightWalletService, dataDbName: String = "PendingTransactions.db")
Constructor that creates the database and then executes a callback on it.
PersistentTransactionManager(db: PendingTransactionDb, encoder: TransactionEncoder, service: LightWalletService)
Facilitates persistent attempts to ensure that an outbound transaction is completed.
db
- the database where the wallet can freely write information related to pending
transactions. This database effectively serves as the mempool for transactions created by this
wallet.