bitcoin-segwit-learning
segwit相关
segwit bips
see bitcoin bip141 bitcoin bip143 bitcoin bip144 bitcoin bip147 (chain activated on August 24, 2017)
block cost calculation
cost = (stripped_size * 4) + witness_size formula,
using only serialization with and without witness data. As witness_size
is equal to total_size - stripped_size, this formula is identical to:
cost = (stripped_size * 3) + total_size.
-------------本文结束感谢您的阅读-------------