-
leonardo1
Hi everyone, I've just started my daemon and wallet-rpc on a debian machine on my home network, and I'm trying now to user nodejs to ask some informations about my wallet, but the response keep returning socket hang up, anyone can point my mistake?
-
moneromooo
Post the JSON you send in #monero.
-
leonardo1
I'm using monero-javascript, not sure how to get the JSON
-
leonardo1
kick update, I just fire the curl targeting wallet rpc from my application machine and from inside the server
-
leonardo1
both came with diferent results, I'm thinking that this issue is related to the port 38083 on the server side
-
El-Aurian
Hi, I've encountered an issue with Monero GUI Wallet after a power failure where the wallet appears to have re-initialised. I've reported it as an isssue on GitHub, could someone look into Bug #7079 -
monero-project/monero #7079
-
ktkxxeewr
There are multiple psychological hooks to keep Monero community members in place. Here is one:
-
ktkxxeewr
-
ktkxxeewr
Notice that Scientologists don't stand on street corners saying "Would you like to talk about our Lord and Saviour, Xenu?"
-
ktkxxeewr
Put yourself instead in the shoes of someone who spent $10,000 and 2-3 years of their life on their courses
-
ktkxxeewr
And you get a bunch of bad sci-fi - you have two choices:
-
ktkxxeewr
- either swallow a very bitter pill that you wasted a pile of money and a portion of your life
-
ktkxxeewr
- or swallow the sci-fi, and from that point on, you will swallow _anything_ they tell you.
-
ktkxxeewr
In the cult trade that's called "insider doctrine".
-
ktkxxeewr
Would you like to talk about our Lord and Saviour of NASA, Howard Chu?
-
ktkxxeewr
-
Abelian
hi hi
-
El-Aurian
If anyone is able to assist with my issue of Monero GUI Wallet having re-initialised after a power failure. I've move the bug to monero-gui -
monero-project/monero-gui #3256
-
dEBRUYNE
El-Aurian: Let's continue in #monero
-
El-Aurian
dERUYNE ok
-
moneromooo
Anyone has an opinion on
monero-project/monero #7072 (process N peers rather than drop) ?
-
sech1
It depends. Do any legit nodes break this limit?
-
moneromooo
Not that I know of.
-
sech1
If all v0.17 nodes don't send that many peers, then it's safe to enforce the limit
-
sech1
older versions don't matter obviously
-
sech1
If you launch a node with 256 out_peers and have 256 peers in your list, will it send all of them?
-
sech1
It's probably safer to just ignore excess peers
-
moneromooo
I think this is based on a misunderstanding. You don't send your current connection list.
-
moneromooo
But no.
-
sech1
ah, so what is sent there?
-
moneromooo
A random selection of your white list.
-
sech1
then it's safe to enforce the limit
-
moneromooo
FWIW, if we don't drop, it does not incentivize assholes to stop spamming. 140 kB handshake messages from the current asshole.
-
moneromooo
Also keepalives.
-
sech1
they'll just continue spamming with the maximum allowed number of peers, right?
-
sech1
For the record, my opinion is to drop such connections
-
moneromooo
Presumably. 15 kB messages, much better,
-
moneromooo
Hmm. I got an idea. Make it easy to plug to fail2ban.
-
sech1
very good idea actually
-
sech1
every time a connection is dropped (for whatever reason) it should be visible in the log with unique error message
-
sech1
at some log level
-
sech1
My fail2ban can't wait, hehe
-
sech1
on the other hand, this creates an easy way to block tor exit nodes, again...
-
Lyza
people really need to use .onion nodes anyway
-
Lyza
not clearnet nodes through tor
-
El-Aurian
Lyza how do you use .onion nodes?
-
Lyza
there's an option in the GUI to enable a SOCKS proxy
-
Lyza
then you can just put onion nodes in the node field
-
El-Aurian
is there a guide? I've never used SOCKS
-
Lyza
Let me look. The dummy easy method would be to just download and run the tor browser then hit the tick box in the GUI, since the tor browser also starts a SOCKS proxy
-
Lyza
this is more of a #monero convo though I think
-
moneromooo
There will be PoW on connect at some point.
-
selsta
IMO if the current protocol can be exploited by custom clients we should change it.
-
Lyza
+1 selsta
-
moneromooo
(which will prevent mass banning of exit nodes, or at least make it costly)
-
selsta
adding a P2P_MAX_PEERS_IN_HANDSHAKE would make sense
-
selsta
and drop every connection that has > MAX
-
moneromooo
I'll do that.
-
moneromooo
Also,
repo.getmonero.org/monero-project/ccs-proposals/-/merge_requests/192 - back to working more on monero after months mostly doing other stuff
-
Lyza
nice
-
Lyza
is the idea for PoW on connect to do some actual RandomX hashes for the receiving node a la RPC pay? or are you thinking like a separate system
-
moneromooo
Randomx is too heavy to verify sadly.
-
moneromooo
It will likely be Equix, or if not, keccak.
-
Lyza
hmm, so something with asics for it?
-
Lyza
that seem son the surface problematic
-
selsta
Equix does not have ASICs and if so it can be tuned.
-
selsta
Tor is looking into the same algorithm
-
Lyza
oh okay I guess I thought that was a reference to equihash
-
selsta
It is not used for PoW so there is no incentive to ASIC it
-
Lyza
gotcha. keccak is though right?
-
moneromooo
Most likely. It was designed to be silicon friendly.
-
moneromooo
It also very fast in software.
-
moneromooo
Guess blake2 would be faster even. Also ASICs probably.
-
selsta
-
Lyza
ty for the link
-
selsta
.merge+ 7070 7071 7072 7073
-
xmr-pr
Added
-
moneromooo
sech1: 7081
-
sech1
nice
-
hyc
#7082 only 2 more years? should have gone till 2023 exitscam
-
moneromooo
I've done two years every time before IIRC. It's arbitrary really.
-
moneromooo
Reason is, I've found a key from like 2000 or so someone's used, to which I no longer have the secret key :)
-
moneromooo
So I don't really want those keys to be kept alive forever.
-
hyc
I kinda figured it was arbitrary yeah. and 2023 just to align with the exttscam meme
-
moneromooo
It has an actual date, does it...
-
hyc
I don't know of an actual date, just "2023" according to fluffy
-
selsta
7054 is the only PR left that needs an approval before we can tag
-
hyc
7054 windows CI failed, is that just windows being windows?
-
selsta
the release branch does not have updated CI
-
selsta
7055 (master equivalent) passed
-
sech1
moneromooo in 7054, why do you call evict_host_from_white_peerlist() in the very end? it's inside "if(by_addr_it_wt == m_peers_white.get<by_addr>().end())" so the peer shouldn't be in the list already
-
moneromooo
To evict all the ones with different ports.
-
sech1
ah, and possibly IPV4 embedded in IPv6?
-
moneromooo
Yes.
-
sech1
7054 looks good at the first glance, I'll take a deeper look tomorrow
-
sech1
if it's not approved by then
-
gingeropolous
max peers in handshake ban? xmrchain node is set to bajillions of peers
-
selsta
out_peers?
-
selsta
or what?
-
gingeropolous
out-peers=1024
-
selsta
yea this is unrelated
-
gingeropolous
word
-
Guest3913
Hi there. I want to get some info about the pow currently used in monero. Whats actually used? I've seen references to cryptonight / cryptonightr / randomx. Is this expected to switch soon?
-
Guest3913
I'm planning on implementing a miner for a new platform, and want to make sure I dont waste too much effort
-
Guest3913
mostly PoC / for fun
-
moneromooo
randomx, and we don't expect to switch soon.
-
tevador
-
Guest3913
cool, many thanks