duplicate upstream api hatası vermekte."api" in /etc/ngnix/default:1 sence sorun nedir?
server 127.0.0.1:8080;
}
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
https://github.com/stoufax/open-ubiq-pool-pplns
./ethdcrminer64 -epool 188.119.47.49:8008 -ewal 0x8c77540028c75283717b5d7edd8c5c8c1e73850f -epsw x -eworker "rig2" -allcoins 1
mkdir coins
mkdir pools
cd coins
git clone https://github.com/ballzcoin/ballzcoin.git
cd ballzcoin
make
cd build/bin
./ballzcoin console --rpc
personal.newAccount()
Passphrase:mypass12
Repeat passphrase:mypass12
"0x980722586912fa3342e90f31fd54c421fd6dd3e5"
CTRL + B CTRL + D
./ballzcoin console --rpc --rpcaddr 127.0.0.1 --rpcport 8641 --cache=4096 --etherbase 0x980722586912fa3342e90f31fd54c421fd6dd3e5 –-password mypass12 --unlock 0
cd pools
git clone https://github.com/sammy007/open-ethereum-pool.git
cd open-ethereum-pool
make
cp ~/pools/open-ethereum-pool/config.example.json ~/pools/open-ethereum-pool/build/bin/config.json
APP: {
// API host and port
ApiUrl: '//192.168.1.70/',
// HTTP mining endpoint
HttpHost: 'http://192.168.1.70',
HttpPort: 8888,
// Stratum mining endpoint
StratumHost: '192.168.1.70',
StratumPort: 8008,
cd ~/pools/open-ethereum-pool/www
npm install -g [email protected]
npm install -g bower
npm install
bower install
./build.sh
sudo nano /etc/nginx/sites-enabled/default
####
upstream api {
server 127.0.0.1:8080;
}
server {
listen 80 default_server;
listen [::]:80 default_server;
# root /var/www/html;
# root /home/miner/pools/myztic-pool/pool_website;
root /home/kullanıcıadı/pools/open-ethereum-pool/www/dist;
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
location /api {
proxy_pass http://api;
}
}
####
sudo service nginx reload
cd ~/pools/open-ethereum-pool/build/bin/
./open-ethereum-pool config.json
miner@vivopc:~/pools/open-ethereum-pool/build/bin$ ./open-ethereum-pool config.json
2018/10/10 10:10:57 Loading config: /home/miner/pools/open-ethereum-pool/build/bin/config.json
2018/10/10 10:10:57 Running with 2 threads
2018/10/10 10:10:57 Backend check reply: PONG
2018/10/10 10:10:57 Starting API on 0.0.0.0:8080
2018/10/10 10:10:57 Set stats collect interval to 5s
2018/10/10 10:10:57 Set purge interval to 10m0s
2018/10/10 10:10:57 Purged stale stats from backend, 0 shares affected, elapsed time 345.218µs
2018/10/10 10:10:57 Policy state refresh complete
2018/10/10 10:10:57 Set policy stats reset every 1h0m0s
2018/10/10 10:10:57 Set policy state refresh every 1m0s
2018/10/10 10:10:57 Running with 8 policy workers
2018/10/10 10:10:57 Upstream: main => http://127.0.0.1:8641
2018/10/10 10:10:57 Upstream: backup => http://127.0.0.2:8641
2018/10/10 10:10:57 Default upstream: main => http://127.0.0.1:8641
2018/10/10 10:10:57 Stratum listening on 0.0.0.0:8008
2018/10/10 10:10:57 Stats collection finished 403.652µs
2018/10/10 10:10:57 New block to mine on main at height 147139 / 0x9aeca08a
2018/10/10 10:10:57 Set block refresh every 120ms
2018/10/10 10:10:57 Starting proxy on 0.0.0.0:8888
2018/10/10 10:10:57 Broadcasting new job to 0 stratum miners
2018/10/10 10:10:57 Jobs broadcast finished 7.135µs
2018/10/10 10:11:02 Stats collection finished 968.655µs
./ethminer http://192.168.1.70:8888/0x980722586912fa3342e90f31fd54c421fd6dd3e5/rig2 -G --farm-recheck 200
2018/10/10 10:11:08 Stats collection finished 576.314µs
2018/10/10 10:11:10 Valid share from [email protected]
Malformed stratum request from 127.0.0.1: invalid character 'G' looking for beginning of value