Author

Topic: [ANN] [CHC] Chaincoin - Network Upgrade 16.1 - SegWit Activated - page 151. (Read 321638 times)

sr. member
Activity: 302
Merit: 250
So after much testing.  This is what I found.

Patching and/or uninstalling boost 1.58+ and installing boost 1.54 did not seem to work for 16.04 or 17.04.

The only thing that worked was with a 14.04 Ubuntu.

But on digital ocean i had a 16.04 with running chaincoind. 

I am confused.
member
Activity: 124
Merit: 10
▲™
With all the hype and fud on master node coins, this might be a good buy to learn how to set up more sophisticated ones. Is anyone looking at the price? Huh Not even a penny. I would rack up on some Chaincoin
sr. member
Activity: 302
Merit: 250
legendary
Activity: 2254
Merit: 1278
I don't understand why I was able to compile on Digital Ocean vps but not Vultr and i did the same steps.
Different distributions of Linux uses different versions of boost. Try Ubuntu 14.04.

Or try the patch included below for 16.04:

Code:
diff --git a/configure.ac b/configure.ac
index 7208c72..3ade7e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -354,6 +354,8 @@ fi
 if test x$use_hardening != xno; then
   AX_CHECK_COMPILE_FLAG([-Wstack-protector],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -Wstack-protector"])
   AX_CHECK_COMPILE_FLAG([-fstack-protector-all],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"])
+  AX_CHECK_COMPILE_FLAG([-fPIE],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fPIE"])
+  AX_CHECK_COMPILE_FLAG([-fPIC],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fPIC"])

   AX_CHECK_PREPROC_FLAG([-D_FORTIFY_SOURCE=2],[
     AX_CHECK_PREPROC_FLAG([-U_FORTIFY_SOURCE],[
@@ -367,6 +369,11 @@ if test x$use_hardening != xno; then
   AX_CHECK_LINK_FLAG([[-Wl,-z,relro]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,relro"])
   AX_CHECK_LINK_FLAG([[-Wl,-z,now]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,now"])

+  if test x$TARGET_OS != xwindows; then
+    # -pie will link successfully with MinGW, but it's unsupported and leads to undeterministic binaries
+    AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"])
+    AX_CHECK_LINK_FLAG([[-pic]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pic"])
+  fi

   CXXFLAGS="$CXXFLAGS $HARDENED_CXXFLAGS"
   CPPFLAGS="$CPPFLAGS $HARDENED_CPPFLAGS"
diff --git a/src/Makefile.am b/src/Makefile.am
index ab22d1b..7cdf221 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 include Makefile.include

-AM_CPPFLAGS += -I$(builddir)
+AM_CPPFLAGS += -fPIC -I$(builddir)

 noinst_LIBRARIES = \
   libchaincoin_server.a \
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index e91dc75..9810694 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -65,13 +65,21 @@ public:
         vSeeds.push_back(CDNSSeedData("seed2.chaincoin.org", "seed2.chaincoin.org"));
         vSeeds.push_back(CDNSSeedData("seed3.chaincoin.org", "seed3.chaincoin.org"));
         vSeeds.push_back(CDNSSeedData("seed4.chaincoin.org", "seed4.chaincoin.org"));
-
+#if BOOST_VERSION >= 158000
+        base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,28);                    // Chaincoin addresses start with 'X'
+        base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,4);                    // Chaincoin script addresses start with '7'
+        base58Prefixes[SECRET_KEY] =     std::vector(1,28 + 128);               // Chaincoin private keys start with '7' or 'X'
+        base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x02)(0xFE)(0x52)(0xF8).convert_to_container >(); // Chaincoin BIP32 pubkeys start with 'drkv'
+        base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x02)(0xFE)(0x52)(0xCC).convert_to_container >(); // Chaincoin BIP32 prvkeys start with 'drkp'
+        base58Prefixes[EXT_COIN_TYPE]  = boost::assign::list_of(0x80000005).convert_to_container >();             // Chaincoin BIP44 coin type is '5'
+#else
         base58Prefixes[PUBKEY_ADDRESS] = list_of( 28);                    // Chaincoin addresses start with 'X'
         base58Prefixes[SCRIPT_ADDRESS] = list_of(  4);                    // Chaincoin script addresses start with '7'
         base58Prefixes[SECRET_KEY] =     list_of(28 + 128);               // Chaincoin private keys start with '7' or 'X'
         base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x02)(0xFE)(0x52)(0xF8); // Chaincoin BIP32 pubkeys start with 'drkv'
         base58Prefixes[EXT_SECRET_KEY] = list_of(0x02)(0xFE)(0x52)(0xCC); // Chaincoin BIP32 prvkeys start with 'drkp'
         base58Prefixes[EXT_COIN_TYPE]  = list_of(0x80000005);             // Chaincoin BIP44 coin type is '5'
+#endif

         // Convert the pnSeeds array into usable address objects.
         for (unsigned int i = 0; i < ARRAYLEN(pnSeed); i++)
@@ -132,12 +140,21 @@ public:
         vFixedSeeds.clear();
         vSeeds.clear();

+#if BOOST_VERSION >= 158000
+        base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,80);                    // Testnet chaincoin addresses start with 'x' or 'y'
+        base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,44);                    // Testnet chaincoin script addresses start with '8' or '9'
+        base58Prefixes[SECRET_KEY]     = std::vector(1,88 + 128);               // Testnet private keys start with '9' or 'c' (Bitcoin defaults)
+        base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x3a)(0x80)(0x61)(0xa0).convert_to_container >(); // Testnet chaincoin BIP32 pubkeys start with 'DRKV'
+        base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x3a)(0x80)(0x58)(0x37).convert_to_container >(); // Testnet chaincoin BIP32 prvkeys start with 'DRKP'
+        base58Prefixes[EXT_COIN_TYPE]  = boost::assign::list_of(0x80)(0x00)(0x00)(0x01).convert_to_container >();             // Testnet chaincoin BIP44 coin type is '5' (All coin's testnet default)
+#else
         base58Prefixes[PUBKEY_ADDRESS] = list_of( 80);                    // Testnet chaincoin addresses start with 'x' or 'y'
         base58Prefixes[SCRIPT_ADDRESS] = list_of( 44);                    // Testnet chaincoin script addresses start with '8' or '9'
         base58Prefixes[SECRET_KEY]     = list_of(88 + 128);               // Testnet private keys start with '9' or 'c' (Bitcoin defaults)
         base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x3a)(0x80)(0x61)(0xa0); // Testnet chaincoin BIP32 pubkeys start with 'DRKV'
         base58Prefixes[EXT_SECRET_KEY] = list_of(0x3a)(0x80)(0x58)(0x37); // Testnet chaincoin BIP32 prvkeys start with 'DRKP'
         base58Prefixes[EXT_COIN_TYPE]  = list_of(0x80000001);             // Testnet chaincoin BIP44 coin type is '5' (All coin's testnet default)
+#endif
     }
     virtual Network NetworkID() const { return CChainParams::TESTNET; }
 };
member
Activity: 70
Merit: 10
Chaincoin Founder
Guys, I need help.

I don't understand why I was able to compile on Digital Ocean vps but not Vultr and i did the same steps.

This is the error I get.  Did i miss and packages?  Thanks in advance.

Code:
chainparams.cpp: In constructor ‘CMainParams::CMainParams()’:
chainparams.cpp:69:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)

Different distributions of Linux uses different versions of boost. Try Ubuntu 14.04.
sr. member
Activity: 302
Merit: 250
Guys, I need help.

I don't understand why I was able to compile on Digital Ocean vps but not Vultr and i did the same steps.

This is the error I get.  Did i miss and packages?  Thanks in advance.

Code:
chainparams.cpp: In constructor ‘CMainParams::CMainParams()’:
chainparams.cpp:69:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
full member
Activity: 176
Merit: 100
The price is slooowly rising... if you have ever wanted to get in on the ground floor for 100x gains this is it. Others have already started to accumulate.

https://www.cryptopia.co.nz/Exchange/?market=CHC_BTC


Market cap only $28,000 so interpolate from there.

https://coinmarketcap.com/currencies/chaincoin/

I see coinmarketcap has fixed the market and removed that Chinese coin using the same ticker symbol.  Now we can see actual valid market data.
full member
Activity: 205
Merit: 100
The price is slooowly rising... if you have ever wanted to get in on the ground floor for 100x gains this is it.

What are the reasons for such gains?  Smiley

ChainCoin is the original multi-hash algo coin and it was dormant for quite a while until recently the dev has become activate again. The network never died and it has been traded actively all these years.

If the market cap is 100 million dollars, it will be very hard to even double that. But if all the tokens of a coin are worth only 25 BTC total as is the case currently with ChainCoin, even a small buy pressure will propel it 10x easy. As always, nothing is a 100% sure bet, but 50x to 100x gains from here are certainly possible.
newbie
Activity: 50
Merit: 0
The price is slooowly rising... if you have ever wanted to get in on the ground floor for 100x gains this is it.

What are the reasons for such gains?  Smiley
full member
Activity: 205
Merit: 100
The price is slooowly rising... if you have ever wanted to get in on the ground floor for 100x gains this is it. Others have already started to accumulate.

https://www.cryptopia.co.nz/Exchange/?market=CHC_BTC


Market cap only $28,000 so interpolate from there.

https://coinmarketcap.com/currencies/chaincoin/
newbie
Activity: 14
Merit: 0
I have 1000 coins in there but they were not sent all at once, I sent one first and then 999.


My wallet is showing 1000 coins however i am getting the error that my masternode is not capable.

if i want to send coins out of the wallet what is the command?

thanks for your help

-----

EDIT:

I got it sorted, no worries! thanks for your reply anyway - i hope you continue development with this coin!

EDIT 2:

any way to tell if the masternode is running? i see the service running but that was running before the master node was enabled... anyway to tell specifically everything is working?
member
Activity: 70
Merit: 10
Chaincoin Founder
anyone know how i can send coins from the MN's wallet to somewhere else? I sent 1 coin and then 999 coins and I'm getting the error:

not capable masternode: Could not find suitable coins!

I think this is due to me sending the coins in the way i described above...?

any help would be great Smiley

You need to keep a transaction of 1000 coins in your wallet if you want to run a master node. You can send your earnings out of the master node but make sure you keep the 1000 coins intact.
newbie
Activity: 14
Merit: 0
anyone know how i can send coins from the MN's wallet to somewhere else? I sent 1 coin and then 999 coins and I'm getting the error:

not capable masternode: Could not find suitable coins!

I think this is due to me sending the coins in the way i described above...?

any help would be great Smiley
full member
Activity: 176
Merit: 100
what's the diff between C11 and X11?
The same eleven algorithms are in a different order. 
sr. member
Activity: 854
Merit: 264
Crypto is not a religion but i like it
the dev should make a written format which we can cut and copy and send to bittrex and poloniex
newbie
Activity: 13
Merit: 0
Send a request to bittrex to add this coin Cheesy
please Send a request to polo to add this coin also
hero member
Activity: 766
Merit: 621
Own ONION
what's the diff between C11 and X11?
sr. member
Activity: 854
Merit: 264
Crypto is not a religion but i like it
Send a request to bittrex to add this coin Cheesy
hero member
Activity: 525
Merit: 500
Is there any way to start the wallet with the collateral balances unlocked? It's annoying to have to unlock them all before starting the MN's.
member
Activity: 70
Merit: 10
Chaincoin Founder
Chaincoin 0.9.2.3

Now with Windows installer and Mac wallet.

Windows Installer:

https[Suspicious link removed]

Mac Wallet:

https://github.com/chaincoin/chaincoin/releases/download/v0.9.2.3/Chaincoin-Qt-0.9.2.3.dmg

Other versions:

https://github.com/chaincoin/chaincoin/releases/tag/v0.9.2.3


What are your plans for this coin?

Develop an alternative to other MasterNode coins.


Are you looking for involvement from others?  Is there anyway for others to assist you in furthering this cryptocurrency?

Participation is most welcome. There are many areas where anyone can get involved, from the web site to coding to graphics to promotion, etc. Feel free to suggest or take on a task.


I setup another block explorer.  http://104.238.153.140:3001
Working on a webpage now.  Should be ready tomorrow.  Nothing too fancy but a little more modern than the current one.  No offense meant towards whoever produced the current webpage. I'll pm you the details and you can decide if it's something that you want to use.
 

Thanks, the explorer looks nice. I added a link to it in the first post.
Jump to: