pepecoinppc / pepecoin

Pepecoin is the world's first fully decentralized and secure blockchain for Pepe.
https://Pepecoin.org
MIT License
20 stars 5 forks source link

Add consensus param min seconds between blocks #53

Closed chromatic closed 6 months ago

chromatic commented 8 months ago

This is set to 0 by default but allows a consensus parameter to disallow blocks from validating if their mining times are too close together.

To use this, select a block height at which this is valid, make a new consensus param structure in src/chainparams.cpp, and add it to the binary tree.

Note that at least 51% of nodes (at least those which propagate newly-mined blocks to the network) will have to agree on this change for it to take effect.

chromatic commented 6 months ago

This is unnecessary after merge mining gets released.