Update #12+13 [30 November - 11 Dec]
@radrow.chain @erlmachinedev1.chain
The Recent 51% attack re-prioritized a lot of tasks - due to it here is a biweekly development update - following updates will be posted regularly.
- Coordination with the AE foundation maintenance team
We coordinated on delivering the next 5.6 maintenance release in December - Emergency response due to the 51% attack
- Consensus engine
This large piece of code is still under review - we will include it in the 5.6-rc1 release and test it out on our infrastructure - BTC integration
The connectors are ready and right now we are integrating it in the node - implementation of HC consensus is underway. - HC Protocol + Whitepaper - we plan to amend our whipepaper in the near future with all of the improvements we made to the initial HC protocol - A separate document tailored around BTC and investors will be prepared in the near future.
- DB corruption - blocker
This is unrelated to the 51% attack - We found that more than half of our production nodes got their DB corrupted on a rare bug - crash due to “missing_hash”. We were notified by one external node operator that this issue also occurred on their private node. We immediately started investigating and trying to find the root cause of this issue - Healing the broken nodes from backups took us some time but now the network is back up and in good shape. We found the root cause of the issue and in the process we found a lot of other issues cripling the sync performance - in the future we will need to migrate our entire DB from “mnesia over rocksdb” to pure rocksdb - the corruption occured in the layer between those two. As the migration is a really big undertaking(we need to touch more than 200 places in the node) we currently derived a quick solution to get the DB back in a consistent state - as a side effect the sync performance improved more than 2 times - I literally was able to sync 10% of the AE mainnet on my laptop in less than an hour… After the DB migration this will become even faster. The proper DB migration is postponed until we get the HC protocol up and running - Erlscripten
A lot of progress! We reached a mature state here - we implemented a lot of BIFS, we have bigint support, etc… The project was restructured - it is now hosted under
GitHub - erlscripten/erlscripten: Erlang to PureScript transpiler. Run Erlang in the browser!
and some components were split up: - GitHub - erlscripten/erlps-stdlib: Erlang's STDLIB in Purescript
-
GitHub - erlscripten/erlps-core: Core runtime of Erlscripten - ERTS emulation
The Erlang standard library is now fully working! We managed to get parts of the Erlang compiler fully working! Packages produced by erlscripten are now available for use in various projects.
Transpilation of Aesophia/Aeserialization/Aebytecode is now underway
Here is the transpiled Aeserialization library: GitHub - erlscripten/erlps-aeserialization: Purescript bindings for aeternity's aeserialization