How did blockchains solve the double-spend problem when 99% of crypto transactions now happen off-chain?