I build an address from a public key of which I don't know (yet) the private key, then send some bitcoin to the address (tx1). After a while an oracle signs a message which is the needed part of the private key.
When I use createrawtransaction
and give as input the output that was created by tx1 bitcoind replies: "Missing solving data for estimating transaction size".
If I import the private key with importprivkey
and then use createrawtransaction
the error disappears and it works as expected.
What does this mean? What are the conditions to use createrawtransaction
?
Is there any way to avoid using custom tools to build the transactions and use the demon only to send them?
PS: this should work also on liquid and I'm testing so far on a local elements, if that's making a difference.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments