forked from lthn/blockchain
Merge branch 'develop' into random_refactoring
This commit is contained in:
commit
15417edbce
4 changed files with 5 additions and 4 deletions
|
|
@ -32,8 +32,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "iOS" OR CMAKE_SYSTEM_NAME STREQUAL "Android")
|
|||
add_definitions(-DMOBILE_WALLET_BUILD)
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "iOS" )
|
||||
add_definitions(-DIOS_BUILD)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fembed-bitcode")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fembed-bitcode")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fembed-bitcode -Wno-enum-constexpr-conversion")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fembed-bitcode -Wno-enum-constexpr-conversion")
|
||||
endif()
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||
add_definitions(-DANDROID_BUILD)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 69df3c6d86e230dd406097676afa0d0b8c1d9231
|
||||
Subproject commit 0a7bf9b4d5710e4d112173a9e87117206ac037eb
|
||||
|
|
@ -11,7 +11,7 @@ bool check_scalar(const crypto::ec_scalar &scalar) {
|
|||
}
|
||||
|
||||
void random_scalar(crypto::ec_scalar &res) {
|
||||
crypto::random_scalar(res);
|
||||
crypto::random_scalar_no_lock(res);
|
||||
}
|
||||
|
||||
void hash_to_scalar(const void *data, std::size_t length, crypto::ec_scalar &res) {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
"use_only_priority_peers": true,
|
||||
"priority_peers_list": [
|
||||
"95.217.43.225:11121",
|
||||
"94.130.137.230:11121",
|
||||
"95.217.42.247:11121",
|
||||
"94.130.160.115:11121",
|
||||
"195.201.107.230:11121",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue