Skip to content

Commit

Permalink
Update to Arrowhead 6.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
owans committed Dec 13, 2024
1 parent 2c84269 commit 7a8a591
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 24 deletions.
4 changes: 3 additions & 1 deletion changelog/2024-11-05-introducing-arrowhead-6.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ tags: [release, arrowhead]
url: https://blog.rootstock.io/noticia/arrowhead-6-4-0-introducing-fiat-stable-minimum-gas-price/
---

**Summary**: The Rootstock community is pleased to announce the release of the latest version of the RSKj client, which is now available in the [RSKj GitHub repository](https://github.com/rsksmart/rskj/releases/tag/ARROWHEAD-6.4.0). This update introduces the **fiat-stable minimum gas price feature** (disabled by default), enabling mining pools to automatically adjust their minimum gas price configuration based on the price of Bitcoin. Additionally, it includes JSON-RPC interface improvements and dependency upgrades, now supporting **Java 21 LTS**.
**Summary**:

The Rootstock community is pleased to announce the release of the latest version of the RSKj client, which is now available in the [RSKj GitHub repository](https://github.com/rsksmart/rskj/releases/tag/ARROWHEAD-6.4.0). This update introduces the **fiat-stable minimum gas price feature** (disabled by default), enabling mining pools to automatically adjust their minimum gas price configuration based on the price of Bitcoin. Additionally, it includes JSON-RPC interface improvements and dependency upgrades, now supporting **Java 21 LTS**.

> Note that this upgrade is optional, however it is strongly recommended that users update their nodes to the latest version to benefit from enhanced performance and security.
12 changes: 12 additions & 0 deletions changelog/2024-12-06-introducing-arrowhead-6.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Introducing Arrowhead 6.5.0"
author: Rootstock
tags: [release, arrowhead]
url: https://blog.rootstock.io/noticia/rootstock-arrowhead-6-5-0-optimizing-developer-experience/
---

**Summary**:

The Rootstock community is pleased to announce the release of the latest version of the RSKj client, which is now available in the [RSKj GitHub repository](https://github.com/rsksmart/rskj/releases/tag/ARROWHEAD-6.5.0). This update features new debugging methods and other improvements to the JSON-RPC interface, designed to optimize the developer experience.

> Note that this upgrade is optional, however it is strongly recommended that users update their nodes to the latest version to benefit from enhanced performance and security.
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ If the version to be installed is not defined in the command line, the version w
| 6.3.0-ARROWHEAD | ARROWHEAD-6.3.0 |
| 6.3.1-ARROWHEAD | ARROWHEAD-6.3.1 |
| 6.4.0-ARROWHEAD | ARROWHEAD-6.4.0 |
| 6.5.0-ARROWHEAD | ARROWHEAD-6.5.0 |

8 changes: 4 additions & 4 deletions docs/03-node-operators/04-setup/02-installation/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To setup a Rootstock node using Java, you need to:

:::warning[Important]

Starting with v6.4.0, the minimum supported Java LTS version is Java 17. Previous Java versions will no longer be supported.
Starting with [v6.4.0](/changelog/2024-11-05-introducing-arrowhead-6.4.0/), the minimum supported Java LTS version is Java 17. Previous Java versions will no longer be supported.

:::

Expand Down Expand Up @@ -41,7 +41,7 @@ cd ~/rskj-node-jar
```
3. **Move the JAR**: Move or copy the just downloaded jar file to your directory.
```jsx
mv ~/Downloads/rskj-core-6.4.0-ARROWHEAD-all.jar SHA256SUMS.asc /Users/{user}/rskj-node-jar/
mv ~/Downloads/rskj-core-6.5.0-ARROWHEAD-all.jar SHA256SUMS.asc /Users/{user}/rskj-node-jar/
```

<!-- ### Configuration
Expand Down Expand Up @@ -69,7 +69,7 @@ mv ~/Downloads/rskj-core-6.4.0-ARROWHEAD-all.jar SHA256SUMS.asc /Users/{user}/rs

:::tip[Tip]

Replace `<PATH-TO-THE-RSKJ-JAR>` with the actual path to your JAR file. For example, `C:/RskjCode/rskj-core-6.4.0-ARROWHEAD-all.jar`.
Replace `<PATH-TO-THE-RSKJ-JAR>` with the actual path to your JAR file. For example, `C:/RskjCode/rskj-core-6.5.0-ARROWHEAD-all.jar`.
:::

## Using Import Sync
Expand Down Expand Up @@ -136,7 +136,7 @@ After starting the node, if there's no output, this means it's running correctly
Output:

```shell
{"jsonrpc":"2.0","id":67,"result":"RskJ/6.4.0/Mac OS X/Java21/ARROWHEAD-e016b25"}
{"jsonrpc":"2.0","id":67,"result":"RskJ/6.5.0/Mac OS X/Java21/ARROWHEAD-e016b25"}
```

2. To check the block number:
Expand Down
6 changes: 3 additions & 3 deletions docs/03-node-operators/04-setup/02-installation/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ Choose `mainnet` and press `Enter` to continue

## Install via Direct Downloads

You can also download the RSKj Ubuntu Package for the latest RSKj release `ARROWHEAD 6.4.0` and install it with the `dpkg` command. Follow this [download link](https://launchpad.net/~rsksmart/+archive/ubuntu/rskj/+packages) to download the matching package for your ubuntu system.
You can also download the RSKj Ubuntu Package for the latest RSKj release `ARROWHEAD 6.5.0` and install it with the `dpkg` command. Follow this [download link](https://launchpad.net/~rsksmart/+archive/ubuntu/rskj/+packages) to download the matching package for your ubuntu system.

```shell
# first install openjdk-17-jre or oracle-java17-installer
sudo apt-get install openjdk-17-jre

# download the RSKj package and find the file rskj-6.4.0~UBUNTU_VERSION_NAME_amd64.deb
# download the RSKj package and find the file rskj-6.5.0~UBUNTU_VERSION_NAME_amd64.deb

# run this command in the same directory as the deb file above
dpkg -i rskj-6.4.0~UBUNTU_VERSION_NAME_amd64.deb
dpkg -i rskj-6.5.0~UBUNTU_VERSION_NAME_amd64.deb
```

We recommend that you check that the SHA256 hash of the downloaded package file matches, prior to installation:
Expand Down
4 changes: 2 additions & 2 deletions docs/03-node-operators/04-setup/04-node-runner/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Recommended IDEs:

:::warning[Important]

Starting with v6.4.0, the minimum supported Java LTS version is Java 17. Previous Java versions will no longer be supported.
Starting with [v6.4.0](/changelog/2024-11-05-introducing-arrowhead-6.4.0/), the minimum supported Java LTS version is Java 17. Previous Java versions will no longer be supported.

:::

Expand All @@ -37,7 +37,7 @@ Run these commands in the terminal:
```shell
git clone --recursive https://github.com/rsksmart/rskj.git
cd rskj
git checkout tags/ARROWHEAD-6.4.0 -b ARROWHEAD-6.4.0
git checkout tags/ARROWHEAD-6.5.0 -b ARROWHEAD-6.5.0
```

*Note:* It is better to download the code into a short path.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-node-operators/04-setup/04-node-runner/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Run these commands on Git command line:
```shell
git clone --recursive https://github.com/rsksmart/rskj.git
cd rskj
git checkout tags/ARROWHEAD-6.4.0 -b ARROWHEAD-6.4.0
git checkout tags/ARROWHEAD-6.5.0 -b ARROWHEAD-6.5.0
```

*Note:* It is better to download the code into a short path.
Expand Down
26 changes: 13 additions & 13 deletions docs/03-node-operators/04-setup/reproducible-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ It's highly recommended to follow the steps by yourself to avoid contamination o

:::warning[Important]

Starting with v6.4.0, the minimum supported Java LTS version is Java 17. Previous Java versions will no longer be supported. The following example for Linux OS is showing instructions for v6.3.1, and thus uses jdk 8, this must be replaced by jdk 17 for v6.4.0 and up.
Starting with [v6.4.0](/changelog/2024-11-05-introducing-arrowhead-6.4.0.md), the minimum supported Java LTS version is Java 17. Previous Java versions will no longer be supported. The following example for Linux OS is showing instructions for v6.3.1, and thus uses jdk 8, this must be replaced by jdk 17 for v6.4.0 and up.

:::

Expand Down Expand Up @@ -50,9 +50,9 @@ Create a ```Dockerfile``` to setup the build environment.
apt-get clean
gpg --keyserver https://secchannel.rsk.co/release.asc --recv-keys 1A92D8942171AFA951A857365DECF4415E3B8FA4
gpg --finger 1A92D8942171AFA951A857365DECF4415E3B8FA4
git clone --single-branch --depth 1 --branch ARROWHEAD-6.4.0 https://github.com/rsksmart/rskj.git /code/rskj
git clone --single-branch --depth 1 --branch ARROWHEAD-6.5.0 https://github.com/rsksmart/rskj.git /code/rskj
git clone https://github.com/rsksmart/reproducible-builds
CP /Users/{$USER}/reproducible-builds/rskj/6.4.0-arrowhead/Dockerfile /Users/{$USER}/code/rskj
CP /Users/{$USER}/reproducible-builds/rskj/6.5.0-arrowhead/Dockerfile /Users/{$USER}/code/rskj
WORKDIR /code/rskj
gpg --verify SHA256SUMS.asc
sha256sum --check SHA256SUMS.asc
Expand All @@ -69,10 +69,10 @@ Create a ```Dockerfile``` to setup the build environment.
brew cleanup
gpg --keyserver https://secchannel.rsk.co/release.asc --recv-keys 1A92D8942171AFA951A857365DECF4415E3B8FA4
gpg --finger 1A92D8942171AFA951A857365DECF4415E3B8FA4
git clone --single-branch --depth 1 --branch ARROWHEAD-6.4.0 https://github.com/rsksmart/rskj.git ./code/rskj
git clone --single-branch --depth 1 --branch ARROWHEAD-6.5.0 https://github.com/rsksmart/rskj.git ./code/rskj
git clone https://github.com/rsksmart/reproducible-builds
CP /Users/{$USER}/reproducible-builds/rskj/6.4.0-arrowhead/Dockerfile /Users/{$USER}/code/rskj
cd /code/rskj
CP /Users/{$USER}/reproducible-builds/rskj/6.5.0-arrowhead/Dockerfile /Users/{$USER}/code/rskj
cd ./code/rskj
gpg --verify SHA256SUMS.asc
sha256sum --check SHA256SUMS.asc
./configure.sh
Expand Down Expand Up @@ -106,7 +106,7 @@ If you are not familiar with Docker or the ```Dockerfile``` format: what this do
To create a reproducible build, run the command below in the same directory:

```bash
docker build -t rskj/6.4.0-arrowhead .
docker build -t rskj/6.5.0-arrowhead .
```

:::danger[Error]
Expand All @@ -127,7 +127,7 @@ This may take several minutes to complete. What is done is:
The last step of the build prints the `sha256sum` of the files, to obtain `SHA-256` checksums, run the following command in the same directory as shown above:

```bash
docker run --rm rskj/6.4.0-arrowhead sh -c 'sha256sum * | grep -v javadoc.jar'
docker run --rm rskj/6.5.0-arrowhead sh -c 'sha256sum * | grep -v javadoc.jar'
```

## Check Results
Expand All @@ -137,11 +137,11 @@ After running the build process, a JAR file will be created in ```/rskj/rskj-cor
You can check the SHA256 sum of the result file and compare it to the one published by Rootstock for that version.

```bash
269c6416759ff8979e6bc6a6b1ae96ab95705f1c397df06b160a9f2070a373ce rskj-core-6.4.0-ARROWHEAD-all.jar
cb4ecbcf4654d97177389f5505764e3cc9ef5b5f87f7aca2956151c71416d315 rskj-core-6.4.0-ARROWHEAD-sources.jar
bbc0fc1bb7e865c9e11eb78317db32592c9b7dfd8a6818890729af5827a66237 rskj-core-6.4.0-ARROWHEAD.jar
fabf8af48c167d42d290e9fa44f80b76b96cd403b56c4c87f8df23fd0ea3c9f0 rskj-core-6.4.0-ARROWHEAD.module
6dbc8153d510d4e910759e2e76cf40f9c0635185f66aa612dac4b2c8a60d0c63 rskj-core-6.4.0-ARROWHEAD.pom
294f99ec76befa7d9ef18eca28d0c884ceb463ce855ef23ddb7a476e551ba191 rskj-core-6.5.0-ARROWHEAD-all.jar
ec4ea3143fb95fbf878b24c8d00ebe5994c4586ecf92930743b26dc77395c17a rskj-core-6.5.0-ARROWHEAD-sources.jar
7721f59632d9ff825b0bb23cf52fa3eff347852068a03d792ce18d0deae547ae rskj-core-6.5.0-ARROWHEAD.jar
16283f4aebbf5b5b35c63f098d81fb0d2aeb5e9fc3be51128ab300333127077f rskj-core-6.5.0-ARROWHEAD.module
ee4f7e684044302e3819f8c50d9b85af5b3391d14e6ed6110b98e8387a1b2837 rskj-core-6.5.0-ARROWHEAD.pom
```

For SHA256 sum of older versions check the [releases page](https://github.com/rsksmart/rskj/releases).
Expand Down

0 comments on commit 7a8a591

Please sign in to comment.