Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

clemahieu
Copy link
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants