adapted time to share, fixed error in endianess of stratum.py