Skip to content

ClubHashCash/hashcash-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48,500 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HashCash Core (HCASH)

HashCash Core is a full node and wallet implementation for the HashCash network.

Identity

  • Client name: HashCash Core
  • Version: 0.1.0
  • User agent/subversion: /HashCash:0.1.0/
  • Binaries:
    • hashcash
    • hashcashd
    • hashcash-cli
    • hashcash-qt
    • hashcash-tx
    • hashcash-util
    • hashcash-wallet
    • hashcash-chainstate
    • hashcash-node / hashcash-gui when IPC is enabled
  • Default datadir: .hashcash
  • Default config file: hashcash.conf

Network Defaults

  • P2P port: 21126
  • RPC port: 10309
  • Bech32 HRP: hcash

Quick Start (Docker Regtest)

cd <repo-root>
docker build -t hashcash-node .
docker compose up -d
docker exec hashcash-node1 hashcash-cli -regtest getblockchaininfo

Local CI Flow (No Hosted CI Required)

cd <repo-root>
make ci-local

This runs a deterministic fail-fast flow:

  • CMake configure/build
  • Docker image build
  • Two-node regtest startup
  • idempotent wallet load/create
  • bech32/address checks
  • 101-block mine + sync checks
  • runtime branding leak scan for user-facing Bitcoin|BTC|bitcoin-* output

Useful operational targets:

  • make regtest-up
  • make regtest-validate
  • make regtest-down
  • make regtest-reset

Local CMake Build

cmake -S . -B build -DBUILD_GUI=ON -DENABLE_IPC=OFF -DWITH_ZMQ=ON
cmake --build build -j$(nproc)

Expected binaries:

  • build/bin/hashcash
  • build/bin/hashcashd
  • build/bin/hashcash-cli
  • build/bin/hashcash-qt
  • build/bin/hashcash-tx
  • build/bin/hashcash-util
  • build/bin/hashcash-wallet when wallet tool is enabled

Documentation

Development Notes

Testing

Unit tests and integration tests are available in:

License

Released under the MIT license. See COPYING.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors