first stab at new chain.bin, no tests yet