Author

Topic: Question about 'Height' certainty (Read 738 times)

hero member
Activity: 524
Merit: 500
April 02, 2014, 09:24:30 PM
#5
Hashing process could be optimized by mining for blocks with only one constant coinbase transaction - so no other transactions will fit in the block. BIP 0034 prevents it.

No, BIP 34 prevents duplicate transactions because they were an ugly corner case.

It was heavily discussed, so searching these forums for it will provide enlightenment on the matter.  The short version is that allowing duplicate generate transactions was surprising, but realizing that they could be spent and then mined again was even more surprising.  In theory, whole strings of transactions with identical IDs could be made that way.

That's a part of Bitcoin history I've missed Smiley Looks like easier mining of empty blocks with duplicate coinbase transactions was not considered as a possible attack, but developers sticked to their clever hack of using transaction hash as an key. Anyway, the mining advantage would be small, something like 2% and this vulnerability was fixed without being discovered Smiley
kjj
legendary
Activity: 1302
Merit: 1026
March 31, 2014, 06:47:32 AM
#4
Hashing process could be optimized by mining for blocks with only one constant coinbase transaction - so no other transactions will fit in the block. BIP 0034 prevents it.

No, BIP 34 prevents duplicate transactions because they were an ugly corner case.

It was heavily discussed, so searching these forums for it will provide enlightenment on the matter.  The short version is that allowing duplicate generate transactions was surprising, but realizing that they could be spent and then mined again was even more surprising.  In theory, whole strings of transactions with identical IDs could be made that way.
hero member
Activity: 524
Merit: 500
March 30, 2014, 10:13:03 PM
#3
I assume that faking the blockchain 'height' is not a serious threat to the bitcoin protocol.  It isn't on the list of vulnerabilities: https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures

I'm trying to better understand the process by which it is prevented.  Any references are appreciated.  Thanks!

edit:  I think what I may be asking for is the background workings of the API call 'getblockcount' -- https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
Hashing process could be optimized by mining for blocks with only one constant coinbase transaction - so no other transactions will fit in the block. BIP 0034 prevents it.
kjj
legendary
Activity: 1302
Merit: 1026
March 27, 2014, 06:32:52 AM
#2
Blocks come in discrete lumps.  You always know how many of them you have.
member
Activity: 93
Merit: 10
March 27, 2014, 06:08:35 AM
#1
I assume that faking the blockchain 'height' is not a serious threat to the bitcoin protocol.  It isn't on the list of vulnerabilities: https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures

I'm trying to better understand the process by which it is prevented.  Any references are appreciated.  Thanks!

edit:  I think what I may be asking for is the background workings of the API call 'getblockcount' -- https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
Jump to: