FAQ

โš“ Neptune    ๐Ÿ“… 2024-12-19    ๐Ÿ‘ค aszepieniec    ๐Ÿ‘๏ธ 945      

aszepieniec

Warning

This post was published 102 days ago. The infomation described in this article may have changed.

This thread collects frequently asked questions (and answers).

๐Ÿท๏ธ faq

aszepieniec    2024-12-19 ๐Ÿ‘ 1 ๐Ÿ‘Ž [op]

How does mining work? What resources are required?

In Neptune, mining consists of two steps: composing and guessing. The composer assembles a block by aggregating transactions and producing a proof of correctness of the entire batch. The guesser supplies the nonce such that the blockโ€™s hash is smaller than the target.

Proving is expensive and if you want to do it fast you need a lot of RAM. Think 50+ cores and 150+ GB of RAM. Also: up to a limit, composing is faster when you throw more cores at it. To enable composing, start neptune-core with the flag --compose.

In contrast, guessing can be done on any machine thatโ€™s capable of synchronizing to the network. By default, it will use all the available cores. Guessing is stateless, meaning that it doesnโ€™t make any sense to buy half the number of computers (or cores) that work at twice the speed. What matters is the total number of hash trials per second. To enable guessing, run neptune-core with the --guess flag.

The producer of a new block is entitled to any transaction fees of transactions confirmed in it as well as the block subsidy. The composer allocates to himself a proportion of this reward at his discretion; the remainder goes to the guesser. By default, composers are configured to broadcast their proposals but people who arenโ€™t afraid of digging into the source code might change this configuration.

One last point: all mining rewards are split into two parts. Half is liquid immediately. The other half is time-locked for three years. This dynamic aligns minersโ€™ incentives with the long-term success of the project.

1

aszepieniec    2025-02-12 ๐Ÿ‘ ๐Ÿ‘Ž [op]

How do I run neptune-core in a way that is optimized for debugging?

We maintain an Issue #349 on GitHub to answer exactly this question. The reason why itโ€™s an issue there and not an answer here is because GitHub posts can be updated whereas posts on this forum canโ€™t be.

2

sword_smith    2025-03-06 ๐Ÿ‘ ๐Ÿ‘Ž

What is the current circulating, liquid supply?

Current liquid supply is 64 coins times the block height, which at the time of writing is 3453. So the current, liquid supply is 220โ€™992 coins.

3

sword_smith    2025-03-06 ๐Ÿ‘ ๐Ÿ‘Ž

Whatโ€™s the emission rate?

A new block comes in roughly on average every 588 seconds, which is almost ten minutes. Thatโ€™s 144 blocks per day. Multiplying 128 with 144 gives a new supply of 18โ€™432 coins per day, of which half is immediately liquid. The rest of the mining reward is time locked for three years. So the emission rate of liquid coins is 9โ€™216 per day.

5

sword_smith    2025-03-06 ๐Ÿ‘ ๐Ÿ‘Ž

Can I run a test network?

Yes! just launch the client with the --network testnet argument to run the client on a global test network (whose history is preserved indefinitely). And launch the client with the --network regtest argument to run on a test net whose state is reset every week and is intended for local testing.

Notice, though, that Iโ€™m not aware of any clients running on the global test net (--network testnet). So donโ€™t be alarmed if youโ€™re not finding anyone to connect to.

6

sword_smith    2025-03-06 ๐Ÿ‘ ๐Ÿ‘Ž

Whatโ€™s the distribution of mined coins? And is there a list of who the biggest holders are?

This is a privacy-preserving blockchain. That data is not available. No amounts are publicly visible, and you cannot in general see if a specific UTXO has been spent or not.

7

sword_smith    2025-03-06 ๐Ÿ‘ 1 ๐Ÿ‘Ž

How big is the premine, and when it is released?

The premine is 831โ€™488 coins, which is a a little less than 1.98 % of the final, total supply. The final, total supply is 42โ€™000โ€™000. The premine is locked for six months from launch. So itโ€™ll be fully liquid around August 11, 2025.

Note that there is some disagreement about the definition of a premine. The premine Iโ€™m referring to here is a distribution of coins that was baked into the genesis block. The genesis block contains 80 outputs of a total value of 831โ€™488 coins. These outputs are timelocked for six months as mentioned above. All other coins (98.02 % of the total supply) are mined competitively.

9

aszepieniec    2025-03-13 ๐Ÿ‘ 2 ๐Ÿ‘Ž [op]

Whatโ€™s the difference between {block subsidy, miner reward, composer fee, guesser fee, coinbase}?

  • block subsidy: newly minted coins. Right now every block is allowed to inflate the money supply by 64 coins that are immediately liquid and 64 coins that are timelocked for 3 years. Roughly 3 years after launch, those numbers will halve.
  • miner reward: block subsidy plus transaction fees, originating from transactions confirmed in that block. Note that you canโ€™t necessarily tell how much the total transaction fee is because the composer can gobble them.
  • composer fee: the part of the miner reward that the composer gobbles up. This fee is a transaction output like any other, with no distinguishing features โ€” and in particular, the amount, origin, and (if it is ever spent) destination is hidden.
  • guesser fee: the part of the miner reward that is not claimed by the composer. It is left in the block transaction, and automatically goes to the guesser who finds the right nonce.
  • coinbase: a term borrowed from Bitcoin, where it denotes the first transaction in a block (i.e., the one that is allowed to not have an input and thus inflate the money supply). We use this term rather improperly to denote a transaction that has no inputs but does have outputs, and thatโ€™s okay because there is a block subsidy to spend. It is typically the first transaction in a chain of mergers that eventually leads to a block transaction.
10