Git Product home page Git Product logo

multy-core's People

Contributors

codacy-badger avatar enmk avatar pashaklybik avatar vadimicus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

multy-core's Issues

The signature_data.data() will be truncated when signature_data has '\0' .

...
std::array<unsigned char, 65> signature_data;
int recovery_id = 0;
secp256k1_ecdsa_recoverable_signature_serialize_compact(
secp_ctx(), signature_data.data(), &recovery_id, &signature);

    signature_data.back() = static_cast<unsigned char>(recovery_id);
    BinaryDataPtr result;

make_binary_data_from_bytes(
signature_data.data(), signature_data.size(),
reset_sp(result)));
...

The signature_data.data() will be truncated when signature_data has '\0' .
This rarely happens, but unfortunately it does.

How can I build for Linux aarm64, like raspberry pi?

When the project is built on Linux ARM64, it throws the errors.

Command:

cmake .. -DMULTY_WITH_TESTS=OFF && make

Error:

In file included from /home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt.c:38:
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c: In function ‘neon_salsa20_8_intrinsic’:
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:107:5: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
     x0x1x2x3 = vld1q_u8((uint8_t *) input);
     ^~~~~~~~
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:107:14: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x0x1x2x3 = vld1q_u8((uint8_t *) input);
              ^
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:108:14: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x4x5x6x7 = vld1q_u8(16 + (uint8_t *) input);
              ^
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:109:16: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x8x9x10x11 = vld1q_u8(32 + (uint8_t *) input);
                ^
/home/admin/temp/Multy-Core/third-party/libwally-core/src/scrypt/crypto_scrypt_smix_neon.c:110:18: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘uint8x16_t’
     x12x13x14x15 = vld1q_u8(48 + (uint8_t *) input);
                  ^
make[2]: *** [third-party/libwally-core/CMakeFiles/libwally-core.dir/build.make:206: third-party/libwally-core/CMakeFiles/libwally-core.dir/src/scrypt.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:365: third-party/libwally-core/CMakeFiles/libwally-core.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Does Multy-core support aarm64? How can I configure the make parameter to build the library?

fatal error: 'libsecp256k1-config.h' file not found

fatal error: 'libsecp256k1-config.h' file not found
#include "libsecp256k1-config.h"

I meet this problem when compiling the multy-core module, it seems I
don't have the library, how to install the libsecp256k1 from ndk.

is there any samples for multy-core?

hello, I have complied the library of multy-core on ubuntu, and I want to use it as a library for my c++ program which run on linux platform. And my C++ program is used to implement a cold wallet.
I had read the code, but find only one sample of "make_mnemonic" and "make_seed" in the main.cpp. And in the multy_test, make_dummy_entropy_source is used to make_mnemonic.
Do you have any more samples for using multy-core library, such as "make_hd_account","make_seed","make_mnemonic"
thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.