damus
damus copied to clipboard
Proof of work
Because the application must remain understandable to everyone, it will not be possible to choose its PoW level, instead 4 distinct levels will be available:
- Disabled: No filter and PoW on sent messages
- Level 1: PoW difficulty 5 (may change in the future)
- Level 2: PoW of difficulty 10 (may change in the future)
- Level 3: PoW of difficulty 15 (may change in the future)
It would be necessary to find a "naming" simpler than PoW on the other hand, like "security filter" or "anti spam filter"
- The "parent" messages of a message with a proof of work that is validated by the client will by default be validated without a check to avoid breaking the threads
pow is already implemented in damus (count_hash_leading_zero_bits) it's just not used because it's not that useful for spam prevention at this time. all levels described here are extremely trivial to create on a single-core CPU in under a second.
My opinion is that Sats are the PoW that's already been done :-)
Shall we close this?
yeah PoW is a dead end imo
On Sun, May 28, 2023 at 07:26:47AM -0700, Ben Weeks wrote:
My opinion is that Sats are the PoW that's already been done :-)
Shall we close this?
-- Reply to this email directly or view it on GitHub: https://github.com/damus-io/damus/pull/172#issuecomment-1566157005 You are receiving this because you commented.
Message ID: @.***>
Yep, I agree
I close this PR :)