Giter Club home page Giter Club logo

pool's People

Contributors

almazdeldiablo avatar danilo-znamerovszkij avatar denlev avatar ferjep avatar gitaccsithu avatar juice99 avatar khaledalam avatar lechuckde avatar lukaszmatczak avatar nessence avatar osamaesmail avatar pahanzt avatar platonx99 avatar pobo-abc avatar sammy007 avatar subtly avatar wanda7566 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

pool's Issues

Problem with Stats API.

Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected.
I tried all ways to fix this i was not possible, i have already a config in nginx.conf about upstream but nothing.
Also i would like to ask why when i ./build.sh the dist i get this:

./build.sh
DEPRECATION: Overriding init without calling this._super is deprecated. Please c                                                                                                                                                              all `this._super.init && this._super.init.apply(this, arguments);` addon: `relea                                                                                                                                                              se`
    at addons.forEach.addon (/root/webchain-pool/www/node_modules/ember-cli/lib/                                                                                                                                                              models/project.js:502:40)
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
DEPRECATION: Addon files were detected in `/root/webchain-pool/www/node_modules/                                                                                                                                                              ember-load-initializers/addon`, but no JavaScript preprocessors were found for `                                                                                                                                                              ember-load-initializers`. Please make sure to add a preprocessor (most likely `e                                                                                                                                                              mber-cli-babel`) to in `dependencies` (NOT `devDependencies`) in `ember-load-ini                                                                                                                                                              tializers`'s `package.json`.
WARNING: Invalid Broccoli2 node detected, falling back to broccoli-builder. Broc                                                                                                                                                              coli error:
---------------
Object: The .read/.rebuild API is no longer supported as of Broccoli 1.0. Plugin                                                                                                                                                              s must now derive from broccoli-plugin. https://github.com/broccolijs/broccoli/b                                                                                                                                                              lob/master/docs/broccoli-1-0-plugin-api.md
used as input node to BroccoliMergeTrees (TreeMerger (vendor))
-~- created here: -~-
    at BroccoliMergeTrees.Plugin (/root/webchain-pool/www/node_modules/broccoli-                                                                                                                                                              plugin/index.js:7:31)
    at new BroccoliMergeTrees (/root/webchain-pool/www/node_modules/ember-cli/no                                                                                                                                                              de_modules/broccoli-merge-trees/index.js:16:10)
    at Function.BroccoliMergeTrees [as _upstreamMergeTrees] (/root/webchain-pool                                                                                                                                                              /www/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:10:53)
    at mergeTrees (/root/webchain-pool/www/node_modules/ember-cli/lib/broccoli/m                                                                                                                                                              erge-trees.js:85:33)
    at EmberApp.getExternalTree (/root/webchain-pool/www/node_modules/ember-cli/                                                                                                                                                              lib/broccoli/ember-app.js:1260:56)
    at EmberApp.toArray (/root/webchain-pool/www/node_modules/ember-cli/lib/broc                                                                                                                                                              coli/ember-app.js:1620:12)
    at EmberApp.toTree (/root/webchain-pool/www/node_modules/ember-cli/lib/brocc                                                                                                                                                              oli/ember-app.js:1750:36)
    at module.exports (/root/webchain-pool/www/ember-cli-build.js:35:14)
    at Builder.readBuildFile (/root/webchain-pool/www/node_modules/ember-cli/lib                                                                                                                                                              /models/builder.js:52:14)
    at Builder.setupBroccoliBuilder (/root/webchain-pool/www/node_modules/ember-                                                                                                                                                              cli/lib/models/builder.js:66:22)
-~- (end) -~----------------

Environment: production
[API] Warning: The .read and .rebuild APIs will stop working in the next Broccol                                                                                                                                                              i version
[API] Warning: Use broccoli-plugin instead: https://github.com/broccolijs/brocco                                                                                                                                                              li-plugin
[API] Warning: Plugin uses .read/.rebuild API: [object Object]
[API] Warning: Plugin uses .read/.rebuild API: [object Object]
WARN: Output exceeds 32000 characters
cleaning up...
Built project successfully. Stored in "dist/".
File sizes:
 - dist//assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js: 0 B
 - dist//assets/intl/intl-96aafc0a691d5c865ba1bdd814a927c6.js: 40.33 KB (13.51 KB gzipped)
 - dist//assets/intl/intl.complete-19a71cdd590a2cc9a64729029951b2fe.js: 913.18 KB (187.47 KB gzipped)
 - dist//assets/intl/intl.min-a638f49c244882a17fe483d105d5ff57.js: 40.34 KB (13.52 KB gzipped)
 - dist//assets/intl/locales/en-us-f0c5d465ba90e2edd44f76df823a4f02.js: 25.34 KB (3.96 KB gzipped)
 - dist//assets/pool-4087f914df2f048b8e379b91fb118b06.js: 129.47 KB (13.85 KB gzipped)
 - dist//assets/pool-a1c90bfa261a9b88260d3936a503a771.css: 2.53 KB (772 B gzipped)
 - dist//assets/vendor-32d26b8a8f088dab36e418303a207fd4.js: 650.34 KB (173.11 KB gzipped)
 - dist//assets/vendor-d9ddca88ebb00e8e29c83cd8e16d3530.css: 140.78 KB (25.23 KB gzipped)
root@wechain:~/webchain-pool/www# ember server --port 8082 --environment development
DEPRECATION: Overriding init without calling this._super is deprecated. Please call `this._super.init && this._super.init.apply(this, arguments);` addon: `release`
    at addons.forEach.addon (/root/webchain-pool/www/node_modules/ember-cli/lib/models/project.js:502:40)
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
DEPRECATION: Addon files were detected in `/root/webchain-pool/www/node_modules/ember-load-initializers/addon`, but no JavaScript preprocessors were found for `ember-load-initializers`. Please make sure to add a preprocessor (most likely `ember-cli-babel`) to in `dependencies` (NOT `devDependencies`) in `ember-load-initializers`'s `package.json`.
WARNING: Invalid Broccoli2 node detected, falling back to broccoli-builder. Broccoli error:
---------------
Object: The .read/.rebuild API is no longer supported as of Broccoli 1.0. Plugins must now derive from broccoli-plugin. https://github.com/broccolijs/broccoli/blob/master/docs/broccoli-1-0-plugin-api.md
used as input node to BroccoliMergeTrees (TreeMerger (vendor))
-~- created here: -~-
    at BroccoliMergeTrees.Plugin (/root/webchain-pool/www/node_modules/broccoli-plugin/index.js:7:31)
    at new BroccoliMergeTrees (/root/webchain-pool/www/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:16:10)
    at Function.BroccoliMergeTrees [as _upstreamMergeTrees] (/root/webchain-pool/www/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:10:53)
    at mergeTrees (/root/webchain-pool/www/node_modules/ember-cli/lib/broccoli/merge-trees.js:85:33)
    at EmberApp.getExternalTree (/root/webchain-pool/www/node_modules/ember-cli/lib/broccoli/ember-app.js:1260:56)
    at EmberApp.toArray (/root/webchain-pool/www/node_modules/ember-cli/lib/broccoli/ember-app.js:1620:12)
    at EmberApp.toTree (/root/webchain-pool/www/node_modules/ember-cli/lib/broccoli/ember-app.js:1750:36)
    at module.exports (/root/webchain-pool/www/ember-cli-build.js:35:14)
    at Builder.readBuildFile (/root/webchain-pool/www/node_modules/ember-cli/lib/models/builder.js:52:14)
    at Builder.setupBroccoliBuilder (/root/webchain-pool/www/node_modules/ember-cli/lib/models/builder.js:66:22)
-~- (end) -~----------------

[API] Warning: The .read and .rebuild APIs will stop working in the next Broccoli version
[API] Warning: Use broccoli-plugin instead: https://github.com/broccolijs/broccoli-plugin
[API] Warning: Plugin uses .read/.rebuild API: [object Object]
[API] Warning: Plugin uses .read/.rebuild API: [object Object]

Build successful (2154ms) – Serving on http://localhost:8082/



Slowest Nodes (totalTime => 5% )              | Total (avg)
----------------------------------------------+---------------------
Babel: pool (2)                               | 644ms (322 ms)
Bundler (1)                                   | 442ms
ember-auto-import-analyzer (3)                | 318ms (106 ms)
Babel: ember-intl (2)                         | 166ms (83 ms)
Package /assets/vendor.js (1)                 | 119ms

Pool not working on checking hashrate.

Here is a full installation of the pool and there still problem with stats, i followed daniel-web tutorial and told him about this. The problem is that a miner connect to pool and share alot shares but when you check stats for that address its empty (blank page white), while if he get a block (then it work). Also at ./build.sh it show some warning messages. I will show full procedure, and no one still wanna help me fix this.

Check via pastebin --> https://pastebin.com/ipqP0BUa

This is tested on:

root@server2:/etc/systemd/system# cat /etc/issue
Ubuntu 16.04.3 LTS \n \l
root@server2:/etc/systemd/system# uname -a
Linux server2.webchain.live 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
root@server2:/etc/systemd/system#

While i do the tests and on Ubuntu 18.04 , but same problem i get and then i move to Ubuntu 16.04 as recommended (x64 was both versions i test).

System for my account routing number for [email protected]

System information Keith Lexington Jenkins owner of the money

Geth version: geth version or commit hash if develop
Routing number for [email protected] Routing number 041215663 Account number 5188049614447
Redis version: redis-server --version

OS & Version: Linux/OSX

Commit branch and hash: (master, ba60e1c)

Expected behaviour

Actual behaviour

Withdrawal

Steps to reproduce the behaviour

Mining

Backtrace

[backtrace]

Update the pool protocol documentation?

I am trying to create a pool client, mostly for learning purposes and I am struggling with the pool communication.

The doc describes the stratum protocol used and says we should login like this:

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_submitLogin",
  "params": ["0xb85150eb365e7df0941f0cf08235f987ba91506a"]
}

But sending such a request returns this:

{"id":1,"jsonrpc":"2.0","result":null,"error":{"code":-3,"message":"Method not found"}}

Trying other stuff like:

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "login",
  "params": ["0xb85150eb365e7df0941f0cf08235f987ba91506a"]
}

Closes the socket right away but using this:

{
"id": 1,
"jsonrpc": "2.0",
"method": "login",
"params": {
"login":"0xb85150eb365e7df0941f0cf08235f987ba91506a"
}

looks like it is working, as a job is received... But the doc says we should simply receive result:true?

Is there an up-to-date documentation available?

problems with `npm install`

System information

Geth version: a66ba18

Redis version: Redis server v=5.0.3 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=afa0decbb6de285f

OS & Version: Linux Debian GNU/Linux 10 \n \l

Commit branch and hash: (master, a66ba186cc28ba0e5c6d22417f420e504c66ac1f)

Expected behaviour

Build front-end

Actual behaviour

npm install failes:

/pool-master/www# npm install

> [email protected] postinstall /pool-master/www/node_modules/ember-cli-cookie
> bower install --allow-root

/pool-master/www/node_modules/bower/lib/node_modules/configstore/index.js:54
                                throw err;
                                ^

Error: EACCES: permission denied, open '/root/.config/configstore/bower-github.json'
You don't have access to this file.

    at Object.openSync (fs.js:461:3)
    at Object.readFileSync (fs.js:364:35)
    at Configstore.get (/pool-master/www/node_modules/bower/lib/node_modules/configstore/index.js:35:26)
    at new Configstore (/pool-master/www/node_modules/bower/lib/node_modules/configstore/index.js:28:45)
    at readCachedConfig (/pool-master/www/node_modules/bower/lib/config.js:19:23)
    at defaultConfig (/pool-master/www/node_modules/bower/lib/config.js:11:12)
    at Object.<anonymous> (/pool-master/www/node_modules/bower/lib/index.js:16:32)
    at Module._compile (internal/modules/cjs/loader.js:1200:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
    at Module.load (internal/modules/cjs/loader.js:1049:32) {
  errno: -13,
  syscall: 'open',
  code: 'EACCES',
  path: '/root/.config/configstore/bower-github.json'
}
npm WARN [email protected] requires a peer of @babel/core@^7.0.0-beta.42 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `bower install --allow-root`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-06-10T08_21_16_301Z-debug.log

Steps to reproduce the behaviour

Follow the commands at the README.md file

Payout module not paying

Hello,

I have problems regarding the payout module. No miner has been paid but I've got 100 WEB in the etherbase account mentioned in the webchaind config. So I think it's an error with the payout module. The console says every minute:

No payees that have reached payout threshold

Every module is separated on different servers (they all work fine), here is the payout config:

{
"threads": 2,
        "coin": "web",
        "name": "payout",

        "upstreamCheckInterval": "5s",
        "upstream": [
                {
                        "name": "main",
                        "url": "http://192.168.1.225:39573",
                        "timeout": "10s"
                }
        ],

        "redis": {
                "endpoint": "192.168.1.226:6379",
                "poolSize": 10,
                "database": 0,
                "password": ""
        },

        "payouts": {
                "enabled": true,
                "requirePeers": 2,
                "interval": "1m",
                "daemon": "http://192.168.1.225:39573",
                "timeout": "10s",
                "address": "0xd9be691b73bc601390052363fff11e5d57e1ad2a",
                "gas": "21000",
                "gasPrice": "1000000000",
                "autoGas": true,
                "threshold": 1000000000,
                "bgsave": false
        },
}

Kind regards, Djitn

No webpage on api/stats

On pool webpage

Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected.

On api endpoint 8080 port

Can not find webpage
HTTP ERROR 404

API daemon log

Oct 29 08:52:43 ubuntu systemd[1]: Started Webchain Pool Daemon.
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Loading config: /home/ubuntu/webchain-pool/config4.json
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Running with 2 threads
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Backend check reply: PONG
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Starting API on 0.0.0.0:8080
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Set stats collect interval to 5s
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Set purge interval to 10m0s
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Purged stale stats from backend, 0 shares affected, elapsed time 614.721µs
Oct 29 08:52:43 ubuntu webchain-pool[3527]: 2018/10/29 08:52:43 Stats collection finished 662.39µs

Although pool api daemon is working fine, api is not loading any json stats on website

On Ubuntu 16.04 Golang 1.10

duplicate share problem

Try to lunch a pool at ubuntu 16.04 LTS, but when i test it most of my miners got "duplicate share" then connection reset.

Is there a way to work out this problem?

Error while make Pool

System information

OS & Version:
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

GO version: go1.13.3 linux/amd64

Backtrace

cd ./webchain-pool
make
root@**:**/webchain-pool# make

CGO_CFLAGS_ALLOW='-maes.*' build/env.sh go get -v ./...
github.com/gorilla/mux (download)
github.com/webchain-network/webchaind (download)
github.com/denisbrodbeck/machineid (download)
...
...
...
github.com/fatih/color
github.com/webchain-network/webchaind/logger/glog
github.com/webchain-network/webchaind/logger
github.com/webchain-network/webchain-pool/storage
github.com/webchain-network/webchain-pool/api
github.com/webchain-network/webchain-pool/policy
github.com/webchain-network/webchain-pool/payouts
github.com/webchain-network/webchaind/ethdb
github.com/webchain-network/webchaind/crypto/ecies
github.com/webchain-network/webchaind/crypto
github.com/webchain-network/webchaind/core/vm
github.com/webchain-network/webchaind/trie
github.com/webchain-network/webchaind/core/types
github.com/webchain-network/webchaind/pow
github.com/webchain-network/cryptonight
# github.com/webchain-network/cryptonight
../cryptonight/cryptonight.go:151:14: cpuid.CPU.AesNi undefined (type cpuid.CPUInfo has no field or method AesNi)
make: *** [Makefile:10: all] Error 2

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.