Git Product home page Git Product logo

mspicer / defcoin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from litecoin-project/litecoin

13.0 6.0 7.0 126.39 MB

Defcoin source tree

Home Page: http://www.defcoin-ng.org

License: MIT License

Makefile 1.47% Shell 0.60% M4 2.51% QMake 0.01% Python 15.82% C++ 68.14% C 9.93% HTML 0.28% Objective-C++ 0.09% Assembly 0.37% Java 0.39% Sage 0.39%
defcoin defcon scrypt cryptocurrency bitcoin litecoin

defcoin's Introduction

Defcoin integration/staging tree

Build Status

http://www.defcoin-ng.org

Copyright (c) 2009-2018 Bitcoin Developers
Copyright (c) 2011-2018 Litecoin Developers
Copyright (c) 2011-2018 Defcoin Developers

What is Defcoin?

Defcoin is a fork of Litecoin which is a lite version of Bitcoin using scrypt as a proof-of-work algorithm.

  • 2 minute block targets
  • 720 blocks to retarget difficulty

The rest is the same as Litecoin.

  • subsidy halves in 840k blocks (~4 years)
  • ~84 million total coins
  • 50 coins per block. Now 25 coins after first halving event

For more information, as well as an immediately useable, binary version of the Defcoin client sofware, see http://www.defcoin-ng.org.

License

Defcoin is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

Development process

Developers work in their own trees, then submit pull requests when they think their feature or bug fix is ready.

If it is a simple/trivial/non-controversial change, then one of the defcoin development team members simply pulls it.

If it is a more complicated or potentially controversial change, then the patch submitter will be asked to start a discussion (if they haven't already) on the reddit.

The patch will be accepted if there is broad consensus that it is a good thing. Developers should expect to rework and resubmit patches if the code doesn't match the project's coding conventions (see doc/coding.txt) or are controversial.

The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are created regularly to indicate new official, stable release versions of defcoin.

Automated Testing

Developers are strongly encouraged to write unit tests for new code, and to submit new unit tests for old code.

Unit tests for the core code are in src/test/ and test/. To compile and run them:

make check
python3.4 test/functional/test_runner.py

Unit tests for the GUI code are in src/qt/test/. They are compiled with the Qt code and run with make check


Themeing

The theme data for the Qt GUI is stored in src/qt/theme.h.


To Do

Rename the Defcoin units from mDFC and μDFC in favor of a more flavorful name similar to Litecoin. This is stored in the file src/qt/bitcoinunits.cpp on lines 43 - 45

    case BTC: return QString("DFC");
    case mBTC: return QString("mDFC");
    case uBTC: return QString::fromUtf8("μDFC");

and on lines 54 - 56

    case BTC: return QString("Defcoins");
    case mBTC: return QString("Milli-Defcoins (1 / 1" THIN_SP_UTF8 "000)");
    case uBTC: return QString("Micro-Defcoins (1 / 1" THIN_SP_UTF8 "000" THIN_SP_UTF8 "000)");

defcoin's People

Contributors

achow101 avatar btcdrak avatar codeshark avatar cozz avatar domob1812 avatar fanquake avatar gavinandresen avatar gmaxwell avatar instagibbs avatar jnewbery avatar jonasschnelli avatar jtimon avatar kallewoof avatar laanwj avatar luke-jr avatar morcos avatar muggenhor avatar nah012 avatar non-github-bitcoin avatar paveljanik avatar petertodd avatar practicalswift avatar pstratem avatar rebroad avatar ryanofsky avatar sdaftuar avatar sipa avatar thebluematt avatar theuni avatar thrasher- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

defcoin's Issues

Amount entries limited to 7 digits, should be 8?

Defcoin-qt currently "only" allows 9,999,999 coins to be send in a given transaction.

Since in total ~84 million Defcoin will be mined suggest that the max number allowed in the amount dialog be up to eight digits, or 99,999,999 (or whatever the true max would be.)

Minor issue, but hopefully simple to adjust.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.