What happens to rejected transactions ( i.e double spend or invalid transactions)?

1

Do they get put in an orphaned block or not get put into any block at all?

DCH

Posted 2018-06-18T19:16:29.473

Reputation: 47

Answers

4

Invalid transactions are never included in valid blocks. They can be included in a block, but that block would be rejected as invalid (and not classified as an orphan block).

Andrew Chow

Posted 2018-06-18T19:16:29.473

Reputation: 40 910

thanks. to finalise my understanding, are Orphan blocks just blocks that are valid but not placed on the longest chain (as the miners who made these orphan blocks) as the miner wasn't the first to solve the hash puzzle (POW)?DCH 2018-06-20T21:00:36.873

Yes. Orphan blocks are completely valid, just not in the main chain.Andrew Chow 2018-06-20T22:06:26.220