MyHush / hush3

Hush: Speak And Transact Freely
https://myhush.org
Other
15 stars 13 forks source link

Delete verus #43

Closed leto closed 4 years ago

leto commented 4 years ago

Completely remove every line of VRSC-specific code from the Hush codebase :metal:

The main motivation of this is under the tutelage of @radix42 who requested VerusHash to be removed so that generating ARMv8 binaries could be a much easier process. There are many Intel-isms in Verus code that makes it not compile on non-Intel systems. Even though Hush never uses this code at run-time, it's compiled and currently causes massive headaches on a consistent basis.

It brings me great joy to slim down Hush. We will now compile faster, use less RAM at run-time (since many Verus-related datastructures were kept in memory but never used) and our binaries will be smaller since we no longer link in libverus and it's dependency, haraka.

Copyrights were updated to reflect that every single line of code from Verus was removed.

Current bugs to fix before merging:

Some bugs may have been introduced in PoS code that Hush does not use, in order to fully remove all Verus code. Since Hush does not use any of those features, this is not considered an issue at this time.