Spend An Input
open class SpendAnInput(val tx: iTransaction, val destination: PayDestination, val input: Int, val reason: String, val onAccept: suspend SpendingProposal.() -> Unit) : SpendingProposal
Inheritors
Constructors
Link copied to clipboard
constructor(tx: iTransaction, destination: PayDestination, input: Int, reason: String, onAccept: suspend SpendingProposal.() -> Unit)
Functions
Link copied to clipboard
You need to override this function to actually do what should be done after acceptance. Set completed to millinow once the proposal is complete. This does not need to happen right away. There may be other steps (such as other wallet's acceptances) needed before a proposal can be completed. On startup, this function will be called again for every accepted-but-not-completed proposal.
Link copied to clipboard