Hello
I realized recently that making fake transactions are possible. I know no one can undo any transactions, either.
I want to know is there any way to detect that a certain unconfirmed transaction is fake or not, right after sending?
This is a big problem for me because of so many unconfirmed transactions that i'm getting nowadays.
What do you even mean by a fake transaction? Thats a meaningless phrase which could mean anything. Generally, no, fake transactions are not possible.
If youre worried about unconfirmed transactions, wellyou should be. Wait for confirmation. Unconfirmed transactions are insecure; they could turn out to be fake in the sense of a being overridden with a double-spend. Thats why the process of confirming transactions exists in the first place! Also, if it is not a Segwit transaction, then before confirmation there is the tx malleability issue to worry about. Segwit fixes tx malleability.
Run a full node for validation, too. SPV and other light clients can be fooled by certain attacks. I dont think an SPV node could be made to accept a fake transaction, in and of itself; but it could be misled onto a forkchain, which would allow feeding it a whole ledger full of fake transactions.