Skip to content

vDinar is a local Yugoslav cryptocurrency with a new mining protocol. Similar to Scrypt-N, vCrypt runs the Scrypt algorithm with a changing N factor, but instead of being based upon hardcoded timestamps it follows the blocks height. vDinar allocates 2% of every mining reward (fees included) to a special donations address; donations will be given…

License

Notifications You must be signed in to change notification settings

AndreaDejanGrande/vDinar

Repository files navigation

vDinar - virtualni Dinar

vdinar

https://www.vdinar.info/en/

Copyright (c) 2009-2014 Bitcoin Developers

Copyright (c) 2011-2014 Litecoin Developers

Copyright (c) 2017-2021 vDinar Developers

What is vDinar?

vDinar is a cryptocurrency using vCrypt as a proof-of-work algorithm, aimed to help money transactions between southern slavic countries. Of course, it is available to everyone else besides being from Balkans or not.

What's new in vDinar?

  • vCrypt protocol/algorithm is similar to Scrypt-N, but changes the N factor at blockchain heights instead of hardcoded timestamps
  • allocates 2% of every mining reward to a special address for donations in the Yugoslav area
  • (optional) transaction fees split 75% to miners and 25% for donations

2.5 minute block target, subsidy halves in 840k blocks (~4 years)

  • 49+1 coins per block (49 to miner, 1 to donations)
  • 2016 blocks to retarget difficulty

Technical explanation

Block structure differences (from Bitcoin)

  • 2 coinbase (no input) transactions instead of one
  • both coinbase transactions include the same extranonce

Pooled mining differences (server side): (On work request)

  • create two coinbase transactions instead of one
  • assign the 49 coins to first coinbase
  • assign 1/49 of the first coinbase transaction value to the second one
  • store merkle steps from the 2nd lvl., considering two unknown values (coinb. txs) in the 1st one
  • send splitted coinbase transactions (coinb1, coinb2, doncoinb1, doncoinb2), merkle steps and all the rest (On share received)
  • hash coinb. and don. coinb. txs
  • build hash merkle root with the latter result hashed with merkle steps one by one

Pooled mining differences (client side):

  • receive 2 new values (doncoinb1, doncoinb2)
  • build hash merkle root with first two txs as coinb. and don. coinb. (both with same extranonce)

License

vDinar 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.

Test network

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

cd src; make -f makefile.unix test

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

qmake BITCOIN_QT_TEST=1 -o Makefile.test bitcoin-qt.pro
make -f Makefile.test
./vdinar-qt_test

About

vDinar is a local Yugoslav cryptocurrency with a new mining protocol. Similar to Scrypt-N, vCrypt runs the Scrypt algorithm with a changing N factor, but instead of being based upon hardcoded timestamps it follows the blocks height. vDinar allocates 2% of every mining reward (fees included) to a special donations address; donations will be given…

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published