GithubHelp home page GithubHelp logo

FOSSA Status

The Dagger (XDAG) cryptocurrency

  • Community site: https://xdag.io
  • The Main net was launched January 5, 2018 at 22:45 GMT

Principles:

  • Directed acyclic graph (DAG), not blockchain
  • Block = transaction = address
  • Original idea and implementation
  • Mineable, no premine, no ICO
  • Mining new money every 64 seconds

HOW-TO:

Docs:

Main chain idea:

Every block in DAG has up to 15 links to another blocks (inputs and outputs). Block B is referenced by another block A if we can reach B from A by following the links. Chain is a sequence of blocks each of which is referenced by the previous block. Chain is called distinct if every its block belongs to separate 64-seconds interval. Difficulty_of_block is 1/hash where hash is sha256(sha256(block)) regarded as little-endian number. Difficulty_of_chain is sum of difficulties of blocks. Main_chain is the distinct chain with maximum difficulty. Blocks in main chain are called main_blocks.

Daggers are mined in every main block. There are three periods of mining:

Stage 1 Stage 2 Stage 3
Block #1 to #1,017,322 Block #1,017,323 to #2,097,151 Each 2,097,152 blocks
1024 XDAG each block 128 XDAG each block 64 * (1/2)^n XDAG each block

The maximum XDAG supply is approximately 1.446294144 billion.

Each dagger is equal to power(2,32) cheatoshino. Transaction is valid if it is referenced by a main block. Valid transactions are strictly ordered depending on main chain and links order. Double spending is prohibited because only first concurrent transaction (by this order) is applied.

Structure of block:

The on-disk format will change in the future. Consider this the network protocol. Each block has a fixed size of 512 bytes. Block consists of 16 fields each of which has length 32 bytes. Field 0 is header, it consists of 4 quadwords:

  • transport-layer header
  • types of all 16 fields, 4 bits for one type
  • timestamp of the block, in seconds from Unix era * 1024
  • block fee in cheatoshi

Types of fields:

  1. nonce
  2. header
  3. transaction input: 24 lower bytes of block hash and 8 bytes of input amount
  4. transaction output, structure is the same as input
  5. half of block signature; ECDSA number r or s; digest for signature is hash of (block concate public key)
  6. half of output signature; only owner of this key can use this block as input
  7. public key (x) with even y
  8. public key with odd y
  9. header of testnet
  10. ... 15. are reserved for future usage.

Transport layer:

The dnet network is used as transport layer. A new transport layer will come in the future.

Maintainers:

Evgeniy ( XDAG: gKNRtSL1pUaTpzMuPMznKw49ILtP6qX3, BTC: 1Jonano4esJzZvqNtUY6NwfPme3EMpVs7n )
Frozen ( XDAG: +L5dzSh1QZv1We3wi8Of31M8eHwQJq4K )

Code Contributors:

Full list of contributors including all contributors for XDAG sub-projects.

License

FOSSA Status

XDAG Community's Projects

management icon management

Record all management related documents in this repository. Including meetup minutes, develop plan.

node-xdag icon node-xdag

node.js communicate with xdag (via unix_sock now)

openxdagpool icon openxdagpool

OpenXDAGPool - a Dagger (xdag) website pool software written in Laravel 5

xdag icon xdag

XDAG (Dagger Coin) Official Main Repository. XDAG is a novel DAG based cryptocurrency.

xdag-pro icon xdag-pro

XDAG-Pro is a cross-platform wallet project for XDAG.

xdagbridge icon xdagbridge

XDAG Bridge is a cross-chain bridge from XDAG mainnet to EVM chains

xdagj icon xdagj

XDAGJ is an implementation of XDAG in Java. https://xdag.io

xdagwallet icon xdagwallet

XDAG wallet C library, can be used to build desktop and mobile wallets.

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.