Maximum transaction size bitcoin

maximum transaction size bitcoin

The maximum standard transaction size that will be relayed is 100,000 bytes. Note that it's possible for larger transactions to end up in a block if that miner chooses. Every bitcoin transaction must be added to the blockchain, the official public block (a collection of transactions not exceeding 1 MB in size) added to the Eventually, the market will reach a maximum equilibrium fee that. blocks contain the. maximum transaction size bitcoin

Business: Maximum transaction size bitcoin

FIRST MINERS OF BITCOIN 44
Mercado bitcoin investir 408
BITCOINTALK SKINCOIN 974
Maximum transaction size bitcoin Can you buy and sell bitcoin instantly
Maximum transaction size bitcoin Exchange wu to bitcoin

Transaction size calculator

Legend: data field sizes

All sizes in parenthesis in the overhead, input, and output sections are vbytes. Sizes in the common elements section are bytes.

Overhead

  • nVersion (4) The transaction version number

  • Input count (compactSize) The number of inputs included in the transaction. 1 byte for up to 252 inputs

  • Output count (compactSize) The number of outputs included in the transaction. 1 byte for up to 252 outputs

  • nLockTime (4) The earliest epoch time or block height when the transaction may be included in a block

  • Only in transactions spending one or more segwit UTXOs:

    • Segwit marker & segwit flag (0.5) A byte sequence used to clearly differentiate segwit transactions from legacy transactions

    • Witness element count (compactSize/4) The number of witness elements included in the transaction. 0.25 vbytes for up to 252 elements

Input

  • Outpoint (36) The txid and vout index number of the output (UTXO) being spent

  • scriptSig length (compactSize) The length of the scriptSig field. 1 vbyte for a scriptSig up to 252 vbytes. Maximum of 3 vbytes for a maximum-length scriptSig (10,000 vbytes).

  • scriptSig (varies) The source of witness data for legacy UTXOs. This data is used to prove that the transaction is authorized by someone controlling the appropriate private keys. For the templates used by this calculator, the scriptSigs sizes are:

    • P2PKH (107)

    • P2SH 2-of-3 (254)

  • nSequence (4) The sequence number for the input. Used by BIP68 and BIP125, with other values having no defined meaning

  • Witness data (varies) The source of witness data for in segwit transactions. This data is used to prove that the transaction is authorized by someone controlling the appropriate private keys. For the templates used by this calculator, the witness data sizes are:

    • P2WPKH (26.75)
      • (73)
      • (34)
    • P2WSH 2-of-3 (63.25)
      • (1)
      • (73)
      • (73)
      • (106)
    • P2TR (16.25)
      • (65)

Output

  • nValue (8) The amount of bitcoin value being paid

  • scriptPubKey length (compactSize) The length of the scriptPubKey field. 1 vbyte for a script up to 252 vbytes. Maximum of 3 vbytes for a maximum-length script (10,000 vbytes).

  • scriptPubKey (varies) The specification of what conditions need to be fulfilled in order for this output to be spent. For the templates used by this calculator, the scriptPubKeys are:

    • P2PKH (25)

    • P2WPKH (22)

    • P2SH 2-of-3 (23)

    • P2WSH 2-of-3 (34)

    • P2TR (34)

Common elements

The list below indicates the size in bytes of common elements used in the scripts above. When used in a scriptPubKey or a scriptSig, the size in vbytes is the same as the size in bytes. When used as witness data in a segwit input, the size in vbytes is the size in bytes divided by four.

  • (1)—all current opcodes in Bitcoin are a single byte

  • (33)—old wallets may use 65-byte public keys

  • (72) (about half of all signatures generated with a random nonce are this size, about half are one byte smaller, and a small percentage are smaller than that)

  • (32)

  • (64)—may also be one-byte longer for a non-default signature hash (sighash)

  • (20)

  • (20)—P2SH only

  • (32)—P2WSH only

Источник: https://bitcoinops.org/en/tools/calc-size/

Maximum transaction size bitcoin - think, that

1 thoughts to “Maximum transaction size bitcoin”

Leave a Reply

Your email address will not be published. Required fields are marked *