Integrate

Pools & exchanges

Nember is built to be easy to support. The node is Ravencoin Core 4.8.0 with the same RPC interface, the supply follows directly from block height, and every rule is public.

No listing fees, no promotion

The Nember project does not pay for listings, does not use market makers and does not pay for promotion. These notes are technical, so that anyone who chooses to support Nember can do it safely.

The node

  • Same RPC interface as Ravencoin Core 4.8.0: getblocktemplate, submitblock, getblock, sendtoaddress and the rest work as there.
  • Assets are switched off, so there are no asset transactions to track.
  • getkawpowhash computes an EmberPow hash, useful to check shares.
  • Ports, prefixes and other values: Network parameters.

Pool software

Pool software that supports KawPow needs three Nember changes:

  • the EmberPow hash: the hash signature, the epoch seed and the fixed DAG size (see EmberPow);
  • the network parameters: ports, address prefixes, network magic;
  • the seed hash sent to miners: Nember's seed chain starts at keccak256("Nember").

The Nember solo pool is a complete, small reference implementation in Python, including share checking and variable difficulty.

Confirmations

Use Confirmations
Normal wallet payments 6
Mined coins (coinbase) 100, enforced by the rules
Exchange deposits at least 60

On a small proof-of-work network, a payment with fewer than 60 confirmations can be reversed by anyone with more hashpower. The receiving node should have well over 4 connections.

Deep reorganisations

Nember keeps Ravencoin's protection against deep chain reorganisations, the kind an attacker needs to spend the same coins twice. A node refuses a block whose parent is 60 or more blocks below its own tip, but only when both are true:

  • the node has at least 4 connections;
  • the node's newest block is less than 12 hours old, so it is not catching up itself.
Setting Default
-maxreorg 60 blocks, about one hour
-minreorgpeers 4 connections
-minreorgage 43200 seconds, 12 hours

This is a rule of each node, not of block validity: each operator can change it, and it cannot change the supply or the rewards.

What it means in practice:

  • Up to 59 blocks it does nothing; that is why deposits need 60 confirmations.
  • From 60 blocks a well-connected node cannot be made to undo history.
  • A node with fewer than 4 connections follows the longest chain, as Bitcoin does.

Tested with 8 nodes: an attack 59 blocks deep succeeds, one 60 blocks deep is refused by well-connected nodes.

If two well-connected halves of the network split for more than an hour, the split does not heal by itself. The operators of the weaker side repair it once:

terminal
nemberd -maxreorg=1000000

Start once with this option, then stop and start normally again. A node that already followed the wrong chain can instead be repaired without a restart:

terminal
nember-cli invalidateblock HASH_OF_THE_FIRST_WRONG_BLOCK

The sign of such a split is the line forked chain older than max reorganization depth in debug.log.

Block explorer API

The Nember block explorer publishes everything as JSON:

Endpoint Returns
/api/supply coins actually created next to the scheduled amount
/api/block/<height or hash> a block
/api/address/<address> an address and its transactions
/api/finders who found the recent blocks
/api/reorgs chain reorganisations the explorer has seen

The public address of the explorer is announced with the public testnet.