fixed bug in pushtx parameter
fixed litecoin magic byte and num_active_peers function