Skip to content

Add ledger::pending_info as interface to access pending information#4087

Merged
clemahieu merged 1 commit intonanocurrency:developfrom
clemahieu:ledger_pending_info
Jan 28, 2023
Merged

Add ledger::pending_info as interface to access pending information#4087
clemahieu merged 1 commit intonanocurrency:developfrom
clemahieu:ledger_pending_info

Conversation

@clemahieu
Copy link
Copy Markdown
Contributor

Rather than directly accessing the block store, users should use the ledger::pending_info interface to query for pending information.

Result is returned as an std::optional instead of the less-obvious way it's currently reported through an error code.

Most though not all of the pending_store::get references have been updated to use ledger::pending_info.

…ledger::pending_info interface to query for pending information.

Result is returned as an std::optional instead of the less-obvious way it's currently reported through an error code.

Most though not all of the pending_store::get references have been updated to use ledger::pending_info.
@clemahieu clemahieu merged commit 90ed0ff into nanocurrency:develop Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants