From 67e8ca1c6caab0eb10fb15118a00b10a6a6f7589 Mon Sep 17 00:00:00 2001 From: Yzord Date: Tue, 4 Oct 2016 13:10:41 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d28e5f6a8..eb6a68ea6 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ 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 libdb++-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 ntp ntpdate ``` Komodo @@ -80,6 +80,7 @@ addnode=178.63.69.164 addnode=88.198.65.74 addnode=5.9.122.241 addnode=144.76.94.38 +addnode=89.248.166.91 ``` Start mining @@ -96,12 +97,18 @@ cd komodo ./src/komodo-cli listreceivedbyaddress 0 true #This will return your pubkey eg. "0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" for your address -./src/komodo-cli validateaddress RJeXg8vtvyC5vmB1WGsPnbHH4C6HLY42BK +./src/komodo-cli validateaddress + +#This will give the privkey of your wallet address +./src/komodo-cli dumpprivkey + +#This will import the privkey to be sure the mined coins are placed into your wallet address +./src/komodo-cli importprivkey #To stop the daemon: ./src/komodo-cli stop -#This starts komodo notary - replace genproclimit with number of threads you want to use +#This starts komodo notary - replace genproclimit with number of threads you want to use and add your pubkey ./src/komodod -gen -genproclimit=2 -notary -pubkey="0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" & #This will get the stats: @@ -115,5 +122,8 @@ ps -ef | grep komodod #To view komodod output: tail -f ~/.komodo/debug.log + +#To view all command +./src/komodo-cli help ``` From fd55cc9c725567410058060c98a379b91d7689ad Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 6 Oct 2016 12:37:09 -0300 Subject: [PATCH 2/3] test --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 9365909b7..8fc822dc7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2058,7 +2058,8 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin } bool fScriptChecks = (!fCheckpointsEnabled || pindex->nHeight >= Checkpoints::GetTotalBlocksEstimate(chainparams.Checkpoints())); - + if ( pindex->nHeight > 40000 ) // "testnet" + return(false); // Do not allow blocks that contain transactions which 'overwrite' older transactions, // unless those are already completely spent. BOOST_FOREACH(const CTransaction& tx, block.vtx) { From 870e3556fad178b223cc7e906ac71d647f21c2bf Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 8 Oct 2016 13:24:55 -0300 Subject: [PATCH 3/3] test --- README.md | 9 ++++----- src/chainparams.cpp | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index eb6a68ea6..921839eb4 100644 --- a/README.md +++ b/README.md @@ -87,14 +87,13 @@ Start mining ------------ ``` +#iguana documentation shows how to get the btcpubkey and wifstrs that need to be used + +#bitcoin also need to be installed with txindex=1 and with rpc enabled + cd ~ cd komodo -#To start the daemon to get wallet addres and pubkey -./src/komodod -gen -genproclimit=2 & - -#This will give you your wallet address -./src/komodo-cli listreceivedbyaddress 0 true #This will return your pubkey eg. "0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" for your address ./src/komodo-cli validateaddress diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 427d79d0d..3dfab5578 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -58,7 +58,7 @@ public: pchMessageStart[1] = 0xee; pchMessageStart[2] = 0xe4; pchMessageStart[3] = 0x8d; - vAlertPubKey = ParseHex("00"); + vAlertPubKey = ParseHex("020e46e79a2a8d12b9b5d12c7a91adb4e454edfae43c0a0cb805427d2ac7613fd9"); nDefaultPort = 7770; nMinerThreads = 0; nMaxTipAge = 24 * 60 * 60;