Remove legacy child-pool merge mining layer
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 36s
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 36s
This commit is contained in:
@@ -4,10 +4,6 @@ let apiInterfaces = require('./apiInterfaces.js')(config.daemon, config.wallet,
|
||||
let lastHash;
|
||||
|
||||
let POOL_NONCE_SIZE = 16 + 1; // +1 for old XMR/new TRTL bugs
|
||||
let EXTRA_NONCE_TEMPLATE = "02" + POOL_NONCE_SIZE.toString(16) + "00".repeat(POOL_NONCE_SIZE);
|
||||
let POOL_NONCE_MM_SIZE = POOL_NONCE_SIZE + utils.cnUtil.get_merged_mining_nonce_size();
|
||||
let EXTRA_NONCE_NO_CHILD_TEMPLATE = "02" + POOL_NONCE_MM_SIZE.toString(16) + "00".repeat(POOL_NONCE_MM_SIZE);
|
||||
|
||||
|
||||
let logSystem = 'daemon'
|
||||
let blockData = JSON.stringify({
|
||||
@@ -56,7 +52,7 @@ function runInterval () {
|
||||
jsonrpc: "2.0",
|
||||
method: 'getblocktemplate',
|
||||
params: {
|
||||
reserve_size: config.poolServer.mergedMining ? POOL_NONCE_MM_SIZE : POOL_NONCE_SIZE,
|
||||
reserve_size: POOL_NONCE_SIZE,
|
||||
wallet_address: utils.getPoolTemplateAddress()
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user