From aae8f281559905ba7611f4fad59c42fadf7719c1 Mon Sep 17 00:00:00 2001 From: VanBreuk Date: Sat, 1 Oct 2016 20:48:24 +0200 Subject: [PATCH 1/3] Updated dependencies and reference peers --- README.md | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 87ecb76da..875489489 100644 --- a/README.md +++ b/README.md @@ -36,28 +36,12 @@ information or see http://opensource.org/licenses/MIT. Komodo Specific Notes ===================== -Installation of BDB -------------------- - -``` -#If you do not have BDB installed, do the following: -wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz -tar -xvf db-4.8.30.NC.tar.gz -cd db-4.8.30.NC/ -mkdir -p build -BDB_PREFIX=$(pwd)/build -cd build -../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX -make install -cd ../.. -``` - Dependencies ------------ ``` #The following packages are needed: -sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev +sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libdb++-dev ``` Komodo @@ -90,6 +74,10 @@ rpcuser=bitcoinrpc rpcpassword=password addnode="5.9.102.210" addnode="78.47.196.146" +addnode="178.63.69.164" +addnode="88.198.65.74" +addnode="5.9.122.241" +addnode="144.76.94.38" ``` Start mining @@ -107,6 +95,6 @@ komodo/src/komodo-cli getinfo ps aux | grep komodod #To view komodod output: -gedit ~/.komodo.debug.log +tail -f ~/.komodo/debug.log ``` From 8aeb7db1c51a486b4bbf0545738cf86489c8ad7b Mon Sep 17 00:00:00 2001 From: pondsea Date: Sun, 2 Oct 2016 21:15:13 +1100 Subject: [PATCH 2/3] Update README.md --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 875489489..3e0d12a4b 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ cd komodo # This command might finish with: configure: error: libgmp headers missing. This can be ignored. ./zcutil/fetch-params.sh cp ~/.zcash-params/testnet3/z9* ~/.zcash-params -./zcutil/build.sh -j8 # -j8 uses 8 threads +./zcutil/build.sh -j8 # -j8 uses 8 threads - replace 8 with number of threads you want to use #This can take some time. ``` @@ -66,18 +66,17 @@ Create komodo.conf cd ~ mkdir .komodo cd .komodo -gedit komodo.conf -#For the above, you can use any text editor other than gedit. +pico komodo.conf #Add the following lines to the komodo.conf file: - + rpcuser=bitcoinrpc rpcpassword=password -addnode="5.9.102.210" -addnode="78.47.196.146" -addnode="178.63.69.164" -addnode="88.198.65.74" -addnode="5.9.122.241" -addnode="144.76.94.38" +addnode=5.9.102.210 +addnode=78.47.196.146 +addnode=178.63.69.164 +addnode=88.198.65.74 +addnode=5.9.122.241 +addnode=144.76.94.38 ``` Start mining @@ -86,13 +85,14 @@ Start mining ``` cd ~ cd komodo -#Go to your komodo directory +#This starts komodo as a process - replace genproclimit with number of threads you want to use: ./src/komodod -gen=1 -genproclimit=1 & -#This starts komodo as a process -komodo/src/komodo-cli getinfo - + +#This will get the stats: +./src/komodo-cli getinfo + #To view the process: -ps aux | grep komodod +ps -ef | grep komodod #To view komodod output: tail -f ~/.komodo/debug.log From 6c4dfa1c607f493328b8609a1143b96c2cda042f Mon Sep 17 00:00:00 2001 From: pondsea Date: Sun, 2 Oct 2016 21:23:45 +1100 Subject: [PATCH 3/3] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e0d12a4b..7cc491abd 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,9 @@ cd komodo # This command might finish with: configure: error: libgmp headers missing. This can be ignored. ./zcutil/fetch-params.sh cp ~/.zcash-params/testnet3/z9* ~/.zcash-params -./zcutil/build.sh -j8 # -j8 uses 8 threads - replace 8 with number of threads you want to use + +# -j8 uses 8 threads - replace 8 with number of threads you want to use +./zcutil/build.sh -j8 #This can take some time. ``` @@ -93,6 +95,9 @@ cd komodo #To view the process: ps -ef | grep komodod + +#Once you have the process number (eg 25567) you can type the following to kill komodo mining: +kill 25567 #To view komodod output: tail -f ~/.komodo/debug.log