NETSoon

Docs Run a node

Install acrux-node

Build the acrux binary from source, the node that runs New Constellation's four algorithms, Rotor, Alpenglow on cblocks and SVM execution.

acrux is one binary: the proposer and validator of New Constellation, Rotor dissemination, Alpenglow votes on cblocks, threshold transactions, and execution in an embedded SVM, with the gateway that serves JSON-RPC, the event stream and metrics.

Requirements

NeedsFor
Rust with Cargothe workspace, edition 2021, built with --locked
MSVC build tools, on Windowsthe native toolchain
A complete Perl distribution, set as PERLthe first build of the vendored static OpenSSL; later builds reuse it

Build

From the node workspace, backend/node:

powershell
powershell -ExecutionPolicy Bypass -File scripts/build.ps1 --release

The binary is target/release/acrux (acrux.exe on Windows). The Windows helper fixes CARGO_TARGET_DIR to backend/node/target, reuses the static OpenSSL from an earlier build when there is one, and runs cargo build --locked with the arguments you give it; scripts/build.ps1 test --release runs the tests the same way.

The workspace

CrateHolds
acrux-cryptohashes, signatures, ChaCha20-Poly1305 slices, Reed-Solomon shreds with Merkle proofs
acrux-consensusVotor on cblocks: votes, certificates, ParentReady, finality
acrux-scheduleAlgorithm 3: hub schedule, capped proposer stake, regional runs, sampling
acrux-executionAlgorithm 4 selection, SVM execution with fees and state hashes, threshold transactions
acrux-transportQUIC endpoints with hub geography delays, Rotor relay sampling
acrux-nodeproposer and validator (Algorithms 1 and 2), hash exchange, agreement, gateway, store, the acrux CLI

The paper's lines and lemmas map to this code on /spec, served as JSON by GET /v1/spec.

Check the build

Terminal
acrux net up --run-seconds 30

Thirty seconds of a twelve-validator cluster, then a summary line and a report. Run a local cluster