-
jberman[m]
<woodser[m]> "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:
mymonero/mymonero-core-cpp #36
-
jberman[m]
can ping me to review a fee implementation woodser
-
-
arimfexendrapus[
hey, i followed that guide and when i go to open cmake through VS it says that it was unable to fine libunbound
-
arimfexendrapus[
i looked around and i havent found anything
-
arimfexendrapus[
i dont feel like my usecase is that uncommon im just using VS 2022 and on win 10
-
wernervasquez[m]
arimfexendrapus: IMO use WSL and compile there
-
arimfexendrapus[
it has compiled
-
arimfexendrapus[
i successfully did the guide but when i open the cmake it doesnt work
-
arimfexendrapus[
this should not be this diffucult in my opinion
-
arimfexendrapus[
what ide is generally used for monero dev work?
-
endogenic
people use all sorts. maybe check out clion?
-
endogenic
*shudders at windows*
-
arimfexendrapus[
its not that bad
-
endogenic
tis just a flesh wound
-
arimfexendrapus[
most of the world uses it
-
endogenic
oh, sorry i'm not an expert
-
endogenic
are you a c++ dev?
-
arimfexendrapus[
lol
-
arimfexendrapus[
yea
-
endogenic
whoa
-
endogenic
what kind of stuff have you worked on?
-
endogenic
hm *skims scrollback*
-
arimfexendrapus[
logistics
-
endogenic
interesting
-
arimfexendrapus[
managing shipping, kinda stuff
-
endogenic
yeah
-
endogenic
ahh cool, thanks for bringing the issue here :) welcome
-
arimfexendrapus[
i really dont even know what to do about the error tho
-
endogenic
oh, well, you could trace it, branch, then submit a fix to mainline as a PR
-
endogenic
if you wanted
-
arimfexendrapus[
yea i hate to see this kind of error
-
arimfexendrapus[
cuz monero is worlds ahead of everyone else
-
endogenic
hmmm
-
arimfexendrapus[
but stupid stuff like this just makes it look bad
-
arimfexendrapus[
like address book functionality should just work
-
arimfexendrapus[
and understandable its not the main priority of the devs but perceptions matter and thats something that anyone actually using monero will quickly encounter
-
endogenic
nah it's a priority
-
arimfexendrapus[
and its not world ending but its annoying
-
endogenic
it's just that monero is made up of people just like you
-
endogenic
maybe it wasn't known about
-
arimfexendrapus[
i opened up the .h and .cpp for wallet2 and was looking at the functions and structs for address book just to see
-
arimfexendrapus[
but then i got sidetracked trying to make cmake work
-
arimfexendrapus[
and thus far no luck
-
endogenic
what's the error? libunbound not found? must check your installation of it i guess
-
arimfexendrapus[
yea but do am i supposed to install it in the msys64 environment or what
-
endogenic
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
-
endogenic
idk man it depends on how cmake is trying to find it i guess
-
arimfexendrapus[
cuz i tried just calling unbound through pacman and theres not a package for it
-
arimfexendrapus[
its a little in the weeds
-
endogenic
well, *i* dont plan to submit the proposal
-
endogenic
mostly just advising on it
-
arimfexendrapus[
ill see what i can do, i just wouldve liked to get the whole thing going instead of pieceworking it
-
endogenic
that's a good idea
-
endogenic
arent there windows setup/compile instructions?
-
arimfexendrapus[
yea
-
arimfexendrapus[
they worked
-
arimfexendrapus[
but when i go to open the cmake in vs it doesnt work
-
arimfexendrapus[
even tho the executables were made and in the right place
-
endogenic
oh
-
endogenic
have you googled for cmake finding library in vs?
-
endogenic
maybe you could PR a note to the instructions afterwards
-
arimfexendrapus[
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
-
endogenic
dont give up! :)
-
arimfexendrapus[
i do think it would be really neat to contribute to something like this
-
endogenic
well you're welcome here and the idea is that everyone's contributions will get merged
-
arimfexendrapus[
think i may have found something
-
arimfexendrapus[
-
arimfexendrapus[
well see
-
arimfexendrapus[
* we'll see
-
endogenic
says here... *reformat drive and install linux* wow
-
endogenic
teasing :)
-
arimfexendrapus[
😂
-
arimfexendrapus[
if worst comes to worst hyperv is a thing
-
arimfexendrapus[
ill just run it in a vm
-
arimfexendrapus[
what distro do you use?
-
arimfexendrapus[
um familiar with kali and ubuntu
-
endogenic
i like those
-
arimfexendrapus[
s/um/im/
-
arimfexendrapus[
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
-
arimfexendrapus[
s/tinckering/tinkering/
-
arimfexendrapus[
if that makes sense
-
endogenic
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
-
endogenic
sounds like you are comfortable using windows... but hopefully you dont get bitten by a security problem
-
arimfexendrapus[
Eventually, i will probably make the switch
-
arimfexendrapus[
i will probably switch from win 10 to ubuntu instead of win 11
-
arimfexendrapus[
but i dont think ill be switching from win 10 any time soon as they seem to plan to support is for some time
-
MagnificentMan
Greetings.
-
arimfexendrapus[
hey hey
-
MagnificentMan
Hi, you have an extraordinary name.
-
arimfexendrapus[
I generally get my first choice of username
-
arimfexendrapus[
i will say that
-
MagnificentMan
It's like that everywhere?
-
MagnificentMan
And you end it with the bracket?
-
arimfexendrapus[
hmm?
-
MagnificentMan
"arimfexendrapus["
-
arimfexendrapus[
nope no braket
-
arimfexendrapus[
does it show a braket?
-
MagnificentMan
Ah.
-
arimfexendrapus[
* nope no bracket
-
arimfexendrapus[
s/braket/bracket/
-
MagnificentMan
Yeah, but maybe it's just truncating an [m]
-
MagnificentMan
Still extraordinary.
-
arimfexendrapus[
odd
-
arimfexendrapus[
anyway
-
arimfexendrapus[
what you gere for?
-
arimfexendrapus[
* what you here for?
-
arimfexendrapus[
i only just joined meself but these guys have been very helpfull
-
MagnificentMan
Nice.
-
MagnificentMan
Basically I'm just looking into Monero gateway stuff.
-
arimfexendrapus[
go on...?
-
MagnificentMan
I'm looking into integrating it into a payment flow.
-
MagnificentMan
Do you have strong opinions about the official Python library?
-
arimfexendrapus[
Ooo
-
arimfexendrapus[
nope
-
MagnificentMan
Third-party APIs?
-
arimfexendrapus[
ive never done anything with gateways
-
arimfexendrapus[
i wont be much help
-
arimfexendrapus[
sry
-
MagnificentMan
That's okay.
-
MagnificentMan
What do you do with Monero then?
-
arimfexendrapus[
i use it, i mine it, and hopefully here soon i will be contributing in the form of fixing bugs
-
arimfexendrapus[
i would say i am an amature compared to others in this chat
-
MagnificentMan
That's cool.
-
arimfexendrapus[
you?
-
MagnificentMan
I know nothing about Monero but I like the vibe, lol.
-
arimfexendrapus[
lol
-
MagnificentMan
And banks like to give me a hard time for some reason, so here we are.
-
arimfexendrapus[
we kinda are the cool kids of crypto i think
-
MagnificentMan
I really hate banks, just on a personal level.
-
arimfexendrapus[
lol
-
MagnificentMan
Not in some theoretical sense.
-
arimfexendrapus[
well you hate the world then i guess
-
MagnificentMan
In an immediate "they keep screwing me in many minor ways" sense.
-
arimfexendrapus[
cuz banks are EVERYWERE
-
arimfexendrapus[
sadly
-
arimfexendrapus[
lol those overdraft fees kicking your ass?
-
MagnificentMan
Seriously.
-
MagnificentMan
No, it's not overdraft fees.
-
arimfexendrapus[
or u mean like seriously kicking ur ass like seisure and freezing
-
MagnificentMan
More like I try to mobile-deposit a check, it doesn't go through for BS reasons.
-
arimfexendrapus[
ah
-
MagnificentMan
I try to do an electronic transfer, it doesn't go through for BS reasons.
-
MagnificentMan
I try to open a biz account, it errors out for reasons no one can figure out.
-
MagnificentMan
Etc.
-
arimfexendrapus[
well its an antiquated system that the world uses,
-
MagnificentMan
Mostly I think it's incompetence, frankly.
-
arimfexendrapus[
but the world uses it nonetheless
-
endogenic
could i request y'all keep non-dev chat to e.g. #monero?
-
MagnificentMan
I came here for dev, bro.
-
endogenic
yeah i know
-
arimfexendrapus[
lol sry will do in the future, where do you sugest we take this
-
endogenic
#monero would be good
-
endogenic
it's just that dev matters get lost in the scrollback more easily etc
-
arimfexendrapus[
kk sry bout that
-
endogenic
no worries
-
MagnificentMan
So @endogenic, do you have any strong opinions about Monero gateways?
-
nikg83[m]
-
MagnificentMan
None of those are applicable, unfortunately.
-
endogenic
MagnificentMan: i guess you could say so
-
MagnificentMan
-
MagnificentMan
It seems a little involved, but is it just the best option in concert with Flask?
-
endogenic
sorry, i havent been working with python
-
MagnificentMan
What do you use for Monero mostly?
-
endogenic
but i should
-
endogenic
lately c++ and typescript
-
MagnificentMan
C++ for what? And Typescript with some sort of node-based compiler?
-
endogenic
c++ for my "monero-core-custom", "monero-core-cpp", and others
-
endogenic
we can transpile it to WASM and e.g. use it from the browser
-
MagnificentMan
That's very cool.
-
MagnificentMan
I've just googled and apparently you can run Swift in browsers now.
-
MagnificentMan
Wild.
-
endogenic
hm last i saw which was admittedly maybe a year ago, that was still incomplete
-
endogenic
swift is one of my favorite languages
-
MagnificentMan
Yeah.
-
MagnificentMan
It's hard to find any major downsides, really.
-
MagnificentMan
If it runs and runs well on browsers, it's game over for everybody else.
-
endogenic
well, now that it's stable, i guess
-
endogenic
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
-
endogenic
believe there is serverside swift as well
-
MagnificentMan
It probably won't take very long. It really just seems like everything is accelerating.
-
endogenic
guess we are not exactly talking about monero-dev anymore
-
MagnificentMan
Lol. True.
-
arimfexendrapus[
this happens
-
arimfexendrapus[
as i have found
-
endogenic
well i recall writing swift bindings to monero-core-cpp
-
endogenic
but i would suggest working from mainline to start with, whatever that looks like for you
-
endogenic
but it's true monero-core-cpp is really more for using monero-lws rather than the rpc api
-
MagnificentMan
Right.
-
endogenic
the goal is to converge all that stuff with wallet2
-
endogenic
or rather factor wallet2 etc
-
endogenic
which is what core-cpp already is, generally
-
MagnificentMan
monero-lws is moving away from a relational database, according to the readme.
-
endogenic
quote?
-
MagnificentMan
No offense, but that's a bad idea.
-
endogenic
it already uses lmdb ?
-
MagnificentMan
-
MagnificentMan
"LMDB instead of MySQL"
-
endogenic
it already does that
-
MagnificentMan
OK
-
MagnificentMan
My humble opinion is that almost anyone using almost anything but SQLite is barking up the wrong tree.
-
endogenic
lol
-
endogenic
-> #monero-sqlite pls
-
endogenic
just teasing
-
MagnificentMan
lol
-
endogenic
you should chat with hyc about it
-
MagnificentMan
Who is that?
-
nioc
:D
-
Elijah[m]
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.
-
endogenic
Elijah[m]: it looks like he closed his IRC client
-
arimfexendrapus[
ill send him a ss
-
MagnificentMan
returns triumphantly.
-
MagnificentMan
So what was it about the thing, Elijah?
-
Elijah[m]
Run the monero wallet rpc and simply make requests to the rpc wallet
-
MagnificentMan
Honestly, I have no idea what that means.
-
Elijah[m]
You were asking how to process payments using python no?
-
MagnificentMan
Yes, but my previous knowledge vis-à-vis crypto is nil.
-
endogenic
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
-
endogenic
or run monero-lws instead of the rpc server
-
MagnificentMan
The "blockchain/daemon" would be monerod? Where do I read about this?
-
Elijah[m]
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.
-
Elijah[m]
* wallet-rpc allows rest api calls
-
MagnificentMan
(I've skimmed the monero-python docs but they didn't apply or I didn't have the necessary contextual knowledge base.)
-
merope
-
MagnificentMan
One minute.
-
MagnificentMan
I see, so monero-python wraps monero-wallet-rpc, and monero-wallet-rpc manages a hot wallet somehow.
-
MagnificentMan
The wallet is the entirety of the state?
-
Elijah[m]
What do you mean by "the state"
-
MagnificentMan
You know, like stored information.
-
MagnificentMan
Bits, bytes, data, value.
-
endogenic
lol
-
endogenic
yes generally that's what you're looking for, from what it sounds like you want?
-
endogenic
there have got to be examples ?
-
MagnificentMan
Maybe?
-
MagnificentMan
I'm not sure. I have to sign off for tonight but I may be back sometime later.
-
WillMorrison[m]
can someone clarify exactly when tx-notify gets called? Is it only when the transaction first appears?
-
bootlegbilly[m]
Is there anywhere that zmq is documented?
-
selsta
bootlegbilly[m]: did you look in the docs folder?
-
selsta
r4v3r23[m]: fee changes have been approved
-
mj-xmr[m]
arimfexendrapus[m]: since you mentioned MSYS, here's the list of packages, that you need to install:
-
mj-xmr[m]
-
bootlegbilly[m]
<selsta> "bootlegbilly: did you look in..." <- I apologize, I thought most of the documntation was on getmonero.org
-
selsta
bootlegbilly[m]: ideally it should also be on the website, yes
-
mj-xmr[m]
the `docs` can be updated more frequently.
-
bootlegbilly[m]
So is zmq only for monerod?
-
bootlegbilly[m]
From what I can tell
-
bootlegbilly[m]
Not for the wallet rpc
-
selsta
as far as I know, yes monerod only
-
bootlegbilly[m]
Sorry for all the questions, but is there any way of mimicking some wallet rpc calls
-
bootlegbilly[m]
Like for example, instead of sending get_balance, is there any documentation on the specific commands to send to monerod?
-
selsta
get_balance is a wallet command, you would need a whole wallet implementation
-
bootlegbilly[m]
Thank you
-
bootlegbilly[m]
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
-
selsta
bootlegbilly[m]: might want to test to compile with
monero-project/monero #8076
-
bootlegbilly[m]
I'll try that now
-
bootlegbilly[m]
Is it still compatible w the latest stable monero version?
-
selsta
the patch is for the master branch but might also apply to release branch
-
selsta
otherwise you can just test the master branch
-
selsta
it's compatible with the current network
-
bootlegbilly[m]
Ty
-
xxfedexx[m]
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.
-
rbrunner
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
-
rbrunner
to see whether there is a RPC call, and if yes which one
-
moneromooo
The describe_transfer RPC does that IIRC.
-
xxfedexx[m]
rbrunner: Sadly I'm not a CPP chad :-(
-
xxfedexx[m]
moneromooo: Thanks :-)
-
r4v3r23[m]
<selsta> "r4v3r23: fee changes have been..." <- time to call another hardfork meeting then?
-
r4v3r23[m]
if everything is more or less ready then lets start to finalize dates
-
jeffro256[m]
What time would the meeting be at?
-
woodser[m]
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?
-
moneromooo
It's cleartext.
-
moneromooo
Maybe it's not set. Since most txes don't set an unlock time, it would not have been spotted easily.
-
woodser[m]
actually it does return unlock_time > 0 if the transaction is created with an unlock height > 0. my mistake
-
selsta
.merge+ 8169
-
xmr-pr
Added
-
woodser[m]
to be clear what unlock_time means, the tx will unlock at height = tx height + min(10, unlock_time)?
-
moneromooo
IIRC it's an absolute height.
-
woodser[m]
ah, right