-
Rucknium[m]
<tevador> "On a side note, the official..." <- Can't be told to RTFM if there is no manual *taps head*
-
-
-
willyijinin[m]
-
dEBRUYNE
-
willyijinin[m]
-
willyijinin[m]
-
willyijinin[m]
-
willyijinin[m]
-
willyijinin[m]
-
willyijinin[m]
-
Rucknium[m]
will.yijinin: Just so you know, most devs are on IRC rather than Matrix. This is what they are seeing:
libera.monerologs.net/monero-dev/20211213
-
willyijinin[m]
Rucknium[m]: Ok got it. I will not delete previous messages, edit them and re-post them. I feel like I have state my issue clearly.
-
willyijinin[m]
s/Ok got it. I will not delete previous messages, edit them and re-post them. I feel like I have state my issue clearly./Ok got it. I will not delete previous messages, edit them and re-post them./
-
moneromooo
exporting key images exports nothing if they were all already exported. It'll only export new ones since last export. So that's not necessary bad.
-
moneromooo
Assuming that JS code you use has the same defaults.
-
moneromooo
You may want to run the wallet with log level 2, maybe the tx isn't getting built and this should tell you why if that's the problem.
-
hyc
cute http-wallet PR tevador. will try it out
-
sethsimmons
How does monerod handle if you have a pruned node and remove the `--prune-blockchain` arg? Does it properly backfill missing blocks, or can it not handle that?
-
moneromooo
It will never unprune. If you prune it once, it'll stay pruned.
-
sethsimmons
moneromooo: Ok, even better 🙂 Thanks!
-
hyc
... now wondering whether we should have an --unprune option, for after you migrate to bigger storage
-
cokiss[m]
Hi guys, is it just me or the block number stay same this last 10 minutes (at least thats how long I notice it)
-
cokiss[m]
block 2514036 with 17 tx
-
sethsimmons
Block time variance is always a thing, just wait.
-
cokiss[m]
Now it just move to next block
-
cokiss[m]
I see
-
sethsimmons
Yeah no reason to bother devs for a 10m block 🙂
-
cokiss[m]
k
-
Rucknium[m]
coki.ss: The probability of waiting 10 minutes or longer for the next Monero block is 0.67%
-
Rucknium[m]
-
Rucknium[m]
Since on average 720 blocks are created every day, we would expect to wait more than ten minutes for about 5 blocks per day, on average.
-
Rucknium[m]
Nothing to be concerned about.
-
gingeropolous
aw they're gone. this is useful as well .
melo.tools/blocks/frequencies
-
crypto_grampy[m]
tevador: Can you give a little more info on your PR?
monero-project/monero #8110 What problem this solves / what kind of functionality could this allow for in the future?
-
hyc
it provides a ui for wallet-rpc
-
hyc
something I think it sorely needs. has needed ever since the IMO wrong decision to split wallet-rpc from wallet-cli
-
merope
Why should that be merged into the main repo though? Wouldn't it be better to have it as a separate program? The goal of wallet-rpc is to allow other programs to connect to it, not be the final UI itself
-
merope
Imo that just bloats wallet-rpc even further
-
hyc
maybe so
-
crypto_grampy[m]
So it's an http gui wallet?
-
merope
Basically yes
-
merope
If the goal is to have an rpc interface and a cli/gui interface for the same wallet, then the way to that would be integrating the rpc features in the core wallets
-
hyc
which is how the wallet code was originally written
-
merope
We already have light wallets that connect to wallet-rpc, so this is just redundant
-
hyc
just for reference, when I was running monerodirect.com my hot wallet was running all the time with rpc for the server to use it, but I still issued cmds on the cli part to check status, balances, etc.
-
hyc
had to write an entire CLI myself after the update that split those apart. set me back a few days.
-
hyc
an entire rpc-based CLI, because I needed wallet-rpc to be online all the time
-
Rucknium[m]
AFAIK wallet-rpc can only handle one open wallet at a time. Is this true? If so, is there any way to have the same functionality but run only one wallet-rpc instance? wallet-rpc can be resource-expensive to run on a VPS, so having lots of them open is not ideal.
-
tevador
Having the HTTP wallet part of monero-wallet-rpc is more secure than an external website with CORS, for one.
-
moneromooo
Yes, and yes (start with --wallet-dir, use open_wallet RPC)
-
hyc
yes, wallet-rpc was only designed to be used by one client at a time
-
crypto_grampy[m]
So if I'm running a payment gateway with some wrapper around monero-wallet-rpc, this PR gives me( the merchant ) easy internal visibility into the wallet currently in use/locked by my service?
-
tevador
It could be made to support that scenario. Currently it's more like the GUI.
-
tevador
Are there any other wallet frontends that use wallet rpc? I wasn't aware of any.
-
moneromooo
You have visibility on a running daemon using utils/python-rpc/console. I use that all the time on TF, it's super useful.
-
moneromooo
utils/python-rpc/console 18881, then, eg: wallet.get_balance()
-
moneromooo
Those are thin python layers above raw RPC.
-
moneromooo
Works for daemon and wallet.
-
hyc
ah, that didn't exist at the time I was talking about
-
hyc
just reinventing wheels. none of which would be necessary if wallet-cli and wallet-rpc were unified ...
-
hyc
but whatever, I guess what we have now is usable
-
rbrunner
I am aware that this PR of mine is not trivial to review. But anyway, if somebody wants to take the jump I am ready to explain further if needed:
monero-project/monero #8076
-
merope
-
merope
But from a cursory glance, it looks like it implements its own server stuff without using wallet-rpc
-
ga_1700[m]
what is the power of "one-off" sub-address, vs. just a sub-address, does the one-off sub address dissipate after a single TX is sent to it ?
-
ga_1700[m]
I've asked the same in #monero:monero.social , I don't mind getting the answer there.
-
ga_1700[m]
* answer there, as this isn't purely dev.
-
moneromooo
I'll review it.
-
rbrunner
Splendid, many thanks in advance
-
moneromooo
IIRC it was mostly because some people managed (for reasons unknown) to generate subaddresses with funky indices.
-
moneromooo
So in order to restore those, the "normal" way would generate every index between 0 and that random index, which is impossible due to RAM usage.
-
moneromooo
So it's just a way to generate one without having to generate all the intervening others. Subaddresses do not dissipate.
-
ga_1700[m]
so from what I gather there's no need to use a one-off address, unless <edge case>, or is it recommended in some case ?
-
moneromooo
The former.
-
moneromooo
rbrunner: I commented, I did not finish the review yet though.
-
moneromooo
I just want to ask that before continuing.
-
moneromooo
Apologies for not thinking of this before when you discussed this (assuming it's possible).
-
hyc
merope: yeah monero-lws is completely different
-
rbrunner
Ok, very interesting, I will try to wrap my head around the idea with that circular queue tomorrow or the next day, today I am not up to speed anymore
-
moneromooo
Well, the circular bit is just to avoid it growing without bound. A stack also works for understanding the idea.
-
moneromooo
Or vector/deque.
-
hyc
I'm concerned that that idea breaks when monerod is restarted
-
hyc
tho maybe it's fine, since txpool is persistent
-
moneromooo
Using time instead of a counter fixes that.
-
hyc
yes which is why I originally suggested timestamps
-
moneromooo
But has the duplicates issue (which is not a bug issue though).
-
moneromooo
big*
-
hyc
reminds me of LDAP synchronization. we use "change sequence numbers" which are timestamps + counters
-
moneromooo
And you need to restart twice fairly fast for this to break (so the counter reaches >= what theclient last saw).
-
hyc
to handle multiple events within the same time quantum
-
rbrunner
I think in any case daemon restarts are not a problem: The system is simply not ready to deliver incremental info for a few minutes, that's all
-
rbrunner
And it must be able to continue in a non-incremental way anyway
-
moneromooo
The annoying bit here being the sizing of the conter, which usually will grow to a few, but can adversarially grow pretty large.
-
moneromooo
Actually, we don't really care here, it's not like the list will get huge.
-
moneromooo
So good point, best of both worlds.4
-
moneromooo
Can also store a random cookie that gets rolled at every daemon start.
-
hyc
yeah, that'd be ok
-
moneromooo
Oh no, that'd rat on daemons doing clearnet+tor on the same process.
-
hyc
cookie could be server start time
-
moneromooo
True.
-
rbrunner
Not sure what you mean, right now the maps that contain the necessary info for incremental mode are RAM-only.
-
moneromooo
Then again, this RPC can probably fingerprint a daemon fairly well in the first place.
-
rbrunner
Not sure that the fingerprinting problem got much worse, actually
-
rbrunner
With a granularity of seconds for the queries
-
moneromooo
It's likely txes will have a timestamp that varies a few seconds over the whole set of daemons. Not alwas in the same direction.
-
rbrunner
Hmm, yes, but they do that already now, without my code additions, right?
-
moneromooo
So if you have, say, 10k tx events, with random starting point, it's likely a daemon's txpool history is unique.
-
moneromooo
Possibly :)
-
rbrunner
Maybe my code adds a way, in some circumstances, to guess how long the daemon is running already
-
rbrunner
as a possible additional info point
-
hyc
is uptime privileged info?
-
rbrunner
don't know offhand, is there a way to query that over RPC?
-
moneromooo
Yes, start time is restricted.
-
hyc
I suppose it would let you rule out how new a version is running, but you can already tell from rpc version
-
moneromooo
And receive time for txes is passed even for restricted, so fingerprintability is already there.
-
rbrunner
start_time in COMMAND_RPC_GET_INFO
-
crypto_grampy[m]
<tevador> "Are there any other wallet..." <-
github.com/woodser/monerowebwallet.com
-
woodser[m]
that will use the fully client side wallet by default, and optionally switch to wallet rpc
-
tevador
cool, although what I had in mind was a lightweight UI frontend for wallet RPC
-
moneromooo
I think the first wallet was like that. By... jojatekok IIRC. Might have the nick wrong.
-
moneromooo
First GUI wallet of course :D
-
tevador
the GUI has become too sluggish for me
-
merope
Fwiw I like the idea of a ui for wallet-rpc - I just don't think it should be part of the code of wallet-rpc itself, but a standalone application
-
plowsof[m]
<tevador> "cool, although what I had in..." <- you accomplished your goal and we are all proud of you 🫂
-
chaser[m]
what will go into the next Monero fork, other than rs=16?
-
escapethe3ra[m]
-
chaser[m]
escapethe3ra[m]: tyvm!
-
dEBRUYNE
woodser[m]: Will there be a (beta) release of that project soon?