Skip to content

ourlink/dash_subsidy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dash_subsidy (v1.3)

Python module for Dash's subsidy function.

Currently to be used for:

  • p2pool-dash (SUBSIDY_FUNC)
  • darkcoind-ncurses (block_subsidy)

Install

Python 2.7 is required as well as a gcc with c++ bindings.

$ python setup.py install

Usage

Import the module and call the function:

import dash_subsidy as ds

nBits = 469894998
nHeight = 21288
print ds.GetBlockBaseValue(nBits, nHeight)

Testnet:

print ds.GetBlockBaseValue_testnet(nBits, nHeight)

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •