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

Pending to receivable renames #3753

Merged

Conversation

dsiganos
Copy link
Contributor

@dsiganos dsiganos commented Mar 21, 2022

  • Add deprecated field in RPC response of pending and pending_exists
    The RPC commands did not return "deprecated=true", now they do.
    Also renamed underlying handling functions from pending to receivable.

  • Add support for receivable option to wallet_ledger RPC

  • Add support for receivable option to ledger RPC command
    The ledger RPC command only supported pending option.
    Now, it supports both with receivable having priority, if both are set.

  • Convert RPC blocks_info to use receivable rather than pending

  • Rename nano::ledger::account_pending to nano::ledger::account_receivable

  • account_info rpc: introduce receivable option and confirmed_receivable reply
    Introduce new option called receivable to replace pending option.
    Currently both are supported and do the same job.
    However, if both are set, receivable has priority.
    Also added confirmed_receivable reply when include_confirmed is set.

  • Copy search_pending to search_receivable and deprecate the former

  • Copy search_pending_all to search_receivable_all and deprecate the former

  • Copy wallet_pending to wallet_receivable and deprecate the former

  • Copy accounts_pending to accounts_receivable and deprecate the former

resolves #3689

…e reply

Introduce new option called receivable to replace pending option.
Currently both are supported and do the same job.
However, if both are set, receivable has priority.

Also added confirmed_receivable reply when include_confirmed is set.
Pending is still supported but deprecated
The ledger RPC command only supported pending option.
Now, it supports both with receivable having priority, if both are set.
The RPC commands did not return "deprecated=true", now they do.
Also renamed underlying handling functions from pending to receivable.
@zhyatt zhyatt added the documentation This item indicates the need for or supplies updated or expanded documentation label Mar 21, 2022
@zhyatt zhyatt added this to the V24.0 milestone Mar 21, 2022
Copy link
Contributor

@theohax theohax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's probably quite a bunch of pendings left, but this definitely looks good towards our new terminology and hopefully will make things less confusing (Y)

@dsiganos dsiganos merged commit a37a148 into nanocurrency:develop Mar 28, 2022
@dsiganos dsiganos deleted the pending_to_receivable_renames_issue_3689 branch March 28, 2022 12:07
@zhyatt zhyatt added the rpc Changes related to Remote Procedure Calls label Mar 28, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation This item indicates the need for or supplies updated or expanded documentation rpc Changes related to Remote Procedure Calls
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Finish pending to receivable changes for RPCs
4 participants