CBBC Raspberry Pi Wallet
Use the following instructions to mine a block.
Update your Raspberry Pi.
sudo apt-get update
sudo apt-get upgradeInstall the required dependencies.
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-devsudo apt-get install libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-commonInstall Berkeley DB from source code.
wget download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
sudo make installConfigure environment variable.
export LD_LIBRARY_PATH="/usr/local/lib"Open your wallet, and make sure your wallet is connected with a node.
The message “Syncing Headers (0,0%)” will disappear once you mine your first block.
Close your wallet and create the file caribbeancoin.conf in the folder “$HOME/.caribbeancoin/”.
Paste the following text into caribbeancoin.conf and save the file.
rpcuser=rpc_caribbeancoin
rpcpassword=Replace_with_your_new_password
rpcallowip=127.0.0.1
rpcport=15123
listen=1
server=1Open your wallet.
Create a file named mine.sh and paste the following text into mine.sh.
#!/bin/bash
SCRIPT_PATH=`pwd`;
cd $SCRIPT_PATH
echo Press [CTRL+C] to stop mining.
while :
do
caribbeancoin-cli generate 1
doneSave the file.
Open the terminal on your Raspberry Pi.
Go to the directory where you extracted caribbeancoin-qt.
E.G. cd DownloadsExecute the following command in Terminal to make mine.sh executable.
chmod +x mine.shExecute the following command in Terminal to start mining your first block.
./mine.shEnjoy!
https://thecaribbeancoin.best/img/logo.png