-
Pascal123
hey guys
-
Pascal123
i took again a look into structure of monero data and get to q question...
-
Pascal123
As i ve seen the blob Data of monero is different than blob Data of bitcoin
-
Pascal123
the blob by monero is Block Header + Merkle Tree + xxxxx . so could it be possible that i m changing the nonce at the wrong position ? Actually i m changing the nonce at position 76 to 80, like Bitcoins blob ...
-
Pascal123
is that wrong ?
-
ofrnxmr[m]
<moneromooo> "Well, the world wide web usually..." <- ^
-
ofrnxmr[m]
Im wondering what youre working on?
-
ofrnxmr[m]
Wownero 0.3?
-
Pascal123
lol, its more an experimental project
-
ofrnxmr[m]
I think you may be looking for #monero or #monero-community-dev
-
ofrnxmr[m]
Have you read mastering monero or zero to monero ii?
-
Pascal123
i m adapting original some bitcoin code to monero
-
Pascal123
but actually im confused about the correct nonce byte position
-
Pascal123
at bitcoin blob it is pos 76 to 79
-
Pascal123
and i got the feeling at monero it is different
-
ofrnxmr[m]
Have you checked if ZtM2 covers it?
-
Pascal123
i m looking into it right now
-
ofrnxmr[m]
I may have missed it, but what code are you trying to adapt? xyproblem.info and all that
-
ofrnxmr[m]
What* are you ultimately* trying to do*
-
ofrnxmr[m]
getmonero.org/library ztm and others can be found here
-
Pascal123
its more for my personal educational purposes
-
Pascal123
in the documentation are mistakes
-
Pascal123
nonce is not 32 bytes...it are 4 bytes
-
Pascal123
im reading actually zero to monero doc
-
anonimauzanto[m]
From what I recall in the block hex there is [major_version, minor_version, timestamp, prev_block_id, nonce, ...]. The first three are varint but I would guess [1 byte, 1 byte, 4 bytes, 32 bytes, 4 bytes (nonce) ...] which would put the nonce at position 76 in hex
-
Pascal123
ah ok position 76 is in hex and not a byte position ?
-
Pascal123
i need the byte position ...hmm
-
Pascal123
so it would be... one moment..position 39
-
Pascal123
correct ?
-
anonimauzanto[m]
Two hex characters equal one bytes. I believe the position would be 38 if using zero indexing.
-
Pascal123
sorry yes 38
-
Pascal123
maybe that is my mistake why everytime my hash is wrong
-
Pascal123
so my only rest problem would be comparing job to target... i m using actually c#,...i dont have big integers
-
Pascal123
i mean really big bigintegers
-
Pascal123
but the positon of 38 is in byte and not in hex, correct ? bc at bitcoin you insert the nonce at postion 76 (byteposition)
-
Pascal123
hmm.... now i get another error..cannot find job id
-
Pascal123
one step further
-
ofrnxmr[m]
Monero PoW #monero-pow
-
ofrnxmr[m]
Or maybe #p2pool or #p2pool-mini
-
anonimauzanto[m]
I built the latest p2pool v3.3 on arm64 arch linux using the same build process as has been used for v3.2 and prior releases. The latest release completes the build process but crashes when attempting to run exactly at the prior versions have run. To confirm I rebuilt v3.2 and it is functioning correctly.
-
anonimauzanto[m]
p2pool.service: Main process exited, code=dumped, status=11/SEGV
-
anonimauzanto[m]
p2pool.service: Failed with result 'core-dump'.
-
ofrnxmr[m]
er #p2pool:libera.chat
-
moneromooo
Did you check the stack trace in that core ? If you don't know how: gdb $binaryname $corename
-
moneromooo
bt
-
sech1
anonimauzanto[m] paste the callstack of the crash at
paste.debian.net
-
sech1
It's probably the same as
SChernykh/p2pool #262
-
sech1
you need to provide i/o socket for your service, read the comments
-
anonimauzanto[m]
-
anonimauzanto[m]
I will read the comments and attempt modifications. I am not very advanced so it will take me a while to understand what to do.
-
sech1
that's not a call stack of the crash
-
anonimauzanto[m]
When I start the service it creates zst files in `/var/lib/systemd/coredump`. Running `gdb p2pool <one of those file names>` does not work but that was just a guess because I do not know how to run the command correctly. I do not want to waste anyone's time because of my lack of understanding. If I can do something that helps provide information I will
-
moneromooo
If it's systemd, try: coredumpctl debug
-
moneromooo
(from memory)
-
sech1
if you're running the release binary, it will not give any meaningful callstacks. You need to compile your own p2pool binary
-
anonimauzanto[m]
I compiled using commands from the p2pool github
-
anonimauzanto[m]
cmake ..
-
anonimauzanto[m]
make -j$(nproc)
-
anonimauzanto[m]
When I run coredumpctl debug it prints to console. Here is the text it prints:
paste.debian.net/1279017
-
sech1
yes, so it crashed inside uv_thread_join()
-
sech1
I submitted a possible fix, build the latest source code
-
selsta
you have to build with 8832/8831
-
anonimauzanto[m]
It is working. I pulled from github, rebuilt, replaced the binary, and confirmed the service started correctly. I also confirmed with the new `p2pool --version` command and received the following after the service started.
-
anonimauzanto[m]
2023-05-01 18:30:47.2586 Log started
-
anonimauzanto[m]
P2Pool v3.3 (built with GCC/12.1.0 on May 1 2023)
-
anonimauzanto[m]
2023-05-01 18:30:47.2603 Log stopped
-
DataHoarder
ofrnxmr[m]: it's #p2pool-log / #p2pool-mini libera:chat, #p2pool afaik it's for the Bitcoin one
-
DataHoarder
except seems like recently was joined by monero folks, it had like 3 people in the past :D
-
RafoAgaev[m]
у каго есть ключ
-
RafoAgaev[m]
?
-
plowsof11
#xmr.ru:matrix.org
-
someoneelse49549
The [Vulnerability Response Process](
github.com/monero-project/meta/blob…r/VULNERABILITY_RESPONSE_PROCESS.md) seems outdated. The forum is obviously dead and seeing the amount displayed in it don't correlate with the reward being distributed to older (disclosed) report. Is it linked to the Monero General Fund now ?