I feel that the cpuminer is not adding fees along with block-reward.
I am looking at coinbase transaction generation, code under section /* build coinbase transaction */
tmp = json_object_get( val, "coinbasevalue" );
if ( !tmp || !json_is_number( tmp ) )
{
applog( LOG_ERR, "JSON invalid coinbasevalue" );
goto out;
}
cbvalue = (int64_t) ( json_is_integer( tmp ) ? json_integer_value( tmp )
: json_number_value( tmp ) );
I feel it is missing the fees addition, below is the
code I was expecting to compute and add fees.
[...]
field already includes all available transaction fees.