varint encoding
added transaction datatypes