Skip to content

Release 2.2.0.0

Compare
Choose a tag to compare
@ldmberman ldmberman released this 13 Oct 08:35
· 670 commits to master since this release

This release introduces a hard fork that activates at height 552180, approximately 2020-10-21 13:00 UTC. You will need to make sure you have upgraded your miner before this time in order to connect to the 2.2 network.

The core of this release is an update to the protocol that allows to efficiently incorporate an
arbitrarily big number of wallets in the weave. The changes makes block processing times
grow very slowly and only up to a hard cap with the growing number of wallets. For details,
see the commit description.

The release also changes the wallet generation fee. Starting from the block 552180, an extra fee for a new wallet is 0.1$ according to the AR to USD exchange rate estimated by the protocol at the given block.

Additionally, the release includes a significant improvement of the internal state management,
decreasing request latencies and memory footprint and increasing the hashing power. See the commit fore more info.

A new GET /wallet_list/[root_hash]/[addr]/balance endpoint is added. The endpoint allows to lookup wallet balances with a certain number of confirmations. root_hash is the Merkle root of the wallet tree corresponding to a block (the wallet_list field), addr is a wallet address.

Finally, a change is introduced to make nodes that missed transactions included in a block catch up faster.

Upgrade instructions

N.2.2.0.0 comes with the prebuilt binaries for the Linux and Darwin x86_64 platforms.

Download the corresponding archive and unpack it:

tar -xzf arweave-2.2.0.0.linux-x86_64.tar.gz

It makes sense to unpack it inside a dedicated directory. You can always move this directory around, but the miner may not work if you move only some of the files. The weave data would, by default, be stored in this directory, too, but it can be overridden using the data_dir command-line argument.
The archive contents look like this:

bin/  data/  erts-10.3/  lib/  releases/

To run the miner, execute ./bin/start . See the mining guide for more details.
If your OS/platform architecture is not in the list, check README for how to build the miner from sources.

If you want to run the miner from the existing Git folder, execute the following command to upgrade:

git fetch --all --tags && git checkout -f N.2.2.0.0

You can now run the miner using the arweave-server script.

Support

For more details on how to run a mining node, please see our mining guide - https://docs.arweave.org/info/mining/mining-guide. If you have any issues upgrading or would like to know more about the release, feel free to reach out to us in the #mining channel on Discord Arweave Dev Talk server (https://discord.gg/DjAFMJc) or email us at team@arweave.org.