diff --git a/README.md b/README.md index 87ecb76da..7cc491abd 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 @@ -71,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 + +# -j8 uses 8 threads - replace 8 with number of threads you want to use +./zcutil/build.sh -j8 #This can take some time. ``` @@ -82,14 +68,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=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 @@ -98,15 +87,19 @@ 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 + +#Once you have the process number (eg 25567) you can type the following to kill komodo mining: +kill 25567 #To view komodod output: -gedit ~/.komodo.debug.log +tail -f ~/.komodo/debug.log ```