-
user85
i saw monero exist in debian rep however i am yet to reproduce build
-
user85
is anyone here?
-
user85
at all
-
user85
ArticMine: ?
-
user85
...
-
plowsof
alot are asleep right now, give it several hours
-
rbrunner
Yesterday moneromooo cooked up a small C++ standalone program using Monero code like stuff from epee and crypto-ops.h:
paste.debian.net/hidden/e0f00deb
-
rbrunner
What's the simplest way to compile, link and run something like that?
-
rbrunner
I checked how MoneroExamples was doing it back in 2017, and collecting the .a files and the .h files seems quite complicated:
moneroexamples.github.io/access-blockchain-in-cpp
-
rbrunner
I am sure there must be a much easier way for such trivial programs, right?
-
moneromooo
g++ -I src/ -I contrib//epee/include/ test-mul.c build/Linux/cc/release/src/ringct/libringct_basic.a build/Linux/cc/release/src/crypto/libcncrypto.a build/Linux/cc/release/contrib/epee/src/libepee.a build/Linux/cc/release/external/easylogging++/libeasylogging.a -lsodium
-
moneromooo
And then just ./a.out, it doesn't take any parameters.
-
rbrunner
Thanks. Surprising.
-
moneromooo
What is ?
-
rbrunner
And with slightly more complex programs just adding -I and .a until the linker complains no more.
-
moneromooo
Yes.
-
moneromooo
For complex ones, I usually put the command line at the top in a comment :)
-
rbrunner
It's suprising on how primitive a level you do this, at least for me.
-
rbrunner
But well, this is new for me, maybe that's my problem.
-
moneromooo
As in... brute force ?
-
rbrunner
So the MoneroExamples approach to collect *all* .h and .a in some directories or directory structures to access them easily actually is not that dumb
-
rbrunner
Other than probably constantly produce errors by forgetting to update the copies after compiling Monero :)
-
TrasherDK[m]
On testnet, binaries DL'ed from p2pool v0.18, in CLI, I can't use `set` command:
-
TrasherDK[m]
[wallet 9uYsHx]: set ask-password 0
-
TrasherDK[m]
Wallet password: Error: failed to read wallet password
-
TrasherDK[m]
[wallet 9uYsHx]: viewkey
-
TrasherDK[m]
Wallet password: Error: failed to read wallet password
-
TrasherDK[m]
When the inactivity timeout hits, I get never ending :
-
TrasherDK[m]
Locked due to inactivity. The wallet password is required to unlock the console.... (full message at
libera.ems.host/_matrix/media/r0/do…38ae2739dea7f16d7a40250ef8b3e7054e9)
-
TrasherDK[m]
When not launched in a screen session, it works.
-
sech1
and v0.17.3.2 doesn't have this problem?
-
moneromooo
I'd be worried given the password is read in raw mode IIRC.
-
TrasherDK[m]
NO, v0.17 release don't have this problem.
-
TrasherDK[m]
A wallet created before v18, opened in v18 don't have the problem.
-
sech1
so the problem is password input doesn't work in screen session?
-
sech1
how did you even open the wallet in the first place?
-
sech1
it requires entering the password
-
TrasherDK[m]
--password 'password'
-
sech1
that's not safe, everyone can see it in htop or other tools
-
moneromooo
If used in screen (and it works), the password is bound to end up left over somewhere in memory...
-
TrasherDK[m]
I know, but I'm only on stagenet and testnet.
-
sech1
so it shouldn't work in screen and it's for safety. v0.17 was broken then and v0.18 is correct?
-
TrasherDK[m]
Well, I can open the wallet, halt the the output with ctrl-s, enter the password, resume ctrl-q. This is the inactivity-timeout thing.
-
TrasherDK[m]
the set commands complain the password can't be read: `Wallet password: Error: failed to read wallet password`
-
TrasherDK[m]
So a password in a config-file is considered secure?
-
moneromooo
In the same way as a bundle of notes in your home is secure. Do you leave the bundle on the table with an unlocked door ? Or hide it somewhere in a locked safe ?
-
moneromooo
Same here. If someone else has root on that machine or the hypervisor, or if you set read rights to group/others, it's not very safe.
-
TrasherDK[m]
"If someone else has root on that machine " in that case I would be in trouble. I'm the only user on the host/hypervisor and all guests/vps.
-
user85
moneromooo: any ideas why make is failing on debian when compiling cli wallet?
-
user85
now its day time in europe
-
user85
can someone address a question lol
-
user85
why its some fucking complex?
-
user85
should just compile
-
user85
*so
-
moneromooo
If you're polite, maybe I could look at a paste.
-
user85
all it does is
-
user85
fatal: path 'external/miniupnp' does not exist in 'HEAD'CMake Error at CMakeLists.txt:273 (message): Submodule 'external/miniupnp' is not up-to-date. Please update all
-
user85
resynching does not work
-
moneromooo
Try:
-
moneromooo
git submodule sync; git submodule init; git submodule update
-
moneromooo
Then make again.
-
moneromooo
If it complains about external/miniupnp being not up to date, dirty, being unable to pull, etc, then:
-
moneromooo
cd external/miniupnp; git reset --hard; cd -
-
moneromooo
Then:
-
moneromooo
git submodule sync; git submodule init; git submodule update
-
moneromooo
Then make again.
-
user85
will try now
-
moneromooo
This assumes you have made no modifications to external/miniupnp: if you have thy'll be lost, so save them first.
-
user85
also all deps including vendored are built from source right? i did check deps makefile seems so
-
moneromooo
Depends. Some are fallback IIRC.
-
user85
what do you mean by fallback?
-
moneromooo
To be used if one is not found on your system already.
-
user85
yes of course
-
user85
those fall back ones are all compiled from source?
-
moneromooo
From hte monero repo, yes. IIRC on Mac they use some binary SDK from apple.
-
user85
well i am using monero repo
-
user85
also have you tried cake wallet? i did sent a bit of btc here, connecting via tor exchange is yet to work
-
moneromooo
No.
-
moneromooo
I believe it uses wallet2, so it'd log if you set logs up, in case it's an error from our code.
-
user85
okk
-
user85
maybe exchanges have min amount to swap?
-
user85
i will check later on soon
-
moneromooo
If they don't have a setting for logs, you can run with hte MONERO_LOGS=2 env var.
-
user85
cool
-
user85
-
user85
in depends make file SOURCES_PATH ?= $(BASEDIR)/sources
-
user85
no such dir
-
user85
cake wallet no logs setting
-
user85
moneromooo: can you suggest any btc xmr exchange that does not use js
-
user85
then i dont need cake wallet :)
-
moneromooo
No. Ask in #monero. I thikn theres also a #monero-markets for this.
-
afungible[m]
Hi. Wanted to know if running monero daemon on "my own VPS server" and connecting to it remotely on a port, will have any advantages in speed & reliability than running monerod on my local machine?
-
afungible[m]
I wanted the block sync to be on 24x7 and my local machine isn't on all the time.
-
moneromooo
The VPS is likely always online, so never has to catch up when you need it.
-
ofrnxmr[m]
Your advantage is in the "on all the time"...
-
ofrnxmr[m]
Of course a lan/local node will be faster
-
afungible[m]
In terms of sending/receiving transactions from my wallet (on host machine), would there be visible delays, with above approach e.g. if I use VPS for daemon.
-
ofrnxmr[m]
Syncing your wallet, yes
-
ofrnxmr[m]
Send/receive, no
-
moneromooo
The VPS's owner will be able to see which transactions you send.
-
user85
if app did require some libs where would it store them after make is done?
-
ofrnxmr[m]
-
afungible[m]
moneromooo: That's a good point. Thanks.
-
moneromooo
Are you asking "where does the monero build system put its files ?" If so, in build, where you ran cmake.
-
moneromooo
Which doens't have to be even called build, but I guess you know that if it's your case.
-
user85
i did run a search for libunbound
-
ofrnxmr[m]
afungible: "my local machine isnt on all the time"
-
ofrnxmr[m]
Spare Android devices work
-
user85
there is on in ./external nothing in built
-
user85
build
-
moneromooo
Are you sure you have no libunbound on your system already ?
-
moneromooo
Oh, I also remember it got removed recently, in favour of always using the system version.
-
» moneromooo not quite sure of the details there
-
user85
i am using later version 17
-
user85
latest
-
user85
find . -name "libunbound" only shows one file in monero ./externak
-
user85
./external
-
moneromooo
You want \*unbound\* to be sure.
-
r4v3r23[m]
<user85> "fatal: path 'external/miniupnp..." <- im getting same issue. i had to copy miniupnp from prev build but now its says cant find libunbound
-
r4v3r23[m]
i also get this error: `make: *** [Makefile:139: release-static-android-armv8-wallet_api] Error 1`
-
moneromooo
Did the issue survive submodule sync/init/update ? If you did not try it, do so.
-
r4v3r23[m]
<moneromooo> "git submodule sync; git submodul..." <- doing this give me empty miniupnp folder
-
moneromooo
cd external/miniupnp ; git checkout master; cd -; git submodule update
-
moneromooo
(and check you're not out of disk space)
-
user85
ok i have found what I wanted to find
-
user85
-
user85
is was there all along
-
r4v3r23[m]
moneromooo: miniupno/randomx/rapidjson/supercop are all empty folders
-
moneromooo
Even after checkout ?
-
r4v3r23[m]
yes
-
moneromooo
ls -a external/miniupnp
-
moneromooo
Does this show a .git directory ?
-
HenryHollingwort
you need the --recurse flag on the submodle init IIRC
-
r4v3r23[m]
moneromooo: "external/miniupnp": No such file or directory (os error 2)
-
moneromooo
Did you make a typo in "miniupno/randomx/rapidjson/supercop" ? ie, s/o/p/ ?
-
moneromooo
If the directory is here and seemingly empty but ls -a causes that error, your filesystem is likely FUBAR.
-
moneromooo
How did you check the directory was empty ? Not ls ?
-
r4v3r23[m]
filesystems fine, works fine on 0.17.3.2 branch
-
r4v3r23[m]
ok miniupnp folder lists a load of files now
-
r4v3r23[m]
`CMake Error at CMakeLists.txt:113 (message):
-
r4v3r23[m]
Could not find libunbound`
-
r4v3r23[m]
gettng same error as user85
-
user85
not same
-
user85
:)))
-
user85
also you can compile libunb
-
user85
-
user85
haha
-
moneromooo
Or install from your OS repo, it likely has it.
-
moneromooo
(the devel version)
-
user85
moneromooo: which exchange do you use?
-
r4v3r23[m]
moneromooo: yeah i already have unbound installed
-
ofrnxmr[m]
user85: #monero exchange
-
moneromooo
Monero will want the headers, some distros dump headers and require instlaling a -dev/-devel package on top to have a non kneecapped version.
-
ofrnxmr[m]
<moneromooo> "No. Ask in #monero. I thikn..." <- Stop asking questions already answered
-
ofrnxmr[m]
-
user85
ofrnxmr[m]: no one replies there
-
ofrnxmr[m]
* user85:
-
ofrnxmr[m]
Try #monerotopia:monero.social
-
moneromooo
IF you do have the headers and they're still not found, try removing any CMakeCache.txt in the build tree. cmake can be a pita with that cache.
-
r4v3r23[m]
moneromooo: how do i check if i have headers? i dont see any CMakeCache.txt files
-
user85
Run the full node and wait until it syncs up with the network (may take up to a few days - can I connect to some extrernal server instead? how many gb is chain?
-
r4v3r23[m]
here's the error output after fixing miniupnp:
pastebin.com/pscKKGZX
-
r4v3r23[m]
submodule update/sync doesnt grab unbound
-
moneromooo
r4v3r23[m]: check for /usr/include/unbound.h
-
moneromooo
user85: IIRC abot 130 GB, very roughly. More like 45 if pruned.
-
user85
moneromooo: not too bad
-
user85
currenly using torsocks cli random node :)
-
moneromooo
r4v3r23[m]: unbound was removed from the monero tree recently.
-
r4v3r23[m]
moneromooo: yep i got it
-
user85
how many transfers from 1 address to another is enough to make funds untraceable?
-
r4v3r23[m]
so what am i missing here
-
user85
i will be sending monero from exchange to local monero running here
-
r4v3r23[m]
user85: wrong room
-
user85
r4v3r23[m]: wrong answer
-
user85
good luck with such attitude Xd
-
ofrnxmr[m]
You too.
-
user85
manners
-
user85
;)
-
sech1
Good luck with such ignorance, this room is for dev related matters, not a tech support
-
sech1
Ask in #monero
-
user85
there are diff ways to say it
-
user85
lol
-
ofrnxmr[m]
It has been said by 5 different people.
-
ofrnxmr[m]
Wrong room. Ask in #monero
-
ofrnxmr[m]
WE might answer you there. We also might not.
-
moonshots[m]
How can i contact operations manager of montero?
-
moonshots[m]
s/montero/monero/
-
gingeropolous
u gotta call corporate
-
ofrnxmr[m]
Hey, any idea when we release v18.0.0? Were 1 month out
-
ofrnxmr[m]
Huobi etc planned to close withdrawals today due to confusion
-
selsta
we have binaries already, i have to write release notes and then bF has to upload them to the website
-
user85
bf?
-
selsta
binar yFate, someone from core team who can update the website
-
user85
aha
-
ofrnxmr[m]
Bf = my bestfriend....
-
ofrnxmr[m]
selsta: yea, my build took 17 hours :) lolol. Also did master-beta for android
-
ofrnxmr[m]
Awesome, so possible today?
-
ofrnxmr[m]
Possibly*
-
user85
what's new in 18.0?
-
rbrunner
Larger rings. 16 members instead of 11.
-
ofrnxmr[m]
- View Tags (decrease wallet scan/restore time by up to 30%)... (full message at
libera.ems.host/_matrix/media/r0/do…a69352874b05e6e6a49e1d567186a340d5b)
-
plowsof
bulletproofs+, and most important one, the Monero GUI now displays wallets that have a "." in their name (and finally has scan_tx feature added 🦄)
-
r4v3r23[m]
ofrnxmr
-
r4v3r23[m]
"time to build a transaction decreased by 80-90%" - this is that DNS thing right
-
ofrnxmr[m]
Yup
-
moneromooo
That is dishonest since it just cuts a timeout if your DNS was borked.
-
moneromooo
Wait, that's what it was, right ?
-
ofrnxmr[m]
No, no dns anymore at all
-
ofrnxmr[m]
Previously 9c with dns (first request) second would not ping dns and would he 1-2seconds
-
moneromooo
Are you suggesting it was very slow even if your DNS was working properly ?
-
ofrnxmr[m]
Over tor, 1-5minutes of constantly trying to connect to dns, is now simply skipping dns entirely and connecting to your node, downloading the 1.5mb which is under 9sec seconds which includes onion latency etc
-
moneromooo
Oh, tor.
-
ofrnxmr[m]
moneromooo: With dns working correctly, yes, 10-20seconds
-
moneromooo
Ah, yes, I remember the discussion.
-
ofrnxmr[m]
With no dns 3sec
-
moneromooo
Still dishonest, tor use is so dependent on your circiots.
-
ofrnxmr[m]
20s to 3s is 80-90%
-
moneromooo
I mean, it's like putting your chain on a floppy and saying monero's slow to read from the db, right ?
-
moneromooo
People will read this and think we somehow optimized stuff madly, and we didn't.
-
ofrnxmr[m]
Nono. Over clearnet is slowed immensely too
-
moneromooo
Hmm. OK. Why ?
-
ofrnxmr[m]
No idea. Makes like 15 connections before trying to get the data from the node
-
moneromooo
So nobody tried to fix it, just removed and claimed a speedup ?
-
moneromooo
I mean, I didn't try to fix it either, but I'm not trying to put lipstick on a pig.
-
ofrnxmr[m]
The moneropulse dns ping is a privacy leak
-
moneromooo
Irrelevant.
-
moneromooo
My point is about the misdirection.
-
moneromooo
It's not honest.
-
moneromooo
But, if you're saying it was slow in the normal course of things, with working DNS, then OK, I think you're right on second thought.
-
ofrnxmr[m]
Feather wallet has had their dns calls removed for a year, which isbwhybfeatherbusers dont see the UX speed issue
-
moneromooo
I didn't realize that, and it is what should be fixed. So I changed my mind, sorry, speedup's OK in that case.
-
moneromooo
Sorry, I get a bit twitchy with disingenuous claims. I rememver someone claiming N% tx verification speedup, but that was on a cherry picked case that's uncommon.
-
ofrnxmr[m]
No problem :)
-
ofrnxmr[m]
Yes, over clearnet was slow as well. I believe Seth was timing 23 seconds over clear with dns enabled, 3 seconds with --no-dns
-
r4v3r23[m]
why those DNS calls where in there in the first place is beyond me
-
ofrnxmr[m]
On the node too..
-
ofrnxmr[m]
--check-updates
-
ofrnxmr[m]
Calls moneropulse
-
ofrnxmr[m]
So I was like what tha fack
-
ofrnxmr[m]
I disable dns checkpoints, disable dns blocklist, run over tor
-
ofrnxmr[m]
Check logs and my node is making internet connections over dns to moneropulse.
-
ofrnxmr[m]
'Ile STOP THIS BS
-
ofrnxmr[m]
My node supposed to connect to other nodes.
-
ofrnxmr[m]
Tldr. 🚮 that shit dont fly in my monero
-
sech1
-
sech1
this is v0.18 binary
-
rbrunner
Cool.
-
ofrnxmr[m]
sech1: fwiw no issues on my end
-
rbrunner
That will be the size of the blockchain in the year 3000.
-
sech1
my node keeps running fine
-
selsta
sech1: sounds like an invalid tx?
-
sech1
The last line is from 5 seconds later, it's probably unrelated
-
selsta
15:49 <r4v3r23[m]> "time to build a transaction decreased by 80-90%" - this is that DNS thing right <-- that was just the case with some weird DNS setups
-
selsta
i never had any delay with DNS enabled
-
selsta
sech1: ok, i did see similar portable storage messages months ago, it's likely someone playing around with source code. should be harmless.
-
r4v3r23[m]
selstawas v0.18 build tested on arch? im getting an error with unbound even tho i have it installed
-
selsta
error with release binaries? or custom installed?
-
r4v3r23[m]
im using master branch to update monerujo and it fails here:
pastebin.com/pscKKGZX
-
selsta
we removed the unbound submodule because it was outdated and full of security issues (they had an audit). this will be annoying once for those who depend on it but then it shouldn't be an issue anymore in the future.
-
selsta
how do you build monerujo? do you have unbound in ${PREFIX}/lib ?
-
r4v3r23[m]
selsta: i do. headers as well in usr/include
-
r4v3r23[m]
i applied m2049r's monerujo diffs to the v0.18 code, linked that to monerujo external-libs, and then run make there
-
selsta
UNBOUND_LIBRARIES UNBOUND_INCLUDE_DIR exist as cmake options
-
selsta
you can also try to set `UNBOUND_ROOT=${PREFIX}/include` env var like you do with `CMAKE_INCLUDE_PATH`
-
selsta
but not sure if that's enough
-
hyc
hm, my i2pd keeps dying
-
r4v3r23[m]
<selsta> "you can also try to set `UNBOUND..." <- in `monero/CMakeLists.txt`?
-
selsta
r4v3r23[m]: try the env var as a first step
-
moneromooo
The DNS calls for monerod were a safety measure for forks from bugs. Never got used in practice. For monero-wallet-cli, defence against some asshats who forked the chain to a scam and tried to get people to spend their coins twice with different rings (unless that was just a side effect of the scam).
-
moneromooo
The latter is not needed anymore. The former... well... never needed so far :)
-
moneromooo
The latter got added in a hurry to protect people who tried to use the scam as it was were not one, since them spending twice with different rings would weaken everyone else's rings that used their coins.
-
moneromooo
Sordid shit. But obsolete now. I wouldn't mind seeing this code gone. It's too complex.
-
hyc
wondering if there's a way we can leave the code in, disabled, and only activate it near a hardfork
-
moneromooo
That'd keep the complexity. And we need it when some asshat reuses the chain, not when we fork. Less likely now I guess, with a 130 GB chain :)
-
hyc
I just assume it's most common for "classic" chains to spring up right after a hardfork
-
TrasherDK[m]
On mainnet zmq_pub I got this:
-
TrasherDK[m]
-
TrasherDK[m]
-
TrasherDK[m]
What am I looking at? Emty transactions?
-
selsta
i looked at one of them, they look like a regular tx on xmrchain, no idea why it says blob_size and weight 0
-
sech1
that's an old issue
-
sech1
Some transactions don't get proper zmq notifications. It's rare, p2pool just ignores them when it happens
-
BusyBoredom[m]
Oof, that's inconvenient. I was gonna add zmq support to my payment gateway lib, but missing payments would be a big deal. Is that documented anywhere yet?
-
selsta
but it's not missing from what i can see? just some data seems missing (blob_size / weight)
-
BusyBoredom[m]
Is the rest of the data correct even though the size and weight are wrong?
-
sech1
The rest is correct
-
sech1
IIRC blob size and weight just don't always get filled in
-
sech1
in the place where zmq takes data from
-
r4v3r23[m]
<selsta> "r4v3r23: try the env var as a..." <- having an issue setting it. looking into it
-
zoom0ut
when the DNS discussion recently happened I tested with the -no dns flag, local node on same machine, all other settings were default
-
zoom0ut
there was no change in transaction generation time
-
zoom0ut
for each transaction I made sure nothing was cached
-
hyc
-
sech1
in other words, to fix issues with a decentralized and trustless network, let's introduce trust and make it centralized
-
hyc
yeah maybe their solution isn't the best available, but the references to related work is useful
-
hyc
and trust doesn't mean centralized. PGP trust isn't centralized.
-
vtnerd__
sech1 BusyBoredom[m] : there are missing txes? this shouldn't happen unless the tcp conn maxes out
-
vtnerd__
my expectation was that this would only happen during syncing, its basically just blasting txes over zmq in that state
-
sech1
are you referring to zmq notifications with 0 tx blob size and weight reported?
-
sech1
no, I think it's just some bug with the source of zmq data, transactions themselves are not missing
-
vtnerd__
I saw a comment about missing txes, but it wasn't clear that this was in reference to these empty txes or a larger set
-
selsta
the tx were not missing, data was missing
-
vtnerd__
ah crap I don't even know how that would happen atm
-
selsta
blob_size and weight, fee and txid was correct
-
BusyBoredom[m]
vtnerd__: no missing txs, I was just concerned that the data coming over zmq might me malformed enough that an application consuming it would end up missing txs.
-
selsta
the first two were missing*
-
vtnerd__
yes, if the receiver cannot keep up there will be drops
-
vtnerd__
the only way to detect this it to monitor the chain publications, and check hashes
-
vtnerd__
the chain pubs will always have seqence number and prev_hash to keep track of state
-
vtnerd__
yeah the missing data is the concern, I don't see how that would happen, unless it was a copy-constructor/copy-assignment error or something :/
-
selsta
-
selsta
only the last two tx have all data
-
vtnerd__
ah thanks. its irritating that this was the truncated mode, so less info, but thanks
-
sech1
I just checked my p2pool logs (I keep everything) and it's a very rare occurrence, at least on my node:
paste.debian.net/hidden/07b64b9d
-
sech1
So it didn't happen at all since October last year
-
sech1
But id does seem to happen when many transactions pop up at the same exact moment. Maybe after a reorg?
-
sech1
Okay, it looks like it happened around the same time I restarted my Monero node and "SYNCHRONIZED OK" message appeared in bitmonero.log
-
sech1
and I restarted it several times on Oct. 2 at that time, not sure what I was doing :D
-
sech1
IIRC I popped blocks to fix something with my node
-
vtnerd__
yeah and whats interesting is that some in that array have dat
-
vtnerd__
because that array chunk should be a single call into the zmq_pub code (the zmq_pub code doesn't do a wait+gather and instead handles each request indepdently)
-
sech1
ah, it was that time when someone did a lot of fat transactions and mempool was super full:
libera.monerologs.net/monero-dev/20211002#c35201
-
sech1
so I restarted my node with mempool limitation to unstuck it
-
vtnerd__
yeah worse case its a bug in the tx or pool code itself :/
-
sech1
maybe it didn't happen on my node anymore because I run it with --max-txpool-weight now
-
TrasherDK[m]
Not all pool-add events show up on zmq_pub, but do show on target `show_transfers in` almost instantly.
-
vtnerd__
-
vtnerd__
not all do? this might be related to tor and/or dandelion++
-
vtnerd__
I recall (attempting) to make sure its not alerted externally if in the earlier phases
-
vtnerd__
hmm or maybe not, its not mentioned in the documentation I wrote in `docs/
-
TrasherDK[m]
-
vtnerd__
yeah I dunno if thats the correct behavior, but I could see why the change was proposed