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
| Needs | For |
|---|---|
| Rust with Cargo | the workspace, edition 2021, built with --locked |
| MSVC build tools, on Windows | the native toolchain |
A complete Perl distribution, set as PERL | the first build of the vendored static OpenSSL; later builds reuse it |
Build
From the node workspace, backend/node:
powershell -ExecutionPolicy Bypass -File scripts/build.ps1 --releasecargo build --release --lockedThe 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
| Crate | Holds |
|---|---|
acrux-crypto | hashes, signatures, ChaCha20-Poly1305 slices, Reed-Solomon shreds with Merkle proofs |
acrux-consensus | Votor on cblocks: votes, certificates, ParentReady, finality |
acrux-schedule | Algorithm 3: hub schedule, capped proposer stake, regional runs, sampling |
acrux-execution | Algorithm 4 selection, SVM execution with fees and state hashes, threshold transactions |
acrux-transport | QUIC endpoints with hub geography delays, Rotor relay sampling |
acrux-node | proposer 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
acrux net up --run-seconds 30Thirty seconds of a twelve-validator cluster, then a summary line and a report. Run a local cluster