We generated segwit addressess via addwitnessaddress
command in v0.15 core client. Therefore receiving funds to our segwit addresses.
When spending those segwit UTXO, wallet creates a standard change address starting with 1. Is there a way to set custom change address (segwit preferable) in bitcoin core via config or some parameter (not via GUI). We wanted to contribute to segwit addoption, but this behavior is contraproductive. Any thoughts how to solve this?
The other problem is related to coin control feature on segwit addresses: I used coin control feature to consolidate UTXO and send it to a single address (saving data on the blockchain becasue no change was created). However when using the wallet with segwit addresses it does not calculate size of transaction correctly - causing dust change.
Is there a way how to report this to core developers or any plans to solve this with core v16.?