Let the "Nostr Bot PoW Wars" begin!

Reply to this note

Please Login to reply.

Discussion

I mean, I have a lot of cores available if needed, so 👀

According to my calculations it will take 15 days or less for 48 bit PoW

Do it!

I should also have better multithreading than fork()

better to start one thread per thread and feed them with a queue, you definitely don't want to be making and taking down threads that is an incredible waste of time

every thread works on the same note, the nonce has a thread ID component

this was not optimized for processing thousands of short tasks per minute, more processing one big task like 48 bit PoW

well it's easy enough to fan out the work just by dividing the nonce number space by the number of threads and each one then only has to increment and hash