On the application of clique problem for proof-of-work in cryptocurrencies