From 8a7a41572775ebbf4ec42adc9d68d452f574bd54 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Fri, 31 Jul 2015 12:50:05 +0200 Subject: [PATCH 1/2] require MiningBenefactor to be set in order to mine --- libethereum/Client.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index f6aee9d06..87a7d28a9 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -694,8 +694,14 @@ void Client::onPostStateChanged() void Client::startMining() { - m_wouldMine = true; - rejigMining(); + clog(ClientNote) << "MiningBenefactor: " << address(); + if (address() != Address()) + { + m_wouldMine = true; + rejigMining(); + } + else + clog(ClientNote) << "You need to set a MiningBenefactor in order to mine!"; } void Client::rejigMining() From dbcd0bbf58ffce823d5f578c96df4cbe1f5584ec Mon Sep 17 00:00:00 2001 From: gluk256 Date: Fri, 31 Jul 2015 14:32:03 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b56dbc11..1446e14da 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Ethereum is based on a design in an original whitepaper by Vitalik Buterin. This - *LianaHus* (**Liana Husikyan**) Solidity - *chfast* (**Paweł Bylica**) EVMJIT - *cubedro* (**Marian Oancea**) web3.js -- *gluk250* (**Vlad Gluhovsky**) Whisper +- *gluk256* (**Vlad Gluhovsky**) Whisper - *programmerTim* (**Tim Hughes**) libethash-cl And let's not forget: Caktux (neth, ongoing CI), Eric Lombrozo (original MinGW32 cross-compilation), Marko Simovic (original CI).