monero-project / monero

Monero: the secure, private, untraceable cryptocurrency
https://getmonero.org
Other
8.98k stars 3.11k forks source link

`get_tx_key` should support `raw_monero_tx blob` as input #8398

Open SamsungGalaxyPlayer opened 2 years ago

SamsungGalaxyPlayer commented 2 years ago

image

When using --do-not-relay mode for monero-wallet-cli, it exports a raw_monero_tx blog and displays the txid, but not the tx_key. Ideally, get_tx_key can support importing the blob to calculate the tx_key.

Current: get_tx_key <txid>

Desired: get_tx_key (<txid> | <raw_monero_tx blob>)

LeoNero commented 2 years ago

I am down to try to explore and discuss the issue, and tackle it this weekend.

MexicanTakeout commented 2 years ago

I don't understand your screenshot example. In that get_tx_key <txid> should return the tx_key, but we have an error?