I know that the way miners claim their fees are by factoring them in the BTC amount specified in the coinbase, which the protocol forces the max selectable value to be the current block reward + the total fees included from TXs in the block.
But how do people themselves specify what amount of the BTC should be spent on fees in their transactions? Is there a special output area that says to pay it to the miner, or how is it structured?
My question is, in literal concept, how are the fees chosen in a TX when constructing a tx manually.
”The miners fee is sum of inputs minus sum of outputs. When you construct a transaction you make sure there is a difference between those two sums“ ⇒ So what happens if the sender only has really large inputs? Is the miner to assume they are allowed to take a large fee from their transactions if they make small transactions with big inputs? How is something like fee-per-byte determined if you might not have the right input to limit your input-output difference? Is there a limit on how big of a fee can be taken?
– Poseidon Dec 29 '22 at 05:46