Code for parsing Ripple network history