Post
Topic
Board Mining software (miners)
Re: BFGMiner 5.4.2: GBT+Stratum, RPC, Mac/Linux/Win64, Antminer S1-S5, solo stratum
by
BrokenTractor
on 03/01/2018, 18:31:04 UTC
I am solo mining with Ubuntu 16, Bitcoin Core 15, BFGminer 5.4.2-29, Antminer S3.
BFGminer is requesting a new block be created by the Bitcoin core every minute like clockwork.
Is this expected behavior?
This seems to be excess work being placed on the core for no reason.
Is there a startup flag for BFGminer to control this?

Bitcoin debug.log
2018-01-03 17:39:32 CreateNewBlock(): block weight: 3992620 txs: 2293 fees: 294454986 sigops 20460
2018-01-03 17:40:32 CreateNewBlock(): block weight: 3992316 txs: 2421 fees: 363545029 sigops 24536
2018-01-03 17:41:33 CreateNewBlock(): block weight: 3992700 txs: 2581 fees: 385087979 sigops 25060
2018-01-03 17:42:33 CreateNewBlock(): block weight: 3992140 txs: 2593 fees: 408387089 sigops 26268
2018-01-03 17:43:33 CreateNewBlock(): block weight: 3992480 txs: 2609 fees: 432487630 sigops 27896
2018-01-03 17:44:33 CreateNewBlock(): block weight: 3992116 txs: 2761 fees: 452136320 sigops 29688

It seems the sequence of events should be...
- A completed block arrives in the Bitcoin core from one of the peers.
- Bitcoin Core notifies BFGminer of this blocks arrival.
- BFGminer sends a request to the core to create a new block from the available transaction in the Mem pool. “CreateNewBlock”
- Bitcoin core passes the new block to BFGminer, who then distributes the header out to the miners.

It seems that a “CreateNewBlock” would only occur when it is needed after a completed block has arrived. Can anyone shed some light on this process? Thanks.