-
Mr_Doge
!balance
-
Mr_Doge
balance
-
Mr_Doge
balance!
-
Mr_Doge
god dammit how you used to do it?
-
jwinterm
Mr_Doge, it ded
-
Mr_Doge
wtf
-
Mr_Doge
why
-
Mr_Doge
a lot has changed since 2017
-
Mr_Doge
jwinterm,
-
niocbrrrrrr
Mr_Doge: balances are safe and will be available someday
-
jwinterm
Mr_Doge, I dunno
-
jwinterm
tippero is ded tho
-
jwinterm
press F to pay respects
-
Quotes
F
-
niocbrrrrrr
tippero did not keep up with the protocol changes
-
niocbrrrrrr
.seen tippero
-
lza_menace
-
kayabaNerve
lza_menace: Considering that generate_from_keys does automatically save the wallet, my guess is for hot/cold wallet management.
-
kayabaNerve
The wallet saves data on the chain state, and cold wallets take in a variety of information about transaction outputs. My guess is one of those doesn't automatically save, instead only operating in memory.
-
kayabaNerve
That said, I will say I'm not sure.
-
lza_menace
thanks
-
lza_menace
is there a "right" way to scale wallets for many users for a web app? subaddress per user? access per user? payment id per user?
-
lza_menace
s/access/account/
-
louipc
each have his own encrypted wallet that is decrypted client side
-
louipc
so server never gets direct access
-
lza_menace
not necessarily for a web wallet
-
louipc
but i guess person with server access could always just change the client code and log passphrases anyway lol
-
louipc
yes for web wallet.
-
louipc
the server can store the encrypted wallet but wouldnt have passphrase
-
lza_menace
that's not my questino though
-
kayabaNerve
lza_menace: Subaddress per user if you're being a custodian (payment processing/exchange)
-
lza_menace
i don't seem to be having good success doing subaddress based
-
lza_menace
apps that have been account per register/user ahve worked flawlessly
-
lza_menace
now im trying subaddress based but it's buggy/weird
-
kayabaNerve
Standard addresses require scanning for unique key pairs. Payment IDs are dated and no longer recommended (wallet software also won't generate them unless explicitly told to). Subaddresses allow rewriting the check to see if a transaction's output key 'belongs' to you by rewriting it to P - X and then doing a hash table lookup
-
kayabaNerve
Poor explanation, sorry. My comment is they're unique per user, identifiable, and extremely quick.
-
kayabaNerve
What's the problem?
-
kayabaNerve
You likely want to write your own indexing code. Subaddress indexes of x/y, where you should skip x == 0. You can do x per user and y per requested addresses.
-
kayabaNerve
But without knowing more about your use case/problems, I'll really just throwing out words and random specs :P
-
lza_menace
im testing a new web app using subaddress per user registration - I'm using a single wallet-rpc process and using "create_address" on registration and storing the subaddress index in the DB alongside user details
-
lza_menace
from an external wallet/account I'm sending funds to test to subaddresses A and B
-
kayabaNerve
Sounds correct so far
-
lza_menace
balances and transfers all seem to work fine. the RPC has good mechanisms to ensure my balance check and transfer use only the right subaddress index - seems good so far
-
kayabaNerve
(as long as you have each user under an account; you don't have to, but I'd recommend it. 0/0 doesn't return a subaddress. It's an exempted index)
-
lza_menace
but the issue is that eventually the funds "go missing" from a subaddress
-
kayabaNerve
As in, they're no longer reported when you call get_transfers?
-
lza_menace
they're still in the wallet, but in the primary account
-
kayabaNerve
My guess is that's change
-
kayabaNerve
Wait, nope
-
kayabaNerve
You didn't spend the incoming deposits, right?
-
kayabaNerve
And incoming_transfers or get_transfers?
-
lza_menace
also, there have been a couple 0 balance transfers
-
lza_menace
get_transfers
-
kayabaNerve
If you use curl, does incoming_transfers (which requires specifying the index) report it correctly?
-
kayabaNerve
Just trying to debug that aspect
-
lza_menace
is it possible to corrupt things by opening "wallet-cli" in conjunction with "wallet-rpc"?
-
lza_menace
RPC is running and I'm poking around in CLI (read only though)
-
kayabaNerve
My other Q is when you use get_transfers, you say it's in the primary. If you're checking by .address, what's the .subaddr_index report?
-
kayabaNerve
I don't think it would, but it does sound questionable.
-
lza_menace
you know what...
-
lza_menace
if a subaddress sends funds to another subaddress of the same account it seems to not "report" things accurately
-
lza_menace
subaddress A sent funds to subaddress B
-
lza_menace
I see it in the "out" list of get_transfers
-
lza_menace
but I don't see it in the "in" list
-
lza_menace
it's also reported as "amount": 0
-
lza_menace
in the out list
-
lza_menace
hmm
-
lza_menace
maybe I have a wire crossed somwhere
-
lza_menace
will check later - thanks a ton kayabaNerve
-
kayabaNerve
Good luck lza_menace. Sorry I couldn't help more.
-
alexanarcho[m]
damn, the monero space video with sarang is NICE - check it out
youtube.com/watch?v=w5rtd3md11g
-
alexanarcho[m]
i wonder, if i have 3 tainted outputs (outputs i know would be considered illegal in a jurisdiction) could one not simply churn them, i.e. do one merge of all these outputs, send them around a bunch afterwards (only as a single output) and increase privacy that way?
-
charolastra
can't watch at work but what's with the 'monero tracing tool'?
-
charolastra
tumbling monero when?
-
alexanarcho[m]
he doesnt give a whole lot of details, which makes it hard to assess. also, i am not the expert on this.
-
azy
"Block notifications are good for immediate reaction. However, you should always assume you will miss some block notifications and you should independently poll the API to cover this up."
-
azy
why should i assume i'll miss some block notifications? (--block-notify)
-
azy
and does this mean we also cannot rely upon the rpc's --tx-notify?
-
Nebraskka
azy, i guess it means that receiving software (which would react to those events) could be unavailable at some particular point (e.g.: stopped, crashed), so to cover all uncatched blocks in-between it's advicable to fetch those using API
-
bigslim[m]
-
bigslim[m]
And so it begins
-
dsc_
haha
-
dsc_
bigslim[m]: probably best to link a reputable website :)
-
bigslim[m]
Russian site?
-
dsc_
-
dsc_
#monero-community
-
knaccc
Coding problem: let's say there are 3 outputs: A,B,C. You look at a transaction to determine whether each of outputs A,B,C appear in 3 distinct rings in a tx. Therefore if a tx has 3 input rings, and if we locate matches in each of the rings as [A][B][C], the result is TRUE (i.e. A was found in the first ring, B was found in the second ring, and C was found in the third ring). But if the matches located in
-
knaccc
the rings are [A,B][C][A,C], the result is FALSE, because it's not possible that all of A,B,C could have been spent together in that tx. What's an efficient algorithm to determine if each of A,B,C appear in different rings in a tx?
-
knaccc
therefore the goal is to get true/false depending on whether all outputs could have been spent together in a particular tx
-
artefact
are outputs appearing multiple times in ring members in a same transaction really that common?
-
knaccc
artefact it's not common, but i'm looking to ensure the code is right in the rare cases
-
knaccc
so if i'm looking to work out if three outputs are ever spent together, i don't want to get a false result because one ring contains two of them and the other ring contains the third
-
moneromooo
artefact has a good point. It means you can, eg: c=0; for r in rings: for o in r: if o in [A, B, C] ++c; if c<3 return false;
-
moneromooo
Then brute force shit algorithm for the rest, which will be run very seldom so you don't care how slow it is.
-
knaccc
moneromooo fair enough, i can brute force the rest. i'm wondering what the best way to brute force is in that case
-
knaccc
i could somehow generate all permutations of the matches and then check for A in the first, B in the second, and C in the third
-
knaccc
i guess that is easiest. seems like i'm missing a trick though.
-
moneromooo
I *think* it means the number of rings with at least one member of ABC is >= 3, and all members of ABC are seen.
-
moneromooo
Nope, I got a counter example :/
-
knaccc
haha
-
knaccc
it's the kind of problem that seems like it should be really simple, yet isn't
-
Thominus
I am syncing a pruned chain for the first time, at the 77% mark regular syncing messages stopped and now getting just "get_pruned_transaction_weight does not support older range proof types" ...is that normal?
-
dEBRUYNE
Thominus: Are you sure the sync actually stopped?
-
dEBRUYNE
You can check with the status command
-
selsta
Thominus: which version are you using?
-
moneromooo
It's fixed in recent code.
-
yanmaani
how come monero has so large binary size?
-
yanmaani
like few hundred megs
-
moneromooo
Debug symbols ?
-
moneromooo
Shitloads of C++ gunk :)
-
selsta
yanmaani: cli + daemon is ~50MB, that’s what most people need
-
yanmaani
So if you compile with -Os and strip heavily, it's smaller?
-
Thominus
dEBRUYNE: not sure it just stopped showing progress on the "Synced" message, cpu useage dropped to nothing, data rate on my net meter also dropped , its repeating the get_pruned_transaction_weight error message only - maybe its just stopped
-
Thominus
^^ maybe it just stopped to prune the unused portion and its going through the records getting that?
-
dEBRUYNE
Can you type status?
-
dEBRUYNE
That should give an overview
-
moneromooo
My monerod is 15 MB. You might have built static too.
-
dEBRUYNE
Then wait a few minutes, type status again
-
dEBRUYNE
Then you can see whether it is stuck
-
Thominus
dEBRUYNE: Status: Height: 1685555/2177393 (77.4%) on mainnet, not mining, net hash 513.30 MH/s, v8, 8(out)+0(in) connections, uptime 0d 2h 59m 35s
-
selsta
which version are you using? :) it’s fixed in current master
-
selsta
but not sure when it got broken
-
Thominus
monero-x86_64-linux-gnu-v0.16.0.3
-
selsta
which flags are you using?
-
selsta
how did you start the daemon?
-
Thominus
started it from the shell (bash) like ./monerod --config-file=myconfigfile, the config file has paths for data-dir, log-dir, and prune-blockchain sync-pruned-blocks=1 (I thought it might be faster) and fast-block-sinc=1 (which I found out is the default anyway)
-
selsta
AFAIK sync-pruned-blocks is currently broken and only fixed in next release (or you compile the newest version yourself)
-
selsta
but moneromooo might know
-
Thominus
In that case I can just compile from github if needed - but will my sync fail? - would be nice if I didn't have to redo it.
-
selsta
-
selsta
this is the PR
-
moneromooo
By "currently broken" you actually mean that, or you mean "it was broken until a week ago or so" ?
-
selsta
yes
-
moneromooo
Ah. My mistake.
-
selsta
current as in latest release
-
moneromooo
Which of these do you mean ?
-
moneromooo
OK.
-
yanmaani
does monero in remote node mode support blockchain reorgs?
-
selsta
Thominus: you can remove sync-pruned-blocks or compile from Github, note that current git master wallets are not compatible with v0.16.0.3, so if you downgrade you have to rebuild your wallet cache
-
selsta
I would recommend to remove sync-pruned-blocks
-
selsta
git master does not have updated checkpoints so sync will take ages.
-
Thominus
thanks for the info selsta , so just to confirm before I interrupt it - is this sync toast?
-
selsta
I don’t think so.
-
selsta
You can test it by removing the option, if it continues to sync it should be fine.
-
Thominus
I'll give that a shot then
-
moneromooo
It's not toast (or at least this partiular problem does not make it toast).
-
Thominus
cool! - disabled sync-pruned-blocks and looks like its now resumed syncing normally - thanks very much!