-
willyijinin[m]Hello, I’ve drawn an image to illustrate what the mechanism between view-only wallet and offline wallet is.
-
» willyijinin[m] uploaded an image: (13KiB) <libera.ems.host/_matrix/media/r0/do…FYoQJCPtUQgvvUsHNtoHcgow/monero.jpg>
-
willyijinin[m]1. First the view-only wallet exports a number of randomly drawn outputs from the blockchain to the offline wallet.... (full message at libera.ems.host/_matrix/media/r0/do…87ba33287083b298f1b1ec2b40537705d01)
-
jetsteel[m]will.yijinin: if that offline wallet is the only one that ever spends, I think you cpuld skip step 3. (Or if you had multiple offline wallets that synced their spends some other way).
-
jetsteel[m]will.yijininAFIAK, the view keys let you find outputs on the chain that belong to you. The view key + key images lets you additionally find your spends on the blockchain.
-
jetsteel[m]will.yijinin: so, not passing the view keys should only prevent a view only wallet from finding the spends on the chain itself.
-
jetsteel[m]will.yijinin: But that shouldnt keep the offline wallet from keeping track of that information.
-
jetsteel[m]will.yijinin: And when the offline wallet creates a tx, the view key is part of that transaction. So, the view wallet could keep that info and sync it to other view wallets. I think the only thing you would have to give up is the ability for the view wallet to prove what the balance is from direct chain analysis. You would have to trust that offline wallet (or other insider) isnt being sneaky.
-
vaipexHi, I'm currently using the daemon-rpc API from monero and noticed that I get a 3MB response from the get_output_distribution function. (getmonero.org/resources/developer-g…on-rpc.html#get_output_distribution). It looks like the 3MB size is caused by a bunch of NUL ASCII Chars in the "distribution" field.
-
vaipexAnyone that can reproduce this?
-
moneromoooDid you set the binary flag to true ?
-
vaipexfrom curl?
-
moneromoooI wouldn't know.
-
moneromoooAre you using curl ?
-
vaipexyes
-
moneromoooThen yes.
-
vaipexI used the example command from the docs
-
moneromoooDoes it set the binary flag to true ?
-
vaipexso no, I didnt set the flag
-
vaipexno
-
moneromoooOh, looks like it defaults to binary. I did not expect that. Then try setting it to false (0) explicitely.
-
moneromoooThe binary flag will send invalid JSON, on purpose, as an optization.
-
moneromoooI guess I picked a bad default, sorry.
-
vaipexdo you mean the --data-ascii flag in curl?
-
moneromoooNo. I mean the binary flag in the JSON you're sending.
-
moneromoooThe get_output_distribution has a number of fields. One of them is called "binary".
-
moneromoooIt defaults to true if not set. Set it to 0.
-
vaipexokay, will try that. Thanks!
-
Rucknium[m]It's messing up my chain analysis! 😭
-
Rucknium[m]Ignore