summaryrefslogtreecommitdiff
path: root/bip-0034.mediawiki
diff options
context:
space:
mode:
authorGreg-Griffith <probablyaplebeian@protonmail.com>2020-11-18 12:17:04 -0800
committerGreg-Griffith <probablyaplebeian@protonmail.com>2020-11-18 12:17:04 -0800
commit08844fd6eff55e756c453c6d2e16de40e8f80e73 (patch)
tree88b94893ee8fce005ca5fbc62abcb52f6247555b /bip-0034.mediawiki
parent7e3284dafda168da34888977dbf4a55519b0c54d (diff)
BIP34 specifies it requires minimal encoding.
Non minimal encodings are rejected by the bitcoin-core client because it only checks against a specific encoding
Diffstat (limited to 'bip-0034.mediawiki')
-rw-r--r--bip-0034.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0034.mediawiki b/bip-0034.mediawiki
index a993b7e..88073c5 100644
--- a/bip-0034.mediawiki
+++ b/bip-0034.mediawiki
@@ -22,7 +22,7 @@ Bitcoin blocks and transactions are versioned binary structures. Both currently
==Specification==
# Treat transactions with a version greater than 1 as non-standard (official Satoshi client will not mine or relay them).
-# Add height as the first item in the coinbase transaction's scriptSig, and increase block version to 2. The format of the height is "serialized CScript" -- first byte is number of bytes in the number (will be 0x03 on main net for the next 150 or so years with 2<sup>23</sup>-1 blocks), following bytes are little-endian representation of the number (including a sign bit). Height is the height of the mined block in the block chain, where the genesis block is height zero (0).
+# Add height as the first item in the coinbase transaction's scriptSig, and increase block version to 2. The format of the height is "minimally encoded serialized CScript" -- first byte is number of bytes in the number (will be 0x03 on main net for the next 150 or so years with 2<sup>23</sup>-1 blocks), following bytes are little-endian representation of the number (including a sign bit). Height is the height of the mined block in the block chain, where the genesis block is height zero (0).
# 75% rule: If 750 of the last 1,000 blocks are version 2 or greater, reject invalid version 2 blocks. (testnet3: 51 of last 100)
# 95% rule ("Point of no return"): If 950 of the last 1,000 blocks are version 2 or greater, reject all version 1 blocks. (testnet3: 75 of last 100)