We may have just fixed a critical bug in Steem.

https://github.com/GolosChain/golos/pull/37

What happened

A few hours a go user penguins-cymbals issued a one-line patch that could change the tide of mining on steemit. You can view the patch here https://github.com/GolosChain/golos/pull/37/commits/1ccffb32af9972d25fae0f721215eb5d13a847b0
The implications of this patch can make mining distributed and democratic once again.

How this patch works

When you are mining on steem, ideally you want all cores of your machine working on different equations called hashes. If you have each core of your machine working on a different hash you are optimizing your time very well. What steem was doing before this patch was having every core do the same exact work. The patch makes it so each core is doing its own thing and not duplicating any other core.

The implications of this patch are that serious miners can see 8-times, 16-times, and even 32-times the amount of hashing power they had before. This will disrupt the gtx-rabbit duopoly on the steem mining queue. We will begin to see more people and more users mining again. This could potentially increase the price of steem and attract new users to SteemIt if we are lucky.

How to apply the patch

To apply this patch, follow these simple instructions.

git clone https://github.com/steemit/steem.git
git submodule update --init --recursive
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release .

Here is the important part.
Modify the file libraries/plugins/witness/witness.cpp and skip down to line 540.
Insert a new line and on it put the following code: thread_num++;
It should look like this

                return;
             }
          }
       } );
      thread_num++;
    }
}

(Thank you @contentjunkie)
Now you can return to the main steem directory where you ran the above code and run this line: make -j4

I now encourage you to follow any of the many mining guides on SteemIt, if you like you can follow mine.
@picokernel/tutorial-mining-get-rich-the-old-fashioned-way

Closing

Thank you penguin, If you get in contact with me I can monetarily subsidize you for releasing this bug.

If you like the work I doing in the SteemIt community I would really appreciate a witness vote.

I am using the money to pay for my own work as well as community projects. My GPU miner bounty is still open and I have coordinated with other users to make sure they will still pay when one is released. I will be using my witness funds to provide liquidity on the internal market most recently. My witness node is picokernel and you can find my witness thread at @picokernel/witness-application-nate-brune-developer-and-dedicated-steemite

Thank you for your time.

H2
H3
H4
3 columns
2 columns
1 column
33 Comments