forked from lthn/blockchain
AI Code Review Fixes
This commit is contained in:
parent
248ba5e4bf
commit
ba6252ed58
4 changed files with 5 additions and 6 deletions
2
Makefile
2
Makefile
|
|
@ -98,7 +98,7 @@ static-release: conan-profile-detect
|
|||
@echo "Building profile: release-static"
|
||||
CONAN_HOME=$(CONAN_CACHE) conan install . --output-folder=build/release-static --build=missing -s build_type=$(BUILD_TYPE)
|
||||
cmake -S . -B build/release-static -DCMAKE_TOOLCHAIN_FILE=build/release-static/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -D STATIC=ON -DTESTNET=$(TESTNET)
|
||||
cmake --build build/release-static --config=Release --parallel=$(CPU_CORES)
|
||||
cmake --build build/release-static --config=$(BUILD_TYPE) --parallel=$(CPU_CORES)
|
||||
|
||||
conan-profile-detect:
|
||||
@if [ ! -f "$(DEFAULT_CONAN_PROFILE)" ]; then \
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
|||
set(CPACK_PACKAGE_DIRECTORY "${CMAKE_BINARY_DIR}/packages")
|
||||
|
||||
install(FILES README.md LICENSE.txt
|
||||
DESTINATION .
|
||||
DESTINATION "share/doc/${CPACK_PACKAGE_NAME}"
|
||||
)
|
||||
|
||||
set(_arch "${CMAKE_SYSTEM_PROCESSOR}")
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ if (TESTNET)
|
|||
set(stratum_default_port 36940 CACHE STRING "STRATUM_DEFAULT_PORT" )
|
||||
set(package_name "lethean-testnet-cli" CACHE STRING "CPACK_PACKAGE_NAME" )
|
||||
else ()
|
||||
message(CHECK_FAIL "bad")
|
||||
set(p2p_default_port 36942 CACHE STRING "P2P_DEFAULT_PORT" )
|
||||
set(rpc_default_port 36941 CACHE STRING "RPC_DEFAULT_PORT" )
|
||||
set(stratum_default_port 36940 CACHE STRING "STRATUM_DEFAULT_PORT" )
|
||||
|
|
|
|||
|
|
@ -434,8 +434,8 @@ namespace nodetool
|
|||
{
|
||||
#ifndef TESTNET
|
||||
//TODO:
|
||||
//ADD_HARDCODED_SEED_NODE(std::string("0.0.0.0:") + std::to_string(P2P_DEFAULT_PORT));
|
||||
//ADD_HARDCODED_SEED_NODE("95.217.43.225", P2P_DEFAULT_PORT);
|
||||
ADD_HARDCODED_SEED_NODE(std::string("0.0.0.0:") + std::to_string(P2P_DEFAULT_PORT));
|
||||
ADD_HARDCODED_SEED_NODE("116.202.82.115", P2P_DEFAULT_PORT);
|
||||
//ADD_HARDCODED_SEED_NODE("94.130.137.230", P2P_DEFAULT_PORT);
|
||||
//ADD_HARDCODED_SEED_NODE("95.217.42.247", P2P_DEFAULT_PORT);
|
||||
//ADD_HARDCODED_SEED_NODE("94.130.160.115", P2P_DEFAULT_PORT);
|
||||
|
|
@ -445,7 +445,7 @@ namespace nodetool
|
|||
//ADD_HARDCODED_SEED_NODE("144.76.183.143", P2P_DEFAULT_PORT);
|
||||
#else
|
||||
// TESTNET
|
||||
//ADD_HARDCODED_SEED_NODE("95.217.43.225", P2P_DEFAULT_PORT);
|
||||
ADD_HARDCODED_SEED_NODE("116.202.82.115", P2P_DEFAULT_PORT);
|
||||
//ADD_HARDCODED_SEED_NODE("94.130.137.230", P2P_DEFAULT_PORT);
|
||||
//ADD_HARDCODED_SEED_NODE("95.217.42.247", P2P_DEFAULT_PORT);
|
||||
//ADD_HARDCODED_SEED_NODE("94.130.160.115", P2P_DEFAULT_PORT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue