Home Bitcoin bitcoin core – Broadcast transactions by bitcoind with out importing non-public key

bitcoin core – Broadcast transactions by bitcoind with out importing non-public key

0
bitcoin core – Broadcast transactions by bitcoind with out importing non-public key

[ad_1]

My query has already been requested earlier than, and a few solutions had been additionally already given
the query, nevertheless, it isn’t clear to me why I get some behaviour when implementing it. Listed below are the small print:

I created my transaction and signed it offline, with out interacting with bitcoind. However, after I broadcast it to the community (or take a look at acceptability by mempool), it would not work except I import the non-public key to bitcoind by the rpc command importprivkey.

I inspected the bitcoin code to know why it does behave like that, however sadly, I do not fairly perceive the place it does confirm for the non-public key or test that it was imported. As I perceive, the transaction’s broadcast occurs right here sendrawtransaction.

Please, can somebody clarify why it does occur and/or present a strategy to simply broadcast uncooked transactions to the community with out importing non-public keys into bitcoind?

[ad_2]

Supply hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here