Bitcoin Forum
May 25, 2024, 02:00:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Elacoin dev continues to be incompetent, for the second time... Read on...  (Read 2619 times)
Hazard (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1000



View Profile WWW
May 14, 2013, 08:47:40 AM
 #21

I love that dog.

Anyway, I encourage you all to compile a coin using that insanely high value and see what happens every time you hit a difficulty retarget.

jomay
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile
May 14, 2013, 08:52:48 AM
 #22

I love that dog.

Anyway, I encourage you all to compile a coin using that insanely high value and see what happens every time you hit a difficulty retarget.

I imagine a value bnProofOfWorkLimit == 0 is not good.

But it will be == 0. It's actually pretty amusing to read the code for >> :

Code:
00416     CBigNum& operator>>=(unsigned int shift)
00417     {
00418         // Note: BN_rshift segfaults on 64-bit if 2^shift is greater than the number
00419         //   if built on ubuntu 9.04 or 9.10, probably depends on version of OpenSSL
00420         CBigNum a = 1;
00421         a <<= shift;
00422         if (BN_cmp(&a, this) > 0)
00423         {
00424             *this = 0;
00425             return *this;
00426         }
00427
00428         if (!BN_rshift(this, this, shift))
00429             throw bignum_error("CBigNum:operator>>= : BN_rshift failed");
00430         return *this;
00431     }

BTC 1NoV8NFSB7eiuK2aABFtBTdUdXhbEdG7Ss
LTC LaFyWSfzKY7CKwwmbxhyf8S2iJvfT7JFtL YAC YKKwR5B64Z9ww971J42vEGVPaema623Tz6
WindMaster
Sr. Member
****
Offline Offline

Activity: 347
Merit: 250


View Profile
May 14, 2013, 08:59:01 AM
 #23

I imagine a value bnProofOfWorkLimit == 0 is not good.

But it will be == 0. It's actually pretty amusing to read the code for >> :

Code:
00416     CBigNum& operator>>=(unsigned int shift)
00417     {
00418         // Note: BN_rshift segfaults on 64-bit if 2^shift is greater than the number
00419         //   if built on ubuntu 9.04 or 9.10, probably depends on version of OpenSSL
00420         CBigNum a = 1;
00421         a <<= shift;
00422         if (BN_cmp(&a, this) > 0)
00423         {
00424             *this = 0;
00425             return *this;
00426         }
00427
00428         if (!BN_rshift(this, this, shift))
00429             throw bignum_error("CBigNum:operator>>= : BN_rshift failed");
00430         return *this;
00431     }

Core dumped and traced from one of the many elacoind segfaults I'm seeing.  It does indeed segfault in the overloaded >> operator for CBigNum, on Debian 6.0 (so not just old versions of Ubuntu).
Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
May 14, 2013, 10:09:06 AM
 #24

I wonder to see such target in action  Cheesy QuantumApocalypse going on Cheesy
VelvetLeaf
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
May 14, 2013, 10:31:54 AM
 #25

We're still waiting for Milkshake's BFL SC photo first.

Link : https://bitcointalk.org/index.php?topic=203881.msg2131011#msg2131011




Nice!, when have you received it?

Today. Nice surprise, didn't even pay for it!

You probably do realize this account is the troll account from another account here. I think it was created in honor of smoothie.
That is correct, but I do have a 30GH/s ASIC from BFL mining, and I received it as a freebie.

No kill-a-watt (they measure power consumption right?), I'll post pics later for the blog post when I've written it up and measured long term performance / stability.

I don't mind the power consumption, BFL is covering electricity bills too.

BTC : 1GN81dxzxyFPQsyAtdocXr5S9Mcg4wcfFG
LTC : LgmYvXsYXc4xdjsMKXJWqtagxVvioK6iaw
FC : 6dpSnKMtttUUYzaRu1EB7Lu18PBRVHU3V7
AlternativeCypt
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
May 14, 2013, 10:34:48 AM
 #26

We're still waiting for Milkshake's BFL SC photo first.

https://i.imgur.com/lLS8vVN.png


Nice!, when have you received it?

Today. Nice surprise, didn't even pay for it!

You probably do realize this account is the troll account from another account here. I think it was created in honor of smoothie.
That is correct, but I do have a 30GH/s ASIC from BFL mining, and I received it as a freebie.

No kill-a-watt (they measure power consumption right?), I'll post pics later for the blog post when I've written it up and measured long term performance / stability.

I don't mind the power consumption, BFL is covering electricity bills too.

LMFAO
Impaler
Sr. Member
****
Offline Offline

Activity: 826
Merit: 250

CryptoTalk.Org - Get Paid for every Post!


View Profile
May 14, 2013, 10:43:56 AM
 #27

Yes, and by right-shifting by 1000000 bits, he's setting the value of bnProofOfWorkLimit to 0.

Correct.

Anybody using >> 10000 just doesn't know what he's doing.

Also you can see from getinfo that this coin started at 0 difficulty.


Have too agree with ya their, that piece of code makes me cringe and I would not run ANYTHING that came from that programmers hand.

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
CryptoTalk.org| 
MAKE POSTS AND EARN BTC!
🏆
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!