Author

Topic: [ANN][CRW] CROWN (SHA256) | Platform | Governance | Systemnodes | Masternodes | - page 233. (Read 316957 times)

hero member
Activity: 1438
Merit: 574
Always ask questions. #StandWithHongKong
BTW, the new Thrones wallet will include a GUI for setting up Thrones

How does one set up a daemon as a throne wallet?

Edit: Sorry, wasn't reading previous posts......

Edit2: I added
Code:
throne=1
to the conf file, but am now getting
Code:
You must specify a throneprivkey in the configuration.
Is the throneprivkey anything I want or does it have to be specific? Also, how should it be written in the conf file - throneprivkey=?

Thanks.
legendary
Activity: 1092
Merit: 1000
Right, that's five Thrones running.  I'm going to park it there for a while.

Sounds like you did that with ease!?

You said you clone your Thrones, does this make it simple to create several?

BTW, the new Thrones wallet will include a GUI for setting up Thrones
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
Right, that's five Thrones running.  I'm going to park it there for a while.
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
I forgot a step.

1) New build to be put on BCT and web site.
2)  Guide on how to set up a throne needs to be completed and posted.
3) Roadmap for services that thrones will provide in the future needs to be defined and published.
4)  Miners need to update to latest version.
5) Enforce payments
6) ?
7) Profit
Cool Bro Down
legendary
Activity: 1092
Merit: 1000
Does anyone know where the majority of crowncoins hash comes from? we'll need to contact them very soon
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
Code:
ubuntu@server-2:~/src/crowncoin/src$ ./crowncoin-cli thronelist
{
    "149.202.164.150:9340" : "ENABLED"
}

First Throne is online.

Congratulations stone! I knew you could do it! Cheesy

Take alook at my newest version of potential income from Thrones. This is as close to accurate figures as we're going to get

https://docs.google.com/spreadsheets/d/1x4KjbxtqGPKghajJb3scJBL6ED3B_CCBbYES6N6CR28/edit#gid=1746240759

You've convinced me Cheesy

Four more Thrones live.  Will launch a fifth when I have enough confirmations.

So, steps to get the ball rolling:

1) New build to be put on BCT and web site.
2)  Guide on how to set up a throne needs to be completed and posted.
3) Roadmap for services that thrones will provide in the future needs to be defined and published.
4)  Miners need to update to latest version.
5) Enforce payments
6) ?
7) Profit
legendary
Activity: 1092
Merit: 1000
Code:
ubuntu@server-2:~/src/crowncoin/src$ ./crowncoin-cli thronelist
{
    "149.202.164.150:9340" : "ENABLED"
}

First Throne is online.

Congratulations stone! I knew you could do it! Cheesy

Take alook at my newest version of potential income from Thrones. This is as close to accurate figures as we're going to get

https://docs.google.com/spreadsheets/d/1x4KjbxtqGPKghajJb3scJBL6ED3B_CCBbYES6N6CR28/edit#gid=1746240759
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
Code:
ubuntu@server-2:~/src/crowncoin/src$ ./crowncoin-cli thronelist
{
    "149.202.164.150:9340" : "ENABLED"
}

First Throne is online.
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
Not long now Smiley

Code:
ubuntu@server-2:~/src/crowncoin/src$ ./crowncoin-cli throne start
throne input must have at least 15 confirmations
hero member
Activity: 805
Merit: 500
Great news stone!


Finally managed to compile successfully.  Thanks for your help all.

Will sync chain and then see if I can set up some test Thrones.

I'm hoping to post a decent guide on how to compile and set up a Throne soon so other noobs like me can contribute to testing.
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
Finally managed to compile successfully.  Thanks for your help all.

Will sync chain and then see if I can set up some test Thrones.

I'm hoping to post a decent guide on how to compile and set up a Throne soon so other noobs like me can contribute to testing.
legendary
Activity: 1092
Merit: 1000
Can anyone help us with the above problem?

I use Xubuntu 14.04 LTS 64bit & this is what I use for compiling my daemons - works for me every time.

From within the downloaded directory (crowncoin):

Code:
chmod +x autogen.sh
chmod +x share/genbuild.sh
chmod +x src/leveldb/build_detect_platform
./autogen.sh
./configure --disable-tests --without-gui
make clean
make

Then:

Code:
cd src
strip crowncoind
chmod +x crowncoind

No need to install, I just run it from whatever dierectory it's in.

16.04 is a relatively new release, so if it still fails it's probably due to missing packages that haven't been released for the newer version yet. There are some bugs with every new release, which is why I wait a few months before updating to the latest version.

So from root you just use those commands and the wallet will build?
I'll give it a go!   Thanks

Edit: Tried your command and i seem to be getting much more compiled then with the previous commands used, but still doesn't work

Code:
rpcrawtransaction.cpp:299:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE
     BOOST_STATIC_ASSERT_MSG(

https://github.com/Crowndev/crowncoin/pull/2

Thank you for the code! As soon as dev get's home (evening) we will merge this into the code.
full member
Activity: 197
Merit: 101
Can anyone help us with the above problem?

I use Xubuntu 14.04 LTS 64bit & this is what I use for compiling my daemons - works for me every time.

From within the downloaded directory (crowncoin):

Code:
chmod +x autogen.sh
chmod +x share/genbuild.sh
chmod +x src/leveldb/build_detect_platform
./autogen.sh
./configure --disable-tests --without-gui
make clean
make

Then:

Code:
cd src
strip crowncoind
chmod +x crowncoind

No need to install, I just run it from whatever dierectory it's in.

16.04 is a relatively new release, so if it still fails it's probably due to missing packages that haven't been released for the newer version yet. There are some bugs with every new release, which is why I wait a few months before updating to the latest version.

So from root you just use those commands and the wallet will build?
I'll give it a go!   Thanks

Edit: Tried your command and i seem to be getting much more compiled then with the previous commands used, but still doesn't work

Code:
rpcrawtransaction.cpp:299:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE
     BOOST_STATIC_ASSERT_MSG(

https://github.com/Crowndev/crowncoin/pull/2
hero member
Activity: 1438
Merit: 574
Always ask questions. #StandWithHongKong
Not from root, from your normal user account. The sudo command is needed to install packages, but compiling is done from within your normal user account. However, judging from your logs, it looks like there is a problem with the boost packages for 16.04 - this is what I use to install all required packages for all my wallets:

Code:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get -y install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Then:

Code:
sudo apt-get --no-install-recommends install python-software-properties git python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev libssl-dev libboost-all-dev dh-autoreconf libcurl4-openssl-dev libtool autotools-dev autoconf automake pkg-config libprotoc8 libgtk2.0-dev libgmp-dev libmpfr-dev yasm libevent-dev python-gmpy curl bsdmainutils

Some of these packages are not required for CRW, but installing them won't harm & will ensure that all dependences are met for any other wallet daemons you compile in the future. If after installing the above you are still getting errors I'd say it's a 16.04 issue that needs further investigation.
legendary
Activity: 1092
Merit: 1000
Can anyone help us with the above problem?

I use Xubuntu 14.04 LTS 64bit & this is what I use for compiling my daemons - works for me every time.

From within the downloaded directory (crowncoin):

Code:
chmod +x autogen.sh
chmod +x share/genbuild.sh
chmod +x src/leveldb/build_detect_platform
./autogen.sh
./configure --disable-tests --without-gui
make clean
make

Then:

Code:
cd src
strip crowncoind
chmod +x crowncoind

No need to install, I just run it from whatever dierectory it's in.

16.04 is a relatively new release, so if it still fails it's probably due to missing packages that haven't been released for the newer version yet. There are some bugs with every new release, which is why I wait a few months before updating to the latest version.

So from root you just use those commands and the wallet will build?
I'll give it a go!   Thanks

Edit: Tried your command and i seem to be getting much more compiled then with the previous commands used, but still doesn't work

Code:
rpcrawtransaction.cpp:299:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE
     BOOST_STATIC_ASSERT_MSG(
hero member
Activity: 1438
Merit: 574
Always ask questions. #StandWithHongKong
Can anyone help us with the above problem?

I use Xubuntu 14.04 LTS 64bit & this is what I use for compiling my daemons - works for me every time.

From within the downloaded directory (crowncoin):

Code:
chmod +x autogen.sh
chmod +x share/genbuild.sh
chmod +x src/leveldb/build_detect_platform
./autogen.sh
./configure --disable-tests --without-gui
make clean
make

Then:

Code:
cd src
strip crowncoind
chmod +x crowncoind

No need to install, I just run it from whatever dierectory it's in.

16.04 is a relatively new release, so if it still fails it's probably due to missing packages that haven't been released for the newer version yet. There are some bugs with every new release, which is why I wait a few months before updating to the latest version.
legendary
Activity: 1092
Merit: 1000
Can anyone help us with the above problem?
legendary
Activity: 1722
Merit: 1002
Decentralize Everything
Right.  Good BST morning all.

I need some help and suggestions.

Obviously this coin is getting to a stage where a concerted effort with testing is needed.  Once testing is completed and Thrones are live we will also need to make it as easy as possible to set up a Throne.

This is where it helps that I am a complete idiot when it comes to compiling daemons.

I want to create an idiots guide to compiling Crowncoin on a Linux VPS.  Anybody want to help? 

I spent an hour or two trying to compile on Ubuntu 16.01 yesterday with no luck.

These are the steps I tried:

Code:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils

sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

sudo apt-get install libdb4.8-dev libdb4.8++-dev

mkdir -p src && cd src

git clone https://github.com/Crowndev/crowncoin.git

cd crowncoin/

git checkout master

./autogen.sh && ./configure  && sudo make install -j 2

This is the output when compile failed:

Code:
ubuntu@server-1:~/src/crowncoin$ ./autogen.sh && ./configure  && sudo make install -j 2
configure.ac:118: installing 'src/build-aux/compile'
configure.ac:12: installing 'src/build-aux/config.guess'
configure.ac:12: installing 'src/build-aux/config.sub'
configure.ac:37: installing 'src/build-aux/install-sh'
configure.ac:37: installing 'src/build-aux/missing'
configure.ac:691: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:691: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing 'src/build-aux/depcomp'
configure.ac:691: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:691: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
parallel-tests: installing 'src/build-aux/test-driver'
configure.ac:691: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for g++... g++
checking whether we are using the GNU Objective C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking for gcov... /usr/bin/gcov
checking for lcov... no
checking for java... no
checking for genhtml... no
checking for git... /usr/bin/git
checking for ccache... no
checking for xgettext... no
checking for hexdump... /usr/bin/hexdump
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking whether the linker accepts -Wl,--large-address-aware... no
checking whether C++ compiler accepts -Wstack-protector... yes
checking whether C++ compiler accepts -fstack-protector-all... yes
checking whether C++ compiler accepts -fPIE... yes
checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes
checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes
checking whether the linker accepts -Wl,--dynamicbase... no
checking whether the linker accepts -Wl,--nxcompat... no
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -pie... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for Berkeley DB C++ headers... default
checking for main in -ldb_cxx-4.8... yes
checking miniupnpc/miniwget.h usability... no
checking miniupnpc/miniwget.h presence... no
checking for miniupnpc/miniwget.h... no
checking miniupnpc/miniupnpc.h usability... no
checking miniupnpc/miniupnpc.h presence... no
checking for miniupnpc/miniupnpc.h... no
checking miniupnpc/upnpcommands.h usability... no
checking miniupnpc/upnpcommands.h presence... no
checking for miniupnpc/upnpcommands.h... no
checking miniupnpc/upnperrors.h usability... no
checking miniupnpc/upnperrors.h presence... no
checking for miniupnpc/upnperrors.h... no
checking for boostlib >= 1.20.0... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono... yes
checking whether the Boost::Unit_Test_Framework library is available... yes
checking for dynamic linked boost test... yes
checking for SSL... yes
checking for CRYPTO... yes
checking for PROTOBUF... no
configure: WARNING: libprotobuf not found; crowncoin-qt frontend will not be built
checking whether to build crowncoind... yes
checking whether to build crowncoin-cli... yes
checking whether to build Crowncoin GUI... no (Qt)
checking if ccache should be used... no
checking if wallet should be enabled... yes
checking whether to build with support for UPnP... no
checking whether to build test_crowncoin... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/test/Makefile
config.status: creating src/qt/Makefile
config.status: creating src/qt/test/Makefile
config.status: creating share/setup.nsi
config.status: creating share/qt/Info.plist
config.status: creating qa/pull-tester/run-crowncoind-for-test.sh
config.status: creating qa/pull-tester/build-tests.sh
config.status: creating src/crowncoin-config.h
config.status: executing depfiles commands
sudo: unable to resolve host server-1
Making install in src
make[1]: Entering directory '/home/ubuntu/src/crowncoin/src'
Making install in .
make[2]: Entering directory '/home/ubuntu/src/crowncoin/src'
  CXX      addrman.o
  CXX      activethrone.o
  CXX      alert.o
  CXX      bloom.o
  CXX      checkpoints.o
  CXX      coins.o
  CXX      init.o
  CXX      keystore.o
  CXX      leveldbwrapper.o
  CXX      main.o
main.cpp: In function ‘bool ProcessMessage(CNode*, std::__cxx11::string, CDataStream&)’:
main.cpp:4274:14: warning: variable ‘allowFree’ set but not used [-Wunused-but-set-variable]
         bool allowFree = false;
              ^
  CXX      miner.o
  CXX      names.o
  CXX      net.o
  CXX      noui.o                                                                 CXX      rpcblockchain.o
  CXX      rpcdarksend.o
  CXX      rpcmining.o
  CXX      rpcmisc.o
  CXX      rpcnames.o
  CXX      rpcnet.o
  CXX      rpcrawtransaction.o
  CXX      rpcserver.o
In file included from /usr/include/boost/move/detail/type_traits.hpp:34:0,
                 from /usr/include/boost/move/core.hpp:54,
                 from /usr/include/boost/move/utility_core.hpp:29,
                 from /usr/include/boost/move/utility.hpp:28,
                 from /usr/include/boost/thread/detail/move.hpp:27,
                 from /usr/include/boost/thread/lock_types.hpp:11,
                 from /usr/include/boost/thread/pthread/mutex.hpp:16,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from allocators.h:13,
                 from serialize.h:9,
                 from bignum.h:9,
                 from chainparams.h:9,
                 from base58.h:17,
                 from rpcrawtransaction.cpp:6:
/usr/include/boost/variant/get.hpp: In instantiation of ‘typename boost::add_reference::type boost::strict_get(boost::variant&) [with U = const CScriptID&; T0 = CNoDestination; T1 = CKeyID; T2 = CScriptID; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference::type = const CScriptID&]’:
/usr/include/boost/variant/get.hpp:284:25:   required from ‘typename boost::add_reference::type boost::get(boost::variant&) [with U = const CScriptID&; T0 = CNoDestination; T1 = CKeyID; T2 = CScriptID; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference::type = const CScriptID&]’
rpcrawtransaction.cpp:299:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE
     BOOST_STATIC_ASSERT_MSG(
     ^
Makefile:886: recipe for target 'rpcrawtransaction.o' failed
make[2]: *** [rpcrawtransaction.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/ubuntu/src/crowncoin/src'
Makefile:908: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/src/crowncoin/src'
Makefile:509: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
ubuntu@server-1:~/src/crowncoin$


Anybody want to help me write an idiots guide to compiling?
legendary
Activity: 1092
Merit: 1000
Jump to: