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.
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install cmake libssl-dev libsodium-dev libpcre3-dev libleveldb-dev libboost-all-dev libgmp-dev libprotobuf-dev protobuf-compiler libjansson-dev screen build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake
mkdir ZEC
cd ZEC
git clone https://github.com/zcash/zcash
git clone https://github.com/config4star/config4cpp
git clone https://github.com/google/flatbuffers
git clone https://github.com/eXtremal-ik7/libp2p -b version/0.3
git clone https://github.com/eXtremal-ik7/poolcore
git clone https://github.com/eXtremal-ik7/pool_frontend_zcash
git clone https://github.com/eXtremal-ik7/poolrestapi
git clone https://github.com/eXtremal-ik7/ngxrest
git clone https://github.com/eXtremal-ik7/pooljs
wget https://nginx.org/download/nginx-1.11.5.tar.gz
tar -xzf nginx-1.11.5.tar.gz
mkdir -p ~/.zcash
echo "addnode=mainnet.z.cash" >~/.zcash/zcash.conf
echo "rpcuser=user" >>~/.zcash/zcash.conf
echo "rpcpassword=head -c 32 /dev/urandom | base64" >>~/.zcash/zcash.conf
cd zcash
./zcutil/fetch-params.sh
./zcutil/build.sh -j$(nproc)
cd ..
cd config4cpp
make -j4
cd ..
cd flatbuffers
mkdir build
cd build
cmake ..
make -j4
sudo make install
cd ../..
cd libp2p
mkdir x86_64-Linux
cd x86_64-Linux
cmake ../src
make -j4
cd ../..
cd poolcore
mkdir x86_64-Linux
cd x86_64-Linux
cmake ../src -DROOT_SOURCE_DIR=/home/user/ZEC -DZCASH_ENABLED=1
make -j4
cd ../..
cd pool_frontend_zcash
mkdir x86_64-Linux
cd x86_64-Linux
cmake ../src -DROOT_SOURCE_DIR=/home/user/ZEC
make -j4
cd ../..
cd poolrestapi
mkdir x86_64-Linux
cd x86_64-Linux
cmake ../src -DROOT_SOURCE_DIR=/home/user/ZEC
make -j4
cd ../..
mkdir nginx
cd ZEC/nginx-1.11.5
./configure --prefix=/home/user/nginx --add-module=/home/user/ZEC/ngxrest
make -j4
make install
cd ..
cd zcash
patch -p0 < /home/user/ZEC/pool_frontend_zcash/pool.diff
LIBZCASH_LIBS =
LIBZCASH_LIBS = -lsnark -lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium -fopenmp -L/home/user/ZEC/poolcore/x86_64-Linux/zcash -lpoolrpczcash -L/home/user/ZEC/libp2p/x86_64-Linux/p2p -lp2p -L/home/user/ZEC/libp2p/x86_64-Linux/asyncio -lasyncio-0.3 -lrt
make -j4
cd /home/user/.zcash
nano poolrestapi.cfg
poolrestapi {
listenAddress = "cxxrestapi://127.0.0.1:19999";
coins = ["zec"];
}
zec {
frontends = ["p2p://127.0.0.1:13301"];
poolAppName = "pool_frontend_zcash";
}
nano zcash.cfg
pool_frontend_zcash {
isMaster = "true";
poolFee = "1";
poolFeeAddr = "t1Lbnzr5Jtykyjvm8JRDAnUTxxxxxxxxxxxx";
walletAddrs = ["p2p://127.0.0.1:12201"];
localAddress = "p2p://127.0.0.1:13301";
walletAppName = "pool_rpc";
poolAppName = "pool_frontend_zcash";
requiredConfirmations = "10";
defaultMinimalPayout = "0.01";
dbPath = "/home/user/pool.zcash";
keepRoundTime = "3";
keepStatsTime = "2";
confirmationsCheckInterval = "7";
payoutInterval = "30";
balanceCheckInterval = "3";
statisticCheckInterval = "1";
zmqclientHost = "192.168.1.120";
zmqclientListenPort = "6668";
zmqclientWorkPort = "60200";
pool_zaddr = "zcG47QGy8g2md2uUg6dtQBKgT75hz4bJ1974rmdxxxxxxxxxxxxxxxxxxxxx";
pool_taddr = "t1UrNsXAQjrDKpwovMs5xxxxxxxxxxxx";
}
cd /home/user/nginx/conf
nano nginx.conf
mv nginx.conf nginx.conf.back
nano nginx.conf
worker_processes 4;
events {
worker_connections 10240;
multi_accept on;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
upstream api_backend {
server 127.0.0.1:19999;
keepalive 32;
}
server {
listen *:80 reuseport;
server_name pool;
location / {
root html;
index index.html index.htm;
expires 5s;
}
location /api {
cxxrest_pass api_backend;
}
location ~* ^.+\.(jpg|jpeg|gif|png|ico)$ {
expires 3d; # 3 days
}
}
}
cd /home/user/ZEC/pooljs/coins-for-all/webapp
cp -r /home/user/ZEC/pooljs/coins-for-all/webapp/* /home/user/nginx/html
cd
nano /home/user/nginx/html/static/f/coins.json
[
{
"title": "Z-Cash",
"code": "ZEC",
"desc": "Z-Cash Private Mining",
"icon_url": "static/i/zcash.png",
"block_url": "https://explorer.zcha.in/blocks/:hash",
"transaction_url": "https://explorer.zcha.in/transactions/:txid",
"power": {
"type": "SOLS",
"name": "sols/s",
"rate": "sols rate"
}
}
]
mv /home/user/nginx/html/static/s/templates/zcash-description.html /home/user/nginx/html/static/s/templates/zec-description.html
mv /home/user/nginx/html/static/s/templates/zcash-mining.html /home/user/nginx/html/static/s/templates/zec-mining.html
mv /home/user/nginx/html/static/s/templates/zcash-servers.html /home/user/nginx/html/static/s/templates/zec-servers.html
cd ZEC/pool_frontend_zcash
cd x86_64-Linux
make clean
cmake ../src -DROOT_SOURCE_DIR=/home/user/ZEC
make -j4
cd ../..
/usr/bin/screen -dmS "zecnode" ./ZEC/zcash/src/zcashd
screen -r zecnode
ctrl+c
cd
nano zec.pool.sh
#!/bin/bash
echo "starting up ZEC Pool"
echo "Starting ZEC node"
/usr/bin/screen -dmS "zecnode" ./ZEC/zcash/src/zcashd -p2pport=12201
echo "Starting Frontend"
/usr/bin/screen -dmS "zecpool" ./ZEC/pool_frontend_zcash/x86_64-Linux/pool_frontend_zcash ~/.zcash/zcash.cfg
echo "Starting Rest API"
/usr/bin/screen -dmS "zecapi" ./ZEC/poolrestapi/x86_64-Linux/poolrestapi ~/.zcash/poolrestapi.cfg
echo "Starting Nginx"
sudo nginx/sbin/nginx