Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Proto

Pages: 1 2 [3] 4 5
31
BitShares PTS / Corrupted wallet.dat
« on: November 12, 2013, 06:39:23 pm »
Hi,

I'm experiencing serious issues with my wallet.dat. After the mandatory update to the new fork my client kept crashing randomly (just shutting down with no error). Now I can't get it up because it can't open my wallet.dat file. I'm on ubuntu linux.

Will try to replace my wallet.dat with a backup copy I made earlier. Anyone with similar issues? That shouldn't happen just by using the software!

Flush(false)
wallet.dat refcount=0
wallet.dat checkpoint
wallet.dat detach
wallet.dat closed
DBFlush(false) ended               0ms
StopNode()
Committing 0 changed transactions to coin database...
*** System error: CDB() : can't open database file wallet.dat, error -30973
Error: System error: CDB() : can't open database file wallet.dat, error -30973
Error: System error: CDB() : can't open database file wallet.dat, error -30973
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
msghand thread interrupt
ProtoSharesMiner terminated
keypool return 15
ProtoSharesMiner terminated
keypool return 5
ProtoSharesMiner terminated
keypool return 7
ProtoSharesMiner terminated
keypool return 11
Flushed 9448 addresses to peers.dat  81ms
terminate called after throwing an instance of 'std::runtime_error'
  what():  CDB() : can't open database file wallet.dat, error -30973
Aborted (core dumped)

32
General Discussion / Re: Price rising too fast
« on: November 11, 2013, 03:00:01 pm »
Someone had to get the ball rolling, I also sold significant amounts at 0.002 and 0.003. Protocol has been adjusted to allow bigger changes than 4x in difficulty, thus we are at quite a high difficulty now.

Has anyone looked at how fragmented those 0.5 million PTS are in the blockchain?

33
General Discussion / Re: $5000 Bounty - Momentum Proof-of-Work Hacking
« on: November 11, 2013, 01:16:08 pm »
I tested gigawatts implementation.

14.33 collisionspermin instead of 180 collisionspermin stock client, 32 threads.

The point is that gigawatts algorithm could yield a GPU implementation which could be a 100x faster version of a slower algorithm, with a net gain.

But I will try to change the memory requirements and see what happens on the CPU if we bring it down to using very little memory.

What were you using for CHAIN_LENGTH?

I've been running a test with CHAIN_LENGTH = 2 on a 1 CPU/1GB test box overnight and got this:
http://i.imgur.com/wknTeLb.png

If I try to run the default implementation, it crashes because it requires too much memory.  However, on a 2 CPU/2 GB test box running only one thread, I get around 2.2 hpm.  However, I need to rerun these tests because the hashperminute calculation was updated with a recent commit.


I've also updated the source code: http://pastebin.com/VTCMFQXg
It now uses the thread interruption from the recent commit and makes debug messages optional.


To compile: Pull the source from the main github branch, then take my code and overwrite momentum.cpp with it.  Compile as normal.

I first tested with CHAIN_LENGTH = 2 (default), this got me 14.33 collisionspermin. If I remember it well, it still used a lot of memory: 20 GB instead of 26GB stock client.

Setting it to 4 got me around 2 collisionspermin, with a notable reduction in memory usage.

Setting it to 32 didn't get me a collision at all in a couple of minutes. But it used very little memory.

I can play with a 16 core (32 threads w hyperthreading) machine and 64 gig memory. Let me know if you want me to test something new.

34
General Discussion / Re: $5000 Bounty - Momentum Proof-of-Work Hacking
« on: November 10, 2013, 04:18:56 pm »
I tested gigawatts implementation.

14.33 collisionspermin instead of 180 collisionspermin stock client, 32 threads.

The point is that gigawatts algorithm could yield a GPU implementation which could be a 100x faster version of a slower algorithm, with a net gain.

But I will try to change the memory requirements and see what happens on the CPU if we bring it down to using very little memory.

35
General Discussion / Re: We definitely need an exchange now
« on: November 10, 2013, 03:38:05 pm »

I would very much support BTC-e

BTC-e very strange exchange with high volume, they keep NVC and really add new coins only when coin come to top list of coins with high capitalization


Sent from my iPhone using Tapatalk

BTC-E simply hand selects coins. We not going to see that soon, it took primecoins months to get listed there. Cryptsy does many more coins, so I suspect that Protoshares is going to be listed there first. Has anyone talked to the admin of cryptsy?

36
General Discussion / Re: CHAIN FORK COMING....
« on: November 10, 2013, 03:25:40 pm »

The old miners will just make an 4x adjustment. They accept any blocks whether it be the ones generates with lower diff (4x increase) or higher diff (32x increase max).


No, I think we'll see a clean fork -

        // Check proof of work
        if (nBits != GetNextWorkRequired(pindexPrev, this))
            return state.DoS(100, error("AcceptBlock() : incorrect proof of work"));

If nBits doesn't match the expected value, the block be rejected outright.

It is only rejected by all new miners. There is going to be a % of miners with the old version and a different nbits. They get a longer chain even if they don't represent 50% of the networks hashrate, because they miner 'easier' blocks than all loyal miners who switched to a newer version.

Anyone using the old version of the software, will accept this longer easier chain! If you make transactions without having the newest version installed, they will end up in the old block chain, but not necessarily in the new chain.

Someone can spend funds and make the receiver trick into believing he received his PTS (if the receiver uses the old software), where in reality he didn't get his funds because they ended up in the 4x-chain and not the shorter 32x-chain.

37
General Discussion / Re: CHAIN FORK COMING....
« on: November 10, 2013, 02:53:18 pm »
Very risky move. If you look at how protocol changes in other altcoins have been handled, where has always been a grace period of at least a couple of days. This gives all miners the time needed to update to a newer version.

What is going to happen if you don't get the majority of miners to adopt the new protocol in time?

That said, I've updated my miners (300+ cores) to the new protocol version. Lets hope that we get through this smooth.

I have a pool with 3000 miners that has migrated and the other major pool has too.   

Solo mining already takes a week so only 10% of the solo miners will be effected because the rest would not have found anything anyway.  If the difficulty adjusted as it should then these solo miners also wouldn't have gotten anything.  I think it will be smooth as these things go.

That is not how this works. All solo miners with the old version of the miner can be seen together as one entity with a certain hash rate. It doesn't matter that some people are not getting any blocks, some will. And its not only miners who have to upgrade, also people who just use the software to make transactions.

This could be ugly:

The old miners will just make an 4x adjustment. They accept any blocks whether it be the ones generates with lower diff (4x increase) or higher diff (32x increase max).

The new miners reject blocks with lower diff (the ones with 4x adjustment), because these blocks don't match the new requirement. However they will produce blocks much slower than the old version of the miner, so many people using an older version of the software will make invalid transactions!

Thus: Any payments made with an older version of the client could get lost and someone falling for that could easily be scammed.

38
General Discussion / Re: CHAIN FORK COMING....
« on: November 10, 2013, 02:36:52 pm »
Very risky move. If you look at how protocol changes in other altcoins have been handled, where has always been a grace period of at least a couple of days. This gives all miners the time needed to update to a newer version.

What is going to happen if you don't get the majority of miners to adopt the new protocol in time?

That said, I've updated my miners (300+ cores) to the new protocol version. Lets hope that we get through this smooth.

39
Marketplace / Re: [WTS] 1000 PTS @ 0.003 each
« on: November 09, 2013, 05:58:09 pm »
Guys. I feel it is really hard to buy PTS currently. Really tired. Hope it will raise 100 times. LOL

Yes, My feeling is the same, tired.

We really need an exchange!

40
Marketplace / Re: [WTS] 1000 PTS @ 0.003 each
« on: November 09, 2013, 05:52:29 pm »
Quote
Proto, can we reduce the confirmation number to 1? I think it is hard for us to make a forge transaction. And please do let me know when you have more pts to sell.

All 3 transactions have atleast 3 confirmations now. Thanks for buying! A blockchain split is a rare occurrence, but it can happen... thats why I prefer 3 confirmations.

41
Marketplace / Re: [WTS] 1000 PTS @ 0.003 each
« on: November 09, 2013, 05:14:26 pm »
There's the 3 BTC.

txid: 2ba81995db67a2f0c3ea4309c12a2bc2849abf6e3da6bf7d8318a9815cf6462f

Lighthouse, my PTS address is: PrwBKaXgb4np7cCYWcDcuH221BP8wtbEWW

When Proto is satisfied with confirmations.

Thanks! I can see all 3 transactions now. Once they have 3 confirmations, PTS can be released. Many thanks for escrowing all 3 trades Lighthouse! I've tipped you a bit extra for your trouble ;)

I got a few new PMs with new offers (seems as if I've sold to low... ha), but I'm not selling any PTS anymore, at least not today. Sorry! I want to keep a bit, too ;)

42
Marketplace / Re: [WTS] 1000 PTS @ 0.003 each
« on: November 09, 2013, 05:03:06 pm »
Have sent 1.6 to Proto. Please find it at https://blockchain.info/tx-index/0afc6b47f4b53d5735b387225420f715d6e50907e328791d00e344d9d2d053d3

Ok, thanks! I see the transaction as unconfirmed. Once it reaches 3 confirmation, 500 PTS can be released to seanwang1105.

43
Marketplace / Re: [WTS] 1000 PTS @ 0.003 each
« on: November 09, 2013, 04:58:07 pm »
Alright thats 1.6 BTC (0.0032*500) to 1HpfvgBXsbct19nYYE9CK9bQEPxn2QvVKn

Please let me know from which address you sent it (or txid), so that I know from whom I already received it.

44
Marketplace / Re: [WTS] 1000 PTS @ 0.003 each
« on: November 09, 2013, 04:47:36 pm »
Sent from BTC-E. See my post above. Still watching blockchain.info to post txid for you when it shows.

Ah ok, an exchange. They might have run out of bitcoins in their hot wallet (so your withdrawal gets queued), otherwise we would already see the transaction as unconfirmed. I guess we have to wait a bit.

45
Marketplace / Re: [WTS] 1000 PTS @ 0.003 each
« on: November 09, 2013, 04:42:07 pm »
3 BTC sent to Proto's address: 1HpfvgBXsbct19nYYE9CK9bQEPxn2QvVKn

Will post txid when it shows on blockchain.

Oh, there should be an unconfirmed transaction by now... what did you use to send it?

Pages: 1 2 [3] 4 5