Questions tagged [bip-34]

7 questions
8
votes
1 answer

Why do miners seem to be using consecutive letters for the Coinbase transaction text?

If you look at coin.dance, it looks like the coinbase transactions text start with consecutive letters. For example, block 478529 starts with "AM" and 478530 starts with "BM" and 478531 starts with "CM" and so on. This continues with DM, EM, ... all…
Jimmy Song
  • 7,709
  • 16
  • 35
5
votes
1 answer

Why was BIP34 (Block v2, Height in Coinbase) not implemented via the coinbase tx's locktime or nSequence?

At some point in 2011/12 miners started using custom mining algorithms ignoring the best practise to mine to a different new public key (hash) for each subsequent block. This lead to a lack of uniqueness of the coinbase transaction id and destroyed…
Felix Weis
  • 319
  • 3
  • 10
3
votes
1 answer

How to calculate the BIP34Hash?

I know this going to be a repeat question, however I am still puzzled with the implementation of the BIP34 especially where it come to its hash. Referring to the chainparams.cpp at github…
dragon
  • 33
  • 3
2
votes
1 answer

As required in BIP 34, how miners put the Block Height to their coinbase transaction

I created a coinbase transaction with the createrawtransaction method as follow: createrawtransaction…
Hamita
  • 176
  • 9
2
votes
1 answer

why bip 34 uses two step on MASF(Miner Activated Soft Fork)?

in bip 34, which change to bitcoin version 1 -> 2, uses two step for network's consensus. step 1. check if 750 of the last 1000 blocks are version 2 or greater. step 2. check if 950 of the last 1000 blocks are version 2 or greater. but in my…
sang oh
  • 23
  • 3
1
vote
1 answer

Can miner send garbled block height?

This previous answer shows that BIP34 adds block height as one of the fields in a coinbase transaction of a block. This question is about whether block height is calculated fully independently by each node, or the miner gets to influence it somehow…
bgd223
  • 151
  • 4
0
votes
1 answer

What is consensus.BIP34Height?

In the bitcoin source code, I am looking at chainparams.cpp. I can see on line 81 something called consensus.BIP34Height? What is that? I can't figure out what this is. I'm not sure what else to ask other than what is this? I can't see any mention…
Oscar Chambers
  • 226
  • 1
  • 12