01:31:41 If 2 blocks are found by different miners at the same height around the same time, is there an objective rule to decide which one should "win", such as choosing the one which solves the highest difficulty, or will my node just pick the first one it sees? 01:36:23 In other words, is it possible for honest nodes to disagree on the top block despite having seen both candidates for it, based on which they saw first? 02:00:59 Yes 02:01:47 When cumulative difficulty is the same (which it would be for a 1 block disagreement), then nodes choose the first-seen block 02:21:35 In that case, you can't get all top block hashes via ZMQ unless there's an event I'm missing 02:21:57 That's kind of inconvenient for what I'm trying to do but thanks for answering 02:22:00 That's kind of inconvenient for what I'm trying to do but thanks for answering 05:15:58 does xmrig have its own implementation of randomx? Tevador's randomx project doesn't seem to be whats used in xmrig at all. Also what's the difference between the rx folder and randomx folder? 05:42:30 Yes xmrig has its own implementation which far exceeds the speed of the reference impl 05:43:21 rx and randomx folder where? 14:45:52 in src/crypto 14:46:17 Is there a doc/whitepaper explaining differences that were made over traditional randomx? 14:47:08 it should produce the same outputs, but faster. not sure that xmrig made a whitepaper describing the specific differences 14:50:19 was Tevador's project at least the starting point so maybe I can use a difff tool to see the differences or was it developed from scratch? 14:54:11 I'd go back in time/commits thru the history of xmrig/src/crypto/rx & randomx to check or ask xmrig or sech1 14:54:13 may I ask the purpose? general auditing, learning, etc? 14:55:07 I'm building my own miner in rust for learning 14:55:13 its a better way to learn than just reading code forever 14:55:56 Maybe what I should do is use a premade crate for randomx and then try to optimize it with a rewrite later on 14:56:13 agreed. cool project, link it here someday 14:56:15 yeah I'd crawl back thru the commit history to the beginnings of src/crypto/rx and src/crypto/randomx if you want to compare those with tevador's impl 14:56:51 and yeah use something premade at first imo, Rolling Your Own Crypto is supposed to be a Bad Thing 14:56:53 (but I don't see the issue if you pass all the same unit tests/produce the same vectors) 14:57:21 does xmrig have premade tests I can run? 14:57:52 with crypto I've seen people try to mine the first block of the coin and such to verify it 14:58:18 I'm not sure if that would work because the algo on monero has changed a few times 17:51:10 monero has regtest, but xmrig questions are likely out of scope for this room. perhaps p2pool or Monero PoW would be better