-
cjac
but instead of decreasing, it keeps increasing. ha.
-
plowsof11
the estimate is not accurate, syncing is quick at first. the last 20~% is where the fun begins
-
cjac
the first 90% and the second 90% as one of my managers used to call it
-
plowsof11
lol
-
cjac
why does it print this every now and then? I'm clearly getting chunks. my ~/.bitmonero is > 100G at this point
-
cjac
2022-12-08 00:39:43.881 W No incoming connections - check firewalls/routers allow port 18080
-
nioc
you have no incoming connections, need port forwarding or maybe firewall
-
nioc
it will work without, better for the network with incoming connections
-
cjac
alright, so I should add some snat rules or configure a upnp server to increase throughput?
-
cjac
I don't generally accept incoming connections on my router
-
plowsof11
configure a what now
-
cjac
-
cjac
-
plowsof11
sudo ufw allow 18080/tcp
-
cjac
which would work if the monero were running on the router, I guess
-
plowsof11
on my home router i just 'go to the port forwarding page' this all seems overly complicated
-
cjac
"overly complicated" sounds like "enterprise" to me
-
plowsof11
did i read you are setting 4 nodes up?
-
cjac
6 for now
-
cjac
I'm looking at getting another 10
-
DanIsnotthemanBr
OO
-
cjac
-
cjac
one of my customers has an ABM environment set up on top of openstack
-
cjac
and openstack is a bunch of libvirt nodes with a management layer
-
cjac
6 nodes is not quite enough for a proper cluster, so I'm going to see if I can get another 10
-
plowsof11
wow nice, speaking of enterprise ? i was looking at a "kubernetes" monero node project , they made a demo video of it
yewtu.be/watch?v=0naGMU813ws
-
plowsof11
strange coincidence
-
cjac
while I'm in the process of putting the cluster together, I figured I'd use the systems to mine some monero
-
cjac
yay k8s
-
DanIsnotthemanBr
There is docker monerod yeah?
-
plowsof11
-
cjac
docker is old news, I hear. containerd is the new hotness, maybe?
-
plowsof11
open ports 18080 or i will be sad
-
DanIsnotthemanBr
Yeah k8 is containerd/ same shit as docker
-
cjac
plowsof11: I'll consider adding a snat rule. Or I could get my v6 network going and just open up the local host's 18080 port
-
cjac
this kubernetes environment has 5 monerod servers running. what's the benefit of having more than one?
-
DanIsnotthemanBr
Uptime probably
-
DanIsnotthemanBr
A pod dies another comes back
-
plowsof11
10 nodes without 18080 open = big sad for me
-
cjac
I'll probably just run a single monerod ; the rest will be xmrig instances
-
DanIsnotthemanBr
K8 xmrig
-
cjac
maybe. I might hold off on setting all that up until I have enough nodes to have a proper openstack cluster
-
plowsof11
#xmrmine:matrix.org will be able to help in depth
-
DanIsnotthemanBr
they got the k8 running with monerod in that proposal. where they going to do other things?
-
plowsof11
im totally out of the loop on this one
-
erembax[m]
I started the GUI as administrator with "sudo monero-wallet-gui" because that was needed to install p2pool. Now I want to run the GUI as a regular user but when I try to open my wallet I get:
-
erembax[m]
Couldn't open wallet: internal error: "/home/user/Monero/wallets/walletname/walletname.keys" is opened by another wallet program
-
erembax[m]
I've already restarted my computer but to no avail. I'm running Ubuntu.
-
erembax[m]
Anybody have an idea?
-
selsta
erembax[m]: how did you install monero-wallet-gui? sudo should not be required to install p2pool
-
selsta
using sudo messes with the permission, you have to take a look the wallet file permissions
-
erembax[m]
selsta: It was necessary and I found other people online who had the same issue. Anyways, it has been resolved, my wallet and wallet.keys files were owned by root, had to change ownership back to me.
-
selsta
how did you install monero-wallet-gui? from getmonero.org or a different way?
-
erembax[m]
from getmonero.org and then cp to /usr/local/bin
-
erembax[m]
and verified against binary fate key
-
selsta
i think it's because it is inside /usr/local/bin
-
plowsof11
yeah
-
plowsof11
cp monero-wallet-gui /usr/local/bin
-
plowsof11
cp: cannot create regular file '/usr/local/bin/monero-wallet-gui': Permission denied
-
plowsof11
sudo cp monero-wallet-gui /usr/local/bin -> ls -la and the file is owned by root
-
erembax[m]
sorry I didn't explain myself. I used 'sudo cp' to copy all the files to /usr/local/bin and I had 0 problems running monerod en gui as a regular user.
-
erembax[m]
problem arose when I launched the gui with sudo once
-
erembax[m]
that has been resolved now
-
ofrnxmr[m]
Lesson: dont launch programs with sudo unless the program is intended to be run as root
-
plowsof11
can i see a link that tells people how to install the monero gui on inux
-
erembax[m]
ofrnxmr[m]: I know, but it was necessary one time to install p2pool from the gui.
-
vaacuha[m]
> <@plowsof:matrix.org> cp monero-wallet-gui /usr/local/bin
-
vaacuha[m]
> cp: cannot create regular file '/usr/local/bin/monero-wallet-gui': Permission denied
-
vaacuha[m]
>
-
vaacuha[m]
BTW, it's usually better to install such software to `/opt/` and then create links in `/usr/local/bin`. Makes it easier to manage
-
ofrnxmr[m]
If so, thats a bug. Let me try
-
plowsof11
vałacuha nice, that is what this mystery "how to install monero gui on linux" should say if erembax could link us
-
erembax[m]
plowsof11: what do you mean? where I found the idea to install to /usr/local/bin ?
-
ofrnxmr[m]
Seems you cant start p2pool via GUI without a node running on the same device (so u cant test, sorry)
-
ofrnxmr[m]
I* cant
-
erembax[m]
I couldn't find a way to install it on Linux so I remembered that I installed Bitcoin that way as instructed here:
bitcoin.org/en/full-node#linux-instructions
-
erembax[m]
So I tried it with monero and it worked.
-
plowsof11
never required sudo for it when ive tested previously
-
ofrnxmr[m]
You just need to download (or build) and run the binary
-
erembax[m]
ofrnxmr[m]: by installing it in /usr/local/bin I can run it from anywhere though no?
-
ofrnxmr[m]
Yeah.. monero doesnt need root
-
plowsof11
vałacuha: your method is for "allowing people to run it from anywhere on the command line" without root right?
-
erembax[m]
plowsof11: I thought this was the best way to install it, and afaik when I launch monerod or gui I don't do it as root?
-
vaacuha[m]
erembax[m]: Yup, it makes it appear in your system's `$PATH`
-
vaacuha[m]
erembax[m]: You don't _have_ to
-
erembax[m]
vaacuha[m]: Ok great I don't.
-
plowsof11
the bitcoin (?) guide you linked to erembax says "sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-22.0/bin/*"
-
plowsof11
does anyone know what this is
-
erembax[m]
plowsof11: oh I missed that? I didn't not at the root part, just sudo cp
-
plowsof11
the guide does not tell you how to install the GUI though
-
vaacuha[m]
plowsof11: Yeah, the program just copies files setting ownership and attributes
-
erembax[m]
Ok to be clear I didn't use the install command, I just copied it to /usr/local/bin so I could launch it from anywhere
-
plowsof11
erembex your homework from valacuha "BTW, it's usually better to install such software to /opt/ and then create links in /usr/local/bin. Makes it easier to manage"
-
erembax[m]
plowsof11: I can copy all the files to /opt, but I don't know how to make a link. Also, what is the benefit over keeping it in /usr/local/bin?
-
plowsof11
mine too ^
-
plowsof11
thats what we must search for and learn about 😆
-
plowsof11
we're in the same boat here
-
Rucknium[m]
erembax: To make a link, add the directory where Monero is located (any directory) permanently to your `$PATH`. You can search on the internet about how to do that.
-
selsta
-
selsta
By default, the owner and group of /usr/local and all subdirectories (including bin) should be root.root
-
selsta
this means monero-gui can't install anything there without root
-
erembax[m]
selsta: ah that explains things
-
Rucknium[m]
This is the "just enough knowledge to be dangerous" portion of your linux learning journey
-
selsta
without sudo*
-
plowsof11
lol
-
ofrnxmr[m]
Rucknium[m]: eudaimon36:
-
plowsof11
im still trying to understand what this sudo install command does
-
plowsof11
never seen it used for "copying binary files"
-
vaacuha[m]
<erembax[m]> "I can copy all the files to /opt..." <- Just to be clear, you don't copy binaries like `/opt/monerod`, but copy the whole directory like this: `/opt/monero/`. This enables you to easily update your install later by simply overwriting that /opt/monero with your `~/Downloads/monero-wallet-19`
-
vaacuha[m]
As for links, you just do `ln -s /opt/monero/monerod /usr/local/bin/monerod`
-
revuoxmr
Revuo Monero. Issue 149: December 1 - 8, 2022.
revuo-xmr.com/issue-149.html
-
vaacuha[m]
<plowsof11> "im still trying to understand..." <- Well, some find it easier than copying them manually with cp and then setting attributes with chown and chmod
-
plowsof11
TIL thanks
-
KernelCustard[m]
-
KernelCustard[m]
Thought this would be of interest in here. Atleast to hear some opinions on it.
-
KernelCustard[m]
DarkFi is apparently a privacy focused L1.
-
erembax[m]
in /opt I can see folders for programs I have installed using a .deb package, I can launch them from everywhere in the terminal, but I can see that /opt is not in $PATH, so I assume that links have been created as part of the install process to a directory that is in $PATH, namely one of these:
-
erembax[m]
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
-
erembax[m]
Is there a way to list all the existing links?
-
KernelCustard[m]
The lead dev is Amir Taaki who was part of the original group of Bitcoin devs ands and wrote the original DarkMarket at the Toronto Bitcoin Hackathon
-
cjac
is it possible to break the initial sync process down such that it could be parallelized? If I had a cluster of 100 nodes, could I have each of them process 1% of the load, and then merge the results à la mapReduce?
-
vaacuha[m]
> <@erembax:matrix.org> in /opt I can see folders for programs I have installed using a .deb package, I can launch them from everywhere in the terminal, but I can see that /opt is not in $PATH, so I assume that links have been created as part of the install process to a directory that is in $PATH, namely one of these... (full message at <
libera.ems.host/_matrix/media/v3/do…0e3d462c42691c90e8a4ddad2de6c045b41>)
-
vaacuha[m]
for each directory in your $PATH
-
erembax[m]
Can I just add /opt/monero to $PATH instead of making a link?
-
SerHack
erembax[m] of course
-
vaacuha[m]
Well, of course you can
-
erembax[m]
but best practive seems to be to create a link to some directory under /usr
-
vaacuha[m]
yup
-
erembax[m]
I'm learning a lot here, thanks guys. I assume I have to create a link for every executable in /opt/monero, like monero-wallet-gui etc
-
erembax[m]
Now everything is in /opt/monero with links to /usr/local/bin for monerod and monero-wallet-gui, I removed the p2pool files from /opt/monero and tried to install p2pool again from the GUI, but the install fails and it suggest starting the program with admin privileges. This is because you need admin privileges to install anything in /opt right?
-
vaacuha[m]
Yes, /opt owner is still root
-
vaacuha[m]
So to copy anything into /opt you will need root privileges
-
erembax[m]
Ok, I will run monero-wallet-gui as root once then to install p2pool and then change the ownership of the wallet files back to $USER
-
vaacuha[m]
And why does the root need to own the wallet again?
-
Save_G[m]
Hello
-
Save_G[m]
I want to print
getmonero.org/library/Zero-to-Monero-2-0-0.pdf as a "book" it doesn´t even need to be a book with a hard or soft cover, it could also be just the printed pages with a somwhat professional looking something put together on the left edge and I want the first page to be or act as a cover.
-
Save_G[m]
But so far all the PDF to book shops I've tried cut away some of the comments at the edge of the pages and don't let me select the first as cover or not to print the first page.
-
Save_G[m]
does anyone know where I could do this?
-
erembax[m]
Is there any reason why I should not make root owner of ~/.local/share/applications/monero-gui.desktop? Root is owner of /usr/share/pixmaps/monero.png and it seems permissions need to be the same
-
KernelCustard[m]
-
KernelCustard[m]
Check the book/zine printing section, provider will depend on your location
-
-
selsta
cjac: wouldn't you need the previous block to verify the blockchain correctly?
-
xfedex[m]
-
cjac
selsta: that's a good question. Sounds likely.
-
wormrobot
solo mining is what we should Incentivise? since we dont want any mining pool to have > 50% of the hashrate
-
erembax[m]
wormrobot: Isn't p2pool equally good to solo mining?
-
wormrobot
erembax[m]: yes
-
wormrobot
for xmrig it doesnt clarify which one is for window users
-
wormrobot
nvm i figured it out
-
kowalabearhugs-[
Does syncing a BTC, XMR, etc lightwallet reveal to the server that the connected wallet IP received a txn?
-
kowalabearhugs-[
It appears that the lightwalletd server for Zcash can identify that a connected wallet received a shielded txn. I'm trying to verify if a remote node can determine if a syncing XMR wallet received a txn.
-
hyc
nope
-
KernelCustard[m]
Route everything over Tor/VPN regardless
-
hyc
a wallet requests all new blocks. remote node has no idea which blocks have relevant txns
-
cjac
would it be useful to have a trusted third party (notary, for instance) sign various blocks so that one can pick up from that point with the assumption that the blockchain to that point is valid?
-
cjac
I was talking to Greg Meredith about this at one point, I think...
-
Mochi101
trustless
-
cjac
this is in response to selsta's comment above
-
selsta
it kinda misses the point adding a trusted third party into it
-
selsta
sync currently takes 12-24h with an SSD, it's not too bad
-
selsta
and you have to do it only once and can copy the blockchain file to other systems
-
Rucknium[m]
kowalabearhugs-[m]: Remote nodes are different from light wallets, at least in Monero language. A user gives the view key to a light wallet server. A user doesn't give any keys to a remote node
-
cjac
if the chain were signed monthly, then the dataset could be sharded at each signature and the load could be parallelized
-
Rucknium[m]
cjac: What do you mean "pick up at that point? You need most of the chain to construct a transaction because you need decoy tx outputs.
-
hyc
everyone always forgets Monero isn't like other blockchains, has different requirements ...
-
cjac
the process would also include validation of those signatures, too. once the first chunk is read, the chain will be validated by the processor and the state of the chain could be compared against the signed version
-
cjac
Rucknium[m]: hmm, I'm not too familiar with the process. I assumed that this block depends on the verification of the previous block in order to be processed
-
cjac
if there are other dependencies, this wouldn't work of course
-
cjac
can you define "decoy tx outputs" ?
-
Rucknium[m]
Yes, you are making lots of incorrect assumptions. There are intros on getmonero.org, localmonero.co, _Mastering _Monero, and Zero to Monero 2.0
-
Rucknium[m]
At this point you can DYOR and come back :)
-
Rucknium[m]
Also there is a Monero Stack exchange
-
cjac
okay, thanks. I'll continue reading. Thanks for the concept review :-)
-
Rucknium[m]
-
Rucknium[m]
I wrote it
-
hyc
according to wikipedia, that now makes you the least qualified person to talk about it
-
Save_G[m]
<KernelCustard[m]> "> <@save_g:monero.social> Hello..." <- very good resource, thanks
-
Rucknium[m]
Yes, no original research and wiki article author cannot be too close to the subject matter :P
-
Save_G[m]
<xfedex[m]> "> <@save_g:monero.social> Hello..." <- I will probably do that
-
as2333
in a past life I copied stuff from a wikipedia article in one language to the same article on a different language but got censored cause 'wikipedia is not a source for wikipedia' (cant make this shit up)
-
hyc
sadly, I can believe it
-
wormrobot
when setting up p2pool does monerod has to sync all over again even tho i the GUI already downloaded the entire blockchain
-
wormrobot
or how can i point monerod to use the monero blockchain lmdb
-
hyc
did the GUI start up its own local monerod?
-
hyc
or was it using a remote node?
-
wormrobot
well im trying to setup my first monero miner
-
wormrobot
i use to mine btc/eth before
-
hyc
that doesn't answer the question.
-
hyc
what did you do with the GUI?
-
wormrobot
i have the gui but i just used the gui to make a backupwallet
-
wormrobot
but now i dont use it or open it
-
wormrobot
but now im trying to setup p2pool
-
wormrobot
and monerod is syncing all over again
-
wormrobot
which is taking up more space
-
hyc
so the question - was the GUI talking to its own local monerod?\
-
wormrobot
so i want to know if their is a way to point monerod to the already installed blockchain from the GUI
-
hyc
if so then yeah, you already have a usable copy of the blockchain
-
hyc
if the GUI was talking to a remote node then no, and your monerod has to download everything
-
wormrobot
hyc: no when i download the gui i always choose to run my own node in the background & download the whole blockchain
-
hyc
then you should use the --data-dir option to tell monerod what directory to use
-
wormrobot
so thats why iknow i already have the full bockchain downloaded
-
wormrobot
hyc:
-
wormrobot
hyc: your amazin thats the option flag i was missing, ill try it now one sec
-
wormrobot
also i recommend people to backup the blockchain directory on to a flashdrive
-
cjac
a huge flashdrive
-
wormrobot
250gb thumbdrive which i believe means monero has to be double its current size basically for it to take up the entire drive
-
wormrobot
current size for me is 107GB
-
cjac
Rucknium[m]: so in blockchains that don't optimize for plausible deniability, would this be a problem?
-
wormrobot
hyc: much better thank you! now it says 86% instead of syncing from block 0 again
-
cjac
wormrobot: I guess I'm showing my age. A 250G drive still feels huge to me.
-
wormrobot
cjac: yes i understand now, and its okay no worries
-
apotheon
I'm finally getting to the point where 250GB doesn't seem like a lot to me.
-
wormrobot
does block reward increase over time in monero?
-
hyc
I copy Linux install ISOs to flash drives to boot. the ISOs are less than 8GB. can't even find a flash drive smaller than 32GB on sale anywhere
-
wormrobot
iknow in btc it decreases
-
wormrobot
hyc: same lol
-
hyc
monero block reward used to decrease. now it's constant, 0.6xmr per block
-
apotheon
I still have a pile of flash drives 8GB and smaller.
-
hyc
i.e., it decreased to its minimum level in August and has stopped decreasing
-
wormrobot
hyc: is that forever?
-
hyc
yes, forever
-
wormrobot
& if u dont mind me asking what caused it to stop decreasing?
-
apotheon
original design
-
wormrobot
apotheon: lucky
-
apotheon
Is that lucky?
-
apotheon
I keep having to figure out which flash drive will hold all the data I need.
-
wormrobot
yeah because i use to get them for free in school and never saved them and now that i started to fall in love with computers now i need them so i have to buy
-
wormrobot
apotheon: waow same
-
hyc
I have to figure out which one wastes the least amount of space :P
-
wormrobot
apotheon: btw samsung made one that looks really clean and easy to hide because of its color
-
hyc
at one point I figured out how to boot an ISO from a partition. so then I carved up a 32GB flash drive into 4 8GB partitions, and put 4 different install images on it
-
hyc
then you just toggle the bootable flag of the one partition you want
-
wormrobot
was it at specific block, where the reward stopped decreasing?
-
wormrobot
hyc: smart lol
-
wormrobot
never tried it tho
-
apotheon
wormrobot: yes
-
apotheon
pretty sure, anyway
-
hyc
block reward was an exponential decay curve
-
hyc
but emission curve wasn't exact because in the past, some miners didn't take the full reward
-
hyc
ISTR one of the hardforks changed it so that the full reward had to be taken every time, so maybe the final block became known at that point
-
Rucknium[m]
cjac: Whether your idea is a "problem" or not really depends on what a user is using the blockchain for.
-
Rucknium[m]
wormrobot: Block 2.641.623
p2pool.io/tail.html
-
Rucknium[m]
Block reward now can go lower than 0.6 per block if Monero transaction volume suddenly rises. It's built into Monero dynamic block size feature. It can never go higher than 0.6/block
-
wormrobot
Rucknium[m]: ohh so it can go lower depending on the tx vol but wont ever go higher the 0.6 per block
-
wormrobot
tx vol is pretty low then huh?
-
Save_G[m]
<Rucknium[m]> "Block reward now can go lower..." <- you are trying to say that the total supply can´t increase more then 0.6xmr per block but the block reward can be higher due to fees
-
kowalabearhugs-[
<rucknium[m]> "kowalabearhugs-[m]: Remote nodes..." <- Thanks for correcting the terminology. Both MyMonero and Monerujo are considered lightwallets despite their different backend functionality, correct? Perhaps another term is needed. Zcash's Lightwalletd seems more akin to a MyMonero, LWS setup
-
endogenic
a lightwallet is a scanner server plus api
-
endogenic
mostly!
-
endogenic
monerujo is not considered a light wallet but a full wallet
-
cjac
Rucknium[m]: Sorry, I meant ask whether the introduction of anonymizing transactions and obfuscation is the primary reason that the process cannot be parallelized.
-
endogenic
lightwallets also differ from the rpc wallet server
-
endogenic
to answer your q, the client can use tor or i2p
-
kowalabearhugs-[
Ah I rarely hear the term full wallet
-
selsta
cjac: does bitcoin support what you are asking?
-
cjac
selsta: multi-threaded data load? not certain. I'm new to cryptocurrencies.
-
kowalabearhugs-[
Is Zcash using lightwalletd for mobile wallets because the higher resource requirements for sync must be offloaded? Can a wallet sync on mobile without offloading?
-
Rucknium[m]
cjac: What process, and parallelized how?
-
Rucknium[m]
You also need to think about what could happen if there are malicious actors in the network.
-
apotheon
wormrobot: I'm not sure I'd describe Monero has being low volume, though I suppose that depends on your definitions.
-
apotheon
It gets quite a bit of transaction volume, compared to most other cryptocurrencies, in terms of actual use as a currency rather than just a trade arbitrage instrument.
-
Rucknium[m]
kowalabearhugs-[m]: Monero wallets can sync on mobile easily. That's what most Monero-focused mobile wallets do: Monerujo, Cake, Stack, etc. For Zcash, you would want to do a head-to-head comparison of time per (shielded) output scanned with Monero outputs. I don't know how well a mobile wallet handles Zcash shielded tx in their several versions.
-
apotheon
In a way, banning Monero from CEXes is a benefit, because there's less speculative daytrading traffic stacking up the blockchain, and more real-world use.
-
cjac
Rucknium[m]: the initial blockchain load process ; parallelized in that block x doesn't depend on block x-1
-
Rucknium[m]
And if a malicious node feeds the syncing node bad data? How would it know? (it wouldn't). That's why your idea doesn't work when there are adversaries on the network.
-
Rucknium[m]
So a malicious node feeds the syncing node GB of data for the last part of the chain. That's a waste, and you've slowed down the syncing process. Counter-productive.
-
kowalabearhugs-[
<rucknium[m]> "kowalabearhugs-[m]: Monero..." <- rucknium[m]: Yes, in my experience remote nodes can sync a Monero wallet as fast as lightwalletd syncs Ywallet despite Monero having 5-7x the txn volume. Just curious if a theoretical mobile Zcash wallet could sync without offloading resource requirements to lightwalletd
-
selsta
zcash has huge performance issues currently from what i have read on their forum
-
Rucknium[m]
I don't know. It would be a good question for the Zcash forums.
-
selsta
due to the spam attack
-
cjac
Rucknium[m]: in my example, the data would be signed by a third party whose public key has been verified
-
as2333
cjac bitcoin can't be 'parallelized' either - and it's simpler than monero.
-
Rucknium[m]
cjac: That's directly contrary to the proof-of-work security model.
-
cjac
okay. I'll keep reading. I appreciate you letting me bounce thoughts off of you.
-
apotheon
Are there any reasonable speculations about why there's a spam attack on Zcash?
-
cjac
as2333: thanks. I'll keep reading. I'm as25819 btw
-
Rucknium[m]
The Bitcoin white paper is short and not hard to read.
-
apotheon
. . . or perhaps actually known explanations for it?
-
Rucknium[m]
It describes the building blocks (pun intended) of virtually all cryptocurrencies.
-
Rucknium[m]
apotheon: There were some early spam txs to burn addresses with messages about the internal management of Electric Coin Company, the developer of Zcash.
-
kowalabearhugs-[
apotheon: At last glance that attack appears to have ended in late November
-
Rucknium[m]
-
cjac
ah, I think I'm thinking of something more in line with Proof of Stake validators