mirror of
https://github.com/luxfi/node.git
synced 2026-10-30 15:24:05 +00:00
The module already called itself github.com/luxfi/node while containing no node in Go: cmd/luxd was twenty-one lines that printed the size of a few types, and the Go column of the matrix measured a VM plugin. A repo that fetches the thing it claims to be has not replaced it, so the Go sources move in — 1515 files, the daemon and everything under it — and the build reaches outside this module for nothing. Rust and C++ sit beside it unchanged and are still measured against it by the differential. That is the point of one repo: the reference implementation and the two ports are the same checkout, so parity is a thing you can run rather than a thing you assert. Verified: builds, and the closure carries no lux-private — checked at build time rather than believed. The daemon starts twelve chains on a local network (P X C Q Z A B G K M F, plus D through its plugin) and reports healthy.
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"_comment": "Low memory profile for local development. Target: <50MB per node",
|
|
"_targets": {
|
|
"memory_per_node": "50MB"
|
|
},
|
|
|
|
"dev": true,
|
|
"low-memory": true,
|
|
"single-validator-mode": true,
|
|
"lazy-chain-loading": true,
|
|
|
|
"db-cache-size": 4194304,
|
|
"db-memtable-size": 4194304,
|
|
"state-cache-size": 8388608,
|
|
"block-cache-size": 4194304,
|
|
"disable-bloom-filters": true,
|
|
|
|
"sybil-protection-enabled": false,
|
|
"sybil-protection-disabled-weight": 100,
|
|
"skip-bootstrap": true,
|
|
"enable-automining": true,
|
|
"poa-single-node-mode": true,
|
|
"network-health-min-conn-peers": 0,
|
|
"consensus-sample-size": 1,
|
|
"consensus-quorum-size": 1,
|
|
|
|
"network-peer-read-buffer-size": 2048,
|
|
"network-peer-write-buffer-size": 2048,
|
|
|
|
"throttler-inbound-at-large-alloc-size": 1048576,
|
|
"throttler-inbound-validator-alloc-size": 1048576,
|
|
"throttler-inbound-node-max-at-large-bytes": 524288,
|
|
"throttler-inbound-bandwidth-max-burst-size": 524288,
|
|
|
|
"throttler-outbound-at-large-alloc-size": 1048576,
|
|
"throttler-outbound-validator-alloc-size": 1048576,
|
|
"throttler-outbound-node-max-at-large-bytes": 524288,
|
|
|
|
"consensus-app-concurrency": 1,
|
|
|
|
"log-level": "info",
|
|
"log-rotater-max-size": 2,
|
|
"log-rotater-max-files": 2,
|
|
|
|
"fd-limit": 512
|
|
}
|