Just completed the optimized block (and tx/header) wire serialization queries and hook into the block-out protocol. So instead of populating a block object and serializing it, we are reading it directly from the store into wire serialization, and copying it into the write buffer. Savings in query time in the first 125k blocks is about 28%. These are tiny blocks, so I didn't expect to see much change. As they get 3 orders of magnitude larger the savings should go up dramatically. Mind you, it was already fast 🙂.