Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cn_turtle_hash: Use the light flag in portable implementation #1126

Merged
merged 1 commit into from
Apr 24, 2020

Commits on Apr 23, 2020

  1. The portable implementation doesn't use the light parameter causing

    inconsistent results. I desk checked against the ARM64 implementation
    that does NOT used the +crypto extensions, meaning it is emulated in
    software- That implementation is essentially the same as the portable
    implementation, some minor differences in the pre-amble but correctly
    uses the light flag.
    
    Adapting that over allows us to sync past block 321280, which previously
    emitted an "unexpected difficulty" error.
    
    This code path was never excercised due to the '-maes' flag being forced
    on via CMake. That was removed in this commit to make it specifiable by
    the user.
    
    oxen-io@17be0ed
    Doy-lee committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    7960cc4 View commit details
    Browse the repository at this point in the history