Ixian Documentation Welcome to Ixian Documentation Pages, here you can learn more about Ixian and how to get started quickly!


Modifies the running DLT Node or Miner software and changes the way blocks are selected for mining. It is also possible to activate or deactivate mining using this method.


ID Name Description
-1 No algorithm Stop mining.
0 lowestDifficulty Pick the block with the lowest difficulty value.
1 randomLowestDifficulty Sort blocks from easiest to hardest and pick a random block within the easiest 500 blocks.
2 latestBlock Pick the most recent accepted block.
3 random Pick a random block.

Method: setBlockSelectionAlgorithm

Input parameters:

Parameter Type Required Description
algorithm Number Yes New block selection algorithm. See the values above.


Error Description
RPC_INTERNAL_ERROR An unknown error occured in the node. Please check the node log for details.



GET http://localhost:8081/setBlockSelectionAlgorithm?algorithm=1

	"result": null,
	"error": null,
	"id": null

Cookies Policy

To make this site work properly, we sometimes place small data files called cookies on your device. Most big websites do this too.