added address checking. Basically full copy of original Bitcoin library with hex byte of 30 instead of 0