Git Product home page Git Product logo

electroneum-pool's Introduction

Electroneum is a Fast, Secure, Mobile Based Cryptocurrency

⚠️ WARNING
This project is the legacy version of Electroneum. Electroneum has since migrated over to a new smart contract enabled blockchain: https://github.com/electroneum/electroneum-sc. For details on how to migrate your ETN, please see: Smartchain-Migration

Table of Contents

Development Resources

As with many development projects, the repository on Github is considered to be the "staging" area for the latest changes. Before changes are merged into that branch on the main repository, they are tested by individual developers in their own branches, submitted as a pull request, and then subsequently tested by contributors who focus on testing and code reviews. That having been said, the repository should be carefully considered before using it in a production environment, unless there is a patch in the repository for a particular show-stopping issue you are experiencing. It is generally a better idea to use a tagged release for stability.

Anyone is welcome to contribute to Electroneum's codebase! If you have a fix or code change, feel free to submit it as a pull request directly to the "master" branch. In cases where the change is relatively small or does not affect other parts of the codebase it may be merged in immediately by any one of the collaborators. On the other hand, if the change is particularly large or complex, it is expected that it will be discussed at length either well in advance of the pull request being submitted, or even directly on the pull request.

Building from Source

See Build & Run Documentation.

Software Releases and Pre-compiled Downloads

Hard Fork upgrade height Date Fork version Minimum Electroneum version Recommended Electroneum version Name of Release Details
307500 2018-05-30 v6 v2.0.0.0 v2.0.0.0 Spark Disable Mixin, Disable RingCT, Base Fee to 0.10 from 0.01, 120s Block Time, Anti-Asic Resistance
324500 2018-07-05 v7 v2.1.0.0 v2.1.0.0 Bolt Enable ASIC
589169 2019-07-08 v8 v3.0.0.0 v3.0.0.0 Pulse Migration to our next generation moderated blockchain with Proof of Responsbility. 300kB Blocks : Increased TPS. Improved Unlock Time (5 Blocks), Many Security Improvements, HackerOne Fixes, Reduced Block Reward By 75% (A Double Halvening)
862866 2020-07-22 v9 v3.3.0.0 v3.3.0.0 Wave Block Reward reduction and future halving scheduling (halving every 4 years, minimum 50etn until max supply. 25etn emission per block after reaching max supply).
1175315 2021-09-30 v10 v4.0.0.1 v4.0.0.1 Aurora Migration to a transparent blockchain with permissioned validation
1811310 2024-03-05 v11 v5.0.0.4 v5.0.0.4 Flow (Final Version) Bridge to the Electroneum Smart chain (github.com/electroneum/electroneum-sc)

X's indicate that these details have not been determined as of commit date.

For pre-built downloads and further details of both our forks and intermediate releases, please go to our github releases page.

Running an Electroneum Node

See Build & Run Documentation.

Technical Documentation

Smartchain Migration

Please see our gitbook documentation which explains how to migrate your ETN over to the Electroneum Smartchain.

Some technical information about how the bridge address was created can be found below:

The bridge address spendkey is generated by doing Hash_to_point(v9 fork block hash).-
This ensures that the bridge address is essentially a burn address for which there is no known private key.
The same logic has been used for a coinbase burn address (hash_to_point(hash of v10 fork block: 1175315 )), 
which the remaining miners for this project will mine to. This is required for continuity in the circulating supply 
when we migrate to the smartchain. On the mainnet, emissions are burned from block 1806749 inclusive, 
essentially locking the legacy chain supply at 179,649,469,65.76 ETN.

The bridge address for the mainnet is:

etnkC4G8NfUMpnd1o1SCWeGG81DsdVNovZfQfx1W6R33PRcyWQe6gXmHR8mCAezohCPFiHKMzDPh3WD74EMJEnzw9zVUhNLMc5

The bridge address for the testnet is:

etnk6XD4xkmgsajaYyDD7SGsB93Ff6iUN2TaAaqageGkKj2yB1mtd5wJ8QgRfFWTzmJ8QgRfFWTzmJ8QgRfFWTzm4t51KXZBNg

The coinbase burn address for the mainnet and testnet is:
etnkCys4uGhSi9h48ajL9vBDJTcn2s2ttXtXq3SXWPAbiMHNhHitu5fJ8QgRfFWTzmJ8QgRfFWTzmJ8QgRfFWTzm4t51HTfCtK

Vulnerability Response Process

HackerOne is a vulnerability coordination and bug bounty platform that connects businesses with penetration testers and cybersecurity researchers. It was one of the first companies, along with Synack and Bugcrowd, to embrace and utilize crowd-sourced security and cybersecurity researchers as linchpins of its business model; it is the largest cybersecurity firm of its kind. As of July 2018, HackerOne's network consisted of approximately 200,000 researchers, had resolved 72,000 vulnerabilities across over 1,000 customer programs, and had paid $31 million in bounties.

See HackerOne Electroneum's Page.

License

See LICENSE.

Copyright

Copyright (c) 2017-Present, Electroneum

Copyright (c) 2014-2017, The Monero Project

Portions Copyright (c) 2012-2013, The Cryptonote developers

electroneum-pool's People

Contributors

adampankow avatar agmardg avatar akuka avatar arqtras avatar baliwae avatar casperround avatar coreinfo77 avatar cryptobitsokc avatar cylim87 avatar electroneumrepo avatar flashjpr avatar go-collect avatar j44k avatar kapscanada avatar lucasjones avatar mohammed-alsiddeeq avatar officiallyundead avatar perl5577 avatar prox443 avatar rustyblock avatar rvrsh3ll avatar sammy007 avatar scanbiz avatar scristalli avatar theinfocoder avatar trappedstudio avatar vipurkumar avatar xenhim avatar zer0dn avatar zone117x 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

electroneum-pool's Issues

I got "Invalid api call" after started pool and get display pool stats in website

Hi All,

I test create the electroneum-pool in VM VirtualBox with Ubuntu 16.04 before set up in live server.
When pool, api, unlocker and payments is started, I can connect with miner client (Claymore CryptoNote AMD GPU Miner v10.2) and send hashrate to my pool.

After that i test direct access pool api with http://localhost:8117/api/stats i got "Invalid api call"
After that i test run website_example in apache2 and try to access index.html for display pool stats information with localhost i got same error "Invalid api call" when my website GET http://localhost:8117/api/stats .

Please guide me for solve this and can get display pool stats information in localhost website (index.html).

Api started
https://ibb.co/ksutiR

Miner connected
https://ibb.co/bDJfV6

website_example/config.js

var api = "http://localhost:8117/api";
var coinUnits = 100;
var coinDecimalPlaces = 2;
var poolHost = "localhost";
var irc = "irc.freenode.net/#monero-pools";
var email = "[email protected]";
var easyminerDownload = "https://github.com/zone117x/cryptonote-easy-miner/releases/";
var blockchainExplorer = "https://blockexplorer.electroneum.com/block/";
var transactionExplorer = "https://blockexplorer.electroneum.com/tx/";

And i can not access admin_core_stats_massive_stuff.html this page is required password admin. Where can I set/get this password?

Thank you.

mined coins not reached wallet

Hi,,I have mined on the eupool and it shows on the web page i have been paid...transaction no 2e408a62cd7bea88e2f3fb438e48aa0594d233867e4181c3cc0549bdb2c7a2db
however the funds never reached my wallet,yet it has done from other pools..
when i click the transaction number on web page it says
can't get tx2e408a62cd7bea88e2f3fb438e48aa0594d233867e4181c3cc0549bdb2c7a2db
the wallet number on pool is correct and I've refreshed wallet several times..
hope you can help
cheers
marcus

Worker Stats

Hi is there anyway to enable worker stat to show on the website?, if it can how to set it on the miner?, right now only per wallet/miner hashrate showed on the website
thanks

nodejs version

What version of node js is actually needed? I have v0.10.48 installed but when I do npm update I get many warnings such as:

../src/crypto/crypto.cpp: In function 'std::size_t crypto::rs_comm_size(std::size_t)':
../src/crypto/crypto.cpp:224:58: error: value-initialization of incomplete type 'crypto::rs_comm::<anonymous struct> []'
     return sizeof(rs_comm) + pubs_count * sizeof(rs_comm().ab[0]);
                                                          ^
cryptonote.target.mk:110: recipe for target 'Release/obj.target/cryptonote/src/crypto/crypto.o' failed
make: *** [Release/obj.target/cryptonote/src/crypto/crypto.o] Error 1
make: Leaving directory '/home/miner/pool/node_modules/cryptonote-util/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 4.4.83-1-pve
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/miner/pool/node_modules/cryptonote-util
gyp ERR! node -v v0.10.48
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok

// At the end:

npm ERR! Linux 4.4.83-1-pve
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v0.10.48
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the cryptonote-util package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ryan/miner/pool/npm-debug.log

cannot find module 'multi-hashing'

Hi, I build electroneum repo, make wallet and configured config.json but pool have problem with "multi-hashing". I have done npm update.

2017-11-27 09:57:23 [master] Pool spawned on 1 thread(s)
2017-11-27 09:57:24 [unlocker] Started
2017-11-27 09:57:24 [payments] Started
2017-11-27 09:57:24 [unlocker] No blocks candidates in redis
2017-11-27 09:57:24 [payments] No workers' balances reached the minimum payment threshold
2017-11-27 09:57:24 [api] API started & listening on port 8117
2017-11-27 09:57:24 [api] Stat collection finished: 53 ms redis, 51 ms daemon
2017-11-27 09:57:24 [api] Broadcasting to 0 visitors and 0 address lookups
module.js:544
    throw err;
    ^

Error: Cannot find module 'multi-hashing'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/root/pool/lib/pool.js:7:20)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
2017-11-27 09:57:24 [master] Pool fork 1 died, spawning replacement worker...
^C

mined coins showing as paid on eupool webpage,but they're not in my paper wallet

Hi,,I have mined on the eupool and it shows on the web page i have been paid...transaction no 2e408a62cd7bea88e2f3fb438e48aa0594d233867e4181c3cc0549bdb2c7a2db
however the funds never reached my wallet,yet it has done from other pools..
when i click the transaction number on web page it says
can't get tx2e408a62cd7bea88e2f3fb438e48aa0594d233867e4181c3cc0549bdb2c7a2db
the wallet number on pool is correct and I've refreshed wallet several times..
hope you can help
cheers
marcus

coinUnits = ?

Hello. In frontend "coinUnits" = 100, but in electroneumd src COIN option = 1000000000000

I do not understand which of these numbers to use in cryptonote-universal-pool/config.json

/* Used for front-end display */
"symbol": "ETN",

/* Minimum units in a single coin, see COIN constant in DAEMON_CODE/src/cryptonote_config.h */
"coinUnits": 1000000000000,

Thanks for help.

Question in regard to publish API on SSL

You give an example to publish the API on SSL for NGINX :

You can configure the API to be accessible via SSL using various methods. Find an example for nginx below:

Inside your SSL Listener add the following:
location /json_rpc {
    proxy_pass http://127.0.0.1:26968/json_rpc;
}

location ~ ^/api/(.*) {
    proxy_pass http://127.0.0.1:8117/$1$is_args$args;
}
By adding this you will need to make your api variable in the website_example/config.js include the /api. For example:
var api = "http://poolhost/api";

You no longer need to include the port in the variable because of the proxy connection.

Can someone help me out how to configure this with Apache2 ?

npm update fails if it's from bash script

So, I created my pool and I am facing some weird problem. My pool was working fine and I decided to create bash files that are going to run electroneumd and node init.js right after my server starts/restarts.

When I am trying to do npm update from npm.sh I am getting this: https://pastebin.com/Ted1DXeB
But if I do npm update by myself there are no errors and I can start the pool with no problems.

Here's my npm.sh that's supposed to npm update itself.

#!/bin/bash
DATE=$(date +"%Y-%m-%d-%H:%M")
cd /root/pool/
. ~/.nvm/nvm.sh
nvm use 0.10.25
npm update 2>&1 | tee /root/logs/npm/$DATE.log
exit 0

EDIT:
Another thing, what is this? https://image.prntscr.com/image/mnHWgeXhSeqE6tt2aP6fnw.png

API password

Hi, quick question: must be the password in config.json specified the same like wallet password?

Security

Ok, so beyond the basic security mentioned (redis password, etc...), can we close all inbound ports on the server except the following:

3333, 5555, 7777 (or whatever ports your allow people to connect to the pool on)
80 (for the webserver)
22 (for ssh & sFTP, ideally we should change this from 22)
8117 (for the api since the var api in the index.html page appears to call this by http://url:8117)

I'm assuming the 3 ports for the running daemons (for us: 26968 electroneumd, 8082 wallet and 6379 redis) can be closed since they're only being accessed via 127.0.0.1.

Does this make sense?

Electroneum coin source

This is not a issue with the pool per say, I have the pool installed fine. I just can't find the Electroneum coin source to build the daemon for the pool. Does the source exist yet? What did you use to build the pool daemon?

Cannot find module bignum.node

Hello I've installed all the requirements as the ReadMe states but I get this error when I try to run the pool:

Error: Cannot find module '/electroneum-pool/node_modules/bignum/binding/bignum.node'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (/electroneum-pool/node_modules/bignum/index.js:4:11)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
2017-11-03 00:45:50 [master] Pool fork 1 died, spawning replacement worker..

Here is my config file:

{
    "coin": "electroneum",
    "symbol": "ETN",
    "logging": {
        "files": {
            "level": "info",
            "directory": "logs",
            "flushInterval": 5
        },

        "console": {
            "level": "info",
            "colors": true
        }
    },
    "poolServer": {
        "enabled": true,
        "clusterForks": "auto",
        "poolAddress": "[Omit for GitHub]",
        "blockRefreshInterval": 1000,
        "minerTimeout": 900,
        "ports": [
            {
                "port": 3333,
                "difficulty": 100,
                "desc": "Low end hardware"
            },
            {
                "port": 5555,
                "difficulty": 2000,
                "desc": "Mid range hardware"
            },
            {
                "port": 7777,
                "difficulty": 10000,
                "desc": "High end hardware"
            }
        ],
        "varDiff": {
            "minDiff": 2,
            "maxDiff": 100000,
            "targetTime": 100,
            "retargetTime": 30,
            "variancePercent": 30,
            "maxJump": 100
        },
        "shareTrust": {
            "enabled": true,
            "min": 10,
            "stepDown": 3,
            "threshold": 10,
            "penalty": 30
        },
        "banning": {
            "enabled": true,
            "time": 600,
            "invalidPercent": 25,
            "checkThreshold": 30
        },
        "slushMining": {
            "enabled": false,
            "weight": 300,
            "lastBlockCheckRate": 1
        }
    },
    "payments": {
        "enabled": true,
        "interval": 600,
        "maxAddresses": 10,
        "mixin": 0,
        "transferFee": 1,
        "minPayment": 10000,
        "denomination": 100
    },
    "blockUnlocker": {
        "enabled": true,
        "interval": 30,
        "depth": 20,
        "poolFee": 1.8,
        "devDonation": 0.1,
        "coreDevDonation": 0.1
    },
    "api": {
        "enabled": true,
        "hashrateWindow": 600,
        "updateInterval": 3,
        "port": 8117,
        "blocks": 30,
        "payments": 30,
        "password": "test"
    },
    "daemon": {
        "host": "127.0.0.1",
        "port": 18081
    },
    "wallet": {
        "host": "127.0.0.1",
        "port": 8082
    },
    "redis": {
        "host": "127.0.0.1",
        "port": 6379,
        "auth": "[omit for GitHub]"
    }
}

Any ideas?

Mining Difficulty

Hi just wanted to ask, do we need to touch the setting of difficulty in the config file?, what is the best value for now?, just to make sure not too much rejected/stale share
thanks

Problems with Electroneum pool

I have mined 85 ETN but now the pool i'm mining in is doing nothing, but I can't get my 85 ETN payed because the limit is 100 ETN.
Can you guys pls give me my 85 mined ETN?
Wallet: etnkCsr8QNBPp9aWeW6Dyk4bEuFR6VD9ZiXJVF8LyHevfC9D3LRamVQBng7R2YdKmBWmQnZ225oapVh6G152wTub8XfHVShu5q

knipsel

Coin Daemon Electroneum Repo Install Problem

Hello Staff,

I cant install Repo. Can someone share debian linux install command?

For example i used this one for monero
wget https://downloads.getmonero.org/gui/monero-gui-linux-x64-v0.11.0.0.tar.bz2
tar -xjvf monero-gui-linux-x64-v0.11.0.0.tar.bz2
ls
cd /root/xmr/monero-gui-0.11.0.0
wget -c --progress=bar https://downloads.getmonero.org/blockchain.raw
./monero-blockchain-import --verify 0 --input-file ./blockchain.raw

Who one will help me, thank you very much..

Pool don't run

Hi, I'm trying to setup a ETN pool, all steps are fine when I send the node init.js it gives me this errors in loop:

2017-11-11 07:47:06 [master] Pool spawned on 3 thread(s) 2017-11-11 07:47:06 [payments] Started 2017-11-11 07:47:06 [payments] No workers' balances reached the minimum payment threshold 2017-11-11 07:47:06 [api] API started & listening on port 8117 2017-11-11 07:47:06 [api] Error getting daemon data {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:06 [api] Stat collection finished: NaN ms redis, 15 ms daemon 2017-11-11 07:47:06 [api] Error collecting all stats 2017-11-11 07:47:06 [unlocker] Started 2017-11-11 07:47:06 [unlocker] No blocks candidates in redis 2017-11-11 07:47:06 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:06 [pool] (Thread 2) Could not start pool 2017-11-11 07:47:06 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:06 [pool] (Thread 1) Could not start pool 2017-11-11 07:47:06 [pool] (Thread 3) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:06 [pool] (Thread 3) Could not start pool 2017-11-11 07:47:07 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:07 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:07 [pool] (Thread 3) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:08 [pool] (Thread 2) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"} 2017-11-11 07:47:08 [pool] (Thread 1) Error polling getblocktemplate {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}

I'm using the node v0.10.48 on ubuntu 14.04

Mining to the pool, STATS api not working (Amazon EC2 instance)

Hi guys,

I have a friend working on deploying the pool on amazon EC2 services, I am a big fan of ETN and I want to support Electroneum by creating a reliable and auto-scaling pool so that everyone can mine without any issues, so far all the pools I have mined in are very unstable and unreliable.

My friend deployed everything correctly, I am able to mine to the pool, results are accepted by the pool, but the STATS api is not working, I can't see any statistics from the pool or blockchain in any of the pages from the front end.

Is there anyone that can help us deploy this pool on amazon hosting?

Thanks.

Deamon CPU

Hi guys,

seams deamon are having a lot a CPU intensive task, don't you guys think this values to hight?

"blockRefreshInterval": 1000,

"updateInterval": 3,

i change that and the server are much better, any reason to the values are like that?

Luis

Password for admin_core_stats_massive_stuff.html

I just noticed a page in website_example that outputs various stats. I have tried inputting the password I set for "API" in my pool's config file but it must be returning as error as it just asks for the password again. Could this be because my pool has not mined a block yet or am I trying the wrong password?

Invalid API call

Hey! I have setup the api to listen on port 8118 like this and the output is the following while running the init.js:

[api] API started & listening on port 8118

It's also defined as the following on the config.js under website_example:

var api = "http://IP:8118";

var coinUnits = 100;
var coinDecimalPlaces = 2;

var poolHost = "My IP";

But then after trying to access the website via browser it gives "Invalid API call". Has anyone had problems such as this before me? It gives no error whatsoever about the website frontend.

How to run wallet RPC server in background ?

Hi all

After start ./electroneumd --detach in background process.

I need to run step below in background process , but i can not use --detach and forever start it not work.

Lastly you need to start the wallet RPC server which makes the payments to your miners. This can be started using ./electroneum-wallet-rpc --wallet-file walletfilename --password walletfilepassword --rpc-bind-port 26969 --disable-rpc-login

Please guild me for example command for run ./electroneum-wallet-rpc in background process.

Thank you

Server Specs?

Wondering what sort of server specs are required for the pool server?

My understanding is that the pool server simply pools others work. Should the server have high cpu and/or high memory and/or be prepared to handle high traffic?

Installation error

I get this error when I try npm update ; also redis and other dependencies are installed correctly only npn update doesn't work.Second thing is that I don't know where I should create that config.js with the pool ports and so on...I have skipped it...I had tried to run nodejs init.js and I get nothing(just showing as new line(.....also tried to connect with the browser but server didn't exist on my localhost(and reddis-server is running).How can I get this to work...also sorry for my bad englesh

npm update error:

[email protected] install /home/user/Desktop/pool/node_modules/bignum
node-pre-gyp install --fallback-to-build

npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 1
npm WARN engine [email protected]: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"v0.10.25","npm":"1.3.10"})

[email protected] install /home/user/Desktop/pool/node_modules/base58-native/node_modules/bignum
node-pre-gyp install --fallback-to-build

npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings

[email protected] install /home/user/Desktop/pool/node_modules/cryptonote-util
node-gyp rebuild

gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.13.0-24-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/user/Desktop/pool/node_modules/cryptonote-util
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

[email protected] install: `node-gyp rebuild`

hoe can i solve this issue

`npm ERR! Linux 2.6.32-042stab125.5
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "update"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs multi-hashing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/pooladmin/pool/npm-debug.log
pooladmin@etn:/pool$ ^C
pooladmin@etn:
/pool$
`

Getting this error when running npm update

Hi guys, can I get some help with this error?
When doing sudo npm update

npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q git://github.com/zone117x/node-multi-hashing.git /home/cmilian/.npm/_cacache/tmp/git-clone-065b0ad8
npm ERR! /home/cmilian/.npm/_cacache/tmp/git-clone-065b0ad8/.git: Permission denied
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /home/cmilian/.npm/_logs/2017-11-02T19_53_33_852Z-debug.log
cmilian@ETNPOOLIO:~/pool$

Socket flooding

Hi... I m getting this in pool:

Socket flooding detected and prevented from 27.74.xxx.xx
What is this and how can I know if is bad or not??

Also sometimes I get this:

11-16 16:00:21 [pool] (Thread 2) Accepted valid share at difficulty 100/218 from etnjzKFU6ogESSKRZZbdqraPdcKVxEC17Cm1Xvbyy76PARQMmgrgceH4krAH6xmjKwJ3HtSAKuyFm1BBWYqtchtq9tBap8Qr4M@27.74.xxx.xxx 2017-11-16 16:00:21 [pool] (Thread 2) Accepted valid share at difficulty 100/223 from etnjzKFU6ogESSKRZZbdqraPdcKVxEC17Cm1Xvbyy76PARQMmgrgceH4krAH6xmjKwJ3HtSAKuyFm1BBWYqtchtq9tBap8Qr4M@27.74.xxx.xxx 2017-11-16 16:00:21 [pool] (Thread 2) Accepted trusted share at difficulty 100/391 from etnjzKFU6ogESSKRZZbdqraPdcKVxEC17Cm1Xvbyy76PARQMmgrgceH4krAH6xmjKwJ3HtSAKuyFm1BBWYqtchtq9tBap8Qr4M@27.74.xxx.xxx 2017-11-16 16:00:21 [pool] (Thread 2) Socket flooding detected and prevented from 27.74.246.83 2017-11-16 16:00:21 [pool] (Thread 2) Accepted trusted share at difficulty 100000/221568 from etnjzKFU6ogESSKRZZbdqraPdcKVxEC17Cm1Xvbyy76PARQMmgrgceH4krAH6xmjKwJ3HtSAKuyFm1BBWYqtchtq9tBap8Qr4M@27.74.xxx.xxx 2017-11-16 16:00:21 [pool] (Thre

API Password?

I have set an API password in config.json

In our website_example we set the var api to the correct url, but we don't specify any password.

Does this mean anyone call call our API? It doesn't appear to be protected.

Also, if that's the case then what is the API password actually for?

Adding extra port for custom difficulty

How do I add an extra port like :9999 to the pool with a custom difficulty value? I added it in config.json but it's not working apparently. Is there something else I need to set-up?

Pool start fails to api??

Hi. I managed to install everything but I get this error:

`2017-11-14 14:17:10 [pool] (Thread 4) Started server listening on port 3333
2017-11-14 14:17:10 [pool] (Thread 4) Started server listening on port 5555
2017-11-14 14:17:10 [pool] (Thread 4) Started server listening on port 7777
2017-11-14 14:17:10 [pool] (Thread 1) New block to mine at height 24232 w/ difficulty of 7769391548
2017-11-14 14:17:10 [pool] (Thread 1) Started server listening on port 3333
2017-11-14 14:17:10 [pool] (Thread 1) Started server listening on port 5555
2017-11-14 14:17:10 [pool] (Thread 1) Started server listening on port 7777
2017-11-14 14:17:10 [pool] (Thread 2) New block to mine at height 24232 w/ difficulty of 7769391548
2017-11-14 14:17:10 [pool] (Thread 2) Started server listening on port 3333
2017-11-14 14:17:10 [pool] (Thread 2) Started server listening on port 5555
2017-11-14 14:17:10 [pool] (Thread 2) Started server listening on port 7777
2017-11-14 14:17:10 [pool] (Thread 3) New block to mine at height 24232 w/ difficulty of 7769391548
2017-11-14 14:17:10 [pool] (Thread 3) Started server listening on port 3333
2017-11-14 14:17:10 [pool] (Thread 3) Started server listening on port 5555
2017-11-14 14:17:10 [pool] (Thread 3) Started server listening on port 7777
2017-11-14 14:17:12 [charts] Started

TypeError: Cannot read property 'pool' of undefined
at getPoolChartsData (/root/pool/lib/charts.js:211:39)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at iterateeCallback (/root/pool/node_modules/async/dist/async.js:983:17)
at /root/pool/node_modules/async/dist/async.js:958:16
at /root/pool/node_modules/async/dist/async.js:3871:13
at async.parallel.config (/root/pool/lib/api.js:127:13)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at /root/pool/node_modules/async/dist/async.js:1002:9

TypeError: Cannot read property 'pool' of undefined
at getPoolChartsData (/root/pool/lib/charts.js:211:39)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at iterateeCallback (/root/pool/node_modules/async/dist/async.js:983:17)
at /root/pool/node_modules/async/dist/async.js:958:16
at /root/pool/node_modules/async/dist/async.js:3871:13
at async.parallel.config (/root/pool/lib/api.js:127:13)
at /root/pool/node_modules/async/dist/async.js:3866:24
at replenish (/root/pool/node_modules/async/dist/async.js:998:17)
at /root/pool/node_modules/async/dist/async.js:1002:9

2017-11-14 14:17:12 [master] API died, spawning replacement...
`

Some help??

How do we know if it's working?

Are there any tests or anything we can do to verify we've done everything correct before we invite the public to our pool?

Few errors that prevent running the project

After installing the whole source, puting config.json etc.. nothing is starting :

Failed to read config file config.json

SyntaxError: Unexpected token /

/home/ubuntu/electroneum-pool/lib/logger.js:16
var logDir = config.logging.files.directory;
^
ReferenceError: config is not defined
at Object. (/home/ubuntu/electroneum-pool/lib/logger.js:16:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/ubuntu/electroneum-pool/init.js:10:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)

/home/mining/pool/lib/logger.js:23 throw e; ^ Error: EACCES: permission denied, mkdir 'logs'

how to solve this error ??

mining@etn:~/pool$ node init.js
/home/mining/pool/lib/logger.js:23
throw e;
^

Error: EACCES: permission denied, mkdir 'logs'
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at Object. (/home/mining/pool/lib/logger.js:20:12)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/home/mining/pool/init.js:10:1)

error: value-initialization of incomplete type âcrypto::rs_comm::<anonymous struct>

Get this error when npm update

../src/crypto/crypto.cpp:224:58: error: value-initialization of incomplete type âcrypto::rs_comm:: []â
return sizeof(rs_comm) + pubs_count * sizeof(rs_comm().ab[0]);
^
cryptonote.target.mk:114: recipe for target 'Release/obj.target/cryptonote/src/crypto/crypto.o' failed
make: *** [Release/obj.target/cryptonote/src/crypto/crypto.o] Error 1
make: Leaving directory '/home/cmilian/pool/node_modules/cryptonote-util/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 4.10.0-38-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/cmilian/pool/node_modules/cryptonote-util
gyp ERR! node -v v6.11.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] /home/cmilian/pool
âââ [email protected] (git://github.com/zone117x/node-multi-hashing.git#73996fe77104108f2d66ef750b3e1bce42e4d8f0)

npm ERR! Linux 4.10.0-38-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cryptonote-util package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/cmilian/pool/npm-debug.log

Overview?

Do we need to be running a wallet script on the pool server for this to work?

We're running electroneumd, redis-server and node init.js.

Just curious because it appears to work without any wallet script running. The docs don't mention running a wallet, but other forks of node-cryptonote-pool mention simplewallet.

how to remove getting started text from home page?

we want to redesing the home page of mining pool but we are unable to remove getting started text and download buttons from home page which has dev id 'siteInfo'.

Please help us to customise. thanks

Tryin to get pass npm update, getting npm ERR! Error while executing:

root@ETN:~/pool# npm update

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/Snipa22/node-cryptonote-util.git
npm ERR!
npm ERR! fatal: Could not change back to '/root/pool': Permission denied
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-11-02T21_36_56_058Z-debug.log

any ideas?

Cannot run npm update on pool

etnadmin@ip-172-31-23-143:~/pool$ sudo npm update

[email protected] install /home/etnadmin/pool/node_modules/cryptonote-util
node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/etnadmin/pool/node_modules/cryptonote-util/build'
gyp ERR! System Linux 4.4.0-1039-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/etnadmin/pool/node_modules/cryptonote-util
gyp ERR! node -v v8.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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! /home/etnadmin/.npm/_logs/2017-11-06T20_07_43_043Z-debug.log
etnadmin@ip-172-31-23-143:/pool$ cd
etnadmin@ip-172-31-23-143:
$ vi /home/etnadmin/.npm/_logs/2017-11-06T20_07_43_043Z-debug.log
160 silly doParallel update-linked 18
161 silly doSerial install 18
162 silly install [email protected]
163 info lifecycle [email protected]install: [email protected]
164 verbose lifecycle [email protected]
install: unsafe-perm in lifecycle false
165 verbose lifecycle [email protected]install: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/etnadmin/pool/node_modules/cryptonote-util/node_modules/.bin:/home/etnadmin/pool/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
166 verbose lifecycle [email protected]
install: CWD: /home/etnadmin/pool/node_modules/cryptonote-util
167 silly lifecycle [email protected]install: Args: [ '-c', 'node-gyp rebuild' ]
168 silly lifecycle [email protected]
install: Returned: code: 1 signal: null
169 info lifecycle [email protected]~install: Failed to exec install script
170 verbose unlock done using /home/etnadmin/.npm/_locks/staging-11f89cd4c7f12168.lock for /home/etnadmin/pool/node_modules/.staging
171 verbose stack Error: [email protected] install: node-gyp rebuild
171 verbose stack Exit status 1
171 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
171 verbose stack at emitTwo (events.js:126:13)
171 verbose stack at EventEmitter.emit (events.js:214:7)
171 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
171 verbose stack at emitTwo (events.js:126:13)
171 verbose stack at ChildProcess.emit (events.js:214:7)
171 verbose stack at maybeClose (internal/child_process.js:925:16)
171 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
172 verbose pkgid [email protected]
173 verbose cwd /home/etnadmin/pool
174 verbose Linux 4.4.0-1039-aws
175 verbose argv "/usr/bin/node" "/usr/bin/npm" "update"
176 verbose node v8.9.0
177 verbose npm v5.5.1
178 error code ELIFECYCLE
179 error errno 1
180 error [email protected] install: node-gyp rebuild
180 error Exit status 1
181 error Failed at the [email protected] install script.
181 error This is probably not a problem with npm. There is likely additional logging output above.
182 verbose exit [ 1, true ]

rpc payment error

i run ubuntu 16.04

the pool have been found a block, and the block was matured, and balance was unlocked

but the pool cannot make the payment.
inside the logs file : /logs/payments_error.log
2017-11-11 12:48:40 [payments] Error with transfer RPC request to wallet daemon {}

i run electroneumd with this command:
./electroneumd --hide-my-port

and:

./electroneum-wallet-rpc --rpc-bind-ip 127.0.0.1 --rpc-bind-port 8082 --wallet-file wallet_filename --daemon-address 127.0.0.1:26968

the electroneum-wallet-rpc is running normal

Not getting electroneum payout

Plz tell i am minning through ccminer , but not getting my minned coinz in my wallet how to resolve the issue please help

About not get etn to my wallet

Yesterday I have bought 3595 etn coins
from cryptopia and transfer them into my electroneum wallet but still the wallet does not show any balance..plz help me from this.

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.