miner: temporarily disable softfork voting by default.

Several mainnet miners have been mistakenly voting on the RSA hardening
soft-fork. This is a result of pool software creating the template internally,
a la bstratum (i.e. not via getwork or getblocktemplate).

Until miner code either accounts for this or switches to GBT completely, we
should take measures to avoid this.
This commit is contained in:
Christopher Jeffrey 2020-02-19 05:03:22 -08:00
parent 48d6d176c2
commit 5e20a5aaaa
No known key found for this signature in database
GPG key ID: 8962AB9DE6666BBD

View file

@ -467,7 +467,7 @@ class MinerOptions {
this.chain = null;
this.mempool = null;
this.version = -1;
this.version = 0;
this.addresses = [];
this.coinbaseFlags = Buffer.from(`mined by ${pkg.name}`, 'ascii');
this.preverify = false;