1
With the impending adoption of segregated witness, users reliant on the bitcoin-cli API would require to reconstruct new methods to re-produce more efficient transactions. Is there some guide out there to learn how to produce a p2wsh transaction based off a conventional p2sh transaction?
2
related: Segregated Witness Development Guide
– Murch – 2016-11-15T13:11:48.5901Only outputs sent to a SegWit address/script can be spent using SegWit inputs. So the real question is how to establish that address (see Andrew's answer below). – Pieter Wuille – 2017-07-05T18:14:22.393