-
layter[m]
<t.dennysanfo> "I'll 20 people on how to earn $4..." <- Dafuq is this?!! 🤨🤣
-
jadeydi[m]
github.com/mymonero/monero-core-custom anyone who can tell me how to compile the project? not familiar with c thanks
-
grumblemobile
While I don't know, if you find out how, I'm sure a PR adding those steps to the README (or a new README if there isn't one) would be appreciated by the author(s).
-
grumblemobile
Assuming the steps aren't there in a different file you've missed.
-
grumblemobile
Looking at the repo, it looks like it's not meant to be used standalone.
-
jadeydi[m]
Yeah, I think it supports some interface for sign a xmr transactions, still try to figure out
-
jadeydi[m]
-
jadeydi[m]
Does this function supports spend multiple outputs from multiple accounts in one tx?
-
grumblemobile
95% sure it does.
-
grumblemobile
Still not a good idea for privacy reasons though.
-
jadeydi[m]
Yeah I know, but have to do like that. If it does, does there have an c library, so other languages can integrate xmr more easily, and I'm using go now
-
jadeydi[m]
-
grumblemobile
We're hardly going to create an easy to use lib to do the wrong thing :)
-
grumblemobile
(on purpose anyway)
-
jadeydi[m]
I see, thanks anyway
-
sethforprivacy
Is it known that the armv7 link is dead from getmonero.org?
-
sethforprivacy
-
sethforprivacy
Have some builds failing as a result, wouldn't have noticed it otherwise
-
sethforprivacy
* that the Linux armv7 link
-
sethforprivacy
selsta luigi1112 binaryFate ^
-
selsta
it used to be up
-
selsta
anything else dead?
-
plowsof
sanity check: all links work bar armv7
-
sethforprivacy
Yes, no issues with any other links that I can find! Just armv7 for some reason
-
selsta
it used to be up because otherwise the check hashes ci script would have failed
-
sethforprivacy
Agreed, thus my confusion when hashes etc are there but the binary isn't 😄
-
sethforprivacy
Have never seen that before
-
duggavo[m]
Hello, I built monerod with make depends and it compiles successfully, however if i try running it on another machine it fails with this error:
-
duggavo[m]
./monerod: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./monerod)
-
duggavo[m]
./monerod: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./monerod)
-
duggavo[m]
./monerod: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./monerod)
-
grumblemobile
Then build it on the other machine.
-
duggavo[m]
grumblemobile: and i need to build it on every machine using it?
-
grumblemobile
Always best.
-
duggavo[m]
how does the release from
getmonero.org work ?
-
grumblemobile
It includes stubs for newer glibc entry points and outright disables some code that uses others.
-
duggavo[m]
How can I make reproducible builds to getmonero.org?
-
grumblemobile
Are you suggesting you run a reproducible build from instructions, and ended up with a different binary than the one from getmonero.org ?
-
grumblemobile
(I have no odea what glibc version the repro build targets)
-
selsta
duggavo[m]: if you build it on 22.04 then you also have to use it on 22.04 machines
-
duggavo[m]
selsta: So it won't work on Debian?
-
duggavo[m]
But if I compile it on debian, will it run on Ubuntu?
-
grumblemobile
It's more about the version of glibc on those machines.
-
duggavo[m]
Isn't it possible to bundle glibc inside the executable?
-
grumblemobile
It's too close to the kernel for it AFAIK.
-
selsta
there is a CMake flag -DBACKCOMPAT=ON that might help, but not guranteed
-
grumblemobile
Repro builds don't use it ?
-
selsta
repro builds uses -DBACKCOMPAT=ON and 18.04 VM
-
selsta
or docker
-
selsta
glibc is never bundled from what I know
-
grumblemobile
Given it's what makes syscalls, at least part of it can't easily be.
-
selsta
duggavo[m]: compile on the machine with the oldest glibc you have
-
selsta
then it should work on all machines with the same or newer glibc
-
duggavo[m]
<selsta> "duggavo: compile on the machine..." <- Like Ubuntu 18?
-
duggavo[m]
I'll do a VM
-
duggavo[m]
or maybe ubuntu 16 or 14 is better?
-
selsta
ubuntu 18 will be enough
-
duggavo[m]
Oh, I also have issues cross-compiling for windows on an ubuntu machine:
paste.debian.net/hidden/6959db3c
-
selsta
might be easier for you if you use the gitian build process, which is what we use for release binaries
-
selsta
it uses `make depends` internally but sets everything up correctly, should also solve your glibc issue
-
duggavo[m]
selsta: aka dockerfile?
-
selsta
-
selsta
the instructions are more complicated than it is
-
selsta
-
selsta
it also has instructions on how to copy out the binary
-
duggavo[m]
Ok thanks
-
selsta
I did cross compile to Windows yesterday with 22.04 and it worked:
github.com/selsta/monero/actions/runs/3091744278/jobs/5002197898
-
selsta
so unsure why you had this error, but using gitian should solve it as it will properly setup your build env
-
duggavo[m]
Why isn't Gitian building the first method explained in README.md, since it is the easiest and it's reproducible?
-
grumblemobile
You might have a flawed idea of "easiest"...
-
selsta
most users just install dependencies and run `make`
-
selsta
but yes gitian should be mentioned somewhere in the readme
-
duggavo[m]
-
grumblemobile
Thanks.
-
hyc
most users don't care about building a reproducible binary, or one that works on multiple machines.
-
hyc
most users only have one machine they care about
-
sethforprivacy
Is there a similar build command to only build monero-wallet-rpc like there is for the daemon? If so, are the options for building specific binaries alone documented anywhere?
-
sethforprivacy
-
duggavo[m]
If there are
-
duggavo[m]
`(60 / blockTimeMinutes) * 24 * 365 = 262800` Monero blocks a year, why is the current Monero height 2716807?
-
duggavo[m]
`2716807 / 262800` is 10.34, but Monero is not 10 years old. In fact, block 1 was mined in 2014-04-18.
-
duggavo[m]
How is this possible?
-
jeffro256[m]
Back in ancient times, the blocktime used to be 1 minute long
-
duggavo[m]
Oh
-
duggavo[m]
Did that alter the supply reward?
-
grumblemobile
make wallet_rpc_server
-
grumblemobile
They're in the Makefile generated by cmake. Try make help, it might show them.
-
jeffro256[m]
-
grumblemobile
It does. make help -C build/wherever
-
grumblemobile
The block reward got doubled.
-
jeffro256[m]
I don't think it altered supply reward over time, now there's 2x as much reward per block
-
jeffro256[m]
Don
-
jeffro256[m]
't quote me on that
-
sethforprivacy
grumblemobile: Thanks!
-
duggavo[m]
<jeffro256[m]> "I don't think it altered..." <- You are right
-
duggavo[m]
I just checked
-
duggavo[m]
It looks like monero's emission does not change when you change block size
-
UkoeHB
vtnerd: can you review the new commits to 8329?
-
grumblemobile
It is supposed to, or the block size could increase unchecked, which would be bad.
-
grumblemobile
I suspect you just eyeballed it and missed it.
-
grumblemobile
Miners will usually get past the penalty start only slightly, since they're self interested, and thus not wanting to lose most of the reward.
-
duggavo[m]
s/size/time/
-
duggavo[m]
grumblemobile: i meant block time, i typed block size
-
CidadoisAncap[m]
<sethforprivacy> "Thanks!" <- Hi seth could you pls check dms👉👈
-
duggavo[m]
Does
-
duggavo[m]
c++: internal compiler error: Killed (program cc1plus) mean that the OS has killed the compiler for out of memory?
-
grumblemobile
Technically no, but it is still very likely your OS did just that.
-
grumblemobile
You'll usually find out by checking dmesg.
-
duggavo[m]
grumblemobile: yeah i was trying to compile on a 512 mb computer
-
grumblemobile
Well, that's one of the main reasons to copy a binary to another machine indeed...
-
vtnerd
UkoeHB: reviewed 8329
-
selsta
UkoeHB: did you also open it against release?
-
UkoeHB
no, should I? selsta ?
-
selsta
I think you wanted to include it in a release?
-
selsta
we will have another release
-
UkoeHB
vtnerd: I squashed those commits
-
UkoeHB
selsta: existing multisig wallets aren't usable without this (surprising how little noise there has been about it)
-
UkoeHB
selsta: should I open a PR against the v0.18 branch?
-
selsta
yes
-
UkoeHB
ok
-
sethforprivacy
<sethforprivacy> "Is it known that the armv7..." <- Opened an issue for this in case other people notice and wonder what's up:
monero-project/monero #8581
-
UkoeHB
vtnerd: ok #8582 is on the release branch