-
sech1
Any new attacks spotted so far? My .9 node is running perfectly without block lists. No peers from TOR, but TOR itself is under attack now:
reddit.com/r/TOR/comments/kualce/al…_addresses_down_after_attack_on_the
-
selsta
my nodes also have been smooth
-
selsta
(apart from Tor)
-
ffffffrnd
.
-
hyc
yeah not much happening here, 8 IPs autobanned
-
ffffffrnd
How important is refactoring Monero's code?
-
ffffffrnd
I've come across a few comments that some parts of Monero's code is a mess because it has never been refactored over the years. Someone mentioned part of Monero's weaknesses that were revealed during the attack, stem from the Cryptonight code implementation and that the messy code makes it hard to fix.
-
ffffffrnd
I'm wondering how important refactoring the code is. Is anyone from the community planning on doing it?
-
sech1
Refactoring is important, yes. But not at the expense of introducing new bugs and vulnerabilities with the new code. So it must be done very carefully and preferably over the parts of code that were proven weak
-
ffffffrnd
Is it likely someone will ever take on the burden then? Seems like an unthankful job with a lot of responsibility.
-
ffffffrnd
How has this been done with other projects (Bitcoin code i.e.)? I'm just curious about how this usually works
-
hyc
looks to me like bandwidth limits are not applied to rpc connections. I'm turning off public rpc on my node
-
hyc
it keeps exceeding my bandwidth cap
-
gingeropolous
.9 uptime 2d 20h 34m 8s
-
gingeropolous
, no block lists, 76 banned peers
-
moneromooo
In net_node.inl: zone.m_peerlist.get_and_empty_anchor_peerlist(apl);
-
moneromooo
Anyone has any idea why the empty part ?
-
moneromooo
I can't see why that makes sense and I want to remove it if I can't work out why it does this.
-
moneromooo
That's when trying to connect to an anchor peer.
-
sech1
This function is used only there, I have a feeling it was written specifically for that place
-
moneromooo
It was.
-
moneromooo
It seems purposeful, that's why I've not removed it yet.
-
moneromooo
But AFAICT, emptying the list ensures we lost memory of first seen all the time, which seems like the opposite of what we want.
-
moneromooo
And we won't ever connect to a second anchor, which is also not what we want.
-
moneromooo
So I'm pretty sure I'm missing one thing.
-
sech1
No idea
-
Lusya_BriTvA
Howard, you know why all the 'Titanic intelligence Saviour of NASA' posts stopped last year? They know you are an embarrassment. Your arse didn't learn anything new in 25 years, and that includes C++. They just can't say it to your face.
-
cornfeedhobo
i don't always drain my battery in ten minutes, but when i do, i'm compiling monero
-
cornfeedhobo
is there something to set to get more detail from the failing unittests?
-
selsta
cornfeedhobo: CTEST_OUTPUT_ON_FAILURE=ON env var
-
cornfeedhobo
thakns
-
cornfeedhobo
thanks*
-
guest0213234
Hello everyone, how do I just build "monero-blockchain-prune" from source? Thx in advance!
-
moneromooo
make
-
guest0213234
I am using msys on windows. I managed to build everything. But how to build a specific target?
-
moneromooo
make -C build/wherever blockchain_prune
-
guest0213234
Was my first try, but "no rule to make target ... "
-
guest0213234
Are there existing rules for that?
-
moneromooo
Yes.
-
guest0213234
ok found that rule. but the rule "blockchain_prune" does not work standalone
-
guest0213234
ok. I see my questions are some kind of newbie. Cause I am home in other languages. Anyway please help ;-)
-
moneromooo
Well, in case this was not obvious, "wherever" was a placeholder. Replace with whatever directory is there for you.
-
moneromooo
Otherwise, I just tried, works fine.
-
moneromooo
It might be along the lines of build/x/y/release
-
guest0213234
If I run "make blockchain_prune" from "monero/src/blockchain_utilties", the error is "lmdb.h" not found
-
guest0213234
the thing with the placeholder, I understood, I just did not specify an output folder
-
moneromooo
Check for other obvious things: is there a makefile in build/wherever/you/gave ?
-
moneromooo
And does it have a line starting with "blockchain_prune:" ?
-
guest0213234
yes it does. there is a makefile in subfolder with that target
-
moneromooo
Are you on some BSD variant ? If so, use gmake instead.
-
moneromooo
Oh nvm you said msys.
-
guest0213234
wait I try another directory
-
guest0213234
Ok. Thank you for helping. I was in the wrong dir