Post
Topic
Board Development & Technical Discussion
Re: Calculating the weight units of a transaction
by
icynote_original
on 06/07/2023, 04:14:04 UTC
Transactions that don't use segregated witness (segwit) are currently called legacy transactions. For these transactions, calculating the number of weight units in a transaction is as easy as putting the transaction into the format used in a P2P protocol block message, counting the number of bytes, and multiplying by four.