* Create redeem script for SONs primary wallet * Add importaddress call Allows to watch for related transactions without private keys import * Get UTXO set for watched addresses * createrawtransaction call * signing PW spending transaction * unit test for btc tx serialization * sending PW transfer in test * BIP143 tx signing * use bech32 address format * use single sha256 for lock script * Digest fix * working signing * separate signing * test partially signed PW transfer
30 lines
966 B
CMake
30 lines
966 B
CMake
file(GLOB HEADERS "include/graphene/peerplays_sidechain/*.hpp")
|
|
|
|
add_library( peerplays_sidechain
|
|
peerplays_sidechain_plugin.cpp
|
|
sidechain_net_manager.cpp
|
|
sidechain_net_handler.cpp
|
|
sidechain_net_handler_bitcoin.cpp
|
|
bitcoin_utils.cpp
|
|
)
|
|
|
|
if (SUPPORT_MULTIPLE_SONS)
|
|
message ("Multiple SONs per software instance are supported")
|
|
target_compile_definitions(peerplays_sidechain PRIVATE SUPPORT_MULTIPLE_SONS)
|
|
endif()
|
|
unset(SUPPORT_MULTIPLE_SONS)
|
|
unset(SUPPORT_MULTIPLE_SONS CACHE)
|
|
|
|
target_link_libraries( peerplays_sidechain graphene_chain graphene_app fc zmq )
|
|
target_include_directories( peerplays_sidechain
|
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
|
|
|
|
install( TARGETS
|
|
peerplays_sidechain
|
|
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|
|
INSTALL( FILES ${HEADERS} DESTINATION "include/graphene/peerplays_sidechain" )
|
|
|