bip0032 and test p2ptrade fixes