Skip to content

Commit

Permalink
Fix MeowPow Algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolin1579 committed Mar 20, 2024
1 parent 3c1d053 commit caffef3
Show file tree
Hide file tree
Showing 7 changed files with 600 additions and 487 deletions.
3 changes: 2 additions & 1 deletion src/Native/libmeowpow/ethash/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
include(GNUInstallDirs)

add_library(
ethash
ethash SHARED
bit_manipulation.h
builtins.h
endianness.hpp
Expand All @@ -21,6 +21,7 @@ add_library(
${include_dir}/ethash/progpow.hpp
progpow.cpp
)
set_property(TARGET ethash PROPERTY POSITION_INDEPENDENT_CODE ON)

target_link_libraries(ethash PRIVATE keccak)
target_include_directories(ethash PUBLIC $<BUILD_INTERFACE:${include_dir}>$<INSTALL_INTERFACE:include>)
Expand Down
4 changes: 1 addition & 3 deletions src/Native/libmeowpow/ethash/endianness.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

#pragma once

#include "ethash.hpp"

#if _WIN32

#include <stdlib.h>
Expand Down Expand Up @@ -96,4 +94,4 @@ struct be
};

#endif
} // namespace ethash
} // namespace ethash
Loading

0 comments on commit caffef3

Please sign in to comment.