Open ghost opened 6 years ago
need to look into this. not even sure if/how offline accounts are affected by segwit. do you know more?
I didn't see any docs on the official bitcoinj site. Maybe the unit tests might be useful: https://github.com/bitcoinj/bitcoinj/blob/master/core/src/test/java/org/bitcoinj/core/AddressTest.java#L178
tx for the pointer. on my side i did find some comment on bitcointalk [1]. i think i'll need more time to figure things out ...
This might be helpful: https://bitcoincore.org/en/segwit_wallet_dev/ - although it is a little out of date and doesn't have current info about BIP173 Bech32 encoding of P2WPKH and P2WSH.
Edit: I just sent a PR to update the doc: https://github.com/bitcoin-core/bitcoincore.org/pull/515
Any chance of adding segwit support? Segwit support was merged into bitcoinj master since july 2017: https://github.com/bitcoinj/bitcoinj/pull/1334