Riecoin Core/RPC Calls

From Riecoin

This page will expose the changes of the RPC calls from Bitcoin Core.


The fields powversion and patterns were added. They are mostly useful to distinguish Mainnet and Testnet, and are also useful for the second hard fork, as well as future ones.

getnetworkhashps -> getnetworkminingpower

The getnetworkhashps call was renamed to getnetworkminingpower. It gives a normalized mining power metric, which correspond to how many times the current network's mining power is higher than the power needed to find a block a minimum difficulty every 150 s. Read Stella to learn more about this.


This new RPC call returns the first prime number of a prime constellation.