Skip to content

feat(rpc): return activation_height in getblockchaininfo for BIP9 softforks#5624

Merged
PastaPastaPasta merged 5 commits into
dashpay:developfrom
ogabrielides:activation_height_getblockchaininfo
Oct 23, 2023
Merged

feat(rpc): return activation_height in getblockchaininfo for BIP9 softforks#5624
PastaPastaPasta merged 5 commits into
dashpay:developfrom
ogabrielides:activation_height_getblockchaininfo

Conversation

@ogabrielides
Copy link
Copy Markdown

@ogabrielides ogabrielides commented Oct 19, 2023

Issue being fixed or feature implemented

When expecting a hard fork, we manually calculate activation heights.

What was done?

Returning expected activation height for BIP9 softporks in locked_in status in getblockchaininfo RPC.

How Has This Been Tested?

Breaking Changes

n/a

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@ogabrielides ogabrielides marked this pull request as draft October 19, 2023 18:17
Comment thread src/rpc/blockchain.cpp Outdated
@ogabrielides ogabrielides changed the title feat(rpc): return activation_height in getblockchaininfo feat(rpc): return activation_height in getblockchaininfo for BIP9 softforks Oct 23, 2023
@ogabrielides ogabrielides added this to the 20 milestone Oct 23, 2023
@ogabrielides ogabrielides marked this pull request as ready for review October 23, 2023 13:52
@ogabrielides ogabrielides added the RPC Some notable changes to RPC params/behaviour/descriptions label Oct 23, 2023
Copy link
Copy Markdown

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@PastaPastaPasta
Copy link
Copy Markdown
Member

We should have a functional test for this.

Copy link
Copy Markdown
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK for squash merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RPC Some notable changes to RPC params/behaviour/descriptions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants