Releases: pokt-network/pocket-core
RC-0.12.0
What's Changed
- Fix Uncompressed Inline tar cmd by @0xThresh in #1597
- [Docs] AAT related comments & documentation improvements by @Olshansk in #1598
- Docker Image enhancement and better CLI support. by @jorgecuesta in #1603
- Add pwd flags to appTransferCmd by @Olshansk in #1608
- Parameter JSON serialization must be deterministic by @msmania in #1614
- Add a link to pocket-core-doc by @msmania in #1618
- Add a link to #1617 in the codebase by @Olshansk in #1619
- Version bump to RC-0.12.0 by @msmania in #1615
New Contributors
Full Changelog: RC-0.11.1...RC-0.12.0
RC-0.11.1
RC-0.11.1
- What's Changed
- New Contributors
- Pocket Core Docker Image
- GeoMesh Docker Image
- Release Plan
- New Parameters
- New CLI Commands
- Upgrading the CLI
- Release Plan
- Full Changelog
What's Changed
- Update AppVersion to BETA-0.11.1 by @msmania in #1592
- [Docs] Update main
README
w/ links toDocker
images by @Olshansk in #1593 - Sort RewardDelegators when marshaling a validator by @msmania in #1591
- Update AppVersion to BETA-0.11.0 by @msmania in #1590
- Do not call
node.GetChains()
if node is nil by @msmania in #1588 - Upgrade Go version to 1.21 by @msmania in #1587
- PIP-32 [v0.11 feature] Built-in Reward Share by @msmania in #1581
- PIP-33 [v0.11 feature] Per-chain Relays To Token Multiplier by @msmania in #1580
- PIP-34 feat: enforce max chains during new session by @h5law in #1582
- PIP-35 Allow an AppMsgStake tx to change the address of a staked app by @msmania in #1585
- Add a reference to Pocket Pruner by @msmania in #1572
New Contributors
Pocket Core Docker Image
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 totrue
, this node does not send a claim for an evidence which is expected to earn rewards less than its claiming cost. Defaults tofalse
.
New CLI Commands
For more details, run each command with --help
option.
- pocket nodes stakeNew
Stakes a node. Unlike the legacynodes 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
What's Changed
- Update AppVersion to BETA-0.11.1 by @msmania in #1592
- [Docs] Update main
README
w/ links toDocker
images by @Olshansk in #1593 - Sort RewardDelegators when marshaling a validator by @msmania in #1591
- Update AppVersion to BETA-0.11.0 by @msmania in #1590
- Do not call
node.GetChains()
if node is nil by @msmania in #1588 - Upgrade Go version to 1.21 by @msmania in #1587
- PIP-32 [v0.11 feature] Built-in Reward Share by @msmania in #1581
- PIP-33 [v0.11 feature] Per-chain Relays To Token Multiplier by @msmania in #1580
- PIP-34 feat: enforce max chains during new session by @h5law in #1582
- PIP-35 Allow an AppMsgStake tx to change the address of a staked app by @msmania in #1585
- Add a reference to Pocket Pruner by @msmania in #1572
New Contributors
Full Changelog: RC-0.10.4...BETA-0.11.1
BETA-0.11.0
!!Attention!!
This release has a bug that causes a chainhalt. Do not use this release!
RC-0.10.4
What's Changed
- Add snapshot docs by @Andrew-Pohl in #1565
- Change default config file values by @okdas in #1568
- Testnet docs updated by @StevenMartinez94 in #1569
- Update TestNet documentation by @Olshansk in #1570
New Contributors
- @StevenMartinez94 made their first contribution in #1569
Full Changelog: RC-0.10.3...RC-0.10.4
RC-0.10.3
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
- What's Changed
- New Snapshots
- New Homebrew Formula
tl;dr I'm a node runner upgrading from RC-0.9.X to RC-0.10.X
Update your configs like so:
- Set
client_session_sync_allowance
to a value> 0
inpocket_config
to support session rollovers - 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
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
- Major Changes & Key Contributors
- Full Change List
- New Contributors
References & Links
- PIP-30
- Development Release Guide
- TestNet Rehearsal
- TestNet Rehearsal Results
- TODO: MainNet Release Plan
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
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
- MsgStake; OutputAddress editing - @msmania
- Cache Related Bug Fixes; @msmania
- Session Rollover - @PoktBlade
- Block Size Increase - @ottodevs @Olshansk
- Tendermint Reliability Improvements - @Olshansk
New Flags
OEDIT
- Output Address EditingCRVAL
- Cache Related Bug ChangesBLOCK
- 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
- @omahs made their first contribution in #1522
- @lookfirst made their first contribution in #1518
- @0xBigBoss made their first contribution in #1525
- @marcelosousa made their first contribution in #1551
Full Changelog: RC-0.9.2...RC-0.10.0
BETA-0.10.2
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
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
- @omahs made their first contribution in #1522
- @lookfirst made their first contribution in #1518
- @0xBigBoss made their first contribution in #1525
- @marcelosousa made their first contribution in #1551
Full Changelog: RC-0.9.2...BETA-0.10.0
RC-0.9.2
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.
-
Create a new
lean_nodes_keys.json
file inside your Pocket configuration directory (typically.pocket
). -
Format the file with a JSON array of your node's private keys:
[
{ "priv_key": "<PRIVATE_KEY_1>" },
{ "priv_key": "<PRIVATE_KEY_2>" }
]
- Set/update your validators:
pocket accounts set-validators <path/to/lean_nodes_keys.json>
-
Edit your node's
config.json
file to addlean_pocket: "true";
in thepocket_config
block. -
If you run a script that starts the Pocket service, add
--keybase=false
to thepocket start
command. -
Edit your proxy settings such that the
/v1
endpoint is publicly accessible for every one of your nodes. -
Restart your Pocket service, making sure to add the
--keybase=false
option.
Learn more: https://docs.pokt.network/node/leanpocket/
New API endpoints
-
/v1/query/unconfirmedtxs: Returns all unconfirmed transactions in the mempool for a given node. Transactions are decoded following the same format as blocktxs (hash + stdTx). Try it out: https://docs.pokt.network/api-docs/pokt/
-
/v1/query/unconfirmedtx: Returns an unconfirmed transaction in the mempool, specified by the transaction hash. Try it out: https://docs.pokt.network/api-docs/pokt/
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 !!