0

For example, take two PC (online, offline) with the last Bitcoin Core.

Online PC has only public keys and the updated blockchain. It will use to watching for balance and create and send transactions.

Offline PC has only public/private key. It will use for sign transactions.

Questions:

  1. Is it possible to realize that case with Bitcoin Core?
  2. If yes, How can I export/import the master public key of HD wallet?
B L
  • 167
  • 8
  • 3
    Does this answer your question? [How to send bitcoin from an offline Bitcoin Core that doesn't have a synced balance?](https://bitcoin.stackexchange.com/questions/89962/how-to-send-bitcoin-from-an-offline-bitcoin-core-that-doesnt-have-a-synced-bala) – RedGrittyBrick Apr 30 '21 at 09:51
  • @RedGrittyBrick this answer gives me part answer my question. Until now I cannot find info about the import/export master public key. Also, I don't know possible it at all. I mean import/export master public key. – B L Apr 30 '21 at 10:06
  • @BL Bitcoin Core doesn't support exporting/importing master public keys because it doesn't have one (unless you use the experimental new descriptor wallets). – Pieter Wuille Apr 30 '21 at 17:47
  • @PieterWuille How is it possible? BC is an HD wallet. How I understand HD wallet the first generate Master keys and then simple keys. Or I don't understand something? – B L May 01 '21 at 06:52
  • Bitcoin Core's wallet indeed is an HD wallet (for wallets created after 0.13 at least), but it uses hardened derivation. Hardened derivation does not permit computing addresses from the xpub; it needs the master private key to do so. – Pieter Wuille May 01 '21 at 14:44
  • @PieterWuille I.e. I can't export the master public key. I can export the public keys of addresses. Do I right understand? – B L May 01 '21 at 15:22
  • 1
    Not sure I'd call that "exporting"; it's just generating addresses - but yes, if you'd watch all addresses one wallet generates, you'd have a functionally equivalent watch-only wallet. All of this will be much easier and flexible (including support for xpub export/watch, multisig, ...) with descriptor wallets (new in Bitcoin Core 0.21, but still experimental with lots of missing functionality to make it convenient). – Pieter Wuille May 01 '21 at 16:13
  • @PieterWuille Thank you a lot for your explanation. – B L May 02 '21 at 02:43

0 Answers0