Coder Social home page Coder Social logo

karlsen-network / karlsen-miner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tmrlvi/kaspa-miner

14.0 14.0 10.0 3.82 MB

A fast CPU/GPU miner for Karlsen

License: Apache License 2.0

Shell 2.51% C 17.51% Assembly 4.51% Rust 73.04% Cuda 2.42%
gpu-mining karlsenhash

karlsen-miner's People

Contributors

benrod3k avatar demisrael avatar easonwang00 avatar elichai avatar surinder83singh avatar tmrlvi avatar twkrol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

karlsen-miner's Issues

miner errors

I used the CPU to run the mining program and the following error occurred. How to deal with it? Thanks

[2023-12-01T13:38:54Z WARN karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }
[2023-12-01T13:38:54Z WARN karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }
[2023-12-01T13:38:54Z WARN karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }
[2023-12-01T13:38:54Z WARN karlsen_miner::client::grpc] Failed submitting block: RpcError { message: "Block rejected. Reason: block has invalid proof of work: ErrInvalidPoW" }

[Refactor] Rewrite code and functions with proper Karlsen naming.

Perform a code rebase and update function names by applying the following prefixes or suffixes:

  1. Replace kas with kls
  2. Replace kaspa with karlsen

Ensure these changes are applied to upper, lower, and mixed cases. Additionally, update the required ports in both the code and documentation:

  • RPC: Change from 16110 to 42110
  • P2P: Change from 16111 to 42111

The primary objective of this refactoring is to create a karlsen-miner without any references to Kaspa. It's essential to address RPC calls still named kaspa, and these will be modified during the karlsend refactoring. This adjustment is a relatively straightforward fix and presents a valuable opportunity for contributors to engage, learn, and contribute to the codebase.

Warning cannot load libkaspacuda

WARNING: Failed loading plugin /tmp/miner/release-linux/libkaspacuda.so (ignore if you do not intend to use): libcuda.so.1: cannot open shared object file: No such file or directory
...
[2023-12-12T00:10:58Z INFO karlsen_miner] Found plugins: ["/tmp/miner/release-linux/libkaspacuda.so"]
[2023-12-12T00:10:58Z INFO karlsen_miner] Plugins found 0 workers
[2023-12-12T00:10:58Z ERROR karlsen_miner] No workers specified
Error: "No workers specified"

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.