-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc: allow pruning of json encoded txs #4399
rpc: allow pruning of json encoded txs #4399
Conversation
I think that should probably be removed, since the idea was to include the tx as json, but it's only returned as a string representation anyway, so it's not super useful (and nothing in monero uses it anyway). |
You want to remove the json encoded response all together? Even if it's not "truly json" and it's not used by the core Monero software, I personally find it very useful and since it's an optional response I don't see the harm done in keeping it. |
Yes, that's what I meant. |
When I tried that I got |
f77ce67 rpc: allow pruning of json encoded txs (cryptochangements34)
Fix for monero-project#4399. Also unifies code for serializing pruned tx to binary/json into one.
Fix for monero-project#4399. Also unifies code for serializing pruned tx to binary/json into one.
Fix for monero-project#4399. Also unifies code for serializing pruned tx to binary/json into one.
Fix for monero-project#4399. Also unifies code for serializing pruned tx to binary/json into one. (Cherry-picked from monero-project#4586)
Fix for monero-project#4399. Also unifies code for serializing pruned tx to binary/json into one. (Cherry-picked from monero-project#4586)
Fix for monero/monero-project#4399. Also unifies code for serializing pruned tx to binary/json into one.
Currently if "prune":true and "decode_as_json":true are passed to get_transactions then the hex encoded blob data for the transaction is pruned but the json encoded transaction is not. In this PR, prune rctsig_prunable data from json encoded transaction data returned by get_transactions if "prune":true