You are viewing a single comment's thread from:

RE: SteemJ Dev Diary #2 (02.01.2018) - Increased code quality

in #utopian-io7 years ago

So from what I've understood yesterday the available bandwidth depends on your SteemPower .. the more you have the heigher your bandwidth is.

You can manually check your bandwidth using tools like Steemd: https://steemd.com/@muksihs

Or by using the

public List<ExtendedAccount> getAccounts(List<AccountName> accountNames)

method of SteemJ.

Sort:  

I've been logging getExtendedAccount().getAverageBandwidth() and getExtendedAccount().getAverageMarketBandwidth(), and there seems to be a formula needed with some other value unknown to me to figure our their relationship to determining available bandwidth.

(muksihs bandwidth limit exceeded. Please wait to transact or power up STEEM. this error message indicating that you should power up when you can't without bandwidth is annoying and frustrating)

This tutorial provided by @jfollas looks pretty good: https://steemit.com/steemdev/@jfollas/write-a-steemit-web-app-part-7-bandwidth-availability

You may could create a GitHub issue for SteemJ and request this functionallity? Or even better - If you have the time provide it as a pull request if you implement it for your image library? =)

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.038
BTC 96452.15
ETH 3695.72
USDT 1.00
SBD 3.90