Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

dash budget forecasting script (linux/python)

Discussion in 'Miscellaneous Dash Guides' started by moocowmoo, Feb 1, 2016.

  1. moocowmoo

    moocowmoo Bovine Bit-flipper
    Foundation Member

    Joined:
    Jun 15, 2014
    Messages:
    483
    Likes Received:
    603
    Trophy Points:
    263
    Dash Address:
    XmoocowYfrPKUR6p6M5aJZdVntQe71irCX
    I've built another python script for tracking the current budget status.
    It's new, but I'm pretty sure I've squashed all the big bugs.
    As always, let me know if you run into trouble.
    (If you're seeing old proposals, stop your wallet, delete budget.dat, and restart it.
    It will pull in an up-to-date copy from the network.)

    https://github.com/moocowmoo/dash-budget_state

    You'll need dash-cli in your PATH environment variable (and a linux box) for this one to work.

    Code:
    export PATH=/path/to/folder/containing_dash-cli:$PATH
    # for instance, I keep mine in /home/ubuntu/.dash so I added this to the end of my ~/.bashrc
    # export PATH=~/.dash:$PATH
    Code:
    git clone https://github.com/moocowmoo/dash-budget_state.git
    cd dash-budget_state
    python dash-budget_state.py
    [​IMG]

    Proposals in red indicate they will not be funded. (There are no partial payouts)
    https://github.com/dashpay/dash/blob/master/src/masternode-budget.cpp#L671
    Instead, the budget finalization will continue through the remaining proposals, selecting those that can be fully funded.

    Enjoy!
     
    • Like Like x 4
  2. Sub-Ether

    Sub-Ether Well-known Member

    Joined:
    Mar 31, 2014
    Messages:
    1,516
    Likes Received:
    1,254
    Trophy Points:
    183
    Quietly producing quality milk in the background, love it :cool: