Describe the issue
Trying to sign a transaction offline using signrawtransaction will trigger an error : "Input not found or already spent" (very likely https://github.com/bitcoin/bitcoin/blob/master/src/rpc/rawtransaction.cpp#L860).
The point is to have an offline computer used as cold storage wallet and be able to sign some imported raw transactions created on another online computer (using watch-only addresses).
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
- Create an offline wallet (on an offline computer)
- Export offline wallet public keys (addresses)
- Import offline wallet public keys on an online wallet (other computer) (=> Watch-Only addresses)
- Fund an address
- use
createarawtransactionfrom online wallet - try to sign created transaction on offline computer having offline wallet : error.
Expected behaviour
Sign the transaction, don't try to check if transaction is funded when offline.
Actual behaviour
Won't sign the transaction because don't have access to blockchain offline.
What version of bitcoin-core are you using?
0.15.0.1