set the version and locktime.