Oddbean new post about | logout
 What heuristic should be followed to detect the coinjoins? 
 Not sure. Mempool.space tags likely coinjoins somehow, but IDK how. 
 This is the relevant mempool code

https://github.com/mempool/mempool/blob/master/backend/src/api/common.ts#L523 
 The >=5 inputs and outputs heuristic might miss JoinMarket coinjoins, which I believe are intentionally designed to be harder to detect. Maybe a good starting point nonetheless. 
 When multiple UTXO’s are used as input and these do not share a single UTXO as origin for at least 3 hops back, then it’s a PayJoin or CoinJoin, maybe?