Bitcoin Forum
July 24, 2024, 05:38:32 AM *
News: Help 1Dq create 15th anniversary forum artwork.
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: TheCaribbeanCoin CBBC  (Read 371 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (1 post by 1+ user deleted.)
thecaribbeancoin (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
February 14, 2020, 10:42:18 PM
 #21

CBBC Raspberry Pi Wallet
Use the following instructions to mine a block.

Update your Raspberry Pi.

sudo apt-get update
sudo apt-get upgrade


Install 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-dev

sudo apt-get install libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-common

Install 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 install


Configure 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=1


Open 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
done


Save the file.

Open the terminal on your Raspberry Pi.

Go to the directory where you extracted caribbeancoin-qt.

E.G. cd Downloads

Execute the following command in Terminal to make mine.sh executable.

chmod +x mine.sh

Execute the following command in Terminal to start mining your first block.

./mine.sh

Enjoy!

https://thecaribbeancoin.best/img/logo.png
RenatoOliva
Copper Member
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
April 01, 2022, 04:02:59 PM
 #22

Hi good morning, how would this mining function for wallet in macos?


Close your wallet and create the file caribbeancoin.conf in the folder “%APPDATA%\caribbeancoin\”.

Paste the following text into caribbeancoin.conf and save the file. (replace "CHOOSE_A_NEW_ONE" with your password)

rpcuser=rpc_caribbeancoin
rpcpassword=CHOOSE_A_NEW_ONE
rpcallowip=127.0.0.1
rpcport=15123
listen=1
server=1
txindex=1
addnode=212.24.110.29


Open your wallet exe folder.

Create a .bat file named mine.bat in the same folder where you extracted caribbeancoin-cli.exe and paste the following text into mine.bat.

@echo off
set SCRIPT_PATH=%cd%
cd %SCRIPT_PATH%
echo Press [CTRL+C] to stop mining.
:begin
 caribbeancoin-cli.exe generate 1
goto begin


Save the file.
Execute your Core Wallet
Execute mine.bat to start mining
That's it!
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!