add reasons why connect_input fail.
write tx data to disk in native format.