Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

rpc: move UniValue in blockToJSON #30094

Merged
merged 1 commit into from
May 13, 2024

Commits on May 13, 2024

  1. rpc: move UniValue in blockToJSON

    Without explicitly declaring the move, these UniValues get copied,
    causing increased memory usage. Fix this by explicitly moving the
    UniValue objects.
    
    Used by `rest_block` and `getblock` RPC.
    willcl-ark committed May 13, 2024
    Configuration menu
    Copy the full SHA
    b77bad3 View commit details
    Browse the repository at this point in the history