Coder Social home page Coder Social logo

sproutcounter's Introduction

Requirements

pip install python-bitcoinrpc

Usage

python sproutcounter.py BLOCKFROM BLOCKTO

Example

python sproutcounter.py 396 433

aggregate value entering sprout circuit     = 10.71830000
aggregate value leaving sprout circuit      = 0.27450000
net shielded value change in sprout circuit = 10.44380000

python sproutcounter.py 1 241964

aggregate value entering sprout circuit     = 3634697.72584490
aggregate value leaving sprout circuit      = 3510258.15050241
net shielded value change in sprout circuit = 124439.57534249

python sproutcounter.py 241965 256819 aggregate value entering sprout circuit = 220706.44213950 aggregate value leaving sprout circuit = 215666.57193453 net shielded value change in sprout circuit = 5039.87020497

Notes

The value entering and leaving the sprout circuit is not a count of unique coins entering and leaving because the same ZEC can be shielded and unshielded multiple times.

For example, if you have 1000 ZEC and shield and unshield, the value entering the sprout circuit will increase by 1000, and the value leaving the sprout circuit will decrease by 1000.

If you were to shield and unshield 5 times, the value entering the sprout circuit would increasea by 5000, and the value leaving the sprout circuit would also increase by 5000.

sproutcounter's People

Contributors

bitcartel avatar

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.