Question about README's Running Nodes instructions

The README states
To run a Nockchain miner:

make run-nockchain

======= To run a Nockchain node without mining:

nockchain

To run a Nockchain node and mine to a pubkey:

nockchain --mining_pubkey <your_pubkey> --mine

But it’s not obvious how the first command relates to the second or third. Does the first command need to be run? If so, and if my .env contains my wallet’s pubkey, then am I mining at that point? Or do I also need to run the third command? If so, while the first command is still running (it doesn’t exit unless I ctrl-c out of it)? And from which directory?

2 Likes

hi guys, miner need command '–genesis-leader '?

And running that first command, the resultant output is just streaming with “SEvent: friendship ended with REDACTED via: Listener { local_addr: /ip4/0.0.0.0/udp/xxxx/quic-v1, send_back_addr: /ip4/w.x.y.z/udp/xxxx/quic-v1 }. cause: Some(IO(Custom { kind: Other, error: Connection(ConnectionError(ApplicationClosed(ApplicationClose { error_code: 0, reason: b”" }))) }))" for many different peer addresses. There’s nothing else being logged that gives any indication of anything good happening. Please help diagnose this output from following your instructions.