Giter Club home page Giter Club logo

pool's People

Contributors

antho281 avatar bleach86 avatar coolguy3289 avatar crackfoo avatar exmac avatar goodthebest avatar hashrefinery avatar hexpool avatar infernoman avatar itamarcps avatar jarbinks avatar lavajumper avatar lnovy avatar marko-lorentz avatar nico205 avatar npq7721 avatar oakey22 avatar oddhome avatar opensourcerulez avatar phm87 avatar protopool avatar pyritepirate avatar radiantaeon avatar roylee17 avatar scorpio18 avatar servepeak avatar tanariel avatar tpruvot avatar tristian avatar uniminingnet avatar

Stargazers

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

Watchers

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

pool's Issues

Remove yaamp multi-pool functionality

YAAMP was originally written as a multi-token pool. With LBRYPool, and this implementation of the software, it is intended to run as a single-coin pool for LBRY Credits. There are methods and default configs that need changed to prevent new coins from automatically being added.

cant run the install.sh script without errors

Hi, when i try to install the install.sh script, i cant, i got this : ( on clean ubuntu 18.04 fresh updated )

./install.sh: line 859: unexpected EOF while looking for matching `"'
./install.sh: line 860: syntax error: unexpected end of file

Pool setup issue with stratum server response to miner

Hi,

I'm currently trying to setup a LBRY pool using this yiimp based repo (Thanks for the good work by the way !).

I could run the install script quite smoothly, then I'm testing the installation with cpuminer, and this is what I get :

./cpuminer -a lbry -o stratum+tcp://__IP__:3334 -u bL1AU5x2fYF1K11XLzQMcC3h2d3px6kJit -p c=LBC1 -D

First issue : Stratum notify: invalid claim parameter

I get "Stratum notify: invalid claim parameter" error (fatal). I lookup up cpuminer code, it appears that the pool is not sending required extradata to the miner (specific to LBRY protocol).

So i just commented out this part of cpuminer to have it run anyways.

Second issue : rejected shares

Shares keep getting rejected (ratio : about 95% are rejected) :

[2020-05-04 05:06:46] share diff 0.00486 (1.2x)
[2020-05-04 05:06:46] CPU #1: 575.64 kH/s
[2020-05-04 05:06:46] accepted: 3/53 (diff 0.013), 2242 kH/s booooo
[2020-05-04 05:06:46] reject reason: Invalid share
[2020-05-04 05:06:50] Stratum notify: invalid claim parameter
[2020-05-04 05:06:50] DEBUG: job_id='a1' extranonce2=00000000 ntime=00000000
[2020-05-04 05:06:50] CPU #0: 572.84 kH/s
[2020-05-04 05:06:50] CPU #3: 579.04 kH/s
[2020-05-04 05:06:50] CPU #2: 578.19 kH/s
[2020-05-04 05:07:05] DEBUG: hash <= target
Hash:   000000e52272f8d5053cae397daa1ab09434f6c261e932490f770ea2fd2c11cc
Target: 000000ffff000000000000000000000000000000000000000000000000000000
[2020-05-04 05:07:05] share diff 0.00436 (1.1x)
[2020-05-04 05:07:05] CPU #0: 575.51 kH/s

Other run (please note : "invalid share" OR "invalid job id" as reason) :

[2020-05-04 14:27:28] accepted: 0/1 (diff 0.005), 2268 kH/s booooo
[2020-05-04 14:27:28] reject reason: Invalid share
[2020-05-04 14:27:32] CPU #0: 586.60 kH/s
[2020-05-04 14:27:32] accepted: 0/2 (diff 0.008), 2279 kH/s booooo
[2020-05-04 14:27:32] reject reason: Invalid share
[2020-05-04 14:27:39] CPU #0: 584.15 kH/s
[2020-05-04 14:27:39] accepted: 0/3 (diff 0.005), 2276 kH/s booooo
[2020-05-04 14:27:39] reject reason: Invalid job id
[2020-05-04 14:27:41] accepted: 0/4 (diff 0.324), 2265 kH/s booooo
[2020-05-04 14:27:41] reject reason: Invalid job id

lbry.log show this (looks normal):

05:04:05: LBC1 758812 - diff 6505501.748772262 job 9b to 1/1/1 clients, hash 0.328/465681954.251 in 0.1 ms

stratum.log shows this:

04:22:02: LBRY Credits 758799 not reporting
04:27:20: LBRY Credits 758800 not reporting
04:28:23: LBRY Credits 758801 not reporting
04:36:53: LBRY Credits 758802 not reporting
04:42:32: LBRY Credits 758803 not reporting
04:43:14: LBRY Credits 758804 not reporting
04:52:27: LBRY Credits 758805 not reporting
04:57:02: LBRY Credits 758806 not reporting
04:57:44: LBRY Credits 758807 not reporting
04:58:05: LBRY Credits 758808 not reporting
04:59:09: LBRY Credits 758809 not reporting
05:00:54: LBRY Credits 758810 not reporting
05:03:43: LBRY Credits 758811 not reporting

SQL database seems OK.
reject.log is empty (?)

stratum config file lbry.conf has :

[STRATUM]
algo = lbry
difficulty = 1
max_ttf = 40000000

Thanks for your help!

  • Tran

Install fails

I installed the script on a clean Ubuntu 16.04 server and I get the following errors:

For main.sh

exception: CDbConnection failed to open the DB connection.

On frontend

the server responded with a status of 500

Remove defunct exchanges

There are multiple errors being given from multiple exchanges (CCEX in particular), stemming from the updateRawcoins() function. The exchanges either need removed, or the entire function should be removed if deemed not necessary in the scope of this implementation being a LBRY Credits pool only.

Compatibility with lbcd

A new branch needs to be made with instructions, updated documentation, and updated tweaks to the code needed to run the pool with the GO implementation of the LBRY node software, lbcd. This is proved working, just needs documented.

Update index page & footer

The index page needs updated to reflect a generic LBRY Credits pool with boiler plate info. The footer needs updated to reflect this repo as the "Open Source Project". This has been implemented in LBRYPool proper and just needs reflected on the repo.

this is ore a question than issue...

For typical yiimp setup what is hash difficulty calculation formula. i a working on a miner and am having issues finding the correct formula. i am trying with keccak algo for smartcoin first pass.

thanks in advance

Default Wallet Access by Configured Role

#FEATURE REQUEST
#Severity: Medium
Add a configuration option where a specified role will have access to the default wallet, which would in turn allow for limited "shared" access of funds to be used for larger communitive curation. Would require a specific command to use this function in order to still allow for individual curation from individual accounts.

Improve coin configuration

The main `README.md that describes how to configure the LBRY coin didn't work for me. As the coin was not available in the initial coin list, I had to create it. I addition to the instructions given, you have to set the correct RPC port (14390) and switch the settings for

  • Has getinfo to "false" as lbrycrd-cli does no longer support this command and
  • Use segwit to "true" as is is required now (seeing Stratum errors like lbry dead lock, exiting... might indicate you missed this one).

I propose to edit the README and I will check whether it makes sense to create the coin using an SQL script that does it during the initial setup phase of the MySQL database.

Compatibility with php8.1

I know php8.1 is a breaking version, however upon an accidental upgrade, it was noted that for some reason the coin property aux_pow kept getting switch to "on" in the database. Some script that was running had been interpreted differently with 8.1 vs 7.4 causing this bug. Will need to investigate further what differences could cause this for future compatibilty

After clean install blocks are rejected.

I followed the installation instructions and the blocks I tried to mine were rejected.

01:40:27: submit 127.0.0.1 (uid 2) 3883, e7230000, 5adfc055, aba76633, 213553696.000/3145728.000
01:40:33: ERROR: rpc_do_call: 127.0.0.1:14390 500
01:40:33: ERROR LIBRARY Coins Invalid mode
01:40:33: *** REJECTED :( LIBRARY Coins block 359452 2 txs
2018-04-25 01:40:33: REJECTED LBC block 359452
01:40:33: submit 127.0.0.1 (uid 2) 3883, 64400100, 5adfc055, 808f2566, 4426715497.000/2359296.000
01:40:42: submit 127.0.0.1 (uid 2) 3883, 8e110200, 5adfc055, 0b45cd32, 36102421.000/1327104.000
01:40:49: LBC 359452 - diff 5256666.366548417 job f2c to 8/8/8 clients, hash 15495432.206/376286835.505 in 0.3 ms
01:41:52: LBC 359452 - diff 5256666.366548417 job f2d to 8/8/8 clients, hash 14983790.697/376286835.505 in 0.2 ms
01:41:54: submit 127.0.0.1 (uid 2) 3885, aa2a0000, 5adfc0bf, 3e0c9900, 120623418.000/3145728.000
01:42:07: ERROR: rpc_do_call: 127.0.0.1:14390 500
01:42:07: ERROR LIBRARY Coins Invalid mode
01:42:07: *** REJECTED :( LIBRARY Coins block 359452 5 txs
2018-04-25 01:42:07: REJECTED LBC block 359452
01:42:07: submit 127.0.0.1 (uid 2) 3885, 1e5e0000, 5adfc0bf, 204e3f87, 11800638851.000/3145728.000
01:42:09: submit 127.0.0.1 (uid 2) 3885, a0790000, 5adfc0bf, 5c39d890, 172825376.000/3145728.000
01:42:13: LBC 359452 - diff 5256666.366548417 job f2e to 8/8/8 clients, hash 15780338.158/376286835.505 in 0.2 ms
01:42:24: submit 127.0.0.1 (uid 2) 3886, 90b20000, 5adfc0d4, 38608d02, 53237235.000/3145728.000
01:43:17: LBC 359452 - diff 5256666.366548417 job f2f to 8/8/8 clients, hash 16237462.609/376286835.505 in 0.3 ms
01:43:23: ERROR: rpc_do_call: 127.0.0.1:14390 500
01:43:23: ERROR LIBRARY Coins Invalid mode
01:43:23: *** REJECTED :( LIBRARY Coins block 359452 6 txs
2018-04-25 01:43:23: REJECTED LBC block 359452

Also I had problems with the stratum server not starting because non-existent fields in the stratum table and i had to manually fix the database.

Name Servers

Having trouble connecting to my Domain I need name servers to open the website

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.