<p>You can only broadcast transactions if your node has synced to the point that it knows the outputs that were spent. This is because your node will always validate a transaction before it broadcasts it. If it has not synced to the point that it knows the outputs that your transaction spent, then it won't have the information necessary in order to validate the transaction.</p>

<p>So if your transaction spends outputs that were recently confirmed, then you will have to wait until it is basically fully synced before you can broadcast. But if your transaction spends very old outputs that are deep in the blockchain, then you can broadcast before it has synced.</p>

CC BY-SA 4.0
2019-11-21T04:39:57.247Z
The second paragraph really helps, makes sense.
m1xolyd1an
CC BY-SA 4.0
2019-11-21T04:14:14.867Z
2019-11-21T04:14:14.867Z
Ava Chow
<p>Built and signed a native bech32 UTXO, but when I attempt to broadcast from my testnet node using the command <code>sendrawtransaction</code> it returns "missing inputs". I don't have the private keys in my wallet, and the testnet node is still syncing, but I was able to broadcast it fine with a testnet API service that lets you broadcast signed transactions. </p>

<p>Is it possible to broadcast a raw signed transaction to the network while still syncing?</p>

CC BY-SA 4.0
2019-11-21T01:52:25.163Z
To clarify, you mean that you want to force your node to broadcast it, right? Otherwise, as you said you could just post the raw transaction to a third party service.
Murch
CC BY-SA 4.0
2019-11-21T03:09:05.383Z
Precisely......
m1xolyd1an
<raw-transaction><full-node><broadcast>
Can a node broadcast a valid signed raw transaction while still syncing?
m1xolyd1an
# Can a node broadcast a valid signed raw transaction while still syncing?

(Asked by: username_0 on 2019-11-21)

Built and signed a native bech32 UTXO, but when I attempt to broadcast from my testnet node using the command `sendrawtransaction` it returns "missing inputs". I don't have the private keys in my wallet, and the testnet node is still syncing, but I was able to broadcast it fine with a testnet API service that lets you broadcast signed transactions.

Is it possible to broadcast a raw signed transaction to the network while still syncing?

**Tags:** raw-transaction, full-node, broadcast

> **Comments:**
> **username_1**: To clarify, you mean that you want to force your node to broadcast it, right? Otherwise, as you said you could just post the raw transaction to a third party service.  
> **username_0**: Precisely......  

---

## 1 answers

### Answer by username_2 on 2019-11-21. Score: 5 | Accepted answer

You can only broadcast transactions if your node has synced to the point that it knows the outputs that were spent. This is because your node will always validate a transaction before it broadcasts it. If it has not synced to the point that it knows the outputs that your transaction spent, then it won't have the information necessary in order to validate the transaction.

So if your transaction spends outputs that were recently confirmed, then you will have to wait until it is basically fully synced before you can broadcast. But if your transaction spends very old outputs that are deep in the blockchain, then you can broadcast before it has synced.

> **Comments:**
> **username_0**: The second paragraph really helps, makes sense.  

---

