run a node
What it takes to stand a node of bostrom, to mine on it and to look at it. The network is not launched. The launch being prepared is the one of pussy, and its rehearsal network is where the same commands can be tried today (space-pussy).
the binary
The node is cybernode, one binary for every network. From a checkout of it:
the genesis
The node needs the genesis file of the network it joins. Build it from this repository and check it against the lock:
The particle verify prints is the chain id in genesis/genesis.lock. A file with another particle is another network.
the node
--bindis the node's API, kept on the machine.--radiois the wire to other nodes, UDP, open to the network.--peersis a file of the endpoint ids of nodes to meet;cybernode node id --home ~/.bostromprints this node's own.
The node's state is under --home. The defaults of the ports are in network.toml.
mining
--address is the neuron the block's reward goes to. bench measures what this machine does on each of its backends.
looking at it
- the node's own API:
curl http://127.0.0.1:7782/status - the explorer of pussy reads any node:
https://spacepussy.ai/explorer/?api=<base>
what the rules are
- the chain, the wire and their conformance: cybernode specs
- this network's values: network.toml