GithubHelp home page GithubHelp logo

autominer-api's People

Contributors

bitspill avatar devonjames avatar ostlerdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

autominer-api's Issues

Crash on rent attempt

1502487368172 { id: redacted-id, length: 3, profileid: 'redacted', method: 'rent' }
TypeError: Cannot read property 'rigid' of undefined
    at /autominer-api/app.js:472:75
    at /autominer-api/node_modules/miningrigrentals-api/index.js:87:3
    at Request._callback (/autominer-api/node_modules/miningrigrentals-api/index.js:139:3)
    at Request.self.callback (/autominer-api/node_modules/request/request.js:188:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/autominer-api/node_modules/request/request.js:1171:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/autominer-api/node_modules/request/request.js:1091:12)

process error

Hi
Can you possibly tell me what this means ๐Ÿ‘
^Croot@HM-D01:~/autominer-api# node app.js
autominer-api listening on port 8168 using http!
1556482840271 { method: 'balance' }
1556482840289 { type: 'scrypt', method: 'list' }
1556482840290 { method: 'myrentals' }
1556482840291 { method: 'profiles' }
1556482840643 { type: 'scrypt', method: 'list', nonce: 1556482840289 }
1556482840649 { method: 'balance' }
1556482850295 { type: 'scrypt', method: 'list' }
1556482850730 { method: 'balance' }
1556482851044 { id: 80234, length: 24, profileid: '85969', method: 'rent' }
1556482851045 { id: 39177, length: 24, profileid: '85969', method: 'rent' }
1556482851046 { id: 44017, length: 24, profileid: '85969', method: 'rent' }
1556482851047 { id: 39178, length: 24, profileid: '85969', method: 'rent' }
1556482851048 { id: 120292, length: 24, profileid: '85969', method: 'rent' }
Error renting rig: Profile type does not match rig type
Error renting rig: not authenticated
Error renting rig: not authenticated
Error renting rig: not authenticated
Error renting rig: not authenticated

Todo before v1.0

  • Implement config file
  • Finish API details returning sqlite logs
  • Allow rent all function
  • Run rig rental script every config.rentalLength hours
  • Calculate weekly spent and left to spend so as to not overspend

pool

does this only work with your pool and florincoin?

Create first run script to fill in config.

This first run script should gather all of the required details including gathering of the Profile ID automatically (if more than 1 profile is present then it should display the options to the user and ask them to choose one)

Crash on cloudflare page

Currently when MRR goes offline or is unreachable for any period of time during an internal API call the autominer crashes because of the unhandled HTML page. This issue should be caught and gracefully handled.

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.