-
xmr-pr
sohamb03 opened issue #6792: Errors with static linking on CentOS
-
xmr-pr
-
grydz
Hi everyone, I though the bug we encounter (total_received < r.second.first. THROW EXCEPTION: error::wallet_internal_error) was due to our modification with CLSAG but after reverting our changes on the Monero app and tested using MLSAG, I have the same error!
-
grydz
It means that when using master branch and doing MLSAG like before, it doesn't work anymore.
-
grydz
Is there any changes introduced in `check_tx_proof()`?
-
grydz
Or in InProof OutProof?
-
selsta
-
selsta
maybe? no idea
-
grydz
Oh, thanks. Might be related!
-
sethsimmons
IMO it would be a nice solution to be able to flag any subaddress in your wallet as one with a higher risk of monitoring (like a subaddress used to receive from an exchange) and have the wallet mix inputs to that subaddress output by output as they come in.
-
sethsimmons
ErCiccione: selsta sech1 knaccc "IMO it would be a nice solution to be able to flag any subaddress in your wallet as one with a higher risk of monitoring (like a subaddress used to receive from an exchange) and have the wallet mix inputs to that subaddress output by output as they come in."
-
ErCiccione[m]
That would be niot great UX for the user tho
-
sethsimmons
moneromooo: this may be an interesting convo for you, chatting about ways to resolve/approach solving merge analysis
-
sethsimmons
<ErCiccione[m] "That would be niot great UX for "> It would be as simple as right clicking a subaddress and flagging it
-
sethsimmons
And then each time you create a subaddress being prompted if you'd like to flag it
-
sethsimmons
With a quick tip on why you may or may not want to
-
ErCiccione[m]
Yeah, but it's still an action more than a normal user is willing to make
-
knaccc
yeah that sounds hard for most people to grasp
-
sethsimmons
<sethsimmons "And then each time you create a "> Force a choice at creation of SAs
-
sethsimmons
Could even not worry about specifics of the attack but just ask if it's an exchange or other party you do not trust
-
sethsimmons
And link out to more detail for the curious
-
ErCiccione[m]
I think the ideal solution require small or better no input at all from the final user
-
sethsimmons
But then you run into massive chain bloat
-
sethsimmons
Because you have to do every output churning
-
sethsimmons
There's not way to know at the protocol level who things are coming from obviously
-
sethsimmons
So you would have to distrust all inputs and churn every one
-
sethsimmons
Miners would love it though :P
-
knaccc
there is a forcing factor here that does simplify things, which is that we're hitting a wall with wallet scanning duration anyway
-
knaccc
and if we take that seriously, then that changes how we see things
-
sethsimmons
supercop + the tagging idea make a big enough change there to help with this?
-
sethsimmons
(can't remember the name of the tagging that was suggested on-chain)
-
ErCiccione[m]
The tagging idea would be great UX, but sounds like a risky move that would require a lot of auditing before getting implemented
-
ErCiccione[m]
but yeah i agree with knaccc, that would make things different since chain bloat would have a totally different meaning and effect
-
sethsimmons
You still would have major issues with disk usage no matter what, as you'd necessarily be doubling (at minimum) the disk/verification of every real transaction
-
sethsimmons
*disk usage and compute
-
sethsimmons
Churning every input by default seems like way too much for the network honestly
-
sethsimmons
Yeah its fine now when we have ~10k transactions a day
-
knaccc
even if we don't recommend churn, it'll already be too much soon, from a wallet scanning time perspective
-
knaccc
if monero continues to get more popular
-
sethsimmons
Do you have a specific proposal for wallet scanning in mind?
-
sethsimmons
I honestly don't really have any issues with current scan times, but I may be in the minority here.
-
sethsimmons
My oldest wallet scans from restore height to present in ~7m
-
sethsimmons
Mobile is obviously slower but is only like 30s each time I open the app to sync up
-
sethsimmons
Not sure from restore height how long it takes but thats less likely to happen on mobile more than once
-
knaccc
"If the transaction volume were to increase 30x from here, it would take 86 hours per year of transactions scanned"
-
knaccc
that's wallet scanning time
-
knaccc
and we'll accelerate the path to getting 30x from here if we recommend churn
-
sech1
time for someone to implement GPU accelerated wallet scanning
-
sethsimmons
<sech1 "time for someone to implement GP"> This would certainly be a big boost if its viable across GPU platforms, especially mobile
-
sech1
OpenCL is cross-platform
-
knaccc
my list of current solutions to the wallet scanning time problem is: 1. GPU EC ops, 2.
monero-project/research-lab #75
-
sethsimmons
Do we have any kind of RFP/request process to put out a call for devs on a specific topic?
-
sethsimmons
Like GPU-boosted wallet scanning?
-
sech1
we have CCS
-
sethsimmons
But that only works one way -- dev says they want to do work and asks for money
-
knaccc
ooh someone has done a BSD-licensed opencl curve25519 here
github.com/PlasmaPower/nano-vanity/tree/master/src/opencl
-
sethsimmons
I am not a dev, but would campaign to fund someone for GPU-boost
-
dsc_
GPU accelerated wallet scanning? Is that possible?
-
dsc_
amaze.jpg
-
knaccc
for sure
-
sech1
GPUs can do any computations, it's possible
-
ErCiccione[m]
I've been thinking of some kind of bounty structure for stuff like this for quite some time
-
dsc_
that would be so awesome
-
ErCiccione[m]
we had a similar structure on the old forum
-
sech1
the speedup of GPU over CPU in this specific task is unknown though
-
knaccc
the idea was rejected about 3 years ago, it's already been discussed
-
knaccc
people were worried it would mean that we'd leave devices behind
-
knaccc
and also that it would be very difficult to debug and make work over dozens of devices
-
dsc_
CPU fallback
-
dsc_
^^
-
knaccc
and be a huge pain
-
dsc_
fair
-
knaccc
well CPU fallback to suddenly take 86 hours is a problem
-
sech1
yes, OpenCL is good in theory, but nightmare in practice. Sometimes it breaks even across same GPU, but different drivers.
-
knaccc
this has existed for years
-
knaccc
-
knaccc
i think they reported a 50x speedup, from memory
-
sech1
OpenCL kernels can be self-tested at startup, so it's possible to detect broken devices or drivers and fallback to CPU
-
sethsimmons
Yeah as long as there was fallback I'm not sure the issue
-
sethsimmons
Especially if the wallet would alert you to the fallback and direct you to somewhere for troubleshooting
-
knaccc
the problem is that it'd be a developement nightmare. hyc was against it, i'm not sure if that's still his position
-
knaccc
it's something that gets discussed and rejected every year or so
-
knaccc
i'm personally against it too
-
knaccc
because i don't think it's the right solution to this problem
-
sech1
this is wallet-side, right? So we can expect some 3rd-party wallets doing this in the future.
-
knaccc
i'd rather eliminate wallet scanning altogether
-
knaccc
yeah wallet-side only, although the tech could speed up nodes too
-
selsta
how?
-
knaccc
selsta how to what?
-
selsta
node syncing?
-
knaccc
node syncing uses CPU intensive EC ops to verify rings etc
-
knaccc
so we'd just GPU accelerate that
-
selsta
we didn’t implement ASM speedups there due to potential issues in the EC library, afaik same would apply for GPU acceleration
-
selsta
issue in wallet scan wouldn’t be as severe
-
knaccc
what were the potential issues?
-
selsta
Less tested overall.
-
knaccc
selsta was kind of test failure was most concerning? timing attacks, incorrect results, crash bugs...?
-
knaccc
what*
-
selsta
AFAIK incorrect results.
-
knaccc
ouch.
-
knaccc
so turns out crypto is hard, who would have thought :)
-
selsta
No, there was no incorrect result, that’s only the worry AFAIK
-
selsta
but vtnerd can explain this better
-
knaccc
i assume there are nasty edge cases that are really hard to find
-
sethsimmons
Maybe we can bubble this up to try and get some closure/feedback:
monero-project/research-lab #75
-
sethsimmons
This seems more immediately approachable than GPU-boosted scanning since that has been reviewed and dismissed already, and no technical user exists right now to drive that.
-
grydz
Thanks selsta for pointing the right commit! Just updated our application to InProofv2 and everything is working :)
-
grydz
Could we remove InProofv1 from Ledger's Monero application?
-
sarang
Would it need to verify such proofs?
-
grydz
It's at least verified in `sanity_check()`
-
grydz
The HW just generates the proof which is verified on the client side.
-
sarang
Got it
-
sarang
I suppose that was already handled by default on the Monero side automatically
-
sarang
since the proof generator was updated in-place
-
sarang
So it looks like full success now? :)
-
grydz
Just need to test a little bit more! But it should be ok and we don't need any modification on the client side :)
-
sarang
Nice! So to confirm, there will be no expected additional PRs made to the Monero codebase for Ledger support?
-
grydz
I suppose it's done!
-
grydz
We won't need another PR.
-
sarang
Great!
-
moneromooo
.merge+ 6757
-
xmr-pr
Added
-
sarang
So grydz, everything will be ready to go for Ledger users, provided they update firmware when Ledger releases it?
-
grydz
Right, we'll release Monero app version 1.7.0 which will be available for FW 1.6.1 on Nano S and FW 1.2.4-4 on Nano X.
-
sarang
Is there an estimate on the release date for that?
-
sarang
(in case people ask)
-
grydz
As soon as I'm sure Monero app 1.7.0 works fine with MLSAG and CLSAG, I'll release it.
-
grydz
Could be in a few days.
-
grydz
We'll ensure it will be released by the end of September :D
-
sarang
Oh wow! Nice
-
sarang
Yeah, AFAIK the plan is still to release the Monero binaries ~17 September, and hit the upgrade height ~17 October
-
sarang
Meaning users need to update software between those dates for uninterrupted functionality
-
grydz
Sure, I was aware of that.
-
grydz
Hope I could release it before thursday. If not, as I'll be off between 04/09 and 21/09, it will be done before the end of September.
-
sarang
moneromooo: know if a fork height has been set?
-
sarang
grydz: great!
-
sarang
Thanks for all your hard work on this; it's greatly appreciated
-
sarang
I'm very happy users will have Ledger support from day one of the upgrade
-
moneromooo
I know, and it has.
-
sarang
Excellent
-
grydz
Thanks to all of you for your help :)
-
sarang
I'll contact the Trezor team, who wanted to know when this happens
-
sarang
grydz: always happy to help
-
pyu
split
-
grydz
Using my own stagenet Monero node (v0.16.0.3), is there any reason why I always get: "Error: daemon is busy. Please try again later"?
-
selsta
Does your wallet display this?
-
grydz
Yes.
-
moneromooo
If it's not found the network yet and is not running with --offline.
-
xmr-pr
woodser opened pull request #6793: update error message to "No unlocked balance in the specified account"
-
xmr-pr