You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UTXOs will be deleted from the database only when the
transaction spending them is confirmed, this way you can
build a tx double-spending one in mempool using `add_utxo`.
listunspent won't return spent in mempool utxos, effectively excluding them from the
coin selection and balance calculation.
Closes#414
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
34
34
- Add new method on the `TxBuilder` to embed data in the transaction via `OP_RETURN`. To allow that a fix to check the dust only on spendable output has been introduced.
35
35
- Update the `Database` trait to store the last sync timestamp and block height
36
36
- Rename `ConfirmationTime` to `BlockTime`
37
+
- Add `is_spent_unconfirmed` field in `LocalUtxo`, which marks an output that is currently being used in an unconfirmed transaction. This UTXO won't be selected in an automatic coin selection and its value won't be added to the balance, but it can be added manually to a transaction using `add_utxo`.
0 commit comments