00:41:23 "how can a transaction be..." <- you also want to make sure to be careful that your resulting tx fee is equal to calculate_fee on the tx. want to e.g. avoid this issue: https://github.com/mymonero/mymonero-core-cpp/pull/36 00:42:35 can ping me to review a fee implementation woodser 01:29:13 * arimfexendrapus[ uploaded an image: (9KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/IJCQadMNwdKIqEqxaeuMNlNa/image.png > 01:29:15 hey, i followed that guide and when i go to open cmake through VS it says that it was unable to fine libunbound 01:29:48 i looked around and i havent found anything 01:30:27 i dont feel like my usecase is that uncommon im just using VS 2022 and on win 10 01:33:53 arimfexendrapus: IMO use WSL and compile there 01:36:11 it has compiled 01:36:34 i successfully did the guide but when i open the cmake it doesnt work 01:39:18 this should not be this diffucult in my opinion 01:39:56 what ide is generally used for monero dev work? 02:02:17 people use all sorts. maybe check out clion? 02:02:43 *shudders at windows* 02:02:55 its not that bad 02:03:02 tis just a flesh wound 02:03:03 most of the world uses it 02:03:35 oh, sorry i'm not an expert 02:03:39 are you a c++ dev? 02:03:43 lol 02:03:46 yea 02:04:03 whoa 02:04:12 what kind of stuff have you worked on? 02:05:06 hm *skims scrollback* 02:05:12 logistics 02:05:44 interesting 02:05:45 managing shipping, kinda stuff 02:05:50 yeah 02:06:43 ahh cool, thanks for bringing the issue here :) welcome 02:06:43 i really dont even know what to do about the error tho 02:07:03 oh, well, you could trace it, branch, then submit a fix to mainline as a PR 02:07:06 if you wanted 02:07:13 yea i hate to see this kind of error 02:07:25 cuz monero is worlds ahead of everyone else 02:07:34 hmmm 02:07:34 but stupid stuff like this just makes it look bad 02:08:00 like address book functionality should just work 02:08:36 and understandable its not the main priority of the devs but perceptions matter and thats something that anyone actually using monero will quickly encounter 02:08:45 nah it's a priority 02:08:48 and its not world ending but its annoying 02:08:53 it's just that monero is made up of people just like you 02:08:57 maybe it wasn't known about 02:10:01 i opened up the .h and .cpp for wallet2 and was looking at the functions and structs for address book just to see 02:10:12 but then i got sidetracked trying to make cmake work 02:10:19 and thus far no luck 02:10:31 what's the error? libunbound not found? must check your installation of it i guess 02:11:29 yea but do am i supposed to install it in the msys64 environment or what 02:11:55 in any case if you want to factor the address book and hook the tests up to it then i'm sure you could make a build target for the addr book which does not require libunbound, this is the sort of thing i've been doing and will be submitting a proposal for more extensive work like this on wallet2 shortly.. most of that work has already been done years ago in the form if basic pure function factorizations 02:12:02 idk man it depends on how cmake is trying to find it i guess 02:12:08 cuz i tried just calling unbound through pacman and theres not a package for it 02:12:09 its a little in the weeds 02:12:45 well, *i* dont plan to submit the proposal 02:12:59 mostly just advising on it 02:13:30 ill see what i can do, i just wouldve liked to get the whole thing going instead of pieceworking it 02:13:36 that's a good idea 02:14:27 arent there windows setup/compile instructions? 02:14:36 yea 02:14:38 they worked 02:14:53 but when i go to open the cmake in vs it doesnt work 02:15:03 even tho the executables were made and in the right place 02:15:04 oh 02:15:45 have you googled for cmake finding library in vs? 02:15:56 maybe you could PR a note to the instructions afterwards 02:17:05 yea ive just been doing this on the side today, ive been kinda busy with other things, and its turning out to be a whole process instead of me just opening up the solution and starting to actually fix the problem 02:17:36 dont give up! :) 02:18:23 i do think it would be really neat to contribute to something like this 02:18:43 well you're welcome here and the idea is that everyone's contributions will get merged 02:19:50 think i may have found something 02:19:54 https://gist.github.com/nebulak/f2d071ac21217d8b8ae9766ef5333dbe#:~:text=Build%20and%20install%20LibUnbound%20Copy%20the%20mingw-w64-unbound%20directory,cd%20mingw-w64-unbound%2F%20MINGW_INSTALLS%3Dmingw64%20makepkg-mingw%20-sLf%20pacman%20-U%20mingw-w64-x86_64-unbound-1.5.10-1-any.pkg.tar.xz 02:20:02 well see 02:20:13 * we'll see 02:20:17 says here... *reformat drive and install linux* wow 02:20:28 teasing :) 02:20:40 😂 02:20:56 if worst comes to worst hyperv is a thing 02:20:59 ill just run it in a vm 02:21:14 what distro do you use? 02:21:25 um familiar with kali and ubuntu 02:21:32 i like those 02:21:32 s/um/im/ 02:26:28 i just cant deal with the tinckering that comes with linux, i enjoy it but when i need to do work i cant be dealing with my os 02:26:38 s/tinckering/tinkering/ 02:26:48 if that makes sense 02:30:10 that's understandable but i think the idea is that eventually you figure stuff out, and typically it ends up stable on the hardware of choice, .. and what's nice is that you can come back to the system year after year and the same thing will generally be stable 02:31:04 sounds like you are comfortable using windows... but hopefully you dont get bitten by a security problem 02:32:00 Eventually, i will probably make the switch 02:32:23 i will probably switch from win 10 to ubuntu instead of win 11 02:32:55 but i dont think ill be switching from win 10 any time soon as they seem to plan to support is for some time 02:35:02 Greetings. 02:35:11 hey hey 02:35:29 Hi, you have an extraordinary name. 02:35:56 I generally get my first choice of username 02:36:09 i will say that 02:36:17 It's like that everywhere? 02:36:30 And you end it with the bracket? 02:36:50 hmm? 02:37:03 "arimfexendrapus[" 02:37:23 nope no braket 02:37:34 does it show a braket? 02:37:38 Ah. 02:37:45 * nope no bracket 02:37:50 s/braket/bracket/ 02:37:51 Yeah, but maybe it's just truncating an [m] 02:38:01 Still extraordinary. 02:38:18 odd 02:38:20 anyway 02:38:27 what you gere for? 02:38:36 * what you here for? 02:38:53 i only just joined meself but these guys have been very helpfull 02:39:07 Nice. 02:39:26 Basically I'm just looking into Monero gateway stuff. 02:39:48 go on...? 02:40:13 I'm looking into integrating it into a payment flow. 02:40:28 Do you have strong opinions about the official Python library? 02:40:34 Ooo 02:40:36 nope 02:40:47 Third-party APIs? 02:41:14 ive never done anything with gateways 02:41:20 i wont be much help 02:41:23 sry 02:41:28 That's okay. 02:41:31 What do you do with Monero then? 02:42:11 i use it, i mine it, and hopefully here soon i will be contributing in the form of fixing bugs 02:42:29 i would say i am an amature compared to others in this chat 02:43:00 That's cool. 02:43:10 you? 02:43:28 I know nothing about Monero but I like the vibe, lol. 02:43:37 lol 02:43:45 And banks like to give me a hard time for some reason, so here we are. 02:43:57 we kinda are the cool kids of crypto i think 02:44:01 I really hate banks, just on a personal level. 02:44:03 lol 02:44:09 Not in some theoretical sense. 02:44:23 well you hate the world then i guess 02:44:32 In an immediate "they keep screwing me in many minor ways" sense. 02:44:32 cuz banks are EVERYWERE 02:44:34 sadly 02:44:51 lol those overdraft fees kicking your ass? 02:44:52 Seriously. 02:45:01 No, it's not overdraft fees. 02:45:06 or u mean like seriously kicking ur ass like seisure and freezing 02:45:24 More like I try to mobile-deposit a check, it doesn't go through for BS reasons. 02:45:33 ah 02:45:35 I try to do an electronic transfer, it doesn't go through for BS reasons. 02:45:56 I try to open a biz account, it errors out for reasons no one can figure out. 02:45:58 Etc. 02:46:08 well its an antiquated system that the world uses, 02:46:08 Mostly I think it's incompetence, frankly. 02:46:17 but the world uses it nonetheless 02:46:17 could i request y'all keep non-dev chat to e.g. #monero? 02:46:41 I came here for dev, bro. 02:46:48 yeah i know 02:46:48 lol sry will do in the future, where do you sugest we take this 02:47:00 #monero would be good 02:47:13 it's just that dev matters get lost in the scrollback more easily etc 02:47:19 kk sry bout that 02:47:27 no worries 02:47:49 So @endogenic, do you have any strong opinions about Monero gateways? 02:49:53 MagnificentMan: https://github.com/monero-integrations 02:50:59 None of those are applicable, unfortunately. 02:51:22 MagnificentMan: i guess you could say so 02:51:49 I looked at the monero-python library (https://github.com/monero-ecosystem/monero-python) 02:52:54 It seems a little involved, but is it just the best option in concert with Flask? 02:54:02 sorry, i havent been working with python 02:54:29 What do you use for Monero mostly? 02:54:30 but i should 02:54:41 lately c++ and typescript 02:56:36 C++ for what? And Typescript with some sort of node-based compiler? 02:56:52 c++ for my "monero-core-custom", "monero-core-cpp", and others 02:57:21 we can transpile it to WASM and e.g. use it from the browser 02:57:56 That's very cool. 02:58:33 I've just googled and apparently you can run Swift in browsers now. 02:58:34 Wild. 02:58:50 hm last i saw which was admittedly maybe a year ago, that was still incomplete 02:58:58 swift is one of my favorite languages 03:00:36 Yeah. 03:01:01 It's hard to find any major downsides, really. 03:01:23 If it runs and runs well on browsers, it's game over for everybody else. 03:01:24 well, now that it's stable, i guess 03:01:54 well keep in mind just because it can be transpiled to wasm doesn't mean that you're suddenly going to see react.js and the dom ported to it but i think that's probably coming eventually 03:02:25 believe there is serverside swift as well 03:02:36 It probably won't take very long. It really just seems like everything is accelerating. 03:02:37 guess we are not exactly talking about monero-dev anymore 03:02:49 Lol. True. 03:02:56 this happens 03:03:02 as i have found 03:04:45 well i recall writing swift bindings to monero-core-cpp 03:05:16 but i would suggest working from mainline to start with, whatever that looks like for you 03:05:33 but it's true monero-core-cpp is really more for using monero-lws rather than the rpc api 03:05:40 Right. 03:05:42 the goal is to converge all that stuff with wallet2 03:05:51 or rather factor wallet2 etc 03:06:00 which is what core-cpp already is, generally 03:06:49 monero-lws is moving away from a relational database, according to the readme. 03:07:05 quote? 03:07:10 No offense, but that's a bad idea. 03:07:13 it already uses lmdb ? 03:07:19 https://github.com/vtnerd/monero-lws 03:07:27 "LMDB instead of MySQL" 03:07:32 it already does that 03:10:23 OK 03:11:41 My humble opinion is that almost anyone using almost anything but SQLite is barking up the wrong tree. 03:11:48 lol 03:11:58 -> #monero-sqlite pls 03:12:08 just teasing 03:12:09 lol 03:12:13 you should chat with hyc about it 03:15:40 Who is that? 03:22:25 :D 03:31:38 MagnificentMan: you can use Python to make requests to the monero wallet rpc. That's what I do. I don't recommend the python monero library since it's redundant and requires dependencies and still requires the rpc to be running. 03:32:32 Elijah[m]: it looks like he closed his IRC client 03:33:01 ill send him a ss 03:35:06 returns triumphantly. 03:36:13 So what was it about the thing, Elijah? 03:37:41 Run the monero wallet rpc and simply make requests to the rpc wallet 03:39:06 Honestly, I have no idea what that means. 03:39:21 You were asking how to process payments using python no? 03:39:46 Yes, but my previous knowledge vis-à-vis crypto is nil. 03:40:30 in monero you need three things, one is the blockchain/daemon and the other is a scanner that would take the view key, in this case the rpc server .. then you have a client side that forms transactions and submits them to the rpc server 03:41:01 or run monero-lws instead of the rpc server 03:41:32 The "blockchain/daemon" would be monerod? Where do I read about this? 03:41:50 Ah okay, well basically the wallet-rpc allows api calls for external programs to interact with your wallet. You can use it to create addresses and check for transactions to these addresses. 03:42:08 * wallet-rpc allows rest api calls 03:42:23 (I've skimmed the monero-python docs but they didn't apply or I didn't have the necessary contextual knowledge base.) 03:42:34 MagnificentMan: https://monerodocs.org/interacting/monero-wallet-rpc-reference/ 03:44:14 One minute. 03:47:33 I see, so monero-python wraps monero-wallet-rpc, and monero-wallet-rpc manages a hot wallet somehow. 03:48:21 The wallet is the entirety of the state? 03:58:12 What do you mean by "the state" 04:03:35 You know, like stored information. 04:03:44 Bits, bytes, data, value. 04:10:43 lol 04:11:00 yes generally that's what you're looking for, from what it sounds like you want? 04:11:12 there have got to be examples ? 04:57:33 Maybe? 04:58:26 I'm not sure. I have to sign off for tonight but I may be back sometime later. 06:04:40 can someone clarify exactly when tx-notify gets called? Is it only when the transaction first appears? 06:08:44 Is there anywhere that zmq is documented? 06:53:58 bootlegbilly[m]: did you look in the docs folder? 06:54:33 r4v3r23[m]: fee changes have been approved 12:12:53 arimfexendrapus[m]: since you mentioned MSYS, here's the list of packages, that you need to install: 12:12:53 https://github.com/monero-project/monero/blob/master/.github/workflows/build.yml#L60 15:29:38 "bootlegbilly: did you look in..." <- I apologize, I thought most of the documntation was on getmonero.org 16:30:32 bootlegbilly[m]: ideally it should also be on the website, yes 16:30:49 the `docs` can be updated more frequently. 16:31:24 So is zmq only for monerod? 16:31:26 From what I can tell 16:31:32 Not for the wallet rpc 16:33:05 as far as I know, yes monerod only 16:40:42 Sorry for all the questions, but is there any way of mimicking some wallet rpc calls 16:40:53 Like for example, instead of sending get_balance, is there any documentation on the specific commands to send to monerod? 16:41:23 get_balance is a wallet command, you would need a whole wallet implementation 16:42:05 Thank you 16:42:26 Sorry I've just been trying to figure out how to avoid making as many rpc calls to the wallet as possible, since it's currently one of my bottlenecks 16:44:33 bootlegbilly[m]: might want to test to compile with https://github.com/monero-project/monero/pull/8076 16:45:19 I'll try that now 16:45:21 Is it still compatible w the latest stable monero version? 16:45:45 the patch is for the master branch but might also apply to release branch 16:45:59 otherwise you can just test the master branch 16:46:12 it's compatible with the current network 16:47:56 Ty 16:54:22 Hey there, I was playing with Monero Wallet RPC and multisig, but how can I view the data of a transaction multisig txset, before signing it? For example seeing the amount of the transaction and recipient. 16:55:58 Don't remember exactly, but in such cases I always study the `simplewallet.cpp` code first to see how it's done, and then check whether the crucial methods are called in the RPC daemon 16:56:52 to see whether there is a RPC call, and if yes which one 16:56:55 The describe_transfer RPC does that IIRC. 16:59:40 rbrunner: Sadly I'm not a CPP chad :-( 16:59:45 moneromooo: Thanks :-) 17:36:30 "r4v3r23: fee changes have been..." <- time to call another hardfork meeting then? 17:37:49 if everything is more or less ready then lets start to finalize dates 17:50:10 What time would the meeting be at? 21:16:31 I'm seeing monerod get_transactions always return unlock_time=0, even after the transaction confirms and unlocks. is the unlock height available using the daemon or are wallet keys also needed? 21:20:35 It's cleartext. 21:21:05 Maybe it's not set. Since most txes don't set an unlock time, it would not have been spotted easily. 21:37:20 actually it does return unlock_time > 0 if the transaction is created with an unlock height > 0. my mistake 21:40:59 .merge+ 8169 21:40:59 Added 21:44:06 to be clear what unlock_time means, the tx will unlock at height = tx height + min(10, unlock_time)? 22:06:46 IIRC it's an absolute height. 22:15:51 ah, right