Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

add get_account_ram_corrections to producer API #7185

Merged
merged 1 commit into from
Apr 23, 2019

Conversation

arhag
Copy link
Contributor

@arhag arhag commented Apr 23, 2019

Change Description

This PR adds a new RPC, get_account_ram_corrections, to the producer_api_plugin which allows the node operator to inspect the state of the account_ram_correction_index. This API can help operators validate which accounts will be affected upon activation of the REPLACE_DEFERRED protocol feature (#6997).

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

/v1/producer/get_account_ram_corrections

Takes optional inputs lower_bound, upper_bound (keys for both are account names), limit (defaults to 10), and reverse (defaults to false), similar to the API calls to get table rows.

Returns the sequence of rows requested by the query in the rows array field of the result. The result may optionally include a more field which will contain the account name for the next row that was not returned.

Documentation Additions

  • Documentation Additions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants