00:05:42 the monero community has become obsessed with creating useless CCS/funding proposals ultimately useless shit like another guide (made from someone just copying another guide) 00:05:45 devs like moneromoo who have put thousands of hours into actually coding monero receive nothing while thousands is thrown at useless proposals 00:05:48 devs should just quit or demand a salary.. this situation is so fucking stupid 00:08:44 Wrong channel -> #monero-beef 00:08:59 #monero-beef:monero.social 00:09:22 no this is the correct channel 00:14:27 "devs like moneromoo who have put..." <- Moneromooo is funded via CCSs lol... 00:14:33 Poor example 00:14:44 qpqp: are you a dev? I am betting not... 00:14:47 And AFAIK no Dev requesting funding has failed to raise it. 00:15:12 here is a not even complete list of current ccs (translators not added yet) https://monerodevs.org/ccs.html 00:15:12 If a dev sees a need, can fill it, and can make that need clear to the community, I have no doubt they will get funded. 00:15:30 But anyways, this is the very wrong channel for this. 00:15:52 Please use #monero-community:monero.social for CCS/funding discussions, qpqp 02:28:08 Hello i have a technical question 02:29:36 I would like to know how to avoid feeling guilty knowing that Monero is being used by pedos and drug dealers 02:29:50 I have nightmares about it 02:30:16 I tried to talk to the priest but he is not well versed in technology 02:30:24 So he didn t understand 07:49:43 * willyijinin[m] uploaded an image: (13KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/NZorEIpUZdpHlttEVewUxvwt/monero.jpg > 07:52:27 Instead of exporting wallet's outputs to the offline wallet and let it sign, I want to keep track of utxos myself. In the above image, the keyImages are not coming from the offline wallet, but from what I keep in my database. How do I find the keyImages and its signatures from the blockchain that belong to my utxos? 09:33:57 moneromooo: could you take a look at the monero github issue tracker? someone posted some fuzzing related things 09:44:27 Thanks. 09:53:05 hyc: could you look at https://github.com/monero-project/monero/issues/8121 and see if I'm missing something ? If ubsan is moaning, it's probably more right than me... 09:53:24 ok 09:56:25 your response looks correct to me. unsigned integer overflow is well defined behavior, not undefined. ubsan is wrong. 09:57:47 OK. Let's see what the reply is then. Thanks. 09:59:26 your question about size_t doesn't really matter. yes, size_t must always be unsigned. and ubsan clearly knows that it was typedef'd to unsigned long, so that's not even a question. 10:00:20 Yes, I thought maybe it's not strictly mandated, like some obscure compilers default char to unsigned. 10:00:41 yeah. sizes cannot be negative... 10:01:19 Sizes must be representable in size_t, but nothing says all size_t values must be valid sizes :) 10:01:53 lol but you can't have it both ways 10:02:14 e.g. on a 32bit machine, if you allowed negative values, size_t would be unable to represent all sizes. 10:02:19 In theory, signed int128_t could do that. 10:02:22 anything larger than 2^31 would not be representable 10:02:59 It'd be a shit choice, mind... 10:03:04 heh 10:18:41 they also opened 2 other issues (in case you didn't see them) 10:19:26 Oh. Sorry :D 10:30:49 good afternoon. I am new here, just to read, at the begin, and to learn, to become an active developer. I am a software developer since 40 years 10:31:18 Hi. 10:32:02 You may want to idle in #monero-research-lab as well. 10:33:09 moneromoooo thanks 10:33:47 Monero code related questions are welcome here if you need help finding what's where in monero. 10:38:32 moneromoooo thanks. I want to download all the updated source code and, possibly, updated documentation for developer. If i can get all of that with few (git) commands that would be great 10:39:00 git clone https://github.com/monero-project/monero 10:39:10 I am using ubuntu. I am italian mother language, but I am used to study documentation, currently, in English 10:39:21 and read https://www.getmonero.org/library/Zero-to-Monero-2-0-0.pdf for some technical details 10:39:40 thanks. I start immediately 10:40:56 also https://www.getmonero.org/resources/developer-guides/ 10:42:29 thanks again. I arrived the last linked page. I was not sure it was enough. I think I have a more complete view of what I need to efficiently start 10:46:10 That last link is probably a bit out of date, at least for RPC docs. 10:48:06 stilettophiccant: I'm Italian too. Please reach me out if you need any help 12:13:10 * willyijinin[m] uploaded an image: (13KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/RugtVglDzdueqGiPGgXpVmrx/monero.jpg > 12:13:48 "will.yijinin: And when the..." <- What I am trying to do is, instead of “view-only wallet exports outputs hex to Offline Wallet and then offline wallet exports keyImages back to online view wallet”, I export keyImages to the view-only wallet myself. How can I find my wallet’s utxos’ keyImages and signatures on the blockchain? Is it theoretically possible? Must I sign the outputs hex with offline wallet to get 12:13:48 keyImages? 12:15:40 For spent outputs or unspent outputs ? 12:15:56 It'd only be of use for unspent ones, and those will not be on the chain yet. 12:16:31 Spending an output involves placing that key image and a signature on the chain. 12:16:58 And those two things require knowng the spend secret key. 12:17:38 moneromooo: In the code base I’ve found where the view wallet creates the unsignedTx. I’ve checked Monero/wallet/wallet2.cpp. It seems when `create_transaction_2`, the code fetches unspent outputs. Do the unspent outputs here contain information about the keyImages that offline exports to the view-only wallet? 12:18:45 Yes (assuming it's either on the cold wallet, or on the hot wallet which has imported key images already). Otherwise no. 12:21:06 The view-only wallet creates an unsigned tx from a utxo. Can I not provide keyImages? moneromooo 12:22:11 "Can I not provide keyImages?" is not clear enough. If you're asking "can the view wallet calculate them without help", then no. 12:24:20 moneromooo: If I need to provide keyImages, can I not get it from the offline wallet? Say, I keep track of all the tx hashes, and I scan the block to match keyImages to the txhashes. I know which ones are spent and unspent, so I provide what I remember as KeyImages and signatures to the view wallet, instead of letting offline wallet sign the output hexes. 12:25:49 You can get them from the offline wallet. 12:25:59 * remember as unspents - their KeyImages and 12:26:46 To spend, you'll need ring signatures too. The key image wold not be enough. 12:27:31 Additionally, you seem to be mixing two things (or I am). If you scan blocks to find key images, these are now spent, and public. 12:27:47 You then do not need to ask the cold wallet for them. 12:33:32 moneromooo: So in the above image, the view wallet first scan the blockchain for unspent output hex without keyImages? 12:34:28 The view wallet (which has the secret view key) scans for incoming outputs (unspent yet obviously), and remembers them. It cannot calculate their key image without the secret spend key. 12:35:04 Then it can export those outputs to the cold wallet, which can calculate those key images, and import those key images back. 12:41:12 moneromooo: Is there a method which provide the 10 decoys to the view-only wallet? This would make the whole signing offline process one round. Basically make an offline-view-only wallet. Offline-signing wallet export keyImages to offline-view wallet. offline-view wallet computes the unsignedTx with 10 decoys and keyImages and export unsignedTx to offline-signing wallet. It signs and finally export the tx to an online view wallet to 12:41:12 broadcast it. 12:43:30 The view wallet can select those fake outputs without help. 12:44:06 Well, it asks the daemon via RPC, but it has "live" access to it. 12:48:50 moneromooo: Yes. Currently the process will request offline wallet twice. We were trying to request the offline wallet once. That basically requires wrapping up the four steps offline. Provide output hex and 10 decoys from outside the sdk and the sdk returns a signed tx without making any rpc requests. This assumes the output hex are unspent so the view-only wallet inside the sdk don't need to check if the keyImages are double spent. 12:48:50 Is this possible with the current framework? 12:50:10 IIRC, if you have outputs which the view wallet did not get key images for yet, it'll piggy back on the transaction back and forth to include the output/key images back and forth, so it's one back and forth instead of 2. 12:50:59 For "without making any rpc requests", do you mean dameon RPC requests ? If so, this is needed because the wallet does not have a cache of hte whole chain to get fake out pubkeys. 12:51:20 People have previously floated the idea of the wallet remember a subset of these for later use though. 12:51:59 So I'll assume "Provide output hex and 10 decoys" means that RPC was already done, and so does not count ? 12:52:31 Anyway, in theory, what you say seems possible. 12:53:17 I can't quite recall how the piggybacking works. 12:55:20 moneromooo: yes. A online view-only wallet scans the blockchain for unspent output hex and 10 decoys. Then it provides them to the sdk. In the sdk are the four steps above in the image, except the offline view-only wallet does not check online that the keyImages imported from offline wallet are spent or not. It assumes the output hex are unspent and export the unsigned tx to the offline wallet. 12:58:56 Did you try to sent monero without output/key image export/import, just with the signing back and forth ? It might work, given the piggyback system. 12:59:11 In theory, it should :) 13:03:56 moneromooo: No. The whole process will be: an online view-only wallet scans the blockchain for 10 decoys. Our server remembers our utxos and provide the output hex. Then we export the params to the sdk. Inside the sdk, an offline signing wallet will sign the output hex and export them to an offline-view-only wallet. It calculates the unsigned tx with the keyImages and 10 decoys. But it assumes the keyImages are unspent and do not 13:03:57 request online to check which are spent or unspent. The rest is the same. At last the sdk export the signed tx to an online view-only wallet which broadcast it. 13:21:06 will.yijinin: We were just talking about these issues in #monero-research-lab:matrix.org . You should let us know if any of these address schemes could make your life easier as a merchant/user: 13:21:06 https://github.com/monero-project/research-lab/issues/92 13:21:06 https://gist.github.com/tevador/50160d160d24cfc6c52ae02eb3d17024 14:02:40 Rucknium: fwiw I'd love to see a view tag inplementes. So, either Plain D or Janus E. Many casual users are going to find light wallets to be the most convenient. We should add more privacy when requesting data from a server via view tag. 14:05:06 Rucknium: while privacy enthusiasts will be running their own daemon, on a privacy linux distro, using tor, and an offline wallet. Most people are going to want to download an app and have it working in less than a minute. I think that makes view tags a must.