![]() ![]() During the restoration, we need to go through on all utxos and check each individual address whether it belongs to that HD wallet or not. I think, the wallet restoration is a quite tricky and time-consuming process, cos when the root key-pair is created from the seeds then that HD Wallet can have 2*2^31 (hardened, unhardened) addresses. From that point, there is no too much IO occurs at the moment (one block, avg 1-2 transactions per 20sec and some messages). These files are created at the installation time, and when the blocks are downloaded, then the global utxo must be created (Daedalus needs to validate every transaction to build its own utxo, as it should not believe to anybody but itself) based on these files (stored blockchain). This process, including migration, must be done properly and we anticipate that it will take considerable time.Įvery solution has its own drawbacks and benefits We are re-analysing the requirements of the whole storage subsystem, both block storage and associated indexes, and will then choose a new design. It was an expedient choice during rapid development. We acknowledge that the use of many small files is not a good long term design choice for several reasons. #Mad daedalus key code codeThere may be mitigating factors preventing the usage of such a more commonly used storage technology, but there is no evidence of such a conclusion having been reached.īarring such evidence, our conclusion is that the current storage methodology, and plans for mitigating current risks, introduces undue risk to the project in terms of code complexity, potential data loss, and logic errors. One example would be SQLite, which explicitly documents its abilities to replace multiple small files on a filesystem with a single database. From the point of view of code simplicity and reliability, however, it would be better to use preexisting solutions designed to solve these problems. There is a proposal to fix this issue at. However, as documented at, this has disadvantages. FYI, this was described by FP Complete in the audit report released today, page 19.Ĭurrently, each block is stored in an individual file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |