-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Track more information about a note's status and consumability (#…
…355) * Add Consuming note status * Infer Consuming status from store information * Add some useful comments * Add change to CHANGELOG * Add PR to CHANGELOG * Remove consuming notes from list consumable * Remove hardcoded note status names from sqlite store code * Remove `ConsumableNote` type * Add function to get the consumability of a note * Refactor `get_consumable_notes` * Rename `Consuming` to `Processing` * Fix clippy * Fix doc comments * Store `Processing` status in `SqliteStore` * Override `get_unspent_input_note_nullifiers` function from `Store` * Add note filter for `Processing` notes * Fix comment * Remove `Processing` status from sql table * Add additional info to `NoteStatus` enum * Refactor store/cli to use the new `NoteStatus` * Remove `consumer_account_id` from note record * Add additional information to string * Add new fields to database * Use local timezone for timestamp * Fix status display messages * Fix submitted typo * Fix tests * Improve doc comments for `NoteStatus` * Remove incorrect `unwrap_or` * Add `Pending` status to `SqliteStore` * Fix merge * Fix sqlite_store errors * Address suggestions
- Loading branch information
Showing
20 changed files
with
340 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.