Analysis of the Coinffeine exchange algorithm