Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
kTimesG
on 16/05/2025, 20:51:31 UTC
Do not put any faith in AI generated code. For example AI will never guess that filling bloomfilter with multiple threads requires no mutex locks. Since the resulting files from one thread and multiple threads will be binary equal.

Can you explain why a mutex is not required? What if 2 threads need to update different bits of the same byte? Sounds like a race condition to me.

What he said is technical misleading. A mutex might not strictly be necessary if you use atomic operations, but you need some synchronization, otherwise its data race and therefore undefined behaviour in C++/C.

I see it as an highly experienced coder's easter egg - "wow! let's remove the sync, results were identical" and then someone scrambling their head for a week, on why the filter's returning a false negative.

People should be very careful on what they run. Or about whatever shit is thrown in this thread, painted as truth, honestly. That's why it's better to watch in silence.