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

[release-v1.6] rpcserver: Correct treasury vote status handling. #2471

Merged

Commits on Nov 23, 2020

  1. [release-v1.6] rpcserver: Correct treasury vote status handling.

    This corrects several of the RPC handlers to base the status of whether
    or not the decentralized treasury rules are active based on the location
    of the element in question versus whatever the current tip happens to
    be.
    
    In particular, the following RPCs are corrected:
    
    - getblock
    - getblocksubsidy
    - getrawtransaction
    - gettxout
    - rescan
    - searchrawtransactions
    - ticketfeeinfo
    - txfeeinfo
    
    While here, it also modifies searchrawtransaction to use the height in
    the header instead of performing another lookup from chain since it is
    already available there and removes a TODO that no longer applies.
    davecgh committed Nov 23, 2020
    Configuration menu
    Copy the full SHA
    aa248ab View commit details
    Browse the repository at this point in the history