Proof of Work is also a good measure, not too different from lightning. There are no perfect solutions, just useful tradeoffs.