Bitcoin Forum
April 24, 2014, 05:49:57 AM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3  All
  Print  
Author Topic: block.version=1 blocks will all be orphaned soon  (Read 4421 times)
Gavin Andresen
Hero Member
*****
Offline Offline

Activity: 1330


Chief Scientist


View Profile WWW

Ignore
March 18, 2013, 03:52:00 PM
 #1

Last July, BIP 34 was accepted. It specifies a "soft fork":

Quote
If 950 of the last 1,000 blocks are version 2 or greater, reject all version 1 blocks

We are getting close to that threshold: 821 out of the latest 1000 blocks were version 2.

If you are mining in a pool: there is a list of pools and what versions they are producing here. If your pool is producting version=1 blocks, you should urge your pool operator to upgrade or patch.

If you are mining with p2pool or solo and using a very old version of bitcoind: you should upgrade, or you risk your blocks getting orphaned.

Will I see you in Amsterdam?
  http://bitcoin2014.com/
1398318597
Hero Member
*
Offline Offline

Posts: 1398318597

View Profile Personal Message (Offline)

Ignore
1398318597
Reply with quote  #2

1398318597
Report to moderator
1398318597
Hero Member
*
Offline Offline

Posts: 1398318597

View Profile Personal Message (Offline)

Ignore
1398318597
Reply with quote  #2

1398318597
Report to moderator
Buy a Blade, Get a 5-Chip Free!
Start Mining with GAWMiners.com
24/7 Live Phone & Tech Support
Free Hosting & Electricity for 1 Year!

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1398318597
Hero Member
*
Offline Offline

Posts: 1398318597

View Profile Personal Message (Offline)

Ignore
1398318597
Reply with quote  #2

1398318597
Report to moderator
1398318597
Hero Member
*
Offline Offline

Posts: 1398318597

View Profile Personal Message (Offline)

Ignore
1398318597
Reply with quote  #2

1398318597
Report to moderator
DBG
Member
**
Offline Offline

Activity: 102


Digital Illustrator + Software/Hardware Developer


View Profile

Ignore
March 18, 2013, 11:10:40 PM
 #2

So long and thanks for all the bitcoin Deepbit?

/* Coins are never required but are always appreciated in any amount if you are feeling generous! */
Bitcoin - 1EnqVTvPqrpTs6HA1PryXqXtrV6mXmXjRc
Litecoin/Feathercoin -replacing scrypt software atm
grue
Staff
Hero Member
*****
Offline Offline

Activity: 1036


It is pitch black. You are likely to be eaten by a grue.


View Profile

Ignore
March 18, 2013, 11:17:25 PM
 #3

So long and thanks for all the bitcoin Deepbit?
the only thing holding back this patch is deepbit

1ELvnrA6PhUyDBS6iR25K1Xx4xXL6VMfJX
eleuthria
Hero Member
*****
Offline Offline

Activity: 1120


Michael Marsee


View Profile WWW

Ignore
March 18, 2013, 11:18:46 PM
 #4

So long and thanks for all the bitcoin Deepbit?
the only thing holding back this patch is deepbit

Not quite, we'd still be just shy if Deepbit's blocks were all v2.  If BTC Guild getwork could support v2 right now we would just about be there.  Working on that tomorrow to see if there's any way I can add v2 blocks to the coinbasing of PoolServerJ.

DBG
Member
**
Offline Offline

Activity: 102


Digital Illustrator + Software/Hardware Developer


View Profile

Ignore
March 19, 2013, 05:29:15 AM
 #5

I know Graet (ozcoin) doesn't quite want to take down the getwork/merged mining server yet (and strand those users by our hand), but take Deepbit out of the equation completely, and if the top 4 pools were to all make a clean break it would happen.  However I was hoping for a rolling plan like slush proposed back in February, and I rather users update their software compared to just getting shut out.  I know it will happen in time so patience is a virtue here  Cry.

/* Coins are never required but are always appreciated in any amount if you are feeling generous! */
Bitcoin - 1EnqVTvPqrpTs6HA1PryXqXtrV6mXmXjRc
Litecoin/Feathercoin -replacing scrypt software atm
eleuthria
Hero Member
*****
Offline Offline

Activity: 1120


Michael Marsee


View Profile WWW

Ignore
March 19, 2013, 08:25:39 AM
 #6

I know Graet (ozcoin) doesn't quite want to take down the getwork/merged mining server yet (and strand those users by our hand), but take Deepbit out of the equation completely, and if the top 4 pools were to all make a clean break it would happen.  However I was hoping for a rolling plan like slush proposed back in February, and I rather users update their software compared to just getting shut out.  I know it will happen in time so patience is a virtue here  Cry.

Do note that this isn't a hard-fork.  It just means if you continue trying to mine v1 blocks, they will not be accepted by the rest of the network.  It's highly unlikely this would ever go beyond a single orphaned block, given the amount of hash power that is mining v2 blocks, and the amount of nodes that will refuse to forward your block.

This has been a "rolling plan".  It's been in place for 8 months, and only takes place when a supermajority of 95% is on v2.

wknight
Hero Member
*****
Offline Offline

Activity: 845


Bitcoin calls me an Orphan


View Profile WWW

Ignore
March 19, 2013, 07:17:56 PM
 #7

I think it just happened to Ozcoin.

http://blockchain.info/block-index/362524/00000000000001b4ee26f0189e4e3d139a3b8c5c8179109f270819eac7284aab
http://blockchain.info/block-index/363019/00000000000001d68223b78f7c012dcdce458cb3b46f2b325bd7bc6d067c396b

Mining Both Bitcoin and Litecoin.
eleuthria
Hero Member
*****
Offline Offline

Activity: 1120


Michael Marsee


View Profile WWW

Ignore
March 19, 2013, 07:53:18 PM
 #8


That looks like your standard orphan.  The EclipseMC block was seen 15 seconds before the OzCoin block.  The time stamps just made it look the opposite due to Eclipse's timestamp being in the future, and Ozcoin's being in the past.

Graet
VIP
Hero Member
*
Offline Offline

Activity: 924



View Profile WWW

Ignore
March 19, 2013, 11:59:35 PM
 #9

well with the forking blockchain and patches needed to keep ecoinpool running etc, I'm about ready to turn getwork servers off
with the threshold for V2 blocks getting much closer it wont be long until it breaks anyway Smiley

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM | https://WeExchange.co in AUD USD and CAD PM | https://crowncloud.net VPS and Dedicated Servers for the BTC community
doublec
Hero Member
*****
Offline Offline

Activity: 1078


View Profile

Ignore
March 20, 2013, 08:36:01 AM
 #10

I just noticed that my merge mining getwork server was producing version 2 blocks without having a block height in the coinbase in certain circumstances. If you're a miner using a merge mining patch you might want to check that your coinbase is correct otherwise when the supermajority happens your blocks will be orphaned if the coinbase is wrong.

Bitparking Bitcoin/Namecoin/IXCoin/Devcoin Merged Mining Pool (Stratum support, works with ASICs)
BitMessage: BM-BbwusEFHr8ZndbShVXEsbGMbvQ2qBiSh
doublec
Hero Member
*****
Offline Offline

Activity: 1078


View Profile

Ignore
March 20, 2013, 11:52:33 AM
 #11

Have we hit this already? I'm seeing in the logs of a v1 node:

Code:
ERROR: AcceptBlock() : block height mismatch in coinbase


Bitparking Bitcoin/Namecoin/IXCoin/Devcoin Merged Mining Pool (Stratum support, works with ASICs)
BitMessage: BM-BbwusEFHr8ZndbShVXEsbGMbvQ2qBiSh
kinlo
Sr. Member
****
Offline Offline

Activity: 260


Pool operator of Triplemining.com


View Profile WWW

Ignore
March 20, 2013, 11:59:13 AM
 #12

FYI: The blockorigin site keeps track of the last 1000 blocks on http://blockorigin.pfoe.be/top.php

In the text on the bottom you will see the counts in blocks on v1.  95% is required so if the number of blocks on v1 drop below 50 over the last 1000 blocks, all blocks v1 will be rejected!

Join this pool for mining.  Only pool to reward a jackpot weekly!  Like my post?
doublec
Hero Member
*****
Offline Offline

Activity: 1078


View Profile

Ignore
March 20, 2013, 12:00:32 PM
 #13

FYI: The blockorigin site keeps track of the last 1000 blocks on http://blockorigin.pfoe.be/top.php

In the text on the bottom you will see the counts in blocks on v1.  95% is required so if the number of blocks on v1 drop below 50 over the last 1000 blocks, all blocks v1 will be rejected!
Note their current block number showing in their list. It's over 1,000 blocks out of date.

Bitparking Bitcoin/Namecoin/IXCoin/Devcoin Merged Mining Pool (Stratum support, works with ASICs)
BitMessage: BM-BbwusEFHr8ZndbShVXEsbGMbvQ2qBiSh
kinlo
Sr. Member
****
Offline Offline

Activity: 260


Pool operator of Triplemining.com


View Profile WWW

Ignore
March 20, 2013, 12:05:04 PM
 #14

Note their current block number showing in their list. It's over 1,000 blocks out of date.

Iek, fixing that problem, thanks for noticing Smiley

Join this pool for mining.  Only pool to reward a jackpot weekly!  Like my post?
doublec
Hero Member
*****
Offline Offline

Activity: 1078


View Profile

Ignore
March 20, 2013, 12:08:01 PM
 #15

Iek, fixing that problem, thanks for noticing Smiley
No worries. I'd been using it to track the supermajority and working today on getting my merge mining server compatible with version 2 blocks. Then I noticed the error in my logs and which makes me think we've hit it and I've run out of time.

Bitparking Bitcoin/Namecoin/IXCoin/Devcoin Merged Mining Pool (Stratum support, works with ASICs)
BitMessage: BM-BbwusEFHr8ZndbShVXEsbGMbvQ2qBiSh
kinlo
Sr. Member
****
Offline Offline

Activity: 260


Pool operator of Triplemining.com


View Profile WWW

Ignore
March 20, 2013, 12:17:54 PM
 #16

According to my site it's now down to 80 blocks on v1, 50 and we're there...

Scratch that, site is still building and out of sync... I'll update when I know for sure

Join this pool for mining.  Only pool to reward a jackpot weekly!  Like my post?
doublec
Hero Member
*****
Offline Offline

Activity: 1078


View Profile

Ignore
March 20, 2013, 12:30:19 PM
 #17

Scratch that, site is still building and out of sync... I'll update when I know for sure
It looks like we aren't - I ran a quick shell script on bitcoind. But due to a merge mining issue my coinbase has an invalid height and the check for that gets activated at 75% which we've hit. Lost three blocks, argh!

Bitparking Bitcoin/Namecoin/IXCoin/Devcoin Merged Mining Pool (Stratum support, works with ASICs)
BitMessage: BM-BbwusEFHr8ZndbShVXEsbGMbvQ2qBiSh
Gavin Andresen
Hero Member
*****
Offline Offline

Activity: 1330


Chief Scientist


View Profile WWW

Ignore
March 20, 2013, 12:37:10 PM
 #18

There are three stages to the rollout:

1. Before 75% are producing block.version=2 blocks: no special checking
2. Between 75 and 95% : block.version=2 blocks MUST have height in coinbase.  We are here.
3. 95% or more:  all blocks MUST be block.version=2 and MUST have height in coinbase.  Should happen soon.

Shell script to count block versions:

Code:
gavin$ for i in {225925..226925}; do ./bitcoind getblock $(./bitcoind getblockhash $i); done | grep version | sort | uniq -c
 173     "version" : 1,
 828     "version" : 2,

Will I see you in Amsterdam?
  http://bitcoin2014.com/
kinlo
Sr. Member
****
Offline Offline

Activity: 260


Pool operator of Triplemining.com


View Profile WWW

Ignore
March 20, 2013, 12:59:54 PM
 #19

Blockorigin has been fixed too.  So we're now still at 16.90% v1 blocks...

Join this pool for mining.  Only pool to reward a jackpot weekly!  Like my post?
mot7
Newbie
*
Offline Offline

Activity: 16


View Profile

Ignore
March 20, 2013, 04:07:19 PM
 #20

Has anything interesting happend on TestNet as a result of this change?

1984 GH/s  - Not for sale!
`````` Only $0 -    www.comingsoon.com [/url  `````` (http:// *Link Removed* )
Pages: [1] 2 3  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!