rooch-network / rooch

VApp Container with Move Language
https://rooch.network
Apache License 2.0
129 stars 56 forks source link

[gh-1685] draft a chain reorg operation. #1705

Open feliciss opened 2 weeks ago

feliciss commented 2 weeks ago

Summary

  1. Added reorg_branchlen and reorg_status props to the bitcoin block store from the bitcoin-cli api: https://developer.bitcoin.org/reference/rpc/getchaintips.html.
  2. Perform a chain reorg according to this article: https://learnmeabitcoin.com/technical/blockchain/chain-reorganisation/.

Ref: https://learnmeabitcoin.com/technical/blockchain/chain-reorganisation/.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-rooch-portal-v1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2024 10:09am
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/2fDCTeP21viLjXUsdru63qUEr9ME)) | [Visit Preview](https://rooch-git-fork-feliciss-1685-rooch.vercel.app) | | May 20, 2024 10:09am |