const Map<int, Type> versionToType = { 0: Type.p2pkh, 5: Type.p2sh, 111: Type.p2pkh, 196: Type.p2sh, };