Questions tagged [transaction-weight]
The transaction-weight tag has no usage guidance.
53
questions
7
votes
1
answer
1k
views
How big is the input of a P2PKH transaction?
How many bytes does a P2PKH input have? I'm finding a few different numbers:
Why does the default miner implementation use pay-to-pubkey? states:
push + sig + push + key = 1 + 72 + 1 + 61 = 139
...
15
votes
3
answers
8k
views
What is the maximum number of inputs/outputs a transaction can have?
Is there a maximum recommended number of inputs/outputs for each transaction? I was scripting a faucet and wasn't sure whether to payout in one transaction to all addresses or split them into groups ...
66
votes
3
answers
82k
views
How to calculate transaction size before sending (Legacy Non-Segwit - P2PKH/P2SH)
I know that I pay the transaction fee per kB, so how can I calculate how large the transaction will be before I send it via the RPC api. I run a site using bitcoins, and I cannot let the user's ...