You are viewing a single comment's thread from:

RE: Steemd now shows remaining Voting Power and Bandwidth

in #steem7 years ago

I figured it out, just as an fyi, the additional data you need is in get_dynamic_global_properties, and the formula is:

has_bandwidth = ( account_vshares * max_virtual_bandwidth ) > ( account_average_bandwidth * total_vshares );

Link: github: witness_plugin.cpp