07:09:55 Hey, if doing merge-mining with Monero, should the salt in the RandomX implementation be changed or the same should be kept like Monero has? 07:12:56 Merge mining means you compute exactly the same hashes as Monero (but you add some data to tx_extra of the coinbase transaction) 07:13:17 Gotcha, thanks 07:14:42 That tx_extra data is usually the coinbase hash of the other chain's block? 07:15:07 Or no actually, perhaps the header hash 07:19:39 If you want to do it the right way, you have to add TX_EXTRA_MERGE_MINING_TAG (tag #3) which contains 32-byte merkle root hash 07:20:07 Merkle root hash of all chains you're merge mining with this Monero block 07:20:27 if it's only one chain, then it will be just that chain's hash 07:20:40 What's in that Merkle tree? 07:20:44 By "hash" I mean whatever 32 bytes of data you get from that chain 07:20:49 aha 07:20:56 Usually it's a hash of that chain's block 07:21:10 Not a PoW hash, just a regular cryptographical hash 07:21:19 Yep, so like the header hash 07:21:53 Then, you can prove to that chain that you mege mined by demonstrating that the coinbase tx has the merge mining tag with their hash 07:22:19 Technically it should be merkle tree proof, but if it's only one chain it's just a direct comparison 07:22:38 *nod* 07:22:41 Thank you 07:23:54 All this means you can't merge mine with some other coin unless that coin was specifically designed to be mege mined with Monero 07:24:14 Yeah 07:24:30 I've seen, for example, Tari has 2 kinds of mining 07:54:57 ugh it's very difficult to find resources on Google regarding mining lol 08:07:27 It's not well documented, you have to dig a lot of source code to gain knowledge 08:09:09 Certainly seems so :) 09:01:07 sech1: Is there a spec for the JSON-RPC methods/API that xmrig uses somewhere? 09:01:46 This one? https://www.getmonero.org/resources/developer-guides/daemon-rpc.html 09:02:30 The stuff it does with a pool/proxy 09:02:36 e.g. "login" 09:03:23 Is it just normal stratum? 09:08:36 it's stratum 09:08:49 okay, ty :) 09:09:02 and Monero pools use a bit different stratum compared to what you can find in google 09:09:14 so just enable debug log in xmrig and watch what it sends and receives :D 09:11:07 sech1: Is that a build-time flag? 09:11:57 it's for cmake 09:12:00 -DWITH_DEBUG_LOG=ON 09:12:18 Alright, I just compiled it from gentoo portage so it wasn't there 09:12:52 Will do so now 09:13:37 ah this is nice! 17:49:05 does CLI wallet warn against high fees from malicious nodes? 17:49:07 or is that just GUI 17:54:44 Don't think the CLI warns likewise. 17:59:07 CLI always shows the fee and asks "Y/N" before sending the transaction