user103565: Say I receive transaction A and it is in my node's mempool and unconfirmed.
Then a block gets mined directly, which spends one of transaction A's inputs, rendering transaction A invalid.
What can I expect my node to respond with, when I ask: getrawtransaction <transaction A's txid>?

user208: A will be kicked out of the mempool when that block is received, and getrawtransaction will subsequently fail for it.

103565: <p>Say I receive transaction A and it is in my node's mempool and unconfirmed.</p>

<p>Then a block gets mined directly, which spends one of transaction A's inputs, rendering transaction A invalid.</p>

<p>What can I expect my node to respond with, when I ask: <code>getrawtransaction &lt;transaction A's txid&gt;</code>?</p>
 208: <p>A will be kicked out of the mempool when that block is received, and <code>getrawtransaction</code> will subsequently fail for it.</p>
