Giter Site home page Giter Site logo

Comments (6)

jtgrassie avatar jtgrassie commented on May 10, 2024

It looks like "autosave": true in config.json make xmrig overwrite/delete "self-select": "localhost:28081"

Thanks for the flag. Honestly, I spent very little time on the xmrig patch, it was more just a proof-of-concept.

After mining quite a few blocks, I get the folowing on the screen:...

This is because those blocks are waiting to validate, right?

That's logs coming from the monero-wallet-cli for your pool wallet right?

No payouts occur until 60 blocks have passed since a mined block.

from monero-pool.

trasherdk avatar trasherdk commented on May 10, 2024

Yes, the needed_money + min_fee > unlocked_balance_subtotal, is from the monero-wallet-rcp.
right, I was thinking it was the 60 block thingy.

The password needed is from monero-wallet-cli. I'll return to monero to report that one, again.

from monero-pool.

trasherdk avatar trasherdk commented on May 10, 2024

Easy fix for self-select.

diff --git a/src/core/ConfigLoader_default.h b/src/core/ConfigLoader_default.h
index 8fd0502..a58dae6 100644
--- a/src/core/ConfigLoader_default.h
+++ b/src/core/ConfigLoader_default.h
@@ -33,7 +33,7 @@ namespace xmrig {
 const static char *default_config =
 R"===(
 {
-    "algo": "cryptonight",
+    "algo": "cryptonight/r",
     "api": {
         "port": 0,
         "access-token": null,
@@ -64,7 +64,8 @@ R"===(
             "keepalive": false,
             "variant": -1,
             "tls": false,
-            "tls-fingerprint": null
+            "tls-fingerprint": null,
+            "self-select": "localhost:28081"
         }
     ],
     "print-time": 60,

from monero-pool.

jtgrassie avatar jtgrassie commented on May 10, 2024

Your patch is for xmrig, not this pool. Also, it is not a fix in any case as that forces a default value which would override anything set differently. I will be looking into a sensible fix for xmrig over the weekend.

In fact, that "patch" doesnt even patch a file on the xmrig branch with self-select mining. https://github.com/jtgrassie/xmrig/tree/stratum-ss/src/core/config

from monero-pool.

trasherdk avatar trasherdk commented on May 10, 2024

Yes, my bad. Wrong repo. Sorry. Too many open tabs in browser.

Changing "self-select": "localhost:28081" to "self-select": null. seems to do the trick.
The hole set monero-stratum-ss, monero-pool and xmrig is running pretty smooth.
Thanks.

from monero-pool.

jtgrassie avatar jtgrassie commented on May 10, 2024

The only version of xmrig which works with self-select based mining is my fork and branch here: https://github.com/jtgrassie/xmrig/tree/stratum-ss

If you didn't build and use this, you wont be using mode self-select, just normal pool mining.

from monero-pool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.