You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
decoderawtransaction shows values in float, while hal expects this value to be u64 in sats.
Also, some fields change from camelCase to underscore_separated
scriptSig vs script_sig
scriptPubKey vs script_pub_key
The text was updated successfully, but these errors were encountered:
Hmm, well, it's never been a design goal to match any specific other format. We could in theory try that with core. But I can't really see in what scenario you would want to pipe decoderawtransaction into tx create? Wouldn't you be recreating the same tx? Well you could mix up parts of the tx with external input I guess.
There are some options we could take here:
have name aliases on some fields so that it accepts Core (or just generally more) formats; but like you mention units might differ which is tricky.
have a Core->hal conversion command like bitcoin-cli decoderawtransaction <hex> | hal core convert tx | hal tx create or something. Could have hal core convert output etc. Not sure what the value of this would be, but I guess it'd be fairly easy to add.
decoderawtransaction shows values in float, while hal expects this value to be u64 in sats.
Also, some fields change from camelCase to underscore_separated
scriptSig vs script_sig
scriptPubKey vs script_pub_key
The text was updated successfully, but these errors were encountered: