image It was a productive Friday and I have great news! - I fixed the mining bug so all constructs will now be valid. - noble/hashes/sha256 is not broken; it was my mistake πŸ˜‹ - you can now clear out old mined-but-unpublished constructs with the click of a button - the default mining target is now the center of Ideaspace. I've annotated the code with an explanation of how I determined the center coordinate. You can change your target to the center of Dataspace by changing the final F to an E. Give it a go at and claim your place in #cyberspace! #ONOSENDAI #Dataspace #Ideaspace #POW

Replies (6)

haha, copy() is your friend. if it's golang, then yeah, nasty race conditions if you operate on returned slices and the sending code reuses it. ooh nelly. tends to be an issue when the library has zero copy and memory allocation avoidance built into it but if it's written properly it loudly warns you to not mutate the result. actually, when i write such things if it's just a hash at the end better to return a copy and not have to worry about this bug at all.
↑