I know how fee is calculated in a transaction, but I don't know how this fee amount split into senders.
For example, consider the following transaction with
0 BTC miner fee:
Alice sends 20 BTC -> Bob sends 10 BTC ->
-> Carol receives 15 BTC -> Alice receives 10 BTC -> Bob receives 5 BTC
Now if we consider
1 BTC for miner fee , how does these output amounts change?
Maybe in half?
-> Carol receives 15 BTC -> Alice receives 9.5 BTC -> Bob receives 4.5 BTC