I'm trying to understand how bitcoin transactions work. From what I understand, in the Bitcoin network nodes hold different versions of the Blockchain and after some time the different chains start converging to form the main chain (longest sequence is preferred).
Here's a scenario. Node A is holding a chain which is not in sync with the rest of the nodes and node A decides to post a transaction. The miners will pick up this transaction and add them to a block in their own chain which is different than Node A's chain.
So now when Node A looks at the network, will it just ignore its own inconsistent chain and pick the miners' chain? Will the transaction made by node A even show up in the blockchain?