News:

Be careful when downloading software.
Make sure to download only from official sources:
Official Groestlcoin Clients for Win, Mac, Linux

Main Menu

How to generate bootstrap.dat from Groestlcoin Core

Started by jackielove4u, September 12, 2015, 12:13:12 PM

Previous topic - Next topic

jackielove4u

The following were tested in Ubuntu 14.04, Ubuntu 16.04 and Ubuntu 18.04, some dependencies can be different in other distros

    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
    • Crtl+o enter, ctrl X
    • groestlcoind
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli getnetworkinfo
    • cd contrib/linearize/
    • cp example-linearize.cfg linearize.cfg
    • nano linearize.cfg and edit input= and output_file= to match the right existing path otherwise you will get premature end of data error
    • ./linearize-hashes.py linearize.cfg > hashlist.txt
    • ./linearize-data.py linearize.cfg
    • Bootstrap.dat can be found in ~/.groestlcoin