When mining Ising models, a miner should be able to submit arbitrary topologies to the network. This opens up a large category of attacks which include submitting topologies with trivial ground state energies or reducible spin clusters and loops.
In order to mitigate these attacks, we propose to evaluate difficulty based on three key criteria:
- The fraction of the Sherrington-Kirkpatrick ground state energy per spin which constitutes a valid solution
- The treewidth of the reduced graph after applying known trivial graph family filters, Asano contractions, and other bag decompositions which remove trivial subgraphs from the target topology
- The fraction of spins in antiferromagnetic clusters
The first constant should be configured as the block difficulty based on the speed at which blocks are minted.
The second constant should be calculated by a node suggesting a topology to the network. If other nodes can confirm the parameter, they can add the topology to their allowed topologies.
The last constant can be calculated upon generation of a nonce or receipt of a consumer graph.
Together, these three constants will fully define the difficulty of any graph, and they can be used to directly compare the difficulty of any chain of topologies.