Skip to content

TKS Node v0.1.26

Choose a tag to compare

@github-actions github-actions released this 13 Nov 12:05
· 5 commits to main since this release

TKS Node v0.1.26

High-throughput Cipher relay/shard pipeline + L1 specVersion 413 slot calibration — eliminates HTTP/WS bottlenecks, removes global shard ingest locking, and aligns 1-second Aura slot headroom with SLOT_GAS_CAP.

Features & Performance

  • cipher-relay: 64-shard ShardedChunkStore, .with_upgrades() for reliable HTTP 101 WebSocket upgrades on :4002/ws & :4003, pooled shared reqwest::Client, DiscoveryCache, POST /store/batch, and batch shard forwarding (POST /ingest/batch with /ingest fallback).
  • cipher-shard-executor: per-shard Mutex<ShardSlot> locks with atomic total_pending, POST /ingest/batch, and lock-free Merkle/DA + atomic .tmp + rename anchor JSON sealing.
  • tks-chain-node anchor worker: sorted anchor_*.json sweep with sequential pending_nonce tracking across ticks.
  • cipher-loadtest: pooled HTTP client + --batch-size + --shard-url benchmarking support.

Runtime (specVersion 413)

  • pallet-adaptive-gas: tightened SLOT_GAS_CAP from 35_000_000 to 25_000_000 (50% of 50M floor).
  • Aura / weights (runtime & service.rs): kept MILLISECS_PER_BLOCK = 1000 (chainId 7779), aligned WEIGHT_MILLISECS_PER_BLOCK = 700 + AUTHORING_WEIGHT_HEADROOM_MS, and tightened Aura block_proposal_slot_portion to 0.55 (max 0.75).

Deploy

  1. Tag v0.1.26, wait for GitHub Release assets (tks-chain-node + tks_runtime.compact.compressed.wasm).
  2. VPS: VERSION=v0.1.26 bash network/scripts/vps-docker-github-release.sh.
  3. Runtime upgrade (412 -> 413): TKS_WASM=/opt/tks-docker/config/tks_runtime.compact.compressed.wasm bash network/scripts/live-multisig-sudo-set-code.sh.
  4. Verify: bash network/scripts/vps-docker-audit.sh, bash network/scripts/anchor-store-smoke.sh, and EXPECTED_SPEC=413 bash network/scripts/public-rpc-test.sh.

Downloads

Platform Architecture File
macOS Apple Silicon (M1/M2/M3/M4) tks-chain-node-*-macos-arm64
macOS Intel (x86_64) tks-chain-node-*-macos-amd64
Linux x86_64 (servers, VPS) tks-chain-node-*-linux-amd64
Linux ARM64 (Raspberry Pi, VPS) tks-chain-node-*-linux-arm64
Windows x86_64 tks-chain-node-*-windows-amd64.exe

Quick install (Linux/macOS)

curl -sSf https://raw.githubusercontent.com/TokenKickstarter/tokenkickstarter-node/v0.1.26/network/install.sh | bash

Replace v0.1.26 with this tag (for example v0.1.8).


Join the network (full node)

./tks-chain-node \
  --chain tks-testnet-spec-raw.json \
  --base-path ~/.tks/data \
  --rpc-external --rpc-cors all \
  --name "MyNode"

Production RPC with Cipher and HyperSwarm

See README.md and network/docker-compose-live.yml.

./tks-chain-node \
  --chain /path/to/chainspec-raw.json \
  --base-path /data \
  --rpc-port 9944 --rpc-external --rpc-cors all --ws-external \
  --port 30333 \
  --enable-cipher-relay --cipher-relay-port=4002 \
  --enable-cipher-shard-executor --cipher-shard-port=4010 --cipher-shard-id=0 \
  --enable-cipher-hyperswarm --cipher-hyperswarm-port=4001 \
  --cipher-public-relay-url=https://relay.example.com

Run as validator

./tks-chain-node \
  --chain tks-testnet-spec-raw.json \
  --validator \
  --name "MyValidator"

Full steps: network/start-validator.sh, network/inject-validator-keys.sh.


Network

Chain ID 7779 (0x1E63)
Token TKS (18 decimals)
Block time ~1 second
Consensus Aura + GRANDPA
P2P 30333
RPC 9944

Full documentation: README.md · RELEASE_NOTES.md