I'm confused as to what segwit is. Could someone possibly explain it to me? Thanks guy you are all amazing
SegWit was originally created to fix transaction malleability (a bug allowing transactions you send to be invalidated) and not even designed as a block size fix. Stopping transaction malleability meant moving some data called witness data (signatures in a transaction) out of transactions and off the Blockchain.
This fix moves enough data to increase the block sizes by up to 4MB but most people think that the network is most likely to settle at about 2MB block sizes if SegWit is ever implemented. The other way SegWit could increase transaction capacity, sort of, is by allowing Lightning Network. Fixing transaction malleability makes the network secure enough to allow LN and other off-chain products to work by using the Bitcoin blockchain as just a reconciliation ledger to begin and finalize transactions. This could make transactions faster but they really wouldn't be Bitcoin transactions in the classic sense.
This is about as much as I can dumb it down and still have it mean something.
to correct the above
SegWit was originally hoped to fix transaction malleability (a data manipulation bug allowing transactions you send to be invalidated) and not even designed as a block size fix. Stopping transaction malleability meant moving signatures out of the middle of a transaction and append to the end of a transaction. thus also enforcing how the transaction data was signed with less chance of manipulation.
but this requires people moving their funds to a new keypair type not ever used yet to achieve this, and only works for those specific users using the new keys to not be able to manipulate the transaction data of their own funds.
then a dev (luke JR) realised it could implement it using a backdoor trick in a way that can avoid a full node and pool consensus and just need pool recognition.
This trick moves the signature to a separate area outside of the block, which means the new keypairs can snip off the signature from the end and fool old nodes into not rejecting the no-signature transaction because of the backdoor method.
which means it saves a few bytes transactions would have had inside the block.. to allow more transactions into the main block
which would (for new nodes that keep the signatures of segwit tx key users) increase the overall and combined data in and outside the main block to be (upto 4mb, but in reality well under)
most people think that the network is most likely to settle at about 2MB combined data (for new nodes that keep the signatures of segwit tx key users) but only if SegWit is ever implemented AND only if users move their funds to segwit keys..(emphasis on the need to move funds to segwit keys to achieve anything).
The other thing SegWit could do is allow other soft backdoor changes in easier, things like even newer keypair types like schnorr, LN keys and other things at later dates.
there are many flaws and drawbacks of this though.