Author

Topic: [ANN][YAC] YACoin ongoing development - page 148. (Read 380091 times)

sr. member
Activity: 347
Merit: 250
June 13, 2013, 12:15:05 PM
Seems every proof of stake will make proof of work invalid.

This may be partially correct, but I'm not in a good spot right now to go code diving.  The issue may be that if someone stakes PoS blocks while off-network, they may be able to trigger a reorg and orphan PoW blocks if they achieve a higher cumulative work for their off-network blockchain (meaning that the rest of the network did not stake enough PoS blocks in the meantime).  Someone may have just lucked out in this case and managed to stake two PoS blocks while the rest of the network had only staked one.  Not sure yet.  Someone who can go code diving should check how PoS blocks affect the cumulative work of a chain and under what circumstances someone off-network can make their own chain with higher cumulative work without actually having 51% of the hash power (or 51% of the coin stakes being generated).

From my recent investigation in the Elacoin client source while Elacoin was being 51%'d over and over, the answers will probably be in main.cpp in the AcceptBlock(), ConnectBlock() and CheckBlock() functions, or wherever else the Reorganize() function gets called from.  Normal behavior in Bitcoin and Litecoin derived coins is that the chain with the most cumulative work (difficulty) will win a reorg and block height has nothing to do with it, but I have not examined that part of the code on any PoS coin to see how PoS blocks factor into which chain has the highest cumulative work.
full member
Activity: 239
Merit: 100
Socialist Cryptocurrency Devote
June 13, 2013, 12:12:22 PM
Um guys.... this isn't good


They are literally taking all the blocks. I mean like nearly all of them. I have been watching them for a while and I continue to see almost all the their block confirmation values are consecutive numbers.  Cry
sr. member
Activity: 322
Merit: 250
June 13, 2013, 11:45:22 AM
Seems every proof of stake will make proof of work invalid.
hero member
Activity: 693
Merit: 500
June 13, 2013, 11:16:08 AM
FYI yac.coinmine.pl has 19mh of the 36 on the network as of right now

well, if there's only 36MH on the network, then there's the problem, yac.ltcoin.net is currently reporting is has 37 MH/sec...  Actually, this could be problematic as well as the mean hashrate is 72 MH/sec as reported on yacexplorer.tk

in my client it was 72MH 5 hours ago and didnt drop untill the last 2 or more hours to 36MH and now its back up so...

Your results in the client are going to be different depending on which client you have.  Because of the low CPU hashrate as N went up, WindMaster set it to report an average, but the hashrate is still pretty swingy.  That's why I was using the stats on yacexplorer.tk
newbie
Activity: 56
Merit: 0
June 13, 2013, 10:07:01 AM
FYI yac.coinmine.pl has 19mh of the 36 on the network as of right now

well, if there's only 36MH on the network, then there's the problem, yac.ltcoin.net is currently reporting is has 37 MH/sec...  Actually, this could be problematic as well as the mean hashrate is 72 MH/sec as reported on yacexplorer.tk

in my client it was 72MH 5 hours ago and didnt drop untill the last 2 or more hours to 36MH and now its back up so...
sr. member
Activity: 462
Merit: 250
June 13, 2013, 10:05:46 AM
sairon: In yacexplorer, how often is the top stats (richest addresses, etc) updated? Looks like the numbers up there are form 6-1. Any way to update more frequently?
sr. member
Activity: 425
Merit: 262
June 13, 2013, 10:02:20 AM
FYI yac.coinmine.pl has 19mh of the 36 on the network as of right now

well, if there's only 36MH on the network, then there's the problem, yac.ltcoin.net is currently reporting is has 37 MH/sec...  Actually, this could be problematic as well as the mean hashrate is 72 MH/sec as reported on yacexplorer.tk

In yacexplorer.tk graph, there's an extreme spike in recent hash rate, what's wrong with that?
hero member
Activity: 693
Merit: 500
June 13, 2013, 09:56:00 AM
FYI yac.coinmine.pl has 19mh of the 36 on the network as of right now

well, if there's only 36MH on the network, then there's the problem, yac.ltcoin.net is currently reporting is has 37 MH/sec...  Actually, this could be problematic as well as the mean hashrate is 72 MH/sec as reported on yacexplorer.tk
sr. member
Activity: 335
Merit: 255
Counterparty Developer
June 13, 2013, 09:11:21 AM
Thanks YacLives and Bitcoin Megastore for your debug logs.

PoS blocks 91036 and 91037 were staked by someone operating off-network (whether intentionally or unintentionally) and then reintroduced to the network, triggering the reorg and orphaning 75 blocks.  Anyone here have really good familiarity with the Novacoin PoS code?

Is this may be the reason for my problem?
This transaction is still not confirmed, and my wallet always says to stake=0 after -rescan and -reindex. And impossible to find this transaction in yacexplorer.

Code:
Status: 0/unconfirmed
Date: 6/12/13 01:55
Debit: 0.00 YAC
Net amount: -1189.99 YAC
Transaction ID: 7a86082a5685784ad33cec31a5300a611b9f4076a0c2b1d1d7f2c035a6d3e7e5

Staked coins must wait 520 blocks before they can return to balance and be spent.
When you generated this proof-of-stake block, it was broadcast to the network to be added to the block chain.
If it fails to get into the chain, it will change to "not accepted" and not be a valid stake.
This may occasionally happen if another node generates a proof-of-stake block within a few seconds of yours.

https://bitcointalksearch.org/topic/m.2461662

Thank you!!
sr. member
Activity: 347
Merit: 250
June 13, 2013, 09:01:08 AM
Thanks YacLives and Bitcoin Megastore for your debug logs.

PoS blocks 91036 and 91037 were staked by someone operating off-network (whether intentionally or unintentionally) and then reintroduced to the network, triggering the reorg and orphaning 75 blocks.  Anyone here have really good familiarity with the Novacoin PoS code?
sr. member
Activity: 322
Merit: 250
June 13, 2013, 08:33:44 AM
for those can have a look at "what have happened in an hour"

http://yac.ltcoin.net/blocks.php
sr. member
Activity: 347
Merit: 250
June 13, 2013, 08:27:01 AM
No, I have Win32 custom built by some guy and it is few days old. I think what happened is that some miner upgraded to newest code, which is
broken somewhere.

So far it looks like everyone is actually on the same block # and blockchain that I'm on with the newest code, so most likely something else occurred unrelated to the code changes.

Anyone have a copy of their debug log going back a couple hours so we can get a better look at what happened?  I see eule posted the reorg itself but I'd like to get a look at what came before it.  I don't have a debug log handy since I wasn't running yacoind continuously while I was preparing the commits to Github.
hero member
Activity: 588
Merit: 500
June 13, 2013, 08:24:25 AM
Just noting that my (old) client and yacexplorer are now at the same number of total blocks (91121).
newbie
Activity: 56
Merit: 0
June 13, 2013, 08:19:17 AM
FYI yac.coinmine.pl has 19mh of the 36 on the network as of right now
sr. member
Activity: 322
Merit: 250
June 13, 2013, 08:18:56 AM
my pool use original source code when it announce

is this a problem?
sr. member
Activity: 406
Merit: 250
The cryptocoin watcher
June 13, 2013, 08:12:24 AM
Someone mining off-network attempting a 51% attack may have panicked when they saw me push the checkpoint at block 90000.

Where does one vote for best alt dev?
full member
Activity: 145
Merit: 100
June 13, 2013, 08:12:15 AM

I am running the original client that was put up for download when the coin was announced. I am currently showing 91100 blocks total.

I'm using the original client too
sr. member
Activity: 347
Merit: 250
June 13, 2013, 08:12:03 AM
i have a lower block count and im on the alpha client not the new beta version

Roger that.  Looks like the timing was a coincidence then, and I won't revert the scrypt-jane library changes to the Github repository.
hero member
Activity: 588
Merit: 500
June 13, 2013, 08:11:40 AM
In that case the reorg is coincidental and my Github commits did not break compatibility with the existing blockchain.

At this point, I'm going to say it was a timing coincidence with a failed 51% attack possibly.  Someone mining off-network attempting a 51% attack may have panicked when they saw me push the checkpoint at block 90000.

On that note, are there any win64 binaries available anywhere for these new client builds?
newbie
Activity: 56
Merit: 0
June 13, 2013, 08:10:34 AM
Everyone that's showing a lower block count #, are you on a version of the client prior to my Github commits of about an hour ago?  I'm trying to determine now whether everyone having problems is or isn't on the client with the updated scrypt-jane library that I pushed to Github within the last hour.  If anyone showing the lower block count # did not upgrade, then it isn't connected to the changes.  If everyone showing the lower block count # did upgrade, then I'll revert the last 2 commits in the Github repository.

Bitcoin Megastore and eule, did you upgrade in the last hour?

i have a lower block count and im on the alpha client not the new beta version


and i think its unrelated to your update but YAC it has been very strange in the last 16 hours
Jump to: