Bitcoin Forum
July 12, 2025, 10:41:48 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] Smoke by Cannacoin Community Foundation | cannacoin.org  (Read 369 times)
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
March 27, 2025, 05:54:40 PM
Last edit: April 04, 2025, 02:21:12 AM by deusopus
 #1

Subject: [ANN] Smoke by Cannacoin™: A Peer-to-Peer Electronic Cannabis Cash System
Posted by: deusopus

Smoke by Cannacoin™: A Peer-to-Peer Electronic Cannabis Cash System
The Cannacoin Community Foundation
https://cannacoin.org
March 2025

Abstract
The global cannabis industry, despite its rapid expansion, grapples with a intricate regulatory landscape that hinders integration with traditional financial systems, forcing stakeholders to rely on inefficient and insecure cash transactions. This paper introduces Smoke by Cannacoin™, an innovative blockchain-based electronic cash system designed to address these financial challenges through a hybrid Proof-of-Work (PoW) and Proof-of-Stake (PoS) consensus model. Built using WalletBuilders.com and based on the Scrypt algorithm from Blackcoin 13.2, Smoke features a total supply of 420,000,069 coins, including a 5% premine of 21,000,003 coins, and shifts to PoS dominance after block 2,102,400, offering a 21-coin PoS reward per block. This study proposes theoretical solutions—such as cannabis-collateralized lending, seed-to-sale tracking, and non-fungible token (NFT) integration—to tackle industry-specific issues, though these remain unimplemented as of March 2025. Through a detailed examination of its technical design, economic framework, and potential applications, this paper positions Smoke as a revolutionary tool for integrating the cannabis economy into a decentralized, transparent financial ecosystem, contributing to the academic exploration of blockchain applications in regulated industries.

Introduction
The cannabis industry operates within a contradictory regulatory environment, where local legalization clashes with federal restrictions. As of March 2025, regions like Canada and over 30 U.S. states permit cannabis for medical or recreational use, yet its Schedule I status under U.S. federal law blocks access to banking services (National Academies of Sciences, Engineering, and Medicine, 2017). This forces the industry to depend on cash, increasing risks of theft and limiting digital efficiencies (Tapscott and Tapscott, 2016). Historically, Cannabis sativa L. has been versatile—used for textiles, food, and medicine since 2700 BCE, as noted in the Shennong Bencaojing (Li, 1974)—but the 1937 Marihuana Tax Act in the U.S., driven by economic and political motives, cemented its exclusion (Bonnie and Whitebread, 1970).

Smoke by Cannacoin™ offers a groundbreaking peer-to-peer digital cash solution to overcome these barriers. Developed via WalletBuilders.com and utilizing the Scrypt algorithm from Blackcoin 13.2, it employs a hybrid PoW/PoS system for security and scalability (King and Nadal, 2012). With a capped supply of 420,000,069 coins and a premine of 21,000,003 coins (5%) allocated for development, marketing, and community initiatives (Cannacoin Community Foundation, 2025), Smoke targets a 1-minute block interval and requires 12 confirmations for transaction finality, fully transitioning to PoS after block 2,102,400. This paper also explores conceptual features like cannabis-backed lending, seed-to-sale tracking, and NFT verification, which, while promising, await implementation (Tapscott and Tapscott, 2016). This analysis details Smoke’s architecture, economics, and potential, establishing it as a vital bridge between blockchain technology and the cannabis sector, with implications for financial inclusion in regulated markets.

Transactions
In the Smoke ecosystem, an electronic coin is defined as a chain of digital signatures. Ownership is transferred by signing a hash of the previous transaction and the recipient’s public key, appending these to the coin’s record (Nakamoto, 2008). Transactions consist of inputs (referencing unspent outputs) and outputs (assigning new coin allocations), broadcast across the network for validation. To prevent double-spending, Smoke mandates 12 confirmations, a robust measure tailored to its hybrid PoW/PoS system to resist chain reorganizations (Decker and Wattenhofer, 2013). This structure supports standard payments and lays the groundwork for advanced features like lending and NFT integration, discussed later.

Timestamp Server
Smoke maintains transaction order through a distributed timestamp server. Transactions are grouped into blocks, each timestamped and linked to the previous block via a header hash. Modifying a transaction requires recalculating all subsequent hashes, a task made infeasible by the combined PoW and PoS effort (Nakamoto, 2008). With a 1-minute block interval and difficulty adjustments every 120 minutes, Smoke ensures consistent timing across fluctuating network conditions, balancing speed and decentralized reliability (Decker and Wattenhofer, 2013).

Proof-of-Work and Proof-of-Stake
Smoke secures its blockchain with a hybrid PoW/PoS consensus approach, blending security with efficiency. Initially, miners use the Scrypt algorithm—memory-intensive to limit ASIC dominance—until block 2,102,400 (Percival, 2009). Post-transition, PoS takes over, with validators staking coins (minimum age 8 hours, no maximum) to confirm blocks, earning 21 coins per block (King and Nadal, 2012). A 100-block coinbase maturity plus one confirmation enhances double-spending protection, and the chain with the most combined PoW/PoS effort prevails, ensuring network resilience (Cannacoin Community Foundation, 2025).

Network
Smoke functions as a decentralized network with a clear operational flow: transactions are broadcast, nodes assemble blocks, miners hash PoW pre-block 2,102,400, stakers validate via PoS afterward, and verified blocks are chained using prior hashes (Nakamoto, 2008). Honest nodes reject invalid blocks, maintaining integrity. Key specs include RPC port 23413, P2P port 23414, address prefixes "S" (mainnet) and "T" (testnet), a main node at cannacoin.duckdns.org, documentation at https://cannacoin.org, and code at https://github.com/cannacoin-official/smoke (Cannacoin Community Foundation, 2025). Built on Blackcoin 13.2, it ensures compatibility and reach.

Incentive
Smoke’s network sustainability hinges on a balanced reward system. PoW miners earn 50 coins per block, PoS stakers receive 21 coins, with 5% of PoS rewards funding community projects (Cannacoin Community Foundation, 2025). Optional fees supplement rewards, aligning incentives with network strength (Nakamoto, 2008). No halving and a PoS shift at block 2,102,400 control inflation, while the 21-coin reward extends distribution, encouraging long-term participation (King and Nadal, 2012).

Reclaiming Disk Space
With a fixed supply of 420,000,069 coins, Smoke optimizes storage by pruning spent outputs, using a Merkle Tree to store only the root in block headers (Merkle, 1987). This allows verification without retaining full history, improving scalability in resource-limited settings.

Simplified Payment Verification
Smoke supports Simplified Payment Verification (SPV) for lightweight clients, enabling transaction checks without running a full node. By fetching Merkle branch proofs tied to timestamped blocks, SPV relies on honest nodes for trustless operation and scalability (Nakamoto, 2008), key for cannabis industry adoption.

Tokenomics and Distribution
Smoke’s economic design balances issuance, security, and engagement. Its 420,000,069-coin supply includes a 21,000,003-coin premine (5%), split as 40% (8,400,001.2 coins) for development, 30% (6,300,000.9 coins) for marketing, and 30% (6,300,000.9 coins) for community efforts (Cannacoin Community Foundation, 2025). The remaining 399,000,066 coins are distributed via PoW (105,120,000 coins over 2,102,400 blocks at 50 coins each) and PoS (293,880,066 coins at 21 coins per block over ~14,000,000 blocks, or 26.58 years). This slow release curbs inflation and promotes staking.

Seed-to-Sale Tracking and NFT Integration
Smoke envisions a seed-to-sale tracking system using NFTs to enhance cannabis supply chain transparency (Tapscott and Tapscott, 2016). It would log cultivation, growth, harvest, processing, and distribution, embedding data like THC levels in batch-specific NFTs tied to farmers’ legal IDs. As of March 2025, this is theoretical, with no code implementation, signaling a need for further work.

Lending Mechanism: Cannabis Collateral
Smoke proposes a lending system where farmers deposit cannabis into a decentralized custodial network, securing loans in Smoke based on collateral quality, verified by NFTs. Repayment returns the collateral; default leads to liquidation, inspired by Credito Emiliano’s cheese collateral model (Law Library of Congress, 2024). Unimplemented as of March 2025, it faces challenges like cannabis perishability and legal inconsistencies.

Privacy
Smoke ensures pseudonymity through public key addresses, hiding identities unless externally linked (Nakamoto, 2008). Planned seed-to-sale and NFT records would use encryption, accessible only to authorized parties (e.g., farmers, regulators), balancing openness and privacy (Tapscott and Tapscott, 2016). This remains undeveloped.

Calculations
Smoke’s metrics include a 1-minute block interval (1,440 blocks daily). At one 1-kilobyte transaction per second (86,400 daily), the blockchain grows by ~86 megabytes daily or 31 gigabytes yearly. PoW adjusts difficulty every 120 minutes, and PoS distributes 293,880,066 coins over ~14,000,000 blocks (26.58 years). Security requires over 50% staked coins for an attack, bolstered by premine and phased distribution (Buterin, 2014). These figures suggest scalability, pending real-world testing.

Conclusion
Smoke by Cannacoin™ pioneers blockchain use in the cannabis industry with a hybrid PoW/PoS system. Its 420,000,069-coin supply, 1-minute blocks, and PoS transition at block 2,102,400 distribute 105,120,000 coins via PoW and 293,880,066 via PoS over 26.58 years, moderating inflation. Proposed features—lending, tracking, and NFTs—tackle industry challenges but are unimplemented as of March 2025, per https://github.com/cannacoin-official/cannacoin-smoke. Rooted in cannabis’s historical value (Li, 1974) and modern benefits (National Academies of Sciences, Engineering, and Medicine, 2017), Smoke provides a scalable base for a digital cannabis economy, calling for collaboration to realize its potential in regulated sectors.

Appendix: Coin Properties
  • Algorithm: Scrypt Proof of Work and Proof of Stake (Blackcoin 13.2)
  • Coin Name: Smoke
  • Coin Abbreviation: SMOKE
  • Public Address Letter: S (mainnet), T (testnet)
  • RPC Port: 23413
  • P2P Port: 23414
  • Block Reward: 50 coins (PoW), 21 coins (PoS)
  • Premine: 21,000,003 coins (5%)
  • Donation Percentage: 5% of stake rewards
  • Last PoW Block: 2,102,400
  • Min. Stake Age: 8 hours
  • Max. Stake Age: Unlimited
  • Coinbase Maturity: 100 blocks + 1 default confirmation
  • Target Spacing: 1 minute
  • Target Timespan: 120 minutes
  • Transaction Confirmations: 12 blocks
  • Timestamp: "the quick brown fox jumped over the lazy dog"
  • Node 1: cannacoin.duckdns.org
  • Website URL: https://cannacoin.org
  • Github URL: https://github.com/cannacoin-official/cannacoin-smoke
Authored via Grok3 by deusopus
Contact: info@cannacoin.org

--
deusopus
nonamedude
8-bit
IdMineThat
Newbie
*
Offline Offline

Activity: 26
Merit: 14


View Profile
March 27, 2025, 08:15:26 PM
 #2

The discord link on your site is dead. Also, got any nodes for wallet to sync up?
wsdigitalpool
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 27, 2025, 08:16:24 PM
 #3

nodes plis the wallet does not sync
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
March 27, 2025, 08:26:40 PM
Last edit: March 27, 2025, 08:38:21 PM by deusopus
 #4

discord link fixed

try this node

node3.walletbuilders.com

IdMineThat
Newbie
*
Offline Offline

Activity: 26
Merit: 14


View Profile
March 27, 2025, 08:31:31 PM
 #5

That worked. Thanks.
clickmaker
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
March 27, 2025, 08:44:08 PM
 #6

Do you have:

A Windows Wallet ?

A working Discord Link ?

Any working mining pools yet ?

Thanks Smiley
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
March 27, 2025, 08:45:48 PM
 #7

Do you have:

A Windows Wallet ?

A working Discord Link ?

Any working mining pools yet ?

Thanks Smiley

1. yes there is a windows wallet and i will be rolling that out shortly

2. i just updated the discord link at cannacoin.org

3. haven't started a pool yet

deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
March 30, 2025, 02:42:28 AM
Last edit: March 30, 2025, 08:41:50 PM by deusopus
 #8

windows version at https://cannacoin.org/smoke/windows/
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
March 31, 2025, 06:22:49 PM
Last edit: April 04, 2025, 02:09:58 AM by deusopus
 #9

the repository has moved to https://github.com/cannacoin-official/cannacoin-smoke

i'm building a shell script for ubuntu users to automate the compilation process. stay tuned. testing now.
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
April 04, 2025, 02:00:45 AM
 #10

### A Note on Recent Challenges

I want to take a moment to address a recent issue. Due to a mistake on my part with WalletBuilders.com, there was a typo in the hardcoded node, which caused some complications. I’ve since corrected the code and uploaded the revised version to our GitHub repository. I apologize for any inconvenience this may have caused and appreciate your understanding as we work to resolve these issues.

the official seed node is cannacoin.duckdns.org but node3.walletbuilders.com also works but for a limited time. the windows wallet at https://cannacoin.org/smoke/windows is unaffected

in respect for the new user i want to make a all encompassing shell script for Linux users to clone, patch, and compile automatically.

I'm working with SuperGrok3 that in the building of the script as follows:
Code:
#!/bin/bash

# Script: compile_cannacoin_smoke.sh
# Purpose: Fully automates cloning, patching, and compilation of the cannacoin-smoke project on Ubuntu 24.04,
#          placing it in the home directory (~), using Boost 1.81.0 without NumPy support.
#          Includes RPATH configuration, system checks, and cleanup for a true turnkey experience.
# Date: March 31, 2025
# Usage: Save this script locally (e.g., as compile_cannacoin_smoke.sh), make it executable (chmod +x compile_cannacoin_smoke.sh),
#        and run it (./compile_cannacoin_smoke.sh) from any directory. Requires sudo privileges.
# Notes: - Assumes Ubuntu 24.04 on x86_64 architecture.
#        - Requires ~5-10 GB of free disk space.
#        - Internet connection is needed to download Boost and clone the repository.

# Exit on any error
set -e

# Colors for user feedback
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color

# Function to display error messages and exit
error_exit() {
    echo -e "${RED}Error: $1${NC}" >&2
    exit 1
}

# Define key variables
REPO_URL="https://github.com/cannacoin-official/cannacoin-smoke.git"
REPO_DIR="$HOME/cannacoin-smoke"
BOOST_VERSION="1_81_0"
BOOST_DIR="$REPO_DIR/boost_${BOOST_VERSION}"
BOOST_INSTALL_DIR="$BOOST_DIR/install"
BOOST_TAR="boost_${BOOST_VERSION}.tar.gz"
BOOST_URL="https://archives.boost.io/release/1.81.0/source/${BOOST_TAR}"
BOOST_FALLBACK_URL="https://sourceforge.net/projects/boost/files/boost/1.81.0/${BOOST_TAR}/download"
BOOST_EXPECTED_SIZE=140221178  # Size in bytes
BOOST_SHA256="205666dea9f6a7cfed87c7a6dfbeb52a2c1b9de55712c9c1a87735d7181452b6"
MAX_ATTEMPTS=5
RETRY_DELAY=10  # seconds
LOG_FILE="$REPO_DIR/build.log"
MIN_DISK_SPACE=10000000  # 10 GB in KB

# Function to check system requirements
check_requirements() {
    echo "Checking system requirements..."

    # Check Ubuntu version
    if ! lsb_release -d | grep -q "Ubuntu 24.04"; then
        error_exit "This script is designed for Ubuntu 24.04. Your system is $(lsb_release -d)."
    fi

    # Check architecture
    if [ "$(uname -m)" != "x86_64" ]; then
        error_exit "This script is designed for x86_64 architecture. Your system is $(uname -m)."
    fi

    # Check disk space
    AVAILABLE_SPACE=$(df -k "$HOME" | tail -1 | awk '{print $4}')
    if [ "$AVAILABLE_SPACE" -lt "$MIN_DISK_SPACE" ]; then
        error_exit "Insufficient disk space. Need at least 10 GB free, but only $(($AVAILABLE_SPACE / 1024)) MB available in $HOME."
    fi

    # Check internet connectivity
    if ! ping -c 1 google.com > /dev/null 2>&1; then
        error_exit "No internet connection detected. Please connect to the internet and try again."
    fi
}

# Function to install a package if missing
install_if_missing() {
    if ! command -v "$1" &> /dev/null; then
        echo "Installing $1..."
        sudo apt install -y "$2" || error_exit "Failed to install $1."
    fi
}

# Function to download Boost with retries
download_boost() {
    local url="$1"
    local attempt=1
    while [ $attempt -le $MAX_ATTEMPTS ]; do
        echo "Attempt $attempt of $MAX_ATTEMPTS: Downloading Boost 1.81.0 from $url..."
        if curl -L -o "$BOOST_TAR" "$url"; then
            FILE_SIZE=$(stat -c%s "$BOOST_TAR" 2>/dev/null || stat --format=%s "$BOOST_TAR")
            if [ "$FILE_SIZE" -eq "$BOOST_EXPECTED_SIZE" ]; then
                DOWNLOADED_SHA256=$(sha256sum "$BOOST_TAR" | cut -d' ' -f1)
                if [ "$DOWNLOADED_SHA256" = "$BOOST_SHA256" ]; then
                    return 0
                else
                    echo "Checksum mismatch. Expected: $BOOST_SHA256, Got: $DOWNLOADED_SHA256."
                fi
            else
                echo "Size mismatch. Expected: $BOOST_EXPECTED_SIZE, Got: $FILE_SIZE."
            fi
        fi
        attempt=$((attempt + 1))
        if [ $attempt -le $MAX_ATTEMPTS ]; then
            echo "Retrying in $RETRY_DELAY seconds..."
            sleep $RETRY_DELAY
        fi
    done
    return 1
}

# Step 1: Check system requirements
check_requirements

# Step 2: Ensure basic tools are installed
echo "Ensuring basic tools are installed..."
install_if_missing "git" "git"
install_if_missing "curl" "curl"
install_if_missing "tar" "tar"
install_if_missing "sudo" "sudo"
install_if_missing "sha256sum" "coreutils"
install_if_missing "lsb_release" "lsb-release"

# Step 3: Install system dependencies for the project and Boost build
echo "Installing system dependencies..."
DEPENDENCIES="build-essential libssl-dev libevent-dev libqrencode-dev libzmq3-dev libprotobuf-dev \
    protobuf-compiler libminiupnpc-dev libdb5.3++-dev qtbase5-dev qttools5-dev-tools libqt5dbus5t64 \
    pkg-config g++ libicu-dev libbz2-dev liblzma-dev zlib1g-dev autoconf automake libtool"
sudo apt update || error_exit "Failed to update package list. Check internet connection."
sudo apt install -y $DEPENDENCIES || error_exit "Failed to install dependencies. On non-Ubuntu systems, install equivalents manually (see $REPO_URL)."

# Step 4: Handle repository cloning with retries
echo "Cloning cannacoin-smoke repository into $REPO_DIR..."
attempt=1
while [ $attempt -le $MAX_ATTEMPTS ]; do
    if git clone "$REPO_URL" "$REPO_DIR"; then
        break
    else
        echo "Attempt $attempt of $MAX_ATTEMPTS: Failed to clone repository. Retrying in $RETRY_DELAY seconds..."
        sleep $RETRY_DELAY
        attempt=$((attempt + 1))
    fi
done
[ $attempt -gt $MAX_ATTEMPTS ] && error_exit "Failed to clone repository after $MAX_ATTEMPTS attempts."

# Change to the repository directory
cd "$REPO_DIR" || error_exit "Failed to change to $REPO_DIR."

# Step 5: Check if Boost 1.81.0 is already present and installed
if [ ! -d "$BOOST_INSTALL_DIR/lib" ] || [ ! -f "$BOOST_INSTALL_DIR/lib/libboost_system.a" ]; then
    echo "Boost 1.81.0 not found or not installed correctly. Downloading and building it now..."
    
    # Download Boost with retries
    if [ ! -f "$BOOST_TAR" ] || [ "$(stat -c%s "$BOOST_TAR" 2>/dev/null || stat --format=%s "$BOOST_TAR")" -ne "$BOOST_EXPECTED_SIZE" ]; then
        download_boost "$BOOST_URL" || {
            echo "Primary URL failed, trying fallback..."
            download_boost "$BOOST_FALLBACK_URL" || error_exit "Failed to download Boost 1.81.0 from both URLs after $MAX_ATTEMPTS attempts."
        }
    fi
    
    # Extract Boost
    echo "Extracting $BOOST_TAR..."
    tar -xzf "$BOOST_TAR" || error_exit "Failed to extract Boost 1.81.0."
    
    # Build and install Boost without NumPy
    cd "$BOOST_DIR"
    echo "Bootstrapping Boost..."
    ./bootstrap.sh > "$LOG_FILE" 2>&1 || error_exit "Boost bootstrap failed. Check $LOG_FILE for details."
    echo "Building Boost 1.81.0 without NumPy support (this may take up to 10 minutes)..."
    ./b2 --without-python -j$(nproc) >> "$LOG_FILE" 2>&1 || error_exit "Failed to build Boost 1.81.0. Check $LOG_FILE for details."
    echo "Installing Boost to $BOOST_INSTALL_DIR..."
    ./b2 install --prefix="$BOOST_INSTALL_DIR" >> "$LOG_FILE" 2>&1 || error_exit "Failed to install Boost 1.81.0. Check $LOG_FILE for details."
    cd ..
    echo -e "${GREEN}Boost 1.81.0 built and installed successfully.${NC}"
else
    echo "Boost 1.81.0 already present and installed in $BOOST_INSTALL_DIR."
fi

# Step 6: Patch qt/transactiondesc.cpp and qt/paymentserver.cpp to fix compilation errors
echo "Patching source files to fix compilation errors..."

# Patch qt/transactiondesc.cpp: Replace Q_FOREACH with range-based for loop
sed -i 's/Q_FOREACH (const PAIRTYPE(std::string, std::string)& r, wtx.vOrderForm)/for (const auto\& r : wtx.vOrderForm)/g' src/qt/transactiondesc.cpp
echo "Replaced Q_FOREACH with range-based for loop in src/qt/transactiondesc.cpp."

# Patch qt/paymentserver.cpp: Add #include <array> if not present
if ! grep -q "#include <array>" src/qt/paymentserver.cpp; then
    sed -i '2i#include <array>' src/qt/paymentserver.cpp
    echo "Added #include <array> to src/qt/paymentserver.cpp."
else
    echo "#include <array> already present in src/qt/paymentserver.cpp."
fi

# Patch qt/paymentserver.cpp: Replace Q_FOREACH with range-based for loop
sed -i 's/Q_FOREACH(const PAIRTYPE(CScript, CAmount)& sendingTo, sendingTos)/for (const auto\& sendingTo : sendingTos)/g' src/qt/paymentserver.cpp
echo "Replaced Q_FOREACH with range-based for loop in src/qt/paymentserver.cpp."

# Step 7: Clean previous build artifacts
echo "Cleaning previous build artifacts..."
make clean || true  # Ignore errors if no previous build exists

# Step 8: Run autogen.sh
echo "Running autogen.sh..."
./autogen.sh > "$LOG_FILE" 2>&1 || error_exit "autogen.sh failed. Check $LOG_FILE for details."

# Step 9: Configure with Boost 1.81.0, explicit paths, and RPATH for runtime library location
echo "Configuring build with Boost 1.81.0 and setting RPATH..."
./configure --with-boost="$BOOST_INSTALL_DIR" \
            LDFLAGS="-L$BOOST_INSTALL_DIR/lib -Wl,-rpath,$BOOST_INSTALL_DIR/lib" \
            CPPFLAGS="-I$BOOST_INSTALL_DIR/include" > "$LOG_FILE" 2>&1 || error_exit "configure failed. Check $LOG_FILE for details."

# Step 10: Compile the project with parallel jobs and detailed logging
echo "Compiling cannacoin-smoke (this may take up to 15 minutes)..."
make -j$(nproc) >> "$LOG_FILE" 2>&1 || error_exit "make failed. Check $LOG_FILE for detailed errors."

# Step 11: Verify the binaries exist and are executable
echo "Verifying compiled binaries..."
for binary in "$REPO_DIR/src/smoked" "$REPO_DIR/src/qt/smoke-qt" "$REPO_DIR/src/smoke-cli"; do
    if [ ! -f "$binary" ]; then
        error_exit "Binary $binary not found after compilation."
    fi
    chmod +x "$binary" || error_exit "Failed to make $binary executable."
done

# Step 12: Test the GUI binary (smoke-qt) to ensure it runs
echo "Testing smoke-qt binary..."
if ! "$REPO_DIR/src/qt/smoke-qt" --version > /dev/null 2>&1; then
    echo -e "${RED}Warning: smoke-qt failed to run. It may require a graphical environment (X11).${NC}"
    echo "If you're on a server without a GUI, use smoked or smoke-cli instead."
fi

# Step 13: Clean up temporary files to save space
echo "Cleaning up temporary files..."
[ -d "$BOOST_DIR" ] && rm -rf "$BOOST_DIR"
[ -f "$BOOST_TAR" ] && rm -f "$BOOST_TAR"
echo "Cleanup completed."

# Step 14: Success message with instructions
echo -e "${GREEN}Compilation completed successfully!${NC}"
echo "The compiled binaries are located in $REPO_DIR/src/."
echo "To run the daemon (smoked), use this command from anywhere:"
echo "  $REPO_DIR/src/smoked"
echo "To run the GUI (smoke-qt), use (requires a graphical environment):"
echo "  $REPO_DIR/src/qt/smoke-qt"
echo "To use the CLI (smoke-cli), for example to check the status, run:"
echo "  $REPO_DIR/src/smoke-cli getinfo"
echo "Optional: Run 'cd $REPO_DIR && sudo make install' to install system-wide."
echo "For more information, visit: https://cannacoin.org"

i need it to spit out all the binaries and mining script. hi ho hi ho hi ho...

Best regards,  
deusopus
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
April 06, 2025, 05:00:14 PM
Last edit: April 08, 2025, 06:05:37 PM by deusopus
 #11

Cannacoin - Whitepaper, News & Crypto Ticker

Crypto Ticker (as of April 08, 2025)
BTC: $77,568.72 (0.12%)   ETH: $1,495.09 (2.50%)   USDT: $0.9993 (0.03%)   XRP: $1.86 (0.36%)   BNB: $554.38 (1.15%)   USDC: $0.9998 (0.03%)   SOL: $104.63 (0.17%)   TRX: $0.2331 (2.57%)   DOGE: $0.1471 (0.73%)   ADA: $0.5790 (1.84%)
[Note: For real-time crypto prices, visit cannacoin.org]

cannacoin.org
Join us on Discord: https://discord.gg/zEQcGdSXrw
Lucky Dog Mining Pool: https://luckydogpool.com/
Zalmex Mining Pool: https://zalmex.online/

Smoke Whitepaper
To view the whitepaper, click here: Smoke Whitepaper
Can’t view the PDF? Download it here.

Latest News
[Note: For the latest news, please visit cannacoin.org]

Order Free Hemp Seeds
To order free hemp seeds, please send an email to info@cannacoin.org with the subject "FREE HEMP SEEDS PLEASE" and include the following information in the body:
  • Full Name
  • Mailing Address
  • Email Address

Footer
© 2025 Cannacoin Community Foundation. "Cannacoin" is a USPTO-registered trademark. Founded and operated by Americans in the USA. This website provides information only, not financial or legal advice. Cryptocurrency involves risks, including total loss of funds. Use at your own risk and consult a professional before participating.
Visit our Wiki: https://wiki.cannacoin.org
Download Links:
clickmaker
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
April 07, 2025, 04:08:19 AM
Last edit: April 08, 2025, 01:56:08 AM by clickmaker
 #12

Bounty Claim Pending.
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 67
Merit: 1


View Profile WWW
April 08, 2025, 06:06:36 PM
 #13

Bounty Claim Pending.

what's going on?
clickmaker
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
April 08, 2025, 11:20:54 PM
Last edit: April 09, 2025, 08:44:17 PM by clickmaker
 #14



Announcement:

SMOKE by Cannacoin can now be mined at the following pools:

LuckyDogPool: - https://luckydogpool.com

stratum+tcp://stratum.luckydogpool.com:7096 -u WALLET_ADDRESS.WORKER_NAME -p c=SMOKE

and

Zalmex.Online - https://zalmex.online

stratum+tcp://zalmex.online:3433 -u WALLET_ADDRESS.WORKER_NAME -p c=SMOKE


The Windows QT Wallet To Store Your Coins Can Be Found Here:

https://cannacoin.org/smoke/windows/


Have any questions or want to join us on Discord ?

Just follow this link - https://discord.gg/ss4qSVRP


Happy Mining Everyone !

kamelbendali
Newbie
*
Offline Offline

Activity: 67
Merit: 0


View Profile
May 02, 2025, 06:01:34 PM
 #15

i do invite people to join discord server : https://discord.gg/UhbSSH3S
for INFO and GIVEAWAYS
Pages: [1]
  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!