Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monero transaction builder #32

Open
howardwu opened this issue Jul 22, 2019 · 1 comment
Open

Monero transaction builder #32

howardwu opened this issue Jul 22, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Projects

Comments

@howardwu
Copy link
Owner

Summary

  • Implement Monero transaction builder
  • Implement test suite for Monero transaction builder
@howardwu howardwu added the enhancement New feature or request label Jul 22, 2019
@howardwu howardwu added this to Open in v0.7.0 via automation Jul 22, 2019
@howardwu
Copy link
Owner Author

Replace mymonero-core-cpp/CMakeLists.txt with:

cmake_minimum_required(VERSION 3.4.1)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED YES)

set(PROJECT_NAME "mymonero-core-cpp")
project(${PROJECT_NAME})
enable_testing()

find_package(Boost COMPONENTS unit_test_framework system thread REQUIRED)

set(MONERO_SRC "contrib/monero-core-custom")

include_directories(${Boost_INCLUDE_DIRS})
include_directories(${MONERO_SRC})
include_directories("${MONERO_SRC}/epee/include")
include_directories("${MONERO_SRC}/common")
include_directories("${MONERO_SRC}/vtlogger")
include_directories("${MONERO_SRC}/crypto")
include_directories("${MONERO_SRC}/cryptonote_basic")
include_directories("${MONERO_SRC}/cryptonote_core")
include_directories("${MONERO_SRC}/wallet")
include_directories("${MONERO_SRC}/mnemonics")
include_directories("${MONERO_SRC}/contrib/libsodium/include")
include_directories("${MONERO_SRC}/contrib/libsodium/include/sodium")

add_library(
    ${PROJECT_NAME}
    STATIC
    # mymonero
    src/extern_serial_bridge_index.cpp
    src/monero_address_utils.cpp
    src/monero_fee_utils.cpp
    src/monero_fork_rules.cpp
    src/monero_key_image_utils.cpp
    src/monero_paymentID_utils.cpp
    src/monero_send_routine.cpp
    src/monero_transfer_utils.cpp
    src/monero_wallet_utils.cpp
    src/serial_bridge_index.cpp
    src/serial_bridge_utils.cpp
    src/tools__ret_vals.cpp
    # monero-core
    ${MONERO_SRC}/cryptonote_basic/cryptonote_basic_impl.cpp
    ${MONERO_SRC}/cryptonote_basic/account.cpp
    ${MONERO_SRC}/cryptonote_basic/cryptonote_format_utils.cpp
    ${MONERO_SRC}/crypto/crypto.cpp
    ${MONERO_SRC}/crypto/hash.c
    ${MONERO_SRC}/crypto/slow-hash-dummied.cpp
    ${MONERO_SRC}/crypto/oaes_lib.c
    ${MONERO_SRC}/crypto/crypto-ops.c
    ${MONERO_SRC}/crypto/crypto-ops-data.c
    ${MONERO_SRC}/crypto/keccak.c
    ${MONERO_SRC}/crypto/chacha.c
    ${MONERO_SRC}/crypto/random.c
    ${MONERO_SRC}/crypto/aesb.c
    ${MONERO_SRC}/crypto/tree-hash.c
    ${MONERO_SRC}/crypto/hash-extra-blake.c
    ${MONERO_SRC}/crypto/blake256.c
    ${MONERO_SRC}/crypto/hash-extra-groestl.c
    ${MONERO_SRC}/crypto/hash-extra-jh.c
    ${MONERO_SRC}/crypto/hash-extra-skein.c
    ${MONERO_SRC}/crypto/groestl.c
    ${MONERO_SRC}/crypto/jh.c
    ${MONERO_SRC}/crypto/skein.c
    ${MONERO_SRC}/cryptonote_core/cryptonote_tx_utils.cpp
    ${MONERO_SRC}/common/base58.cpp
    ${MONERO_SRC}/common/threadpool.cpp
    ${MONERO_SRC}/common/aligned.c
    ${MONERO_SRC}/common/util.cpp
    ${MONERO_SRC}/epee/src/hex.cpp
    ${MONERO_SRC}/epee/src/string_tools.cpp
    ${MONERO_SRC}/epee/src/memwipe.c
    ${MONERO_SRC}/epee/src/mlocker.cpp
    ${MONERO_SRC}/epee/src/wipeable_string.cpp
    ${MONERO_SRC}/device/device.cpp
    ${MONERO_SRC}/device/device_default.cpp
    ${MONERO_SRC}/ringct/rctOps.cpp
    ${MONERO_SRC}/ringct/rctTypes.cpp
    ${MONERO_SRC}/ringct/rctCryptoOps.c
    ${MONERO_SRC}/ringct/rctSigs.cpp
    ${MONERO_SRC}/ringct/bulletproofs.cc
    ${MONERO_SRC}/ringct/multiexp.cc
    ${MONERO_SRC}/mnemonics/electrum-words.cpp
    ${MONERO_SRC}/vtlogger/logger.cpp
    ${MONERO_SRC}/contrib/libsodium/src/crypto_verify/verify.c
)

# needed for slow-hash
add_compile_options(-maes)

install(TARGETS ${PROJECT_NAME} DESTINATION .)

@howardwu howardwu moved this from Open to In Progress in v0.7.0 Sep 18, 2019
v0.7.0 automation moved this from In Progress to Closed Mar 31, 2020
@howardwu howardwu reopened this Mar 31, 2020
v0.7.0 automation moved this from Closed to In Progress Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
v0.7.0
  
In Progress
Development

No branches or pull requests

2 participants