3 ms·
>Weeell...In currencies like Bitcoin it's crucial that everyone have the most efficient implementation. Otherwise nobody will bother mining, if they can't do it
by AgentME 9y ago
>Weeell...In currencies like Bitcoin it's crucial that everyone have the most efficient implementation. Otherwise nobody will bother mining, if they can't do it efficiently.
Parts that have very critical performance, especially proof-of-work code, can be in native code. (And if it's modularized well-enough, that code could be sandboxed to contain the damage of any vulnerability, so any remote-code-execution exploit can only corrupt the mining process with nonsense without being able to get to private key data.) Or a safe-and-performant language like Rust could be used.