Disable block signing on topOnly nodes. Minting rewards are still earned on topOnly for now.

This commit is contained in:
CalDescent 2023-01-16 20:18:23 +00:00
parent 4c52d6f0fc
commit 81cf46f5dd

View File

@ -63,8 +63,8 @@ public class BlockMinter extends Thread {
public void run() { public void run() {
Thread.currentThread().setName("BlockMinter"); Thread.currentThread().setName("BlockMinter");
if (Settings.getInstance().isLite()) { if (Settings.getInstance().isTopOnly() || Settings.getInstance().isLite()) {
// Lite nodes do not mint // Top only and lite nodes do not sign blocks
return; return;
} }
if (Settings.getInstance().getWipeUnconfirmedOnStart()) { if (Settings.getInstance().getWipeUnconfirmedOnStart()) {