Segregated Witness (SegWit) is an update to Bitcoin that was made to fix a problem called transaction malleability, which could change…