01:56:40 Hey guys, somebody has experience debugging on CLion? 01:57:37 I'd like to debug the codebase, but there are instructions only for Code::Blocks 02:45:56 "Hey guys, somebody has experienc..." <- Like just setting breakpoints and stuff? 02:48:43 Yep, just that 02:49:18 I just want to follow the stackframe to see how everything works inside, but I have no idea about how to set it up 02:52:16 It's really easy, if you see where the line numbers are you can just click next to the line number and a little red dot will appear 02:52:35 When that line gets hit it gives you a ton of useful stuff and you can checkout which variables are doing whay 02:52:39 s/whay/what/ 02:52:55 It's very good with all the JetBrains products 02:53:21 Im not at my computer right now so unfortunately I can't take screenshots 02:54:06 Hello, if the monero blockchain ever rolls back, will the view-only wallet handles it itself? 02:54:07 * IC_XC_NIKA[m] uploaded an image: (5KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/SytEMxUJWbinBuKfWhuqaXLZ/clion-11.png > 02:54:14 Red dot is the breakpoint 02:54:41 Alright, and which configuration should I use for the debugger? 02:54:44 Or how do I trigger it? 02:57:12 I followed all the build instructions on the README, but I'm getting those errors when I click on the green bug 02:57:18 * jrandom[m] uploaded an image: (213KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/PkqKYNYNwYPqIGiSBQmQWRMP/image.png > 02:57:31 This covers basically everything https://blog.jetbrains.com/clion/2015/05/debug-clion/ 02:58:03 Hm 02:58:28 I think you need to make sure you have ninja installed and then just Google that, you might have to manually set something in the cmake file 02:58:55 I don't remember having installed ninja so maybe is that 02:58:59 Yeah 02:58:59 Thanks man, gonna give it a try 02:59:03 Are you on Linux? 02:59:12 Yep 02:59:12 Okay good lol 02:59:22 Compiling is such a pain in the ass on Windows 03:00:06 Just apt install ninja-build 03:00:10 And try it again 03:00:33 See if it's the same, I've had some issues with Ninja in the past not being configured correctly or something 03:02:35 omg seems like working, it started building something 03:02:42 Hopefully that does the trick 03:04:11 Based 03:04:30 I have to compile xmrig myself so that I can set the donation to 0 lol 03:05:45 Wtf, now the daemon is syncing up 03:05:49 * jrandom[m] uploaded an image: (220KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/QDTlVORsbHYeViqGBLZkDfLW/image.png > 03:06:38 Somehow I wasn't expecting to sync up the whole blockchain just for debugging 03:07:15 Is that really necessary? 03:08:02 Debug build still works like normal, but the binary is not optimized fully and I think it has debugging symbols or something 03:08:20 I never really mess around with debug builds personally, but I know you can expect them to function pretty much the same 03:08:27 Damn, so I guess it will be a long night 03:08:53 Yeah, you could also copy over the blockchain to where ever it's syncing that and save time maybe 03:09:38 Or maybe I could try with the pruned blockchain 03:09:55 I don't think that'll work, but it might 03:10:01 Just give it a shot 03:10:22 I will follow your word, don't want more overhead lol 03:11:31 What are you looking to accomplish with the source code? Or are you just learning for fun? 03:12:46 Yes, It's just for learning purposes. I've spent the last two months studying how transactions work 03:13:20 I have learned how all the view, spend keys and addresses/sub-addresses work 03:13:34 s/work/are formed/ 03:14:17 Nice! 03:14:19 But now I'm trying to learn the Signing stuff and I got stuck 03:15:34 I still don't understand the theory, so I have hope that the code will give me some clues 03:16:14 (The damn ring has a lot of math symbols) 03:20:18 ... 03:20:32 * jrandom[m] uploaded an image: (458KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/oiMeNtrcnhKICUUuGHpnDuYK/image.png > 03:21:54 Do you know what do I have to do in order to make the tests find the headers in the IDE? 03:23:13 The test suite worked when I ran `make release-test`, so I guess is a IDE issue. 04:09:18 reviewed 8046 06:06:57 willshu[m]: yes 06:07:33 It's very rare it catches a reorg so it might be buggy I suppose. 07:46:48 "Or maybe I could try with the..." <- Are you able to use 07:46:48 --offline (dont connect to peers) 07:46:48 --no-sync (dont sync, but connect to bootstap) 07:46:48 --test-drop-download (dont save blocks) 07:47:05 * Are you able to use one of these for your use case? 07:47:05 --offline (dont connect to peers) 07:47:05 --no-sync (dont sync, but connect to bootstap) 07:47:05 --test-drop-download (dont save blocks) 08:27:06 * willshu[m] uploaded an image: (134KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/OCfjBzizmuYwsNtjOMuoGYoF/Screen%20Shot%202022-04-13%20at%204.23.03%20PM.png > 08:27:22 Why is there a `key` called `amounts`? 08:27:29 and why is it an array? 08:32:30 You've got to be clearer. Which file/line ? 08:39:09 "You've got to be clearer..." <- line 14. Under `key` `amount`. 15:31:53 Does this disclosure impact monero in any way? https://blog.trailofbits.com/2022/04/13/part-1-coordinated-disclosure-of-vulnerabilities-affecting-girault-bulletproofs-and-plonk/ 15:44:23 The last line there is "Lastly, a huge thanks goes to Dr. Sarang Noether for helping me understand these issues more deeply." Hopefully if Sarang was involved in any way, he would have recognized any issues with Monero's Bulletproofs implementation and taken appropriate action. 15:46:52 There is a list a projects involved and Monero is not there. 15:48:19 F to consensys 15:49:12 jrg: you can see here the 'transcript' gets built from all public keys in the proof structure via calls to `transcript_update()` https://github.com/monero-project/monero/blob/f49fc9b4876382d5c6f08fd7a6125b554c49e260/src/ringct/bulletproofs_plus.cc#L840 16:03:54 Also, at the level of documentation (not code), the non-interactive Fiat-Shamir transform is explicitly given in "Zero to Monero", section 2.3.4 16:07:08 makkiato[m]: in ZtM2 I don't think I explicitly talk about including all public parameters in the FS hash 16:08:53 I briefly mention it (key prefixing) on page 31 16:54:49 Hi everybody , just to introduce myself , I’m a rookie , just author of Library cheatsheets.. I came into to signal the bulletproof problem, but I have seen @jrg was 1 hour ahead of me šŸ‘ 16:56:52 What is the bulletproof problem? 16:58:27 jrg: https://nttr.stream/benediktbuenz/status/1514270574557769730 17:01:00 IC_XC_NIKA šŸ‡·šŸ‡ŗ: this https://matrix.to/#/!LmpzSzbSMKFmPbCpHe%3Amonero.social/%24TAkF6Rf3hWvF1h8OliFXTHKH0N5W_OTAJiFK4nqKj1I 17:02:36 šŸ‘ 17:59:24 The answer is no, it doesnt affect monero 19:02:31 Specific lines that prevent this vuln apparently are here for those interested: https://github.com/monero-project/monero/blob/a39b1d56c8835798e2f5e3cc43c33b5f2d8e13da/src/ringct/bulletproofs.cc#L568-L587 19:37:37 Also FYI, this code in BP+ avoids a similar issue: https://github.com/monero-project/monero/blob/master/src/ringct/bulletproofs_plus.cc#L584 20:56:56 Meh, I'm giving up on Monero on OpenBSD 20:56:56 It's not like capitalism is the way to live, anyways. https://codeberg.org/fossy/my_writings/src/branch/main/c/capitalism.md 20:57:32 Have a nice rest of your life. Please take the red pill - it's not just you that you live for. Your actions have consequences. 21:19:27 baro77: Hi man, I love you cheat sheets, please don't call yourself a rookie 21:19:32 s/you/your/ 21:21:00 Lonely Dalek: free market >> capitalism 21:23:23 Laissez-faire 21:25:31 jrandom: too kind, thanks šŸ™ 21:49:09 Thanks for the very exhaustive answer :) 22:00:37 > <@dalek:anontier.nl> Meh, I'm giving up on Monero on OpenBSD 22:00:37 > It's not like capitalism is the way to live, anyways. https://codeberg.org/fossy/my_writings/src/branch/main/c/capitalism.md 22:00:37 Might want to rewrite your argument. Humans also depend on food. Some because of convenience (e.g. IV). You also imply without proof that capitalism equates to centralized currency (fiat) when once upon a time there was a gold standard. To claim fiat currency = capitalism is out right foolish. 22:01:09 s/out/outright/, s/right//