[ I brought a boring Sonic post ] While rummaging through the Sonic docs, I came across a category called Database Storage. Let's take a look! Database Storage Sonic stores the current state of the blockchain in a database. This includes account information, virtual machine code, smart contract storage, and more. In this process, a feature called live pruning is used to automatically delete old data. Thanks to this, even as the blockchain grows, the amount of data that validators need to store can be significantly reduced. Previously, to perform pruning, the validator node had to be temporarily turned off. However, Sonic can organize data in real-time without turning off the node, allowing for savings in disk space and costs without interrupting network operations. Live pruning manages the database in two parts: 1. LiveDB: Only the state of the latest block is stored 2. ArchiveDB: All states of past blocks are stored Validators can minimize operational burdens by using only...
Show original
5.92K
26
The content on this page is provided by third parties. Unless otherwise stated, OKX is not the author of the cited article(s) and does not claim any copyright in the materials. The content is provided for informational purposes only and does not represent the views of OKX. It is not intended to be an endorsement of any kind and should not be considered investment advice or a solicitation to buy or sell digital assets. To the extent generative AI is utilized to provide summaries or other information, such AI generated content may be inaccurate or inconsistent. Please read the linked article for more details and information. OKX is not responsible for content hosted on third party sites. Digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding digital assets is suitable for you in light of your financial condition.