[Talleo] Discard block templates with 0 transactions starting from height 10000.

This commit is contained in:
Mika Lindqvist
2020-12-13 09:45:04 +02:00
parent 310c9f1897
commit ef5b088032

View File

@@ -73,6 +73,10 @@ function runInterval () {
callback(null)
return
}
if (config.coin == 'talleo' && res.result.height >= 10000 && res.result.num_transactions == 0) {
callback(null)
return
}
process.send({
type: 'BlockTemplate',
block: res.result