Defcoin Core is the reference full node and wallet implementation for the Defcoin network. This tree is based on Litecoin 0.21.x with selected security backports, while preserving the Defcoin mainnet rules used by the existing chain.
- Website: https://www.defcoin.io
- Repository: https://github.com/packetloss404/DefCoinCore
- Historical Defcoin source: https://github.com/mspicer/defcoin
- Proof of work: Scrypt
- Target block time: 2 minutes
- Difficulty retarget interval: 720 blocks
- Subsidy halving interval: 840,000 blocks
- Initial block reward: 50 DFC
This branch intentionally keeps Defcoin mainnet aligned with the historical chain rather than blindly enabling all newer Litecoin features.
- Mainnet does not treat SegWit, CSV, CLTV, BIP66, Taproot, or MWEB as active consensus features.
- Use legacy Base58 addresses on mainnet. Do not assume Bech32 or P2SH-SegWit compatibility.
- Descriptor wallet plumbing exists in the tree, but legacy wallets remain the default and GUI descriptor-wallet creation is not enabled.
- PSBT workflows are available, but dedicated external-signer integration is not documented as a supported Defcoin feature in this release.
-signetis not currently supported in this branch.
| Network | P2P Port | RPC Port | Data Dir Suffix | Address Prefix |
|---|---|---|---|---|
| Mainnet | 1337 | 9332 | (datadir root) |
D |
| Testnet | 31337 | 19332 | testnet4/ |
m / n |
| Regtest | 19444 | 19443 | regtest/ |
regtest only |
Start with the top-level install guide, then use the platform-specific docs.
Quick headless build on Unix-like systems:
./autogen.sh
./configure
makeIf you want defcoin-qt, install the Qt dependencies described in the platform build notes first.
defcoind: daemondefcoin-qt: GUI walletdefcoin-cli: command-line RPC clientdefcoin-tx: transaction utilitydefcoin-wallet: wallet utility
Before upgrading from older Defcoin releases:
- Back up the wallet you actually use. That may be
wallet.dator a wallet directory underwallets/. - Record your current data directory location.
- Shut down the old node cleanly.
- Install the new binaries.
- Expect the first startup to take longer while wallet and chain state are checked, rescanned, or reindexed as needed.
- On pruned nodes, a manual
-reindexmay still be required in some upgrade paths.
Default data directories:
- Windows:
%APPDATA%\Defcoin\ - Linux:
~/.defcoin/ - macOS:
~/Library/Application Support/Defcoin/
Build the project before running the test suite so generated files such as test/config.ini exist.
Common validation entry points:
make check
test/functional/test_runner.py
test/util/bitcoin-util-test.py
test/lint/lint-all.shSee test/README.md, src/test/README.md, and doc/fuzzing.md for deeper test coverage.
- Read INSTALL.md for the supported build and run paths.
- Use doc/README.md to find your platform build notes.
- Run the smoke-test commands in the testing section above.
- Read CONTRIBUTING.md before opening a pull request.
- Review recommendations.md for the current codebase and docs follow-up list.
This repository still contains inherited Bitcoin/Litecoin naming in some tooling, tests, packaging, and archival documentation. The top-level docs in this pass were updated to reflect current Defcoin behavior; remaining cleanup work is tracked in recommendations.md.
Defcoin Core is distributed under the MIT license. See COPYING for the canonical license text and COPYING.md for a short project-specific licensing note.
Defcoin Core 2.0.0 builds on work from: