{"id":276,"date":"2021-01-13T08:59:06","date_gmt":"2021-01-13T08:59:06","guid":{"rendered":"https:\/\/www.litebringer.com\/blog\/?p=276"},"modified":"2021-02-12T11:31:15","modified_gmt":"2021-02-12T11:31:15","slug":"will-litebringer-clog-up-the-litecoin-network","status":"publish","type":"post","link":"https:\/\/www.litebringer.com\/blog\/techtalk\/will-litebringer-clog-up-the-litecoin-network","title":{"rendered":"Will LiteBringer clog up the Litecoin network?"},"content":{"rendered":"\n

When LiteBringer starts on Mainnet the number of transactions will drastically increase. But can the Litecoin network withstand the pressure?<\/p>\n\n\n\n\n\n\n\n

When using technology for something it was not intended for, you have to make sure that it fits the needs. Especially, when it is a public good it is a duty not to damage anything others are using, too. So, one of the first things we evaluated when planning our game was if the blockchain can handle the load of our game transactions.<\/p>\n\n\n\n

How many transactions a blockchain can handle within a specific time is determined by the block size. On the Litecoin network, every 2.5 minutes a block is created. Until 2017 Litecoin had a block limit of 1MB. Segregated Witness (SegWit), a tool originally created for the Bitcoin network to deal with DoS attacks, increased this massively. Starting with block 1.201.536 all the later ones can now store data of up to 4MB.<\/p>\n\n\n\n

A single transaction can take up to 80 bytes and some of LiteBringer\u2019s game transactions may fill this space.<\/p>\n\n\n\n

The biggest transaction in LiteBringer is the disassemble item operation and that is only because we try to fit as many items into it as possible. Using a separate transaction for every single item would also be possible but we want to save our players incurring some transaction fees by combining them into one big transaction. By the way, this is the very reason why you can only disassemble 36 items at a time. The other major operation is the sell-out. With the trade offer, we have to encode the signature and make it public.<\/p>\n\n\n\n

In other words, about 50.000 of these operations would fit into a single block. Up to now, there are only on average 50 transactions per block. It would need about 49.950 players constantly destroying items or creating sell offers every 2.5 minutes to use the block size to its limit.<\/p>\n\n\n\n

Anyway, most transactions are much smaller! For example, a \u2018send on quest\u2019 operation can take up to 50 bytes. In order for it to take that much you would have to change all of your equipped gear, upgrade your skills and evolve the character to reach those 50 bytes! If nothing is changed and the character is just sent on a quest the operation only takes up 12 bytes of the available space.<\/p>\n\n\n\n

This is only 1\/8 of the maximum size of a transaction! Consequently, it would take 400.000 players sending a character on a quest within a single block to use the space to its limit. If you include the fact that nearly all missions take 2 or more blocks to complete, the potential number of players would multiply and easily reach several million active users per day.<\/p>\n\n\n\n

Long story short: There is a theoretical limit of transactions the Litecoin blockchain can handle, but LiteBringer would need more than 100 times as many players as the whole blockchain gaming community combined!<\/p>\n","protected":false},"excerpt":{"rendered":"

When LiteBringer starts on Mainnet the number of transactions will drastically increase. But can the Litecoin network withstand the pressure?<\/p>\n","protected":false},"author":3,"featured_media":207,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/posts\/276"}],"collection":[{"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/comments?post=276"}],"version-history":[{"count":1,"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/posts\/276\/revisions"}],"predecessor-version":[{"id":277,"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/posts\/276\/revisions\/277"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/media\/207"}],"wp:attachment":[{"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/media?parent=276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/categories?post=276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.litebringer.com\/blog\/wp-json\/wp\/v2\/tags?post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}