Skip to content

Releases: pokt-network/pocket-core

RC-0.12.0

02 Oct 19:50
60ce9a1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: RC-0.11.1...RC-0.12.0

RC-0.11.1

24 Jan 16:41
e47bc70
Compare
Choose a tag to compare

RC-0.11.1

What's Changed

New Contributors

Pocket Core Docker Image

pkgs/container/pocket-v0

docker pull ghcr.io/pokt-network/pocket-v0:rc-0.11.1

GeoMesh Docker Image

https://github.com/pokt-scan/pocket-core/releases/tag/MESH-RC-0.4.2-RC-0.11.1

New Parameters

  • pocket_config.prevent_negative_reward_claim (boolean)
    If set to true, this node does not send a claim for an evidence which is expected to earn rewards less than its claiming cost. Defaults to false.

New CLI Commands

For more details, run each command with --help option.

  • pocket nodes stakeNew
    Stakes a node. Unlike the legacy nodes stake command, you can specify <SignerAddress> and <RewardDelegators>, and you don't have to specify a boolean <isBefore8.0>.
  • pocket apps transfer
    Transfers the slot of a staked app from one to another without unstaking it.

Upgrading the CLI

brew tap pokt-network/pocket-core
brew install pocket

Release Plan

https://www.notion.so/buildwithgrove/RC-0-11-0-Release-Plan-6b33e7b7634f458796b1c3f0a3a2a994?pvs=4

Full Changelog

Full Changelog: RC-0.10.4...RC-0.11.1

BETA-0.11.1

20 Jan 19:29
48ac2c0
Compare
Choose a tag to compare
BETA-0.11.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: RC-0.10.4...BETA-0.11.1

BETA-0.11.0

06 Jan 04:37
69a035d
Compare
Choose a tag to compare

!!Attention!!

This release has a bug that causes a chainhalt. Do not use this release!

RC-0.10.4

10 Jul 19:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: RC-0.10.3...RC-0.10.4

RC-0.10.3

05 Jul 19:34
Compare
Choose a tag to compare

RC 0.10.3

Please see RC-0.10.0 for all the instructions and details when moving from RC-0.9.X to RC-0.10.X

tl;dr I'm a node runner upgrading from RC-0.9.X to RC-0.10.X

Update your configs like so:

  1. Set client_session_sync_allowance to a value > 0 in pocket_config to support session rollovers
  2. Double the memory configs in your mempool to support larger blocks (i.e. 8MB instead of 4MB)

For example:

"Mempool": {
    "RootDir": "/home/app/.pocket",
    "Recheck": true,
    "Broadcast": true,
    "WalPath": "",
-    "Size": 9000,
-    "MaxTxsBytes": 1073741824,
-    "CacheSize": 9000,
-    "MaxTxBytes": 1048576
+    "Size": 18000,
+   "MaxTxsBytes": 2147483648,
+   "CacheSize": 18000,
+   "MaxTxBytes": 2097152
},

What's Changed

  • Revert Mainnet genesis file changes from #1535 by @PoktBlade in #1566
  • Update default session sync allowance by @PoktBlade in #1560

New Snapshots

New snapshots available thanks to the team at Liquify LTD at doc/guides/snapshot.md.

New Homebrew Formula

brew tap pokt-network/pocket-core
brew upgrade pokt-network/pocket-core/pocket

Full Changelog: RC-0.10.0...RC-0.10.3

RC-0.10.0

27 Jun 02:11
Compare
Choose a tag to compare

IMPORTANT: This is a stable (TestNet verified) release but the rollout has been delayed due to recent changes in portal.pokt.network. Please stay tuned on all communications and we will notify Node runners and exchanges once major adoption beings

EDIT 07/05/2023: Please see RC-0.10.3 for the release following this one

RC 0.10.0

References & Links

Adoption Instruction

Node Runners need to update their configurations to enable some of the new featuers

Configurations - Mempool for Block Size

In order to enable larger block sizes, the mempool also needs to double to account for that capacity. Therefore, node runners are asked to double their mempool configs.

For example, if it was previously

"Mempool": {
    "RootDir": "/home/app/.pocket",
    "Recheck": true,
    "Broadcast": true,
    "WalPath": "",
    "Size": 9000,
    "MaxTxsBytes": 1073741824,
    "CacheSize": 9000,
    "MaxTxBytes": 1048576
},

The new suggested configurations are:

"Mempool": {
    "RootDir": "/home/app/.pocket",
    "Recheck": true,
    "Broadcast": true,
    "WalPath": "",
    "Size": 18000,
    "MaxTxsBytes": 2147483648,
    "CacheSize": 18000,
    "MaxTxBytes": 2097152
},

Configurations - Session Rollover

client_session_sync_allowance was added with the following description:

- **"client_session_sync_allowance"**: The +/- allowance in amount of sessions for a relay request \(mechanism to allow for servicing stale sessions for whenever session height changes.)

It is an optional configuration, defaulting to 1, that can be set in the pocket_config section of the config.json file.

"pocket_config": {
    ...
    "client_session_sync_allowance": 0
  }

Pocket Core Docker Image

pkgs/container/pocket-v0

docker pull ghcr.io/pokt-network/pocket-v0:rc-0.10.0

Curtesy of @okdas

GeoMesh Docker Image

TODO: Add GeoMesh Docker Image

Major Changes & Key Contributors

  1. MsgStake; OutputAddress editing - @msmania
  2. Cache Related Bug Fixes; @msmania
  3. Session Rollover - @PoktBlade
  4. Block Size Increase - @ottodevs @Olshansk
  5. Tendermint Reliability Improvements - @Olshansk

New Flags

  • OEDIT - Output Address Editing
  • CRVAL - Cache Related Bug Changes
  • BLOCK - Block Size Changes

New Parameters

  • pocketcore/BlockByteSize - Block Size in bytes

Infrastructure Support & Maintenance (TestNet & MainNet) by @StevenMartinez94 @aqt01 @byoung0589

Full Change List

  • Fix bad and outdated links by @bmmpxf in #1512
  • Claim & Proof Lifecycle (Reward Protocol) Documentation by @andrewnguyen22 in #1507
  • Adds the e2e test suite framework and a bit over 80 test scenarios by @iajrz in #1514
  • [Document] Improve documentation for pocket nodes by @Olshansk in #1521
  • Probabilistic Proofs - Model Claim and Stake Data for Parameter Thresholds by @Olshansk in #1526
  • Added default reviewpad.yml file by @Olshansk in #1539
  • Fix: typos by @omahs in #1522
  • run tests as described. fixes #1517 by @lookfirst in #1518
  • Update the TestApplication_CalculateAppRelays test by @Olshansk in #1537
  • Added unit tests for staked nodes and stakes apps pool addresses by @Olshansk in #1540
  • LocalNet documentation using playground by @Olshansk in #1535
  • Make TestKeeper_HandleRelay more scalable by @msmania in #1542
  • Clear the global session cache when a node is unjailed by @msmania in #1529
  • Fix TestValidatorStateChange_EditAndValidateStakeValidator by @msmania in #1533
  • Allow the output address owner to change the output address via MsgStake by @msmania in #1534
  • minor: Use height in query account txs by @0xBigBoss in #1525
  • [Test] Unit Tests to validate Block Size increases + minor improvements by @Olshansk in #1538
  • Explicitly set TestMode=0 in TestValidatorStateChange_OutputAddressEdit by @msmania in #1543
  • Session roll over fix by @PoktBlade in #1536
  • Add msgstake_flow.md by @msmania in #1544
  • Pass a correct session end height to NewSession by @msmania in #1545
  • Probabilistic Proofs - Add Block Composition Data by @Olshansk in #1550
  • fix: reviewpad configuration by @marcelosousa in #1551
  • Update tendermint version by @Olshansk in #1541

New Contributors

Full Changelog: RC-0.9.2...RC-0.10.0

BETA-0.10.2

15 Jun 01:11
Compare
Choose a tag to compare
BETA-0.10.2 Pre-release
Pre-release

We're switching to GitHub Container Registry on this release.

Please, use the container images from the following repository: https://github.com/pokt-network/pocket-core/pkgs/container/pocket-v0.

For example, you can pull the repo with the following command: docker pull ghcr.io/pokt-network/pocket-v0:BETA-0.10.2

BETA-0.10.0

25 May 22:46
Compare
Choose a tag to compare
BETA-0.10.0 Pre-release
Pre-release

This release will be filled out during the TestNet Rehersal.

All existing notes can be found here: https://www.notion.so/pocketnetwork/Testing-Tendermint-fbcd3abbed5b4d1ea470a964e2e8b014?pvs=4

What's Changed

  • Fix bad and outdated links by @bmmpxf in #1512
  • Claim & Proof Lifecycle (Reward Protocol) Documentation by @andrewnguyen22 in #1507
  • Adds the e2e test suite framework and a bit over 80 test scenarios by @iajrz in #1514
  • [Document] Improve documentation for pocket nodes by @Olshansk in #1521
  • Probabilistic Proofs - Model Claim and Stake Data for Parameter Thresholds by @Olshansk in #1526
  • Added default reviewpad.yml file by @Olshansk in #1539
  • Fix: typos by @omahs in #1522
  • run tests as described. fixes #1517 by @lookfirst in #1518
  • Update the TestApplication_CalculateAppRelays test by @Olshansk in #1537
  • Added unit tests for staked nodes and stakes apps pool addresses by @Olshansk in #1540
  • LocalNet documentation using playground by @Olshansk in #1535
  • Make TestKeeper_HandleRelay more scalable by @msmania in #1542
  • Clear the global session cache when a node is unjailed by @msmania in #1529
  • Fix TestValidatorStateChange_EditAndValidateStakeValidator by @msmania in #1533
  • Allow the output address owner to change the output address via MsgStake by @msmania in #1534
  • minor: Use height in query account txs by @0xBigBoss in #1525
  • [Test] Unit Tests to validate Block Size increases + minor improvements by @Olshansk in #1538
  • Explicitly set TestMode=0 in TestValidatorStateChange_OutputAddressEdit by @msmania in #1543
  • Session roll over fix by @PoktBlade in #1536
  • Add msgstake_flow.md by @msmania in #1544
  • Pass a correct session end height to NewSession by @msmania in #1545
  • Probabilistic Proofs - Add Block Composition Data by @Olshansk in #1550
  • fix: reviewpad configuration by @marcelosousa in #1551
  • Update tendermint version by @Olshansk in #1541

New Contributors

Full Changelog: RC-0.9.2...BETA-0.10.0

RC-0.9.2

30 Nov 19:12
Compare
Choose a tag to compare
RC-0.9.2 Pre-release
Pre-release

RC-0.9.2

This version brings one new feature and two new endpoints to Pocket Core:

New feature: LeanPocket

LeanPocket is a configuration that enables multiple Pocket instances to run on a single process, allowing node runners to consolidate resources, resulting in better scalability and reduced hardware costs.

  1. Create a new lean_nodes_keys.json file inside your Pocket configuration directory (typically .pocket).

  2. Format the file with a JSON array of your node's private keys:

   [
     { "priv_key": "<PRIVATE_KEY_1>" },
     { "priv_key": "<PRIVATE_KEY_2>" }
   ]

  1. Set/update your validators:

pocket accounts set-validators <path/to/lean_nodes_keys.json>

  1. Edit your node's config.json file to add lean_pocket: "true"; in the pocket_config block.

  2. If you run a script that starts the Pocket service, add --keybase=false to the pocket start command.

  3. Edit your proxy settings such that the /v1 endpoint is publicly accessible for every one of your nodes.

  4. Restart your Pocket service, making sure to add the --keybase=false option.

Learn more: https://docs.pokt.network/node/leanpocket/

New API endpoints

Update your node

To update your node to the latest version, follow instructions here: https://docs.pokt.network/node/update

Special Thanks to contributors @PoktBlade , @addiaddiaddi & @jorgecuesta !!