Replying to Avatar alex_s168

nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c I was reading trough your PoW code in nostr_types (sign_event_with_pow) to compare it with my code,

and I noticed that you have each thread start trying nonces at thread_id * (u64::MAX / num_threads)

My code makes every thread start at their thread ID, and increment their try by the number of threads

Is there any reason why one would be better than the other? I think your method is smarter, but I don't really know why...

I don't know much about cryptography

I think your way is just as good.

Reply to this note

Please Login to reply.

Discussion

No replies yet.