Official implementation of the Pocket Network Protocol
README
w/ links to Docker
images by @Olshansk in https://github.com/pokt-network/pocket-core/pull/1593
node.GetChains()
if node is nil by @msmania in https://github.com/pokt-network/pocket-core/pull/1588
docker pull ghcr.io/pokt-network/pocket-v0:rc-0.11.1
https://github.com/pokt-scan/pocket-core/releases/tag/MESH-RC-0.4.2-RC-0.11.1
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
.For more details, run each command with --help
option.
nodes stake
command, you can specify <SignerAddress>
and <RewardDelegators>
, and you don't have to specify a boolean <isBefore8.0>
.brew tap pokt-network/pocket-core
brew install pocket
https://www.notion.so/buildwithgrove/RC-0-11-0-Release-Plan-6b33e7b7634f458796b1c3f0a3a2a994?pvs=4
Full Changelog: https://github.com/pokt-network/pocket-core/compare/RC-0.10.4...RC-0.11.1
README
w/ links to Docker
images by @Olshansk in https://github.com/pokt-network/pocket-core/pull/1593
node.GetChains()
if node is nil by @msmania in https://github.com/pokt-network/pocket-core/pull/1588
Full Changelog: https://github.com/pokt-network/pocket-core/compare/RC-0.10.4...BETA-0.11.1
Full Changelog: https://github.com/pokt-network/pocket-core/compare/RC-0.10.3...RC-0.10.4
Please see RC-0.10.0 for all the instructions and details when moving from RC-0.9.X to RC-0.10.X
Update your configs like so:
client_session_sync_allowance
to a value > 0
in pocket_config
to support session rolloversFor 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
},
New snapshots available thanks to the team at Liquify LTD at doc/guides/snapshot.md.
brew tap pokt-network/pocket-core
brew upgrade pokt-network/pocket-core/pocket
Full Changelog: https://github.com/pokt-network/pocket-core/compare/RC-0.10.0...RC-0.10.3
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
Node Runners need to update their configurations to enable some of the new featuers
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
},
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
}
docker pull ghcr.io/pokt-network/pocket-v0:rc-0.10.0
Curtesy of @okdas
TODO: Add GeoMesh Docker Image
OEDIT
- Output Address EditingCRVAL
- Cache Related Bug ChangesBLOCK
- Block Size Changespocketcore/BlockByteSize
- Block Size in bytesInfrastructure Support & Maintenance (TestNet & MainNet) by @StevenMartinez94 @aqt01 @byoung0589
pocket nodes
by @Olshansk in https://github.com/pokt-network/pocket-core/pull/1521
TestApplication_CalculateAppRelays
test by @Olshansk in https://github.com/pokt-network/pocket-core/pull/1537
NewSession
by @msmania in https://github.com/pokt-network/pocket-core/pull/1545
Full Changelog: RC-0.9.2...RC-0.10.0
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
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
pocket nodes
by @Olshansk in https://github.com/pokt-network/pocket-core/pull/1521
TestApplication_CalculateAppRelays
test by @Olshansk in https://github.com/pokt-network/pocket-core/pull/1537
NewSession
by @msmania in https://github.com/pokt-network/pocket-core/pull/1545
Full Changelog: https://github.com/pokt-network/pocket-core/compare/RC-0.9.2...BETA-0.10.0
This version brings one new feature and two new endpoints to Pocket Core:
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>" }
]
pocket accounts set-validators <path/to/lean_nodes_keys.json>
Edit your node's config.json
file to add lean_pocket: "true";
in the pocket_config
block.
If you run a script that starts the Pocket service, add --keybase=false
to the pocket 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/
/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/
To update your node to the latest version, follow instructions here: https://docs.pokt.network/node/update
Special Thanks to contributors @PoktBlade , @addiaddiaddi & @jorgecuesta !!
This version brings one new feature and two new endpoints to Pocket Core:
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>" }
]
pocket accounts set-validators <path/to/lean_nodes_keys.json>
Edit your node's config.json
file to add lean_pocket: "true";
in the pocket_config
block.
If you run a script that starts the Pocket service, add --keybase=false
to the pocket 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/
/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/
To update your node to the latest version, follow instructions here: https://docs.pokt.network/node/update