You are viewing a single comment's thread from:

RE: 65 KB Max Length Post (Keywords: JavaScript Steem API)

in #steemdev6 years ago

The max block size is 65KB. That's 65 x 1024 = 66560 characters. I had to shave this down to 64728 to make enough room for the title and the JSON meta data containing the tags and such.

Now I'm wondering if I was also making room for everyone else posting on that block. If a lot of people try to post on the same block is there a bandwidth error? Probably.

The cost of this post was around 19 million resource credits. That's like 20 times higher than usual. Still, with 3500 SP I could do this 200 more times for a total of 12.3 Megabytes stored to the blockchain... forever... with every node forced to save that information till the end of time.

I could do that every 5 days... so I think we have to assume that the amount of RCs we get every week will not be sustainable when the blockchain has mainstream adoption.

We have to assume we're operating on a fractional reserve where STINC and the witnesses assume that only a small portion of the RCs granted will actually be used. When more RCs get used we'll have to increase the cost of posting or develop scaling solutions.

Sort:  

Isn't those RC's supposed to scale with the usage of the network? Wasn't the problem at the launch of RC system that the price was set too high, and they fixed it later by just giving some rc's to people, because it would have taken too long from that algorithm to bring down the prices?

I'm not exactly sure how it went down. It seems like witnesses should have more direct control over how much RCs are given out. I'm sure prices will go up if we face scaling issues.

Next time you wanna try the "if it makes room for everyone on that block"

steemdb.com has live stats of the blocks with amount of posts, votes, comments, etc.

I tried to post this like 25 times. Each time I deleted a hundred characters or so. I think it's pretty telling that I had to shave off a couple thousand characters. I think I'll just go ahead and assume that max_block_size actually means max block size instead of max operation size.

Hehe maybe we need another curve for the RC per stake ratio. :P

That's probably why RC costs were so insanely high after HF20 came out. To allow plankton to post operations they gave out a bunch of free RC knowing we weren't going to use it. So much for "Scaling solutions"

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 67684.16
ETH 2412.87
USDT 1.00
SBD 2.33