Skip to content

HIP-25 HACD staking port (draft, actions 37/38)#7

Draft
Moskyera wants to merge 1 commit into
hacash:mainfrom
Moskyera:hip-25-port-draft
Draft

HIP-25 HACD staking port (draft, actions 37/38)#7
Moskyera wants to merge 1 commit into
hacash:mainfrom
Moskyera:hip-25-port-draft

Conversation

@Moskyera

@Moskyera Moskyera commented Jun 20, 2026

Copy link
Copy Markdown

Summary

Draft port of HIP-25 v3 HACD staking for fullnodedev.

Reference: https://github.com/Moskyera/rust/tree/hip-25-staking @ \�0.1.0-hip25-reference\

Action mapping

Kind | Action

37 | DiaStake
38 | DiaUnstake

(Legacy rust fork used 34/35; fullnodedev reserves those for HIP-22 inscription.)

Included (Phase 1-2)

  • Staking types + CoreState keys 18-21
  • Diamond status 4/5 (staked / cooldown)
  • Stake / unstake actions
  • Block-close reward distribution + unlock queue
  • DiamondMint miner-share redirect to staking pool (v3 economics)
  • Config: \staking_activation_height = 0\ in [mint]\ (disabled until fork height agreed)

Not included yet

  • RPC /query/staking/*\
  • Ported integration tests from reference impl
  • Mainnet activation height

Note

Not activated on mainnet. For maintainer review coordinate with Istanbul (765432) timing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant