-
marmulak[m]
doktoroesperanto: saluton, I can help
-
marmulak[m]
you can at least do the course on duolingo.com that should be enough to get you started
-
marmulak[m]
also since you are on freenode there is the freenode channel
-
rah
moneromooo: this is Debian Stretch with boost 1.62
-
rah
there's no mismatched boost libraries, they're all 1.62
-
moneromooo
Are you able to buil with -fsanitize=adress (done by the fuzz target) ?
-
moneromooo
Are you able to buil with -fsanitize=address (done by the fuzz target) ?
-
rah
I'll try
-
moneromooo
And when you do can you please also paste the output of the cmake part of the build (at the start) ? From the beginning to "Configuring done".
-
rah
moneromooo: here's the cmake output:
paste.debian.net/hidden/7a4f17bb
-
moneromooo
Thanks, nothing wrong so far.
-
d4ndo[m]
I was discussing with someone the other day who said: "With Monero there is a danger of hidden inflation through faulty source code, because you can't check the blockchain".
-
d4ndo[m]
I argued that the source code responsible for the double spend is very small and that the risk is manageable.Bitcoin also has risks from lack of fungibility etc. (risk management). Does anyone have any argument against that?
-
moneromooo
It's fairly small, though it's not the only way to have hidden inflation (broken range proofs would also be a way).
-
moneromooo
Lack of fungibility doesn't impact hidden inflation fwiw.
-
moneromooo
Bitcoin did have an inflation bug IIRC. Monero too (it didn't get exploited, though the Bitcoin one did get exploited AFAIK).
-
rah
/usr/bin/ld: ../../contrib/epee/src/libepee.a(net_helper.cpp.o): TLS transition from R_X86_64_TLSGD to R_X86_64_GOTTPOFF against `_ZN5boost4asio6detail15keyword_tss_ptrINS1_10call_stackINS1_15task_io_serviceENS1_27task_io_service_thread_infoEE7contextEE6value_E' at 0x176f in section
-
rah
`.text._ZN5boost4asio6detail15task_io_service3runERNS_6system10error_codeE[_ZN5boost4asio6detail15task_io_service3runERNS_6system10error_codeE]' failed
-
rah
/usr/bin/ld: final link failed: Nonrepresentable section on output
-
d4ndo[m]
But you could fix the bug in Bitcoin because you see the infaltion.
-
rah
hmm
-
» rah tries a "make clean"
-
moneromooo
That's no fun. Might need CLANG, IIRC some versions of GCC cause similar issues.
-
d4ndo[m]
What do you mean by »broken range proof«? The theoretical concept, or the implementation?
-
moneromooo
Both would qualify.
-
d4ndo[m]
But the source code can be narrowed down, which is responsible, isn't it?
-
d4ndo[m]
Shit.
-
d4ndo[m]
Sorry - i need to reboot my PC. Fixing some stuff at the moment.
-
rah
moneromooo: I have clang installed
-
rbrunner
Unfortunately it seems the IRC-to-Mattermost bridge held only a few days this time. pigeons, can I bother you already again? If there is anything I could help here (other than write such notices) please do tell.
-
marmulak[m]
well the matrix bridge is doing good
-
marmulak[m]
room needs upgrading though, been waiting a year for that
-
mmxxx[m]
:)
-
dixie__flatline[
happy that I can reach the irc chats through matrix
-
ndorf
is there an easy way to crosscompile monero for a different architecture using just the cmake stuff, not gitian?
-
kim0
Howdy folks .. I'm trying to setup a hot (view-only) wallet + cold wallet (for spending)
-
kim0
Can the cold wallet compute the correct balance on its own, without revealing key-images to the hot wallet ?
-
ndorf
it's the other way around, the hot wallet's spent key images must be revealed to the cold wallet.
-
ndorf
otherwise the cold wallet's balance will be the sum of all received transactions, not counting any spent ones.
-
kim0
mm .. I don't care about the hot wallet knowing the correct balance
-
ndorf
err, sorry. i got that backwards, ig nore the first half
-
moneromooo
Yes (in theory).
-
kim0
so I basically .. exported outputs from the hot wallet .. imported into cold wallet
-
ndorf
if you don't care about the correct balance in the view-only wallet, you don't need to do anything
-
kim0
now both wallets show wrong (larger) balance
-
kim0
The spend wallet also shows larger balance
-
ndorf
are both wallets up to date with respect to the blockchain?
-
kim0
The spend wallet has never been online
-
kim0
so can the spend wallet compute the correct balance without help from the hot wallet ?
-
kim0
I want to keep the spend wallet offline all the time
-
kim0
only communicating with the hot wallet if some info is needed
-
moneromooo
kim0: Yes (in theory).
-
kim0
so why only in theory :)
-
ndorf
kim0: did you look at `show_transfers` and see what kind of transactions are missing/incorrect? incoming or outgoing?
-
moneromooo
Presumably because there is a bug.
-
kim0
One output that was spent .. is not marked as spent
-
ndorf
i suspect you didn't export & import the spent key image properly? either that or there is a bug like mooo says
-
kim0
This wallet received 10 .. spent 1 .. ofc got 9 back as change
-
kim0
Now the spend wallet, thinks it has 19
-
kim0
The only step I did so far, was to export outputs from hot wallet .. and import that into cold wallet
-
kim0
I think step-2 .. is to export key-images from cold and import that into hot wallet .. but I do not wish to reveal total balance to hot wallet .. so was wondering if there's a way to compute correct balance, without doing this step (i.e. without revealing balance to hot wallet)
-
moneromooo
A bug or just not implemented.
-
kim0
moneromooo: and ndorf .. Thanks for your help .. but please check my line above .. bec I am not doing that step .. and hoping there's a way without revealing key-images to hot wallet
-
ndorf
so it's the spend wallet that's not recognizing a spent output? one that it itself actually spent?
-
kim0
not exactly that .. I deleted the wallet files .. and that's a new spend wallet
-
moneromooo
I guess it's actually "no in theory". Or at least not without extra work.
-
ndorf
ah i see. so you deleted and recreated the wallet from seed. then you imported the received outputs from watch wallet, but not spent key images from old, deleted spend wallet. is that right?
-
moneromooo
The hot wallet gives outputs to the cold wallet, which computes key images.
-
kim0
ndorf: exactly
-
moneromooo
But the cold wallet does not have the blocks, so can't actually see what's spent yet.
-
moneromooo
So you'd have to do the full set twice before the cold wallet can tell.
-
kim0
so cold wallet .. has to give hot wallet the key-images .. to compare with blockchain .. to know which outputs were spent right
-
moneromooo
But that involves telling the hot wallet which outputs are spent.
-
kim0
and this way, the hot wallet, has to know total balance (even before cold wallet)
-
ndorf
or, just not deleting the spent outputs from the cold wallet, right?
-
kim0
Yeah .. just trying to understand the limitations :)
-
moneromooo
So you would have to get the cold wallet to parse the blocks to see if any of the key images are there for this to work.
-
moneromooo
So new code (since you don't want to connect the cold wallet to the daemon).
-
moneromooo
It would be enough for the hot wallet to send just the height/key images I think.
-
moneromooo
(of all blocks not yet sent to the cold wallet)
-
ndorf
you could set up a new daemon on a clean machine. sync it, then disconnect it from the internet. connect it directly to your cold wallet so it can scan the blocks. then destroy the temporary daemon setup without ever reconnecting it to the internet.
-
ndorf
maybe someone smarter than me should review that first but it seems safe?