What exactly does SegWit do?
Segwit removes the signatures from the txid calculation, does some stuff to increase the number of transactions to fit in a block, and makes sighashing O(n) instead of the current O(n^2).
What would that mean if SegWit is used?
Transactions that spend from segwit outputs will have a lower transaction fee that those that spend from non-segwit outputs. The txids of transactions that are composed entirely of segwit inputs (inputs spending from segwit outputs) have only one txid and cannot be malleated.
and is it automatic?
What do you mean by that?
Segwit is opt-in, i.e. you have to create transactions with segwit outputs in order to use segwit.
Would Blockchain pruning have anything to do with the performance if I had to use it?
I'm using a development server and the entire blockchain cannot fit.
It should not impact performance. However if something were to corrupt bitcoind's database, then you will have to redownload the entire blockchain.
Thank you for your answers!!
What would that mean if SegWit is used?
Transactions that spend from segwit outputs will have a lower transaction fee that those that spend from non-segwit outputs. The txids of transactions that are composed entirely of segwit inputs (inputs spending from segwit outputs) have only one txid and cannot be malleated.
Does that mean that each transaction won't have a separate txid for itself? You'll have to look for the specific transaction inside 1 txid?
Would that mean if SegWit was used for a service then people would have to wait for a specific time for a withdrawal (for example)
I guess that would be great for faucet services or get paid to services and such if I understand this correctly