Skip to content

Commit

Permalink
- Change rsk references to rootstock
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanieliov authored and josedahlquist committed Nov 21, 2024
1 parent 62404aa commit b26dfd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions IPs/RSKIP454.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ description:

## Abstract

This RSKIP proposes enabling RSK to accept Bitcoin blocks with chain work up to 32 unsigned bytes (256 bits). This change is necessary to ensure the bridge can process Bitcoin blocks with chain work values that exceed the current 12 unsigned bytes limit (96 bits).
This RSKIP proposes enabling Rootstock to accept Bitcoin blocks with chain work up to 32 unsigned bytes (256 bits). This change is necessary to ensure the bridge can process Bitcoin blocks with chain work values that exceed the current 12 unsigned bytes limit (96 bits).

Before [RSKIP434](RSKIP434.md) the chain work was even lower (12 signed bytes, 1 bit reserved for the sign and 95 bits used to store the chain work value). This 95 bits limit chain work got surpassed by the block #849,138 causing rsk nodes to be unable to process Bitcoin blocks, resulting in a [Rootstock peg-in / peg-out service outage](https://blog.rootstock.io/noticia/incident-report-rootstock-peg-in-peg-out-service-outage-on-june-24th/).[2]
Before [RSKIP434](RSKIP434.md) the chain work was even lower (12 signed bytes, 1 bit reserved for the sign and 95 bits used to store the chain work value). This 95 bits limit chain work got surpassed by the block #849,138 causing Rootstock nodes to be unable to process Bitcoin blocks, resulting in a [Rootstock peg-in / peg-out service outage](https://blog.rootstock.io/noticia/incident-report-rootstock-peg-in-peg-out-service-outage-on-june-24th/).[2]

Therefore, in order to guarantee the future stability of the Rootstock network, it is necessary to increase the chain work limit before the chain work value exceed the current 12 unsigned bytes limit.

## Motivation

Ensure rsk nodes stability and prevent future disruptions in the Rootstock network caused by the inability to process Bitcoin blocks with chain work values that exceed the current 12 unsigned bytes limit.
Ensure Rootstock nodes stability and prevent future disruptions in the Rootstock network caused by the inability to process Bitcoin blocks with chain work values that exceed the current 12 unsigned bytes limit.

## Specification

- Store chain work values of Bitcoin block headers using 32 unsigned bytes. This implies that after this RSKIP gets activated, stored blocks in rsk nodes' storage will go from 96 bytes to 116 bytes in size. 32 bytes will be used to store the chain work value and the remaining 84 bytes will be used to store the rest of the block header.
- Store chain work values of Bitcoin block headers using 32 unsigned bytes. This implies that after this RSKIP gets activated, stored blocks in Rootstock nodes' storage will go from 96 bytes to 116 bytes in size. 32 bytes will be used to store the chain work value and the remaining 84 bytes will be used to store the rest of the block header.
- Add support to serialize and deserialize chain work values up to 32 unsigned bytes of Bitcoin block headers stored in the Rootstock Bridge.
- Deprecate binary checkpoint support in favor of adding support for the textual checkpoint format. Checkpoints with 32 unsigned bytes chain work must be in textual format to be processed, as the binary checkpoint format does not support mixing Bitcoin header sizes.

Expand Down

0 comments on commit b26dfd6

Please sign in to comment.