So basically most wallets already summarize the inputs?
No. What Danny was saying is that if you have multiple UTXO's, when you go to spend a value that requires you to use several of them, the wallet will include as many as required. For instance, if you have 1, 2, 3 and 4... and you want to spend 8 (ignoring transaction fees
)... it will use ALL of them... however, if you want to spend 7.5 it could just use 1,3 and 4... or 2, 3 and 4. This, in effect, is "consolidating" inputs when you spend them...
However, some people like to do this pre-emptively when fee
rates are low, so when they need to send a large BTC value transaction during times of high fee rates, it helps minimise the total fee required as the transaction has a smaller data size due to less inputs.
Does that incur a fee of some sorts? If I summarize 1,2,3,4 into 8 by myself how does the network know my 8 = 1,2,3,4 and it is valid?
It is all done using a standard transaction. You simply "send" the bitcoins to yourself in a transaction that has inputs of 1, 2, 3 and 4... and creates one output of 8... sent to your own address. Obviously, like an other transaction, this will require a fee.
I assume that is doing something similar to a multisig address to join inputs and outputs? (I must apologize here I cannot write an essay on multisig yet, and only have a very vague understanding so far. I am still working to understand bitcoin under the hood well )
If this is like a multisig you can just say so an I will google on from there.
MultiSig addresses don't "join inputs and outputs"... MultiSig addresses require multiple signatures from multiple private keys to be able to make a transaction valid:
https://en.bitcoin.it/wiki/MultisignatureThe inputs should surely be announced to the network and say "this is the new input that summarizes them" and it needs to be recorded somewhere and agreed upon?
Yes, it is done via a normal transaction and recorded on the blockchain like any other transaction.
Since this will be a hash of sorts I expect there is no way to know that these 4 inputs = the new input. If you guys can shed some light around that I would appreciate.
Again, it's simply a normal transaction, so anyone can see and verify that those 4 inputs -> new output, as per any other transaction on the blockchain.