Ok, got the undo files abstracted. Now on to an in-memory implementation and the block files.

Reply to this note

Please Login to reply.

Discussion

Ok, all done. But it is slow af. Wonder what I'm doing wrong. Just growing a 2d vector to hold the data should be blazing fast.

It's about the same speed now as writing to the file. Kind of sad that it is not faster, but at the same this means Bitcoin Core is already doing a decent job at it.