KDAG Monthly Report (2023.5.01–5.31)
Technology Development:
1. Github code was submitted 29 times with 28 files added or modified.
2. We are providing technical support for exchanges and communities, and the testnet is currently undergoing continuous research and development testing.
Here are the specific modifications:
1. cmd, core/state, kdag, tests, trie: improve state reader. The state availability is checked during the creation of a state reader. In hash-based database, if the specified root node does not exist on disk, then the state reader won’t be created and an error will be returned. In path-based database, if the specified state layer is not available, then the state reader won’t be created and an error will be returned. This change also contains a stricter semantics regarding the Commit operation: once it has been performed, the trie is no longer usable, and certain operations will return an error.
2. Pebble: remove parameter ‘fromLevel’ in Prove. This removes the feature where top nodes of the proof can be elided. The Kdag server uses it to save data when the client only needs additional nodes to complete the proof.Alas, it never got implemented in the client.
3. rpc: avoid use of cgo by hard-coding maxSize. Package rpc uses cgo to find the maximum UNIX domain socket path length. If exceeded, a warning is printed. This is the only use of cgo in this package. It seems excessive to depend on cgo just for this warning, so we now hard-code the usual limit for Linux instead.
4. kdag/core/txpool: handle missing head in reset. Fixes a crash that could occur during txpool reorg handling.
5. rpc: added method to test for subscription support. This adds two ways to check for subscription support. First, one can now check whether the transport method (HTTP/WS/etc.) is capable of subscriptions using the new method.
6. kdag/testnet: add limit for batch request items and response size. Adds server-side limits for JSON-RPC batch requests. Before this change, batches were limited only by processing time. The server would pick calls from the batch and answer them until the response timeout occurred, then stop processing the remaining batch items.
7. core/state: mark account as dirty when resetObject occurs. This changes the journal logic to mark the state object dirty immediately when it is reset.
Community Development:
1. Published KDAG’s Monthly Report for April 2023.
2. The information about KDAG was disseminated through infographic tweets.
3. Completed the Guess the time contest from May 7, 2023, to May 9, 2023.
4. KDAG has just published their monthly report for the month of March 2023.
5. Completed the Guess, what’s new will be in the upcoming white paper contest from May 20, 2023, to May 23, 2023.
🔺Website: https://kdag.io/
🔺Twitter: https://twitter.com/KDAGFoundation
🔺Telegram: https://t.me/KingDAGGroup