buildrecordchain
buildrecordchain(infoptr, NULL);
void buildrecordchain(uint64_t, struct recordchain *);