how to disable segwit in my build?



Summary:

The conversation on bitcoin-dev mailing list discusses SegWit transactions, which look like people are transferring money to "anyone-can-spend" outputs from the perspective of old nodes. This creates a risk for those running legacy clients as they can be tricked with "zero confirm" transactions. The solution is to avoid any chain of transaction that contains a SegWit transaction, but that's difficult given that anyone transacting with you can send coins at any time. One would have to ensure that everyone they give their addresses to follows the same rule, and eventually only a tiny fraction of all bitcoins would be clean. A reasonably compromise suggested is to assume that all transactions buried more than a few hundred blocks deep are probably ok, while only SegWit-looking outputs would be marked as "uncertain".


Updated on: 2023-06-12T03:37:46.622495+00:00