By utilizing a proof-of-work consensus algorithm
https://www.zupyak.com/p/4151301/t/comprehending-the-scalability-variables-kaspa-vs-bitcoin
By making use of a proof-of-work agreement algorithm, Kaspa ensures the stability of its blockchain network and stops double-spending