Giter VIP home page Giter VIP logo

kmd-solo-mining's People

Contributors

renovate[bot] avatar thecomputergenie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kmd-solo-mining's Issues

Better coding

Since this is a shitpile of years of crammed in crap, it needs sorted.

// TODO: Better coding

// public members
var txHash;

// TODO: Better coding
// Since this is a shitpile of years of crammed in crap, it needs sorted.
// labels: enhancement

exports.txHash = function() {
  return txHash;
};

const scriptCompile = addrHash =>
  bitcoin.script.compile([
    bitcoin.opcodes.OP_DUP,         //76

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/todo.yaml
  • actions/checkout v4
  • alstr/todo-to-issue-action v4
npm
package.json
  • async ^3.0.0
  • base58-native ^0.1.4
  • bignum dccf7b7
  • body-parser ^1.18.2
  • color ^4.0.0
  • colors 1.4.0
  • dot ^2.0.0-beta.0
  • dotenv ^16.0.0
  • express 4.19.2
  • express-dot-engine 1.0.8
  • express-rate-limit 7.2.0
  • find-commit ^0.2.2
  • merkle-bitcoin ^1.0.2
  • trim-newlines 5.0.0
  • promise ^8.0.1
  • node >=21.4

  • Check this box to trigger a request for Renovate to run again on this repository

Continue cleaning

examine and see how much is antiquated leftovers and rework the commandStringBuffer concept.


* @todo Continue cleaning
* @body examine and see how much is antiquated leftovers and rework the commandStringBuffer concept.
*/
var fixedLenStringBuffer = function (s, len) {
var buff = new Buffer(len);
buff.fill(0);


This issue was generated by todo based on a todo comment in 53a4eca. It's been assigned to @TheComputerGenie because they committed the code.

Set to Komodo diffs

this diff is "wrong" and the reason all the rest of the math is off.


* @todo Set to Komodo diffs
* @body this diff is "wrong" and the reason all the rest of the math is off.
*/
var algos = module.exports = global.algos = { 'equihash': { diff: parseInt('0x0007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff') } };


This issue was generated by todo based on a todo comment in 53a4eca. It's been assigned to @TheComputerGenie because they committed the code.

npm error

npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/BitGo/blake2b-wasm.git
npm ERR! [email protected]: Permission denied (publickey).

working and restarts

it works for a couple of minutes then restarts and shows the next message:

node:buffer:323
throw new ERR_INVALID_ARG_TYPE(
^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at Function.from (node:buffer:323:9)
at scriptCompileP2PK (/home/aldoserv/KMD-solo-mining/lib/stratum/transactions.js:26:12)
at exports.createGeneration (/home/aldoserv/KMD-solo-mining/lib/stratum/transactions.js:97:25)
at new BlockTemplate (/home/aldoserv/KMD-solo-mining/lib/stratum/blockTemplate.js:35:35)
at JobManager.processTemplate (/home/aldoserv/KMD-solo-mining/lib/stratum/jobManager.js:79:32)
at /home/aldoserv/KMD-solo-mining/lib/stratum/pool.js:418:66
at itemFinished (/home/aldoserv/KMD-solo-mining/lib/stratum/daemon.js:117:36)
at /home/aldoserv/KMD-solo-mining/lib/stratum/daemon.js:124:88
at parseJson (/home/aldoserv/KMD-solo-mining/lib/stratum/daemon.js:69:17)
at IncomingMessage. (/home/aldoserv/KMD-solo-mining/lib/stratum/daemon.js:75:41) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v21.5.0
[Pool][Thread 0][12/26 20:35:53] Fork 0 died, spawning replacement worker...

Does this remote control work now?

Greetings. Does this remote control work with the manners of Z15 420ksol. If it works, which Diff should be set.
Do we leave the Worker and password fields empty in the manner settings?

Running but not accepting shares z9

been testing and installed easily but not accepted shares from authorized miner.

also got error, i think on redis server

CLI: CLI listening on port 17118
[Init][Thread 0][02/14 20:41:48] Spawned proxy on 1 threads(s)
[Website][Thread 0][02/14 20:41:48] Example app listening at http://0.0.0.0:8088
[Blocks][Thread 0][02/14 20:41:48] Current block would pay: 3.00262746
[PoolWorker][Thread 0][02/14 20:41:48] Stratum Pool Server Started for Komodo [KMD]
Network Connected: Mainnet
Current Connect Peers: 16
Network Hash Rate: 99.72 MH
Current Block Height: 2265451
Stratum Port(s): 3850, 3851
Current Block Diff: 407555545.0011091
Network Difficulty: 411209501.6595058
Block polling every: 5 seconds
[PoolWorker][Thread 0][02/14 20:41:48] p2p connection successful
[PoolWorker][Thread 0][02/14 20:42:48] Authorized RQHibKZzKSzkVTHqgheFm7m7mJ7qbXsLFV.z9-50x131:x@::ffff:136.32.180.78
[PoolWorker][Thread 0][02/14 20:42:48] Unknown stratum method from RQHibKZzKSzkVTHqgheFm7m7mJ7qbXsLFV.z9-50x131 [::ffff:136.32.180.78]: mining.multi_version
[PoolWorker][Thread 0][02/14 20:42:58] No new blocks for 70 seconds - updating transactions & rebroadcasting work
[Blocks][Thread 0][02/14 20:42:58] Current block would pay: 3.00536218
[PoolWorker][Thread 0][02/14 20:44:08] Block notification via p2p -->> Block: 2265451
[Blocks][Thread 0][02/14 20:44:08] Current block would pay: 3.0065269
[PoolWorker][Thread 0][02/14 20:44:31] Block notification via p2p -->> Block: 2265452
wait loop data: {"error":{"code":-1,"message":"CreateNewBlock(): create block failed"},"response":null,"instance":{"host":"127.0.0.1","port":8770,"user":"entrust","password":"entrust","index":0}}
[Blocks][Thread 0][02/14 20:44:34] Current block would pay: 3
[PoolWorker][Thread 0][02/14 20:44:34] Block notification via RPC polling
[PoolWorker][Thread 0][02/14 20:45:44] No new blocks for 70 seconds - updating transactions & rebroadcasting work
[Blocks][Thread 0][02/14 20:45:44] Current block would pay: 3.00181044
[PoolWorker][Thread 0][02/14 20:46:54] No new blocks for 70 seconds - updating transactions & rebroadcasting work
[Blocks][Thread 0][02/14 20:46:54] Current block would pay: 3.00375574
[PoolWorker][Thread 0][02/14 20:48:04] No new blocks for 70 seconds - updating transactions & rebroadcasting work
[Blocks][Thread 0][02/14 20:48:04] Current block would pay: 3.00456758
[PoolWorker][Thread 0][02/14 20:48:55] Block notification via p2p -->> Block: 2265453
[Blocks][Thread 0][02/14 20:48:55] Current block would pay: 3
[PoolWorker][Thread 0][02/14 20:50:05] No new blocks for 70 seconds - updating transactions & rebroadcasting work
[Blocks][Thread 0][02/14 20:50:05] Current block would pay: 3.000624
[PoolWorker][Thread 0][02/14 20:50:14] Socket disconnected RQHibKZzKSzkVTHqgheFm7m7mJ7qbXsLFV.z9-50x131 [::ffff:136.32.180.78]
[PoolWorker][Thread 0][02/14 20:50:47] Authorized RQHibKZzKSzkVTHqgheFm7m7mJ7qbXsLFV.z9-50x131:x@::ffff:136.32.180.78
[PoolWorker][Thread 0][02/14 20:50:47] Unknown stratum method from RQHibKZzKSzkVTHqgheFm7m7mJ7qbXsLFV.z9-50x131 [::ffff:136.32.180.78]: mining.multi_version
[PoolWorker][Thread 0][02/14 20:51:15] No new blocks for 70 seconds - updating transactions & rebroadcasting work
[Blocks][Thread 0][02/14 20:51:15] Current block would pay: 3.00465397
[PoolWorker][Thread 0][02/14 20:52:25] No new blocks for 70 seconds - updating transactions & rebroadcasting work
[Blocks][Thread 0][02/14 20:52:25] Current block would pay: 3.00527797
[PoolWorker][Thread 0][02/14 20:52:35] Block notification via p2p -->> Block: 2265454
[Blocks][Thread 0][02/14 20:52:35] Current block would pay: 3.00565241

Error: Cannot find module 'express-rate-limit'

Error: Cannot find module 'express-rate-limit'
Require stack:

  • /home/pools/KMD-solo-mining/lib/workers/website.js
  • /home/pools/KMD-solo-mining/init.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1234:19)
    at require (node:internal/modules/helpers:176:18)
    at new module.exports (/home/pools/KMD-solo-mining/lib/workers/website.js:15:18)
    at Object. (/home/pools/KMD-solo-mining/init.js:28:4)
    at Module._compile (node:internal/modules/cjs/loader:1375:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1434:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/pools/KMD-solo-mining/lib/workers/website.js',
    '/home/pools/KMD-solo-mining/init.js'
    ]
    }

var dateFormat = require("dateformat");

Hello
When I do npm start

I'm getting an error like this. Can you please help? Everything seems normal. Is there something I'm missing?

root@solo:~/KMD-solo-mining# npm start

[email protected] start
node --no-deprecation init.js

/root/KMD-solo-mining/lib/stratum/transactions.js:5
var dateFormat = require("dateformat");
^

Error [ERR_REQUIRE_ESM]: require() of ES Module /root/KMD-solo-mining/node_modules/dateformat/lib/dateformat.js from /root/KMD-solo-mining/lib/stratum/transactions.js not supported.
Instead change the require of dateformat.js in /root/KMD-solo-mining/lib/stratum/transactions.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/root/KMD-solo-mining/lib/stratum/transactions.js:5:18) {
code: 'ERR_REQUIRE_ESM'
}

Node.js v21.5.0
root@solo:~/KMD-solo-mining#

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.