catspad

command module
v0.0.0-...-f27ceb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: ISC Imports: 3 Imported by: 0

README

Catsd

ISC License GoDoc

Catsd is the reference full node Cats implementation written in Go (golang).

Catsd fork from kaspad

quick start

LINUX
  1. Install the official Catspa Mining Software(Linux)

download

  1. Make sure your harddisk has at least 50 GB free space, create a directory named 'Cats', and enter the directory with root permissions.

  2. Download and unzip the latest Catspa Miner Software from Github

  3. Grant executable permission to 'cats' programs (chmod +x *)

  4. Run the command :

 chmod +x * 
 ./genesis --testnet

a. If the daemon processes Catspd and CatsMINER continue to encounter errors, please clear the cache with the following command :

 rm -rf ~/.catsd

and re-run step 5

  1. Create a file firstrun.sh and grant with executable permission

a. Copy the following script to firstrun.sh#!/bin/bashnohup

./catsd --testnet --utxoindex >firstpad.log 2>&1 &
  1. run firstrun.sh

  2. Create a Catspa wallet address

./catswallet --testnet create
  1. Create a file walletrpc.sh and grant with executable permission

a. Copy the following script to walletrpc.sh

#!/bin/bash
nohup ./catswallet --testnet start-daemon  > walletrpc.log 2>&1 &
  1. run walletrpc.sh

  2. Create a sub-wallet address with the following command:

./catswallet --testnet new-address

Please be sure to save the newly generated sub-wallet address, as it will be used for the mining program.

  1. Create a file worker01.sh and grant with executable permission

a. Copy the following script to worker01.sh

#!/bin/bash
nohup ./catsminer --testnet --miningaddr YOUR_SUB_WALLET_ADDRESS > w01.log 2>&1 &
WINDOWS
  1. Install the official Catspa Mining Software (Windows version)

download

  1. Make sure your harddisk has at least 50 GB free space, create a directory named 'Cats', and enter the directory with root permissions.

  2. Download and unzip the latest Catspa Miner Software from Github

  3. Run the command :

./genesis.exe --testnet

a. If the daemon processes Catspd and CatsMINER continue to encounter errors, please clear the cache with the following command :

rm -rf ~/.catsd

and re-run step 5

  1. Run catsd.exe:
./catsd.exe --testnet --utxoindex
  1. Create a Catspa wallet address
./catswallet.exe --testnet create
  1. Run catswallet.exe:
./catswallet.exe --testnet start-daemon
  1. Create a sub-wallet address with the following command:
./catswallet.exe --testnet new-address

Please be sure to save the newly generated sub-wallet address, as it will be used for the mining program.

  1. Run catsminer.exe with miningaddr parameter:
./catsminer.exe --testnet --miningaddr YOUR_SUB_WALLET_ADDRESS

Documentation

The cats's document is the same as kaspa's

The documentation is a work-in-progress

License

Catsd is licensed under the copyfree ISC License.

Documentation

Overview

Copyright (c) 2018-2019 The catspa3 developers Copyright (c) 2013-2018 The btcsuite developers Copyright (c) 2015-2016 The Decred developers Copyright (c) 2013-2014 Conformal Systems LLC. Use of this source code is governed by an ISC license that can be found in the LICENSE file.

Kaspad is a full-node kaspa implementation written in Go.

The default options are sane for most users. This means kaspad will work 'out of the box' for most users. However, there are also a wide variety of flags that can be used to control it.

Usage:

kaspad [OPTIONS]

For an up-to-date help message:

kaspad --help

The long form of all option flags (except -C) can be specified in a configuration file that is automatically parsed when kaspad starts up. By default, the configuration file is located at ~/.kaspad/kaspad.conf on POSIX-style operating systems and %LOCALAPPDATA%\kaspad\kaspad.conf on Windows. The -C (--configfile) flag can be used to override this location.

Directories

Path Synopsis
app
appmessage
Package appmessage implements the kaspa appmessage protocol.
Package appmessage implements the kaspa appmessage protocol.
rpc
cmd
kaspawallet/libkaspawallet/bip32/base58
Package base58 provides an API for working with modified base58 and Base58Check encodings.
Package base58 provides an API for working with modified base58 and Base58Check encodings.
consensus/utils/txscript
Package txscript implements the kaspa transaction script language.
Package txscript implements the kaspa transaction script language.
dagconfig
Package dagconfig defines DAG configuration parameters.
Package dagconfig defines DAG configuration parameters.
infrastructure
db/database
Package database provides a database for kaspad.
Package database provides a database for kaspad.
logger
Package logger defines an interface and default implementation for subsystem logging.
Package logger defines an interface and default implementation for subsystem logging.
network/addressmanager
Package addressmanager implements concurrency safe Kaspa address manager.
Package addressmanager implements concurrency safe Kaspa address manager.
Package util provides kaspa-specific convenience functions and types.
Package util provides kaspa-specific convenience functions and types.
bech32
Package bech32 provides a Go implementation of the bech32 format.
Package bech32 provides a Go implementation of the bech32 format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL