sidechain_transaction_settle_operation proposal approval for Hive
This commit is contained in:
parent
3b25ec29eb
commit
ca1e68c13f
9 changed files with 92 additions and 832 deletions
|
|
@ -1,794 +0,0 @@
|
||||||
# This is the CMakeCache file.
|
|
||||||
# For build in directory: /home/pbattu/git/18.04/peerplays
|
|
||||||
# It was generated by CMake: /usr/bin/cmake
|
|
||||||
# You can edit this file to change values found and used by cmake.
|
|
||||||
# If you do not want to change any of the values, simply exit the editor.
|
|
||||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
|
||||||
# The syntax for the file is as follows:
|
|
||||||
# KEY:TYPE=VALUE
|
|
||||||
# KEY is the name of a variable in the cache.
|
|
||||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
|
||||||
# VALUE is the current value for the KEY.
|
|
||||||
|
|
||||||
########################
|
|
||||||
# EXTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
BOOST_ROOT:PATH=/home/pbattu/git/18.04/boost_1_67_0
|
|
||||||
|
|
||||||
//The threading library used by boost-thread
|
|
||||||
BOOST_THREAD_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so
|
|
||||||
|
|
||||||
//Build bitshares executables (witness node, cli wallet, etc)
|
|
||||||
BUILD_BITSHARES_PROGRAMS:BOOL=TRUE
|
|
||||||
|
|
||||||
//Build bitshares unit tests
|
|
||||||
BUILD_BITSHARES_TESTS:BOOL=TRUE
|
|
||||||
|
|
||||||
//Build websocketpp examples.
|
|
||||||
BUILD_EXAMPLES:BOOL=OFF
|
|
||||||
|
|
||||||
//Build websocketpp tests.
|
|
||||||
BUILD_TESTS:BOOL=OFF
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
BitShares_BINARY_DIR:STATIC=/home/pbattu/git/18.04/peerplays
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
BitShares_SOURCE_DIR:STATIC=/home/pbattu/git/18.04/peerplays
|
|
||||||
|
|
||||||
//Boost chrono library (debug)
|
|
||||||
Boost_CHRONO_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_chrono.a
|
|
||||||
|
|
||||||
//Boost chrono library (release)
|
|
||||||
Boost_CHRONO_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_chrono.a
|
|
||||||
|
|
||||||
//Boost context library (debug)
|
|
||||||
Boost_CONTEXT_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_context.a
|
|
||||||
|
|
||||||
//Boost context library (release)
|
|
||||||
Boost_CONTEXT_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_context.a
|
|
||||||
|
|
||||||
//Boost coroutine library (debug)
|
|
||||||
Boost_COROUTINE_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_coroutine.a
|
|
||||||
|
|
||||||
//Boost coroutine library (release)
|
|
||||||
Boost_COROUTINE_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_coroutine.a
|
|
||||||
|
|
||||||
//Boost date_time library (debug)
|
|
||||||
Boost_DATE_TIME_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_date_time.a
|
|
||||||
|
|
||||||
//Boost date_time library (release)
|
|
||||||
Boost_DATE_TIME_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_date_time.a
|
|
||||||
|
|
||||||
//The directory containing a CMake configuration file for Boost.
|
|
||||||
Boost_DIR:PATH=Boost_DIR-NOTFOUND
|
|
||||||
|
|
||||||
//Boost filesystem library (debug)
|
|
||||||
Boost_FILESYSTEM_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_filesystem.a
|
|
||||||
|
|
||||||
//Boost filesystem library (release)
|
|
||||||
Boost_FILESYSTEM_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_filesystem.a
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
Boost_INCLUDE_DIR:PATH=/home/pbattu/git/18.04/boost_1_67_0/include
|
|
||||||
|
|
||||||
//Boost iostreams library (debug)
|
|
||||||
Boost_IOSTREAMS_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_iostreams.a
|
|
||||||
|
|
||||||
//Boost iostreams library (release)
|
|
||||||
Boost_IOSTREAMS_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_iostreams.a
|
|
||||||
|
|
||||||
//Boost library directory
|
|
||||||
Boost_LIBRARY_DIR:PATH=/home/pbattu/git/18.04/boost_1_67_0/lib
|
|
||||||
|
|
||||||
//Boost library directory DEBUG
|
|
||||||
Boost_LIBRARY_DIR_DEBUG:PATH=/home/pbattu/git/18.04/boost_1_67_0/lib
|
|
||||||
|
|
||||||
//Boost library directory RELEASE
|
|
||||||
Boost_LIBRARY_DIR_RELEASE:PATH=/home/pbattu/git/18.04/boost_1_67_0/lib
|
|
||||||
|
|
||||||
//Boost locale library (debug)
|
|
||||||
Boost_LOCALE_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_locale.a
|
|
||||||
|
|
||||||
//Boost locale library (release)
|
|
||||||
Boost_LOCALE_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_locale.a
|
|
||||||
|
|
||||||
//Boost program_options library (debug)
|
|
||||||
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_program_options.a
|
|
||||||
|
|
||||||
//Boost program_options library (release)
|
|
||||||
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_program_options.a
|
|
||||||
|
|
||||||
//Boost serialization library (debug)
|
|
||||||
Boost_SERIALIZATION_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_serialization.a
|
|
||||||
|
|
||||||
//Boost serialization library (release)
|
|
||||||
Boost_SERIALIZATION_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_serialization.a
|
|
||||||
|
|
||||||
//Boost signals library (debug)
|
|
||||||
Boost_SIGNALS_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_signals.a
|
|
||||||
|
|
||||||
//Boost signals library (release)
|
|
||||||
Boost_SIGNALS_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_signals.a
|
|
||||||
|
|
||||||
//Boost system library (debug)
|
|
||||||
Boost_SYSTEM_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_system.a
|
|
||||||
|
|
||||||
//Boost system library (release)
|
|
||||||
Boost_SYSTEM_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_system.a
|
|
||||||
|
|
||||||
//Boost thread library (debug)
|
|
||||||
Boost_THREAD_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_thread.a
|
|
||||||
|
|
||||||
//Boost thread library (release)
|
|
||||||
Boost_THREAD_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_thread.a
|
|
||||||
|
|
||||||
//Boost unit_test_framework library (debug)
|
|
||||||
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_unit_test_framework.a
|
|
||||||
|
|
||||||
//Boost unit_test_framework library (release)
|
|
||||||
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE:FILEPATH=/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_unit_test_framework.a
|
|
||||||
|
|
||||||
//ON or OFF
|
|
||||||
Boost_USE_STATIC_LIBS:STRING=ON
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_AR:FILEPATH=/usr/bin/ar
|
|
||||||
|
|
||||||
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
|
|
||||||
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
|
|
||||||
CMAKE_BUILD_TYPE:STRING=Debug
|
|
||||||
|
|
||||||
//Enable/Disable color output during build.
|
|
||||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
|
||||||
|
|
||||||
//Configurations
|
|
||||||
CMAKE_CONFIGURATION_TYPES:STRING=Release;RelWithDebInfo;Debug
|
|
||||||
|
|
||||||
//CXX compiler
|
|
||||||
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-5
|
|
||||||
|
|
||||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-5
|
|
||||||
|
|
||||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-5
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_CXX_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//C compiler
|
|
||||||
CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc-5
|
|
||||||
|
|
||||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-5
|
|
||||||
|
|
||||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-5
|
|
||||||
|
|
||||||
//Flags used by the compiler during all build types.
|
|
||||||
CMAKE_C_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the compiler during debug builds.
|
|
||||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds for minimum
|
|
||||||
// size.
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds.
|
|
||||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the compiler during release builds with debug info.
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the linker.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Enable/Disable output of compile commands during generation.
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
|
||||||
|
|
||||||
//Install path prefix, prepended onto install directories.
|
|
||||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_NM:FILEPATH=/usr/bin/nm
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_NAME:STATIC=BitShares
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of dll's.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when installing shared libraries,
|
|
||||||
// but are added when building.
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when using shared libraries.
|
|
||||||
CMAKE_SKIP_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during debug builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release minsize builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during release builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during Release with Debug Info builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
|
||||||
|
|
||||||
//If this value is on, makefiles will be generated without the
|
|
||||||
// .SILENT directive, and all commands will be echoed to the console
|
|
||||||
// during the make. This is useful for debugging only. With Visual
|
|
||||||
// Studio IDE projects all commands are done without /nologo.
|
|
||||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
CURSES_CURSES_LIBRARY:FILEPATH=CURSES_CURSES_LIBRARY-NOTFOUND
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
CURSES_FORM_LIBRARY:FILEPATH=CURSES_FORM_LIBRARY-NOTFOUND
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
CURSES_INCLUDE_PATH:PATH=CURSES_INCLUDE_PATH-NOTFOUND
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
CURSES_NCURSES_LIBRARY:FILEPATH=CURSES_NCURSES_LIBRARY-NOTFOUND
|
|
||||||
|
|
||||||
//Dot tool for use with Doxygen
|
|
||||||
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND
|
|
||||||
|
|
||||||
//Doxygen documentation generation tool (http://www.doxygen.org)
|
|
||||||
DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND
|
|
||||||
|
|
||||||
//secp256k1 or openssl or mixed
|
|
||||||
ECC_IMPL:STRING=secp256k1
|
|
||||||
|
|
||||||
//Build BitShares for code coverage analysis
|
|
||||||
ENABLE_COVERAGE_TESTING:BOOL=FALSE
|
|
||||||
|
|
||||||
//Build websocketpp with CPP11 features enabled.
|
|
||||||
ENABLE_CPP11:BOOL=ON
|
|
||||||
|
|
||||||
//TRUE to try to use full zlib for compression, FALSE to use miniz.c
|
|
||||||
FC_USE_FULL_ZLIB:BOOL=FALSE
|
|
||||||
|
|
||||||
//Git command line client
|
|
||||||
GIT_EXECUTABLE:FILEPATH=/usr/bin/git
|
|
||||||
|
|
||||||
//location of the genesis.json to embed in the executable
|
|
||||||
GRAPHENE_EGENESIS_JSON:PATH=/home/pbattu/git/18.04/peerplays/genesis.json
|
|
||||||
|
|
||||||
//The directory containing a CMake configuration file for Gperftools.
|
|
||||||
Gperftools_DIR:PATH=Gperftools_DIR-NOTFOUND
|
|
||||||
|
|
||||||
//Installation directory for CMake files
|
|
||||||
INSTALL_CMAKE_DIR:PATH=lib/cmake/websocketpp
|
|
||||||
|
|
||||||
//Installation directory for header files
|
|
||||||
INSTALL_INCLUDE_DIR:PATH=include
|
|
||||||
|
|
||||||
//Log long API calls over websocket (ON OR OFF)
|
|
||||||
LOG_LONG_API:BOOL=ON
|
|
||||||
|
|
||||||
//Max API execution time in ms
|
|
||||||
LOG_LONG_API_MAX_MS:STRING=1000
|
|
||||||
|
|
||||||
//API execution time in ms at which to warn
|
|
||||||
LOG_LONG_API_WARN_MS:STRING=750
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
OPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcrypto.a
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
OPENSSL_INCLUDE_DIR:PATH=/usr/include
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
OPENSSL_SSL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libssl.a
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
PERL_EXECUTABLE:FILEPATH=/usr/bin/perl
|
|
||||||
|
|
||||||
//pkg-config executable
|
|
||||||
PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
READLINE_INCLUDE_DIR:PATH=/usr/include
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
READLINE_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libreadline.so
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
Readline_INCLUDE_DIR:PATH=/usr/include
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
Readline_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libreadline.so
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
Readline_ROOT_DIR:PATH=/usr
|
|
||||||
|
|
||||||
//OFF
|
|
||||||
UNITY_BUILD:BOOL=OFF
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
ZLIB_INCLUDE_DIR:PATH=/usr/include
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
fc_BINARY_DIR:STATIC=/home/pbattu/git/18.04/peerplays/libraries/fc
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
fc_LIB_DEPENDS:STATIC=general;-L/usr/local/lib;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_thread.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_date_time.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_filesystem.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_system.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_program_options.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_signals.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_serialization.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_chrono.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_unit_test_framework.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_context.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_locale.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_iostreams.a;general;/home/pbattu/git/18.04/boost_1_67_0/lib/libboost_coroutine.a;general;/usr/lib/x86_64-linux-gnu/libpthread.so;general;/usr/lib/x86_64-linux-gnu/libssl.a;general;/usr/lib/x86_64-linux-gnu/libcrypto.a;general;/usr/lib/x86_64-linux-gnu/libz.so;general;dl;general;rt;general;/usr/lib/x86_64-linux-gnu/libreadline.so;general;secp256k1;
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
fc_SOURCE_DIR:STATIC=/home/pbattu/git/18.04/peerplays/libraries/fc
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_account_history_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_accounts_list_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_affiliate_stats_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_app_LIB_DEPENDS:STATIC=general;graphene_market_history;general;graphene_account_history;general;graphene_accounts_list;general;graphene_affiliate_stats;general;graphene_chain;general;fc;general;graphene_db;general;graphene_net;general;graphene_time;general;graphene_utilities;general;graphene_debug_witness;general;graphene_bookie;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_bookie_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_chain_LIB_DEPENDS:STATIC=general;fc;general;graphene_db;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_db_LIB_DEPENDS:STATIC=general;fc;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_debug_witness_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_delayed_node_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_egenesis_brief_LIB_DEPENDS:STATIC=general;graphene_chain;general;fc;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_egenesis_full_LIB_DEPENDS:STATIC=general;graphene_chain;general;fc;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_egenesis_none_LIB_DEPENDS:STATIC=general;graphene_chain;general;fc;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_generate_genesis_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;general;graphene_time;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_generate_uia_sharedrop_genesis_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;general;graphene_time;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_market_history_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_net_LIB_DEPENDS:STATIC=general;fc;general;graphene_db;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_snapshot_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_time_LIB_DEPENDS:STATIC=general;fc;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_utilities_LIB_DEPENDS:STATIC=general;fc;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_wallet_LIB_DEPENDS:STATIC=general;graphene_app;general;graphene_net;general;graphene_chain;general;graphene_utilities;general;fc;general;dl;
|
|
||||||
|
|
||||||
//Dependencies for the target
|
|
||||||
graphene_witness_LIB_DEPENDS:STATIC=general;graphene_chain;general;graphene_app;
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
websocketpp_BINARY_DIR:STATIC=/home/pbattu/git/18.04/peerplays/libraries/fc/vendor/websocketpp
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
websocketpp_SOURCE_DIR:STATIC=/home/pbattu/git/18.04/peerplays/libraries/fc/vendor/websocketpp
|
|
||||||
|
|
||||||
|
|
||||||
########################
|
|
||||||
# INTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//ADVANCED property for variable: BOOST_ROOT
|
|
||||||
BOOST_ROOT-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_CHRONO_LIBRARY_DEBUG
|
|
||||||
Boost_CHRONO_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_CHRONO_LIBRARY_RELEASE
|
|
||||||
Boost_CHRONO_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_CONTEXT_LIBRARY_DEBUG
|
|
||||||
Boost_CONTEXT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_CONTEXT_LIBRARY_RELEASE
|
|
||||||
Boost_CONTEXT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_COROUTINE_LIBRARY_DEBUG
|
|
||||||
Boost_COROUTINE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_COROUTINE_LIBRARY_RELEASE
|
|
||||||
Boost_COROUTINE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_DATE_TIME_LIBRARY_DEBUG
|
|
||||||
Boost_DATE_TIME_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_DATE_TIME_LIBRARY_RELEASE
|
|
||||||
Boost_DATE_TIME_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_DIR
|
|
||||||
Boost_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_FILESYSTEM_LIBRARY_DEBUG
|
|
||||||
Boost_FILESYSTEM_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_FILESYSTEM_LIBRARY_RELEASE
|
|
||||||
Boost_FILESYSTEM_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_INCLUDE_DIR
|
|
||||||
Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_IOSTREAMS_LIBRARY_DEBUG
|
|
||||||
Boost_IOSTREAMS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_IOSTREAMS_LIBRARY_RELEASE
|
|
||||||
Boost_IOSTREAMS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_LIBRARY_DIR
|
|
||||||
Boost_LIBRARY_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_LIBRARY_DIR_DEBUG
|
|
||||||
Boost_LIBRARY_DIR_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_LIBRARY_DIR_RELEASE
|
|
||||||
Boost_LIBRARY_DIR_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_LOCALE_LIBRARY_DEBUG
|
|
||||||
Boost_LOCALE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_LOCALE_LIBRARY_RELEASE
|
|
||||||
Boost_LOCALE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG
|
|
||||||
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE
|
|
||||||
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_SERIALIZATION_LIBRARY_DEBUG
|
|
||||||
Boost_SERIALIZATION_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_SERIALIZATION_LIBRARY_RELEASE
|
|
||||||
Boost_SERIALIZATION_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_SIGNALS_LIBRARY_DEBUG
|
|
||||||
Boost_SIGNALS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_SIGNALS_LIBRARY_RELEASE
|
|
||||||
Boost_SIGNALS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_SYSTEM_LIBRARY_DEBUG
|
|
||||||
Boost_SYSTEM_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_SYSTEM_LIBRARY_RELEASE
|
|
||||||
Boost_SYSTEM_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_THREAD_LIBRARY_DEBUG
|
|
||||||
Boost_THREAD_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_THREAD_LIBRARY_RELEASE
|
|
||||||
Boost_THREAD_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG
|
|
||||||
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE
|
|
||||||
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_AR
|
|
||||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
|
||||||
//This is the directory where this CMakeCache.txt was created
|
|
||||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/pbattu/git/18.04/peerplays
|
|
||||||
//Major version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
|
||||||
//Minor version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=10
|
|
||||||
//Patch version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
|
|
||||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
|
||||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake executable.
|
|
||||||
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
|
||||||
//Path to cpack program executable.
|
|
||||||
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
|
||||||
//Path to ctest program executable.
|
|
||||||
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
|
||||||
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
|
||||||
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
|
||||||
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
|
||||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER
|
|
||||||
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
|
||||||
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
|
||||||
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
|
||||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
|
||||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
|
||||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//Executable file format
|
|
||||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
|
||||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
|
||||||
//Name of external makefile project generator.
|
|
||||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
|
||||||
//Name of generator.
|
|
||||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
|
||||||
//Name of generator platform.
|
|
||||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
|
||||||
//Name of generator toolset.
|
|
||||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
|
||||||
//Have symbol pthread_create
|
|
||||||
CMAKE_HAVE_LIBC_CREATE:INTERNAL=
|
|
||||||
//Have library pthreads
|
|
||||||
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
|
|
||||||
//Have library pthread
|
|
||||||
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
|
|
||||||
//Have include pthread.h
|
|
||||||
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
|
|
||||||
//Source directory with the top level CMakeLists.txt file for this
|
|
||||||
// project
|
|
||||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/pbattu/git/18.04/peerplays
|
|
||||||
//Install .so files without execute permission.
|
|
||||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_LINKER
|
|
||||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
|
||||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_NM
|
|
||||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
|
||||||
//number of local generators
|
|
||||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=37
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
|
||||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
|
||||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
|
||||||
//Platform information initialized
|
|
||||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_RANLIB
|
|
||||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake installation.
|
|
||||||
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.10
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
|
||||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STRIP
|
|
||||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
|
||||||
//uname command
|
|
||||||
CMAKE_UNAME:INTERNAL=/bin/uname
|
|
||||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
|
||||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CURSES_CURSES_LIBRARY
|
|
||||||
CURSES_CURSES_LIBRARY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CURSES_FORM_LIBRARY
|
|
||||||
CURSES_FORM_LIBRARY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CURSES_INCLUDE_PATH
|
|
||||||
CURSES_INCLUDE_PATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CURSES_NCURSES_LIBRARY
|
|
||||||
CURSES_NCURSES_LIBRARY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
|
|
||||||
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
|
|
||||||
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
|
|
||||||
//Details about finding OpenSSL
|
|
||||||
FIND_PACKAGE_MESSAGE_DETAILS_OpenSSL:INTERNAL=[/usr/lib/x86_64-linux-gnu/libcrypto.a][/usr/include][v1.1.0g()]
|
|
||||||
//Details about finding Perl
|
|
||||||
FIND_PACKAGE_MESSAGE_DETAILS_Perl:INTERNAL=[/usr/bin/perl][v5.26.1()]
|
|
||||||
//Details about finding Readline
|
|
||||||
FIND_PACKAGE_MESSAGE_DETAILS_Readline:INTERNAL=[/usr/include][/usr/lib/x86_64-linux-gnu/libreadline.so][v()]
|
|
||||||
//Details about finding Threads
|
|
||||||
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
|
|
||||||
//Details about finding ZLIB
|
|
||||||
FIND_PACKAGE_MESSAGE_DETAILS_ZLIB:INTERNAL=[/usr/lib/x86_64-linux-gnu/libz.so][/usr/include][v1.2.11()]
|
|
||||||
//ADVANCED property for variable: GIT_EXECUTABLE
|
|
||||||
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: OPENSSL_CRYPTO_LIBRARY
|
|
||||||
OPENSSL_CRYPTO_LIBRARY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: OPENSSL_INCLUDE_DIR
|
|
||||||
OPENSSL_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: OPENSSL_SSL_LIBRARY
|
|
||||||
OPENSSL_SSL_LIBRARY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: PERL_EXECUTABLE
|
|
||||||
PERL_EXECUTABLE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
|
|
||||||
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Readline_INCLUDE_DIR
|
|
||||||
Readline_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Readline_LIBRARY
|
|
||||||
Readline_LIBRARY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: Readline_ROOT_DIR
|
|
||||||
Readline_ROOT_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
|
|
||||||
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG
|
|
||||||
ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE
|
|
||||||
ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//Last used BOOST_ROOT value.
|
|
||||||
_BOOST_ROOT_LAST:INTERNAL=/home/pbattu/git/18.04/boost_1_67_0
|
|
||||||
//Components requested for this build tree.
|
|
||||||
_Boost_COMPONENTS_SEARCHED:INTERNAL=chrono;context;coroutine;date_time;filesystem;iostreams;locale;program_options;serialization;signals;system;thread;unit_test_framework
|
|
||||||
//Last used Boost_INCLUDE_DIR value.
|
|
||||||
_Boost_INCLUDE_DIR_LAST:INTERNAL=/home/pbattu/git/18.04/boost_1_67_0/include
|
|
||||||
//Last used Boost_LIBRARY_DIR_DEBUG value.
|
|
||||||
_Boost_LIBRARY_DIR_DEBUG_LAST:INTERNAL=/home/pbattu/git/18.04/boost_1_67_0/lib
|
|
||||||
//Last used Boost_LIBRARY_DIR value.
|
|
||||||
_Boost_LIBRARY_DIR_LAST:INTERNAL=/home/pbattu/git/18.04/boost_1_67_0/lib
|
|
||||||
//Last used Boost_LIBRARY_DIR_RELEASE value.
|
|
||||||
_Boost_LIBRARY_DIR_RELEASE_LAST:INTERNAL=/home/pbattu/git/18.04/boost_1_67_0/lib
|
|
||||||
//Last used Boost_NAMESPACE value.
|
|
||||||
_Boost_NAMESPACE_LAST:INTERNAL=boost
|
|
||||||
//Last used Boost_USE_MULTITHREADED value.
|
|
||||||
_Boost_USE_MULTITHREADED_LAST:INTERNAL=TRUE
|
|
||||||
//Last used Boost_USE_STATIC_LIBS value.
|
|
||||||
_Boost_USE_STATIC_LIBS_LAST:INTERNAL=ON
|
|
||||||
_OPENSSL_CFLAGS:INTERNAL=
|
|
||||||
_OPENSSL_CFLAGS_I:INTERNAL=
|
|
||||||
_OPENSSL_CFLAGS_OTHER:INTERNAL=
|
|
||||||
_OPENSSL_FOUND:INTERNAL=1
|
|
||||||
_OPENSSL_INCLUDEDIR:INTERNAL=/usr/include
|
|
||||||
_OPENSSL_INCLUDE_DIRS:INTERNAL=
|
|
||||||
_OPENSSL_LDFLAGS:INTERNAL=-lssl;-lcrypto
|
|
||||||
_OPENSSL_LDFLAGS_OTHER:INTERNAL=
|
|
||||||
_OPENSSL_LIBDIR:INTERNAL=/usr/lib/x86_64-linux-gnu
|
|
||||||
_OPENSSL_LIBRARIES:INTERNAL=ssl;crypto
|
|
||||||
_OPENSSL_LIBRARY_DIRS:INTERNAL=
|
|
||||||
_OPENSSL_LIBS:INTERNAL=
|
|
||||||
_OPENSSL_LIBS_L:INTERNAL=
|
|
||||||
_OPENSSL_LIBS_OTHER:INTERNAL=
|
|
||||||
_OPENSSL_LIBS_PATHS:INTERNAL=
|
|
||||||
_OPENSSL_PREFIX:INTERNAL=/usr
|
|
||||||
_OPENSSL_STATIC_CFLAGS:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_CFLAGS_I:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_CFLAGS_OTHER:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_INCLUDE_DIRS:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_LDFLAGS:INTERNAL=-lssl;-ldl;-lcrypto;-ldl
|
|
||||||
_OPENSSL_STATIC_LDFLAGS_OTHER:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_LIBDIR:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_LIBRARIES:INTERNAL=ssl;dl;crypto;dl
|
|
||||||
_OPENSSL_STATIC_LIBRARY_DIRS:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_LIBS:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_LIBS_L:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_LIBS_OTHER:INTERNAL=
|
|
||||||
_OPENSSL_STATIC_LIBS_PATHS:INTERNAL=
|
|
||||||
_OPENSSL_VERSION:INTERNAL=1.1.0g
|
|
||||||
_OPENSSL_openssl_INCLUDEDIR:INTERNAL=
|
|
||||||
_OPENSSL_openssl_LIBDIR:INTERNAL=
|
|
||||||
_OPENSSL_openssl_PREFIX:INTERNAL=
|
|
||||||
_OPENSSL_openssl_VERSION:INTERNAL=
|
|
||||||
__pkg_config_arguments__OPENSSL:INTERNAL=QUIET;openssl
|
|
||||||
__pkg_config_checked__OPENSSL:INTERNAL=1
|
|
||||||
prefix_result:INTERNAL=/usr/lib/x86_64-linux-gnu
|
|
||||||
|
|
||||||
|
|
@ -46,7 +46,7 @@ public:
|
||||||
virtual bool process_withdrawal(const son_wallet_withdraw_object &swwo) = 0;
|
virtual bool process_withdrawal(const son_wallet_withdraw_object &swwo) = 0;
|
||||||
virtual std::string process_sidechain_transaction(const sidechain_transaction_object &sto) = 0;
|
virtual std::string process_sidechain_transaction(const sidechain_transaction_object &sto) = 0;
|
||||||
virtual std::string send_sidechain_transaction(const sidechain_transaction_object &sto) = 0;
|
virtual std::string send_sidechain_transaction(const sidechain_transaction_object &sto) = 0;
|
||||||
virtual int64_t settle_sidechain_transaction(const sidechain_transaction_object &sto) = 0;
|
virtual bool settle_sidechain_transaction(const sidechain_transaction_object &sto, asset &settle_amount) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
peerplays_sidechain_plugin &plugin;
|
peerplays_sidechain_plugin &plugin;
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ public:
|
||||||
bool process_withdrawal(const son_wallet_withdraw_object &swwo);
|
bool process_withdrawal(const son_wallet_withdraw_object &swwo);
|
||||||
std::string process_sidechain_transaction(const sidechain_transaction_object &sto);
|
std::string process_sidechain_transaction(const sidechain_transaction_object &sto);
|
||||||
std::string send_sidechain_transaction(const sidechain_transaction_object &sto);
|
std::string send_sidechain_transaction(const sidechain_transaction_object &sto);
|
||||||
int64_t settle_sidechain_transaction(const sidechain_transaction_object &sto);
|
bool settle_sidechain_transaction(const sidechain_transaction_object &sto, asset &settle_amount);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string ip;
|
std::string ip;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ public:
|
||||||
std::string account_history_api_get_transaction(std::string transaction_id);
|
std::string account_history_api_get_transaction(std::string transaction_id);
|
||||||
std::string block_api_get_block(uint32_t block_number);
|
std::string block_api_get_block(uint32_t block_number);
|
||||||
std::string condenser_api_get_config();
|
std::string condenser_api_get_config();
|
||||||
std::string condenser_api_get_transaction(std::string transaction_id);
|
|
||||||
std::string database_api_get_dynamic_global_properties();
|
std::string database_api_get_dynamic_global_properties();
|
||||||
std::string database_api_get_version();
|
std::string database_api_get_version();
|
||||||
std::string network_broadcast_api_broadcast_transaction(std::string htrx);
|
std::string network_broadcast_api_broadcast_transaction(std::string htrx);
|
||||||
|
|
@ -28,6 +27,7 @@ public:
|
||||||
std::string get_head_block_id();
|
std::string get_head_block_id();
|
||||||
std::string get_head_block_time();
|
std::string get_head_block_time();
|
||||||
std::string get_is_test_net();
|
std::string get_is_test_net();
|
||||||
|
std::string get_last_irreversible_block_num();
|
||||||
};
|
};
|
||||||
|
|
||||||
class hive_wallet_rpc_client : public rpc_client {
|
class hive_wallet_rpc_client : public rpc_client {
|
||||||
|
|
@ -57,7 +57,7 @@ public:
|
||||||
bool process_withdrawal(const son_wallet_withdraw_object &swwo);
|
bool process_withdrawal(const son_wallet_withdraw_object &swwo);
|
||||||
std::string process_sidechain_transaction(const sidechain_transaction_object &sto);
|
std::string process_sidechain_transaction(const sidechain_transaction_object &sto);
|
||||||
std::string send_sidechain_transaction(const sidechain_transaction_object &sto);
|
std::string send_sidechain_transaction(const sidechain_transaction_object &sto);
|
||||||
int64_t settle_sidechain_transaction(const sidechain_transaction_object &sto);
|
bool settle_sidechain_transaction(const sidechain_transaction_object &sto, asset &settle_amount);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string node_ip;
|
std::string node_ip;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ public:
|
||||||
bool process_withdrawal(const son_wallet_withdraw_object &swwo);
|
bool process_withdrawal(const son_wallet_withdraw_object &swwo);
|
||||||
std::string process_sidechain_transaction(const sidechain_transaction_object &sto);
|
std::string process_sidechain_transaction(const sidechain_transaction_object &sto);
|
||||||
std::string send_sidechain_transaction(const sidechain_transaction_object &sto);
|
std::string send_sidechain_transaction(const sidechain_transaction_object &sto);
|
||||||
int64_t settle_sidechain_transaction(const sidechain_transaction_object &sto);
|
bool settle_sidechain_transaction(const sidechain_transaction_object &sto, asset &settle_amount);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -549,9 +549,10 @@ void sidechain_net_handler::settle_sidechain_transactions() {
|
||||||
|
|
||||||
ilog("Sidechain transaction to settle: ${sto}", ("sto", sto.id));
|
ilog("Sidechain transaction to settle: ${sto}", ("sto", sto.id));
|
||||||
|
|
||||||
int64_t settle_amount = settle_sidechain_transaction(sto);
|
asset settle_amount;
|
||||||
|
bool settle_sidechain_result = settle_sidechain_transaction(sto, settle_amount);
|
||||||
|
|
||||||
if (settle_amount < 0) {
|
if (settle_sidechain_result == false) {
|
||||||
wlog("Sidechain transaction not settled: ${sto}", ("sto", sto.id));
|
wlog("Sidechain transaction not settled: ${sto}", ("sto", sto.id));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -568,12 +569,12 @@ void sidechain_net_handler::settle_sidechain_transactions() {
|
||||||
sts_op.sidechain_transaction_id = sto.id;
|
sts_op.sidechain_transaction_id = sto.id;
|
||||||
proposal_op.proposed_ops.emplace_back(sts_op);
|
proposal_op.proposed_ops.emplace_back(sts_op);
|
||||||
|
|
||||||
if (settle_amount != 0) {
|
if (settle_amount.amount != 0) {
|
||||||
if (sto.object_id.is<son_wallet_deposit_id_type>()) {
|
if (sto.object_id.is<son_wallet_deposit_id_type>()) {
|
||||||
asset_issue_operation ai_op;
|
asset_issue_operation ai_op;
|
||||||
ai_op.fee = asset(2001000);
|
ai_op.fee = asset(2001000);
|
||||||
ai_op.issuer = gpo.parameters.son_account();
|
ai_op.issuer = gpo.parameters.son_account();
|
||||||
ai_op.asset_to_issue = asset(settle_amount, database.get_global_properties().parameters.btc_asset());
|
ai_op.asset_to_issue = settle_amount;
|
||||||
ai_op.issue_to_account = database.get<son_wallet_deposit_object>(sto.object_id).peerplays_from;
|
ai_op.issue_to_account = database.get<son_wallet_deposit_object>(sto.object_id).peerplays_from;
|
||||||
proposal_op.proposed_ops.emplace_back(ai_op);
|
proposal_op.proposed_ops.emplace_back(ai_op);
|
||||||
}
|
}
|
||||||
|
|
@ -582,7 +583,7 @@ void sidechain_net_handler::settle_sidechain_transactions() {
|
||||||
asset_reserve_operation ar_op;
|
asset_reserve_operation ar_op;
|
||||||
ar_op.fee = asset(2001000);
|
ar_op.fee = asset(2001000);
|
||||||
ar_op.payer = gpo.parameters.son_account();
|
ar_op.payer = gpo.parameters.son_account();
|
||||||
ar_op.amount_to_reserve = asset(settle_amount, database.get_global_properties().parameters.btc_asset());
|
ar_op.amount_to_reserve = settle_amount;
|
||||||
proposal_op.proposed_ops.emplace_back(ar_op);
|
proposal_op.proposed_ops.emplace_back(ar_op);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1484,16 +1484,15 @@ std::string sidechain_net_handler_bitcoin::send_sidechain_transaction(const side
|
||||||
return send_transaction(sto);
|
return send_transaction(sto);
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t sidechain_net_handler_bitcoin::settle_sidechain_transaction(const sidechain_transaction_object &sto) {
|
bool sidechain_net_handler_bitcoin::settle_sidechain_transaction(const sidechain_transaction_object &sto, asset &settle_amount) {
|
||||||
|
|
||||||
if (sto.object_id.is<son_wallet_id_type>()) {
|
if (sto.object_id.is<son_wallet_id_type>()) {
|
||||||
return 0;
|
settle_amount = asset(0, database.get_global_properties().parameters.btc_asset());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t settle_amount = -1;
|
|
||||||
|
|
||||||
if (sto.sidechain_transaction.empty()) {
|
if (sto.sidechain_transaction.empty()) {
|
||||||
return settle_amount;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string tx_str = bitcoin_client->getrawtransaction(sto.sidechain_transaction, true);
|
std::string tx_str = bitcoin_client->getrawtransaction(sto.sidechain_transaction, true);
|
||||||
|
|
@ -1502,7 +1501,7 @@ int64_t sidechain_net_handler_bitcoin::settle_sidechain_transaction(const sidech
|
||||||
boost::property_tree::read_json(tx_ss, tx_json);
|
boost::property_tree::read_json(tx_ss, tx_json);
|
||||||
|
|
||||||
if ((tx_json.count("error")) && (!tx_json.get_child("error").empty())) {
|
if ((tx_json.count("error")) && (!tx_json.get_child("error").empty())) {
|
||||||
return settle_amount;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const chain::global_property_object &gpo = database.get_global_properties();
|
const chain::global_property_object &gpo = database.get_global_properties();
|
||||||
|
|
@ -1533,15 +1532,17 @@ int64_t sidechain_net_handler_bitcoin::settle_sidechain_transaction(const sidech
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
settle_amount = tx_amount;
|
settle_amount = asset(tx_amount, database.get_global_properties().parameters.btc_asset());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sto.object_id.is<son_wallet_withdraw_id_type>()) {
|
if (sto.object_id.is<son_wallet_withdraw_id_type>()) {
|
||||||
auto swwo = database.get<son_wallet_withdraw_object>(sto.object_id);
|
auto swwo = database.get<son_wallet_withdraw_object>(sto.object_id);
|
||||||
settle_amount = swwo.withdraw_amount.value;
|
settle_amount = swwo.withdraw_amount;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return settle_amount;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string sidechain_net_handler_bitcoin::create_primary_wallet_address(const std::vector<son_info> &son_pubkeys) {
|
std::string sidechain_net_handler_bitcoin::create_primary_wallet_address(const std::vector<son_info> &son_pubkeys) {
|
||||||
|
|
|
||||||
|
|
@ -34,12 +34,12 @@ hive_node_rpc_client::hive_node_rpc_client(std::string _ip, uint32_t _port, std:
|
||||||
|
|
||||||
std::string hive_node_rpc_client::account_history_api_get_transaction(std::string transaction_id) {
|
std::string hive_node_rpc_client::account_history_api_get_transaction(std::string transaction_id) {
|
||||||
std::string params = "{ \"id\": \"" + transaction_id + "\" }";
|
std::string params = "{ \"id\": \"" + transaction_id + "\" }";
|
||||||
return send_post_request("account_history_api.get_transaction", params, false);
|
return send_post_request("account_history_api.get_transaction", params, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string hive_node_rpc_client::block_api_get_block(uint32_t block_number) {
|
std::string hive_node_rpc_client::block_api_get_block(uint32_t block_number) {
|
||||||
std::string params = "{ \"block_num\": " + std::to_string(block_number) + " }";
|
std::string params = "{ \"block_num\": " + std::to_string(block_number) + " }";
|
||||||
return send_post_request("block_api.get_block", params, false);
|
return send_post_request("block_api.get_block", params, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string hive_node_rpc_client::condenser_api_get_config() {
|
std::string hive_node_rpc_client::condenser_api_get_config() {
|
||||||
|
|
@ -47,11 +47,6 @@ std::string hive_node_rpc_client::condenser_api_get_config() {
|
||||||
return send_post_request("condenser_api.get_config", params, false);
|
return send_post_request("condenser_api.get_config", params, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string hive_node_rpc_client::condenser_api_get_transaction(std::string transaction_id) {
|
|
||||||
std::string params = "[\"" + transaction_id + "\"]";
|
|
||||||
return send_post_request("condenser_api.get_transaction", params, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string hive_node_rpc_client::database_api_get_dynamic_global_properties() {
|
std::string hive_node_rpc_client::database_api_get_dynamic_global_properties() {
|
||||||
return send_post_request("database_api.get_dynamic_global_properties", "", false);
|
return send_post_request("database_api.get_dynamic_global_properties", "", false);
|
||||||
}
|
}
|
||||||
|
|
@ -85,6 +80,11 @@ std::string hive_node_rpc_client::get_is_test_net() {
|
||||||
return retrieve_value_from_reply(reply_str, "IS_TEST_NET");
|
return retrieve_value_from_reply(reply_str, "IS_TEST_NET");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string hive_node_rpc_client::get_last_irreversible_block_num() {
|
||||||
|
std::string reply_str = database_api_get_dynamic_global_properties();
|
||||||
|
return retrieve_value_from_reply(reply_str, "last_irreversible_block_num");
|
||||||
|
}
|
||||||
|
|
||||||
hive_wallet_rpc_client::hive_wallet_rpc_client(std::string _ip, uint32_t _port, std::string _user, std::string _password) :
|
hive_wallet_rpc_client::hive_wallet_rpc_client(std::string _ip, uint32_t _port, std::string _user, std::string _password) :
|
||||||
rpc_client(_ip, _port, _user, _password) {
|
rpc_client(_ip, _port, _user, _password) {
|
||||||
}
|
}
|
||||||
|
|
@ -803,9 +803,47 @@ std::string sidechain_net_handler_hive::send_sidechain_transaction(const sidecha
|
||||||
return htrx.id().str();
|
return htrx.id().str();
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t sidechain_net_handler_hive::settle_sidechain_transaction(const sidechain_transaction_object &sto) {
|
bool sidechain_net_handler_hive::settle_sidechain_transaction(const sidechain_transaction_object &sto, asset &settle_amount) {
|
||||||
int64_t settle_amount = 0;
|
|
||||||
return settle_amount;
|
if (sto.object_id.is<son_wallet_id_type>()) {
|
||||||
|
settle_amount.amount = 0;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (sto.sidechain_transaction.empty()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string tx_str = node_rpc_client->account_history_api_get_transaction(sto.sidechain_transaction);
|
||||||
|
if (tx_str != "") {
|
||||||
|
|
||||||
|
std::stringstream ss_tx(tx_str);
|
||||||
|
boost::property_tree::ptree tx_json;
|
||||||
|
boost::property_tree::read_json(ss_tx, tx_json);
|
||||||
|
|
||||||
|
//const chain::global_property_object &gpo = database.get_global_properties();
|
||||||
|
|
||||||
|
std::string tx_txid = tx_json.get<std::string>("result.transaction_id");
|
||||||
|
uint32_t tx_block_num = tx_json.get<uint32_t>("result.block_num");
|
||||||
|
uint32_t last_irreversible_block = std::stoul(node_rpc_client->get_last_irreversible_block_num());
|
||||||
|
|
||||||
|
//std::string tx_address = addr.get_address();
|
||||||
|
//int64_t tx_amount = -1;
|
||||||
|
|
||||||
|
if (tx_block_num <= last_irreversible_block) {
|
||||||
|
if (sto.object_id.is<son_wallet_withdraw_id_type>()) {
|
||||||
|
auto swwo = database.get<son_wallet_withdraw_object>(sto.object_id);
|
||||||
|
if (swwo.withdraw_currency == "HBD") {
|
||||||
|
settle_amount = asset(swwo.withdraw_amount, database.get_global_properties().parameters.hbd_asset());
|
||||||
|
}
|
||||||
|
if (swwo.withdraw_currency == "HIVE") {
|
||||||
|
settle_amount = asset(swwo.withdraw_amount, database.get_global_properties().parameters.hive_asset());
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sidechain_net_handler_hive::schedule_hive_listener() {
|
void sidechain_net_handler_hive::schedule_hive_listener() {
|
||||||
|
|
|
||||||
|
|
@ -25,12 +25,12 @@ namespace graphene { namespace peerplays_sidechain {
|
||||||
sidechain_net_handler_peerplays::sidechain_net_handler_peerplays(peerplays_sidechain_plugin &_plugin, const boost::program_options::variables_map &options) :
|
sidechain_net_handler_peerplays::sidechain_net_handler_peerplays(peerplays_sidechain_plugin &_plugin, const boost::program_options::variables_map &options) :
|
||||||
sidechain_net_handler(_plugin, options) {
|
sidechain_net_handler(_plugin, options) {
|
||||||
sidechain = sidechain_type::peerplays;
|
sidechain = sidechain_type::peerplays;
|
||||||
const auto &assets_by_symbol = database.get_index_type<asset_index>().indices().get<by_symbol>();
|
//const auto &assets_by_symbol = database.get_index_type<asset_index>().indices().get<by_symbol>();
|
||||||
const auto get_asset_id = [&assets_by_symbol](const string &symbol) {
|
//const auto get_asset_id = [&assets_by_symbol](const string &symbol) {
|
||||||
auto asset_itr = assets_by_symbol.find(symbol);
|
// auto asset_itr = assets_by_symbol.find(symbol);
|
||||||
FC_ASSERT(asset_itr != assets_by_symbol.end(), "Unable to find asset '${sym}'", ("sym", symbol));
|
// FC_ASSERT(asset_itr != assets_by_symbol.end(), "Unable to find asset '${sym}'", ("sym", symbol));
|
||||||
return asset_itr->get_id();
|
// return asset_itr->get_id();
|
||||||
};
|
//};
|
||||||
//tracked_assets.push_back(get_asset_id("PBTC"));
|
//tracked_assets.push_back(get_asset_id("PBTC"));
|
||||||
//tracked_assets.push_back(get_asset_id("PETH"));
|
//tracked_assets.push_back(get_asset_id("PETH"));
|
||||||
//tracked_assets.push_back(get_asset_id("PEOS"));
|
//tracked_assets.push_back(get_asset_id("PEOS"));
|
||||||
|
|
@ -271,9 +271,23 @@ std::string sidechain_net_handler_peerplays::send_sidechain_transaction(const si
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t sidechain_net_handler_peerplays::settle_sidechain_transaction(const sidechain_transaction_object &sto) {
|
bool sidechain_net_handler_peerplays::settle_sidechain_transaction(const sidechain_transaction_object &sto, asset &settle_amount) {
|
||||||
int64_t settle_amount = 0;
|
|
||||||
return settle_amount;
|
if (sto.object_id.is<son_wallet_id_type>()) {
|
||||||
|
settle_amount = asset(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (sto.object_id.is<son_wallet_deposit_id_type>()) {
|
||||||
|
//auto swdo = database.get<son_wallet_deposit_object>(sto.object_id);
|
||||||
|
//settle_amount = asset(swdo.sidechain_amount, swdo.sidechain_currency);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (sto.object_id.is<son_wallet_withdraw_id_type>()) {
|
||||||
|
auto swwo = database.get<son_wallet_withdraw_object>(sto.object_id);
|
||||||
|
settle_amount = swwo.peerplays_asset;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}} // namespace graphene::peerplays_sidechain
|
}} // namespace graphene::peerplays_sidechain
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue