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

fix: use mem pool state for “get block” RPCs #742

Merged
merged 1 commit into from
Jun 29, 2022

Commits on Jun 22, 2022

  1. fix: use mem pool state for “get block” RPCs

    Mem pool state can fall behind db state on read only nodes with P2P mem
    pool syncing due to separate `reset` and `refresh_mem_pool` calls.
    
    This commit changes RPC to only return blocks that are in the mem pool
    state so that blocks and other state remain consistent.
    blckngm committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    7fbfd01 View commit details
    Browse the repository at this point in the history