Screw that last commit, decided to do the abstract approach. It is working on all four chains, using about 80% cpu at 10ms requested latency. Awesome work, Mr. Raspberry Pi!