diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e3d3abb..3d722ae6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,7 +91,7 @@ target_precompile_headers(hpcore PUBLIC src/pchheader.hpp) add_custom_target(docker COMMAND mkdir -p ./test/local-cluster/bin COMMAND cp ./build/hpcore ./build/appbill ./test/local-cluster/bin/ - COMMAND cp ./test/bin/fusermount3 ./test/bin/libfuse3.so.3 ./test/bin/libb2.so.1 ./test/bin/websocketd ./test/bin/websocat ./test/bin/hpfs ./test/local-cluster/bin/ + COMMAND cp ./test/bin/fusermount3 ./test/bin/libfuse3.so.3 ./test/bin/libblake3.so ./test/bin/websocketd ./test/bin/websocat ./test/bin/hpfs ./test/local-cluster/bin/ COMMAND docker build -t hpcore:latest ./test/local-cluster ) set_target_properties(docker PROPERTIES EXCLUDE_FROM_ALL TRUE) diff --git a/README.md b/README.md index c9dd3ce1..5a6051f5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A C++ version of hotpocket designed for production envrionments, original prototype here: https://github.com/codetsunami/hotpocket -[Hot Pocket Wiki](https://github.com/HotPocketDev/core/wiki) + ## Libraries * Crypto - Libsodium https://github.com/jedisct1/libsodium diff --git a/test/bin/hpfs b/test/bin/hpfs index 9f79c1f4..5aa37e76 100755 Binary files a/test/bin/hpfs and b/test/bin/hpfs differ diff --git a/test/bin/libb2.so.1 b/test/bin/libb2.so.1 deleted file mode 100755 index 29a4d1f6..00000000 Binary files a/test/bin/libb2.so.1 and /dev/null differ diff --git a/test/bin/libblake3.so b/test/bin/libblake3.so new file mode 100755 index 00000000..5122c158 Binary files /dev/null and b/test/bin/libblake3.so differ diff --git a/test/local-cluster/Dockerfile b/test/local-cluster/Dockerfile index 7af40ead..62a6f2cf 100644 --- a/test/local-cluster/Dockerfile +++ b/test/local-cluster/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get install -y netcat-openbsd libgomp1 # Install shared libraries. # Copy shared libraries and register it. COPY ./bin/libfuse3.so.3 /usr/local/lib/ -COPY ./bin/libb2.so.1 /usr/local/lib/ +COPY ./bin/libblake3.so /usr/local/lib/ RUN ldconfig COPY ./bin/fusermount3 /usr/local/bin/ diff --git a/test/vm-cluster/cluster.sh b/test/vm-cluster/cluster.sh index 714f9592..121daabb 100755 --- a/test/vm-cluster/cluster.sh +++ b/test/vm-cluster/cluster.sh @@ -159,7 +159,7 @@ if [ $mode = "new" ] || [ $mode = "update" ]; then cp $hpcore/build/hpcore hpfiles/bin/ cp $hpcore/examples/nodejs_contract/{package.json,echo_contract.js,hp-contract-lib.js} hpfiles/nodejs_contract/ if [ $mode = "new" ]; then - cp ../bin/{libfuse3.so.3,libb2.so.1,fusermount3,websocketd,websocat,hpfs} hpfiles/bin/ + cp ../bin/{libfuse3.so.3,libblake3.so,fusermount3,websocketd,websocat,hpfs} hpfiles/bin/ cp ./setup-hp.sh hpfiles/ fi diff --git a/test/vm-cluster/setup-hp.sh b/test/vm-cluster/setup-hp.sh index 7eb882ba..7db4f351 100755 --- a/test/vm-cluster/setup-hp.sh +++ b/test/vm-cluster/setup-hp.sh @@ -24,7 +24,7 @@ if [ -x "$(command -v fusermount3)" ]; then else echo "Installing FUSE and other shared libraries..." sudo apt-get -y install libgomp1 - sudo cp ~/hpfiles/bin/{libfuse3.so.3,libb2.so.1} /usr/local/lib/ + sudo cp ~/hpfiles/bin/{libfuse3.so.3,libblake3.so} /usr/local/lib/ sudo ldconfig sudo cp ~/hpfiles/bin/fusermount3 /usr/local/bin/ fi