Git Product home page Git Product logo

elixium_miner's Introduction

Hi there, I'm Alex!

Welcome to my GitHub profile! I'm a Senior Software Engineer with a passion for building cool things and solving complex problems.

๐Ÿ‘จโ€๐Ÿ’ป About Me

  • Sr. Software Engineer with a knack for developing robust and scalable systems.
  • Creator of Elixium, a blockchain network designed to push the boundaries of decentralized applications.
  • I enjoy crafting tools that make developers' lives easier and more productive.
  • Functional programming enthusiast. I love the elegance and power of functional paradigms and try to incorporate them into my work whenever possible.

๐Ÿ”ง Tools & Technologies

  • Languages: Elixir, Ruby, JavaScript, TypeScript, Java, C++, and more.
  • Frameworks: React, Phoenix, Rails.
  • Tools: AWS, Git, Docker.

Feel free to explore my repositories and reach out if you want to chat about tech, blockchain, functional programming, or anything in between!


You can find me here:

GitHub โ€ข LinkedIn โ€ข Twitter

elixium_miner's People

Contributors

alexdovzhanyn avatar fantypants avatar zac-garby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elixium_miner's Issues

Weird out of order block mining

Not sure how to recreate -- creating this issue for tracking purposes.
Console output:

23:16:47.938 [info]  Calculated hash for block at index 2050.

23:16:47.959 [info]  Sending data to peer: 71.183.69.79
Difficulty: 16386153.078095116

23:16:47.959 [info]  Time 1542601007959

23:16:47.959 [info]  Sending data to peer: 192.168.1.1

23:16:47.959 [info]  Time 1542601007959

23:16:47.959 [info]  Mining block at index 2051...

23:16:47.960 [info]  Accepted message from 192.168.1.1

23:16:47.960 [info]  Time 1542601007960

23:16:47.960 [info]  Already have a block with index 2050. Performing block diff...

23:16:47.960 [info]  Same block

23:16:47.965 [info]  Accepted message from 71.183.69.79

23:16:47.965 [info]  Time 1542601007965

23:16:47.966 [info]  Already have a block with index 2050. Performing block diff...

23:16:47.966 [info]  Same block
Hash: 0000004C46FED80AC02E1F65E7C1CF94288362501F378908514B00D4A83C11C8
Took 160 seconds.

23:18:03.403 [info]  Calculated hash for block at index 2050.

23:18:03.403 [error] Calculated hash for new block, but didn't pass validation:

23:18:03.403 [error] Invalid index 2050, expected >2050

Make miner use multiple cores

We're currently mining within 1 process and using 1 core, which limits the speed at which we mine. Let's switch to using multiple cores.

We can probably do this by checking how many schedulers we have available when the miner starts (theres usually 1 scheduler per core), and then starting a mining process per scheduler. Each mining process would need to have a range of nonces it can use.

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.