Giter Club home page Giter Club logo

trinity's Introduction

NPM Install

Available Scripts

Development

In the project root directory, you can run:

npm run dev

Will start the backend and the front end concurrently

Open http://localhost:8080/ to view it in the browser.

Runs server on http://localhost:5050/ & Client on http://localhost:8080/

Production

npm start

Runs the app in production mode.

Open http://localhost:5050 to view it in the browser.

trinity's People

Contributors

iameddieyayaya avatar bradicalone avatar devonjames avatar bitspill avatar whoop-t avatar

Stargazers

Channing Cox avatar Tyler Owen Morris avatar

Watchers

James Cloos avatar Chris Chrysostom avatar Sky Young avatar  avatar Ryan Jordan avatar  avatar  avatar orpheus avatar Channing Cox avatar

trinity's Issues

Bitcoin Rate Limiting

Trying to get bitcoin balance , too many times quickly resolves in 429 - Too Many Request.

Maybe, store the last BTC balance in DB or State?

somethings wrong calculating RVN's minimums

Tried to start an auto rent with 0.001% of network, it went into a spastic loop
Untitled 8_1

After i killed the backend i was able to finally see the message it was trying to put into the Messages area:
"In order to mine with the given token of .001 must increase your percent to 36.61% , and try renting again."

Daily budget fails to get updated in interface

Terminal reads:

NetworkhashrateFlo:  0.0876173328384 MarketPriceMrrScrypt:  0.01620375 Duration:  3 Percent:  0.15 PriceBtcUsd:  9760.905 Margin:  0.05 ProfitReinvestmentRate:  0.05
EstRentalBudgetPerCycleUSD: 7.354846581693375
msg: undefined
MSG:  {
  update: true,
  client: '7.35',
  db: 'dailyBudget',
  dailyBudget: '7.35'
}
err: TypeError: Cannot read property '0' of undefined
    at new Timer (/Volumes/2TBT5/GitHub/trinity/backend/helpers/timer.js:8:48)
    at Emitter.<anonymous> (/Volumes/2TBT5/GitHub/trinity/backend/routes/rent.js:251:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
POST /rent 500 1036.737 ms - 10

npm start script fails

I receive the following error after
npm install then npm start:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Is this an issue with the script?

MRRs worker address is not being updated

I had a rental going from one trinity account.
Screen Shot 2020-05-09 at 12 24 07 PM

i registered a new one and did not import my wallet so it generated a new one. i then made a new set of API keys in my same MRR account. I then started a new rental, and they all are using the same worker address as the previous rental was.

Screen Shot 2020-05-09 at 12 38 24 PM

Double-flipping the on-switch

If the switch is turned off and then back on, it shouldn’t do the same the rental - it should check how much of the network it is actually mining and if there’s a difference between that and how much the user wants to be mining, rent more (if doing so would meet minimums, if not, do nothing)

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.