-
moneromooo
I have updated
monero-project/monero #6111/files at last, randomx functional tests. If anyone has ideas for other special cases, let me know.
-
gingeropolous
getting this on master and release:
paste.centos.org/view/raw/2489e9fc
-
gingeropolous
gots my blockchain erkns!
-
gingeropolous
and then this
-
gingeropolous
-
gingeropolous
im trying to solo mine from xmrig to daemon
-
asymptotically
gingeropolous: (i think that...) it's trying to allocate huge pages and can't
-
asymptotically
you can increase vm.nr_hugepages sysctl, or make it stop spamming with `set_log -stacktrace`. there is an environment variable to tell it to not try allocating with huge pages, but it didn't do anything for me :(
-
asymptotically
MONERO_RANDOMX_UMASK=1
-
gingeropolous
well changing the user of the task to root didn't fix things
-
gingeropolous
ah, ok. xmrig knows how to do it itself, but the daemon doesn't ... ?
-
asymptotically
if you run xmrig as root i think it'll try and enable them for you
-
asymptotically
it should be safe to ignore the messages in your daemon, at least i did until my log file got to be a few gigabytes in size lol
-
moneromooo
Did you monkey with the log settings or is there a bug in the rotation ?
-
gingeropolous
i didn't monkey with log settings
-
moneromooo
That was for asymptotically.
-
moneromooo
(beyond set_log -stacktrace)
-
moneromooo
It should not grow beyond ~100 MB.
-
asymptotically
i think i only used --log-file and --log-level, then i made the system logrotate sort it out
-
gingeropolous
ah. sorry. well, increasing huge pages to 1024 didn't do anything
-
moneromooo
OK, maybe --log-file disables rotation.
-
asymptotically
gingeropolous: you might need more. for 1 dataset and 24 mining threads i need 1193
-
fort3hlulz
Does anyone have a testnet node I can use for IBD? Can't even get sync to start, guess the seed nodes are down/overwhelmed
-
fort3hlulz
s/specify/use
-
fluffypony
fort3hlulz: sorry my seednode was down for maintenance, I've just brought it back up
-
fluffypony
just give it a bit to catch up
-
fluffypony
fort3hlulz: Height: 1487376/1487376 (100.0%) on testnet
-
fluffypony
should be fine now
-
fort3hlulz
yup, just started syncing a bit ago!
-
fort3hlulz
Thanks.
-
fort3hlulz
Is stagenet used at all? I'm setting up seeding nodes for both just to give a bit more backbone to those networks.
-
selsta
Stagenet is used, yes.
-
fort3hlulz
sweet, thanks
-
rbrunner
Is something special with keccak_256 as implemented in the Monero code? I have luigi's JavaScript implementation on
xmr.llcoins.net/addresstests.html calculating different hashes than a C# implementation I grabed somewhere which gives the same as this here:
emn178.github.io/online-tools/keccak_256.html
-
rbrunner
It also gives a different value for the empty string: c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 instead of c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470
-
rbrunner
-
moneromooo
Monero has one of the original pre-standard submissions. NIST changed a couple things IIRC, padding and... something else.
-
moneromooo
So "Keccak" really means "one of the submissions as amended".
-
rbrunner
Yeah, I tried to play with the padding, to no avail. So maybe it's "something else" :)
-
fluffypony
yeah it's something else
-
rbrunner
I saw where Luigi got its code, maybe a file compare will lead me into the right direction
-
sarang
There have been occasional ideas to move to standard SHA3, but we'd still need to haul around the old keccak code anyway
-
sarang
shrug
-
rbrunner
Anyway, if somebody has a pointer laying around somewhere which version it is exactly, I would be grateful.
-
moneromooo
src/crypto/keccak.c :P
-
moneromooo
Try monero.stackexchange.com.
-
rbrunner
Alright, thanks. Maybe I will land there after an attempt on my own.
-
rbrunner
Hmmm, that comment in that keccak.c file sound promising: "A baseline Keccak (3rd round) implementation"
-
luigi1111w
it's just padding I think
-
luigi1111w
yeah just padding changes
-
luigi1111w
your two empty string messages are the same too...
-
luigi1111w
my code gives the same values as emn178
-
luigi1111w
I think it's the same code anyway so that would make sense
-
luigi1111w
var KECCAK_PADDING = [1, 256, 65536, 16777216];
-
luigi1111w
var PADDING = [6, 1536, 393216, 100663296];
-
luigi1111w
padding is just x6 looks like