RE: We may have just fixed a critical bug in Steem. by remlaps

View this thread on steempeak.com

Viewing a response to: @picokernel/we-may-have-just-fixed-a-critical-bug-in-steem

· @remlaps · (edited)
First, thank you to @picokernel and to @contentjunkie for the work you've done on this.

One point of clarification, though.  The more I think this through, the more confused I get.  The miner throws its work away and starts over every 3 seconds, right?  So how does it matter if the N cores are chasing 1 problem or N problems?  Either way, I think they're only going to hit one block (at most) during the interval, aren't they?  If N cores are chasing one problem, they've got N chances to solve it.  If they're chasing N problems, they've got 1 chance to solve each of them.  (N * 1) or (1 * N)  - same net result.  Not saying you're wrong, since I haven't read the code, but I'm just trying to understand.

Guess I'll have to break down and RTFM one of these days...

Last, FYI, I tried the windows compiled executable, but for some reason, I could only get it to use 1 core.  It ignored my "mining-threads" setting in config.ini and the "-t" command line argument.  Not sure if anyone else is having this problem or not.

**Update:** Clicked through to github.  Now I get it.  I hadn't understood that all cores are using the same nonce.  So the miner really only has 1 chance to solve 1 problem with the unpatched version.  Not N chances.
properties (22)
post_id1,218,723
authorremlaps
permlinkre-picokernel-we-may-have-just-fixed-a-critical-bug-in-steem-20161021t055351741z
categorysteem
json_metadata"{"users": ["picokernel", "contentjunkie"], "tags": ["steem"]}"
created2016-10-21 05:53:51
last_update2016-10-21 06:16:15
depth1
children0
net_rshares0
last_payout2016-11-21 10:05:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,244
author_reputation291,369,738,669,853
root_title"We may have just fixed a critical bug in Steem."
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000