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

Great to hear that :)

(And have discovered that market trades count against your bandwidth....)

Funny - I had to do a small reasearch about the bandwith in general yesterday. From what I have read all operations you perform cost some bandwidth, so even collecting your rewards costs some bandwidth :)

Sort:  

So.... how does one calculate available bandwidth... as I've been going negative/positive/negative/negative/more negative all morning with no trades and only one post.... if available bandwidth is too low, really don't want to do trading... way too easy get stuck with very bad positions that way, I'm doing that well enough all by myself without help.

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.

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.27
TRX 0.21
JST 0.039
BTC 97020.59
ETH 3712.85
USDT 1.00
SBD 3.89