-
hashem
hello
-
ttnk
hello good morning, im new to monero, i want to start using it but i would like to get advice on how to best do it
-
ttnk
i have a little server where i run some vm on proxmox, is it a good idea to run a vm for monero? and connect from my laptop to there? sorry if im asking noob stuff
-
ttnk
i installed like 2 months ago monero monero-feather and monero-gui at my laptop with archlinux
-
moneromooo
VMs are always a good idea for isolation if you've got the resources.
-
moneromooo
The daemon is just a network daemon like many others.
-
ttnk
the wallet is the process that when started it takes forever to synch?
-
moneromooo
No. It's the one that just takes a while.
-
moneromooo
"monerod" is what I called the daemon, and which I should really call the node.
-
ttnk
i went to getmonero.org to read and try to understand how it works, i need a very very basic reading on how it works, what are the parts
-
moneromooo
Feather and monero-gui would be the wallets in your case.
-
ttnk
ok
-
ttnk
so i can run monerod on a VM and then connect the gui from my laptop?
-
moneromooo
Yes, you can.
-
moneromooo
Always run the wallets from hardware you control btw. The node, not so important.
-
ttnk
the node can run on a vps for example?
-
moneromooo
Yes.
-
ttnk
why is the node not that important? and how big the VM needs to be?
-
ttnk
i mean space, CPU and RAM?
-
ttnk
thanks for your help moneromooo by the way :D
-
moneromooo
It does not know your keys, so if it gets pwned, you don't lose your monero.
-
moneromooo
The chain is something like 140 or 150 GB IIRC. Pruned, it's more like < 50 GB.
-
moneromooo
You want at least 1 GB free. 2 GB free to be comfortable.
-
moneromooo
More if you want to build it on that VM.
-
moneromooo
More for the initial sync to avoid slowdowns.
-
moneromooo
You want a CPU with hardware AES. More cache is always good.
-
moneromooo
After you've done the initial sync, it won't use much.
-
moneromooo
(CPU)
-
moneromooo
Well, relatively I guess.
-
ttnk
any preferred distro? or it doesnt matter?
-
moneromooo
Some Linux. IIRC BSDs are tricky to build on.
-
moneromooo
The README has a list of Debian packages. Also for... Fedora and arch IIRC.
-
moneromooo
But it should be fine on any reasonably modern Linux distro.
-
moneromooo
Also biulds on Mac and Windows if you're into those.
-
ttnk
ok cool, so just to be sure, i will build an archlinux VM with 180G HD, 2G RAM 2CPU with aes
-
ttnk
is that ok?
-
moneromooo
2 GB will probably be not quite enough to build.
-
moneromooo
Unless you meant 2 GB free, not total.
-
moneromooo
In that case, make sure you add some swap, and it should be fine (no parallel make).
-
ttnk
ah ok, so ill make it 4G then
-
hyc
4G should be ok
-
Mochi101
moneromooo, is there any way to derive a hash from the data at certain points in the blockchain?
-
Mochi101
For example, a node could sync 250k blocks and create a hash from the data and store it locally, then again at 500k, 750k, etc.
-
Mochi101
These could be shared on the network to verify the blockchain data rather than full verification by every member.
-
Mochi101
Monero has an accessibility problem... a lot has to do with syncing the chain... maybe something like this could help.
-
Mochi101
If it's even possible it could be made as an opt-in fast sync.
-
hyc
doesn't help a whole lot since you still need access to all txn/txo data to construct your own txns
-
hyc
syncing a new node generally isn't heavily CPU bound. every new release already contains checkpoint hashes up to a recent point in time.
-
hyc
all blocks up to the last checkpoint are indeed "verified" only by checking their hash, no heavy computation or lookups
-
Mochi101
hyc, so why does it take so long to sync a new node?
-
hyc
network and disk I/O mostly
-
Mochi101
I can download the whole chain in an hour but it takes 30 hours to sync.
-
hyc
see for yourself. set up 2 nodes on your own LAN, one full and one empty
-
hyc
set the empty node to use the sync'd node as an -exclusive-node
-
hyc
time how long it takes, record system utilization stats as it goes.
-
moneromooo
It is possible. However, a hash is just a hash. You need a way to tell whether this hash is correct.
-
moneromooo
It could be signed by trusted people, like gitian builds, maybe.
-
moneromooo
Is this so you could download a ready made lmdb file ?
-
moneromooo
(and sync the small remainder)
-
moneromooo
Something like that is on my list for TF, but mostly to detect bugs (I have lots of db tables).
-
moneromooo
You need a way to go through the DB in a determistic fashion. I believe monero-blockchain-export is one example of this.
-
Mochi101
moneromooo, no, this is not what I'm thinking. If p2p nodes are sharing and verifying blockchain data together, why can't they share the data and then the hash derived from said data.
-
Mochi101
So rather than ask everybody on the network for a block at a time just share the data for the first 250k blocks and then the hash derived from it.
-
Mochi101
If I want to run a full node, I sync until 250k blocks and then create a hash from the data... then 500k... and 750k.. so that those who want to do a fast sync can just download the data and verify with the hashes.
-
Mochi101
or maybe I'm missing something...
-
selsta
Mochi101: and how do you know which nodes to trust?
-
Mochi101
selsta, mmm.. yeah.. I see now.
-
Mochi101
Man... Monero is probably the most verified and scrutinized chain out of all of the currencies that are out there.
-
moneromooo
Second most, probably ^_^
-
Mochi101
moneromooo, you think BTC more?
-
Mochi101
No real verification needed if it's an open book.
-
moneromooo
I would be flabbergasted if not.
-
moneromooo
Even Ethereum is probably more scrutinized than monero, come to think of it. Just the sheer amount of people, even if diluted by the sheer amount of... stuff.
-
Mochi101
moneromooo, but who even syncs an ETH node?
-
moneromooo
Good point. Maybe it is a clever DoS attack on the NSA...
-
ttnk
hi, im back, so i created my VM, my node is running, ti will take like 1 day to finish the sync
-
ttnk
i was watching on how to connect the wallet to the node, but i cant find how to add user/pass to it
-
ttnk
thanks for the help guys, have a great day
-
Mochi101
ttnk so patient