Coder Social home page Coder Social logo

optipoolware's People

Contributors

eggpool avatar jmumich avatar johndoe01012 avatar maccaspacca avatar sylvaindeaure avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

optipoolware's Issues

Timestamp of mined blocks

The timestamp of mined blocks is set by the miner when a nonce is found. Consider setting the timestamp poolside when the mined block is processed.

TypeError

File "optipoolware.py", line 109, in payout
block_threshold = float(s.fetchone()[0])
TypeError: float() argument must be a string or a number, not 'NoneType'

Optimistic Hashrate

t1 = time.time()

This line should be above the array generation to account for the nonces generation time.
It's significant, and seems slower with more threads.

As it is, it's ok to test and optimize the hash part, but it does not give a correct value for the global hashrate of the miner.

Transactions stuck in mempool

The previous code to check for and remove stuck transactions at poolside was remove as it appeared to cause worker freeze. However this was found to be a different issue. The mempool check should be re-implemented as soon as practicable.

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.