KB Topic Block Weight

Weight units - Bitcoin Wiki
Weight units are a measurement used to compare the size of different Bitcoin transactions to each other in proportion to the consensus-enforced maximum block size limit. Weight units are also used to measure the size of other block chain data, such as block headers. As of Bitcoin Core 0.13.0 (released August 2016)[1], each weight unit represents 1/4,000,000th of the maximum size of a block. Virtual size (vsize), also called virtual bytes (vbytes), are an alternative measurement, with one vbyte being equal to four weight units. That means the maximum block size measured in vsize is 1 million vbytes.
December 26, 2018 7:56 PM


Block weight SegWit Bitcoin Wiki
Block weight prior to SegWit, there was a max block size of 1MB. After SegWit, the concept of max block size was removed and replaced with max block weight. The cryptocurrent max block weight is 4MB. To get cheaper transactions, you have to: There are no compatibility issues: non-SegWit wallets can send BTC to SegWit addresses, and SegWit wallets can send BTC to non-SegWit addresses. Normally, each byte in a transaction counts as 4 bytes of block weight. However, if a byte is part of the SegWit bitcoin witness area, then it receives a discount, and only counts as 1 byte of block weight. For example, let's say that you've previously received some BTC to SegWit bitcoin address A, and some BTC to legacy address B. Now consider a transaction sending both of these amounts to some address C. The data unrelated to the transaction inputs are always non-witness data counted as 4 bytes/byte. In particular, address C doesn't matter, and can be SegWit, non-SegWit, or anything. The witness data related to address A will go in the SegWit witness area, and will be be counted as 1 byte/byte. The witness data related to address B is non-SegWit, and so will be counted as 4 bytes/byte.

Aggregated news and features about block weight Titles, images and descriptions not entered by Crypto.BI are Copyright(C) their original authors, all rights reserved.