I am unable to decoderawtransaction for transactions which are large in size. for example c9438f1207b436381d2e24500e8e74702477f2d8a146fcaa610a60f8530e5e1b { block 24695 , last transaction } and 5e29cdb355b3fc7e76c98a9983cd44324b3efdd7815c866e33f6c72292cb8be6 { block 1, only transaction }. Is there an alternative way. I am using dcrctl -u username -P password getrawtransaction "c9438f1207b436381d2e24500e8e74702477f2d8a146fcaa610a60f8530e5e1b" to receive the hexstring which i am passing to decoderawtransaction the same way.
yes, there is : ./d help getrawtransaction note Result (verbose=true): and it works for me just fine $ ./d getrawtransaction 5e29cdb355b3fc7e76c98a9983cd44324b3efdd7815c866e33f6c72292cb8be6 1 | wc -l 44068
I am receiving the hex-string. But unable to decode the hex-string using decoderawtransaction because of its size!!!!! Do one have an alternative way of dealing with it?
Code: $ dcrctl -h ... The special parameter `-` indicates that a parameter should be read from the next unread line from standard input. So, as the help indicates, you can make the parameter '-' which tells it to pull the data from standard input and pass it in that way. Examples: Code: $ dcrctl decoderawtransaction - <tx.hex Code: $ cat tx.hex | dcrctl decoderawtransaction -