name
string
code
string
asm
string
file
string
cfdcapi_psbt_SignPsbt_Test::~cfdcapi_psbt_SignPsbt_Test()
TEST(cfdcapi_psbt, SignPsbt) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_psbt_base64 = "cHNidP8BAJoCAAAAAiZ//Xbq5rbBP/uGzquqJNQkhVICM8LDgF4K12RwlXjAA...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_CombinePsbt_Test::~cfdcapi_psbt_CombinePsbt_Test()
TEST(cfdcapi_psbt, CombinePsbt) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_psbt_base64 = "cHNidP8BAJoCAAAAAiZ//Xbq5rbBP/uGzquqJNQkhVICM8LDgF4K12RwlX...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_ExtractPsbtTransaction_Test::~cfdcapi_psbt_ExtractPsbtTransaction_Test()
TEST(cfdcapi_psbt, ExtractPsbtTransaction) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_tx = "02000000000102267ffd76eae6b6c13ffb86ceabaa24d42485520233...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_GetPsbtInput_Test::~cfdcapi_psbt_GetPsbtInput_Test()
TEST(cfdcapi_psbt, GetPsbtInput) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* psbt_base64 = "cHNidP8BAF4CAAAAAWkv08JB0xYYGWvDa23k9riJEU5CDpvd+cu+Ux5aVE1UA...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_GetPsbtGlobal_Test::~cfdcapi_psbt_GetPsbtGlobal_Test()
TEST(cfdcapi_psbt, GetPsbtGlobal) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkMainnet; void* psbt_handle = nullptr; const char* psbt_base64 = "cHNidP8BAF4CAAAAAWkv08JB0xYYGWvDa23k9riJEU5CDpvd+cu+Ux5aVE1U...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_ParsePsbtHex_Test::cfdcapi_psbt_ParsePsbtHex_Test()
TEST(cfdcapi_psbt, ParsePsbtHex) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_psbt = "70736274ff0100fd3e010200000006f834da7cb5e183fc815f7846227284660f...
pushq %rbx movq %rdi, %rbx callq 0x327b28 leaq 0x3cfa1c(%rip), %rax # 0x552188 movq %rax, (%rbx) popq %rbx retq nop
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_ConvertPsbtFromTx_Test::cfdcapi_psbt_ConvertPsbtFromTx_Test()
TEST(cfdcapi_psbt, ConvertPsbtFromTx) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_psbt_tx = "0200000006f834da7cb5e183fc815f7846227284660fa4a0a583be2b...
pushq %rbx movq %rdi, %rbx callq 0x327b28 leaq 0x3cfa22(%rip), %rax # 0x5521e0 movq %rax, (%rbx) popq %rbx retq nop
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_JoinPsbt_Test::cfdcapi_psbt_JoinPsbt_Test()
TEST(cfdcapi_psbt, JoinPsbt) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_psbt_base64 = "cHNidP8BAJoCAAAAAiZ//Xbq5rbBP/uGzquqJNQkhVICM8LDgF4K12RwlXjAA...
pushq %rbx movq %rdi, %rbx callq 0x327b28 leaq 0x3cfa28(%rip), %rax # 0x552238 movq %rax, (%rbx) popq %rbx retq nop
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_SignPsbt_Test::cfdcapi_psbt_SignPsbt_Test()
TEST(cfdcapi_psbt, SignPsbt) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_psbt_base64 = "cHNidP8BAJoCAAAAAiZ//Xbq5rbBP/uGzquqJNQkhVICM8LDgF4K12RwlXjAA...
pushq %rbx movq %rdi, %rbx callq 0x327b28 leaq 0x3cfa2e(%rip), %rax # 0x552290 movq %rax, (%rbx) popq %rbx retq nop
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_CombinePsbt_Test::cfdcapi_psbt_CombinePsbt_Test()
TEST(cfdcapi_psbt, CombinePsbt) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* exp_psbt_base64 = "cHNidP8BAJoCAAAAAiZ//Xbq5rbBP/uGzquqJNQkhVICM8LDgF4K12RwlX...
pushq %rbx movq %rdi, %rbx callq 0x327b28 leaq 0x3cfa34(%rip), %rax # 0x5522e8 movq %rax, (%rbx) popq %rbx retq nop
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_psbt_GetPsbtInput_Test::cfdcapi_psbt_GetPsbtInput_Test()
TEST(cfdcapi_psbt, GetPsbtInput) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); int net_type = kCfdNetworkTestnet; void* psbt_handle = nullptr; const char* psbt_base64 = "cHNidP8BAF4CAAAAAWkv08JB0xYYGWvDa23k9riJEU5CDpvd+cu+Ux5aVE1UA...
pushq %rbx movq %rdi, %rbx callq 0x327b28 leaq 0x3cfa58(%rip), %rax # 0x5524f8 movq %rax, (%rbx) popq %rbx retq nop
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_psbt.cpp
cfdcapi_script_CfdParseScript_ScriptSig_TEST_Test::~cfdcapi_script_CfdParseScript_ScriptSig_TEST_Test()
TEST(cfdcapi_script, CfdParseScript_ScriptSig_TEST) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); // <signature(304402204b922f2dafdd926b22b0e669fd774a2d5f10f969b8089a1c3a0384ba7ce95f6e02204e71c2a620cf430fa6d7ceaeb40d5298f20eebae3ecb783...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_script.cpp
cfdcapi_script_CfdConvertScriptAsmToHex_ScriptSig_TEST_Test::~cfdcapi_script_CfdConvertScriptAsmToHex_ScriptSig_TEST_Test()
TEST(cfdcapi_script, CfdConvertScriptAsmToHex_ScriptSig_TEST) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); // <signature([ALL])> <pubkey(038f5d4ee5a661c04de7b715c6b9ac935456419fa9f484470275d1d489f2793301)> const char* script_asm = "...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_script.cpp
cfdcapi_script_CfdConvertScriptAsmToHex_SimpleScript_TEST_Test::~cfdcapi_script_CfdConvertScriptAsmToHex_SimpleScript_TEST_Test()
TEST(cfdcapi_script, CfdConvertScriptAsmToHex_SimpleScript_TEST) { void* handle = NULL; int ret = CfdCreateHandle(&handle); EXPECT_EQ(kCfdSuccess, ret); EXPECT_FALSE((NULL == handle)); // OP_9 OP_15 OP_ADD 24 OP_EQUAL const char* script_asm = "OP_9 OP_15 OP_ADD 24 OP_EQUAL "; char* script_hex; ret = ...
pushq %rbx movq %rdi, %rbx callq 0x327b72 movq %rbx, %rdi popq %rbx jmp 0x885c0
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_script.cpp
testing::AssertionResult testing::internal::CmpHelperEQFailure<int, unsigned char>(char const*, char const*, int const&, unsigned char const&)
AssertionResult CmpHelperEQFailure(const char* lhs_expression, const char* rhs_expression, const T1& lhs, const T2& rhs) { return EqFailure(lhs_expression, rhs_expression, FormatForComparisonFailureMessage(lhs,...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %r8, %r12 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x28(%rsp), %rdi movq %rcx, %rsi callq 0xc1a32 leaq 0x8(%rsp), %rdi movq %r12, %rsi callq 0x18c380 leaq 0x28(%rsp), %rcx leaq 0x8(%rsp), %r8 movq %rbx, %rdi movq %r15, %rsi movq %r14, %rdx xo...
/p2pderivatives[P]cfd/external/googletest/googletest/include/gtest/gtest.h
cfdcapi_transaction_FundRawTransaction_PegoutTx1_Test::cfdcapi_transaction_FundRawTransaction_PegoutTx1_Test()
TEST(cfdcapi_transaction, FundRawTransaction_PegoutTx1) { // 2 output data // fee: 190 static const char* const kTxData = "020000000000020125b251070e29ca19043cf33ccd7324e2ddab03ecc4ae0b5e77c4fc0e5cf6c95a01000000000001d40200a06a2006226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f1976a914844d3afb2081d...
pushq %rbx movq %rdi, %rbx callq 0x327b28 leaq 0x3b30b4(%rip), %rax # 0x553e90 movq %rax, (%rbx) popq %rbx retq nopl (%rax)
/p2pderivatives[P]cfd/test/capi/test_cfdcapi_transaction.cpp
cfd::core::ByteData::ByteData(std::vector<unsigned char, std::allocator<unsigned char>> const&)
ByteData::ByteData(const std::vector<uint8_t>& vector) : data_(vector) { if (data_.size() > std::numeric_limits<uint32_t>::max()) { warn(CFD_LOG_SOURCE, "It exceeds the handling size."); throw CfdException(kCfdIllegalStateError, "It exceeds the handling size."); } }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx callq 0xaf954 movq 0x8(%rbx), %rax subq (%rbx), %rax shrq $0x20, %rax jne 0x1a0e1e addq $0x28, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq leaq 0x24c305(%rip), %rax # 0x3ed12a leaq 0x8(%rsp), %rdi movq %rax, (%rdi) movl $0x39, 0x8(%rd...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_bytedata.cpp
cfd::core::HashUtil::Hash160(std::vector<unsigned char, std::allocator<unsigned char>> const&)
ByteData160 HashUtil::Hash160(const std::vector<uint8_t> &bytes) { std::vector<uint8_t> output(HASH160_LEN); // Hash160 int ret = wally_hash160(bytes.data(), bytes.size(), output.data(), output.size()); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_hash160 NG[{}].", ret); throw CfdException(...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rsp), %r15 pushq $0x14 popq %rsi leaq 0x28(%rsp), %rdx movq %r15, %rdi callq 0x110382 movq (%r14), %rdi movq 0x8(%r14), %rsi subq %rdi, %rsi movq (%r15), %rdx movq 0x8(%r15), %rcx subq %rdx, %rcx callq 0x2f7df3 movl ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::HashUtil::Sha256(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
ByteData256 HashUtil::Sha256(const std::string &str) { std::vector<uint8_t> output(SHA256_LEN); // SHA256 int ret = wally_sha256( reinterpret_cast<const uint8_t *>(str.data()), str.size(), output.data(), output.size()); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_sha256 NG[{}].", ret); ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rsp), %r15 pushq $0x20 popq %rsi leaq 0x28(%rsp), %rdx movq %r15, %rdi callq 0x110382 movq (%r14), %rdi movq 0x8(%r14), %rsi movq (%r15), %rdx movq 0x8(%r15), %rcx subq %rdx, %rcx callq 0x2f7c30 movl %eax, 0xc(%rsp) ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::HashUtil::Sha256(std::vector<unsigned char, std::allocator<unsigned char>> const&)
ByteData256 HashUtil::Sha256(const std::vector<uint8_t> &bytes) { std::vector<uint8_t> output(SHA256_LEN); // SHA256 int ret = wally_sha256(bytes.data(), bytes.size(), output.data(), output.size()); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_sha256 NG[{}].", ret); throw CfdException(kCfdI...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rsp), %r15 pushq $0x20 popq %rsi leaq 0x28(%rsp), %rdx movq %r15, %rdi callq 0x110382 movq (%r14), %rdi movq 0x8(%r14), %rsi subq %rdi, %rsi movq (%r15), %rdx movq 0x8(%r15), %rcx subq %rdx, %rcx callq 0x2f7c30 movl ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::HashUtil::HashUtil(unsigned char)
HashUtil::HashUtil(uint8_t hash_type) : hash_type_(hash_type) { for (const auto &item : kFormatList) { if (item.type == 0) break; if (hash_type == item.type) return; } throw CfdException(kCfdInternalError, "unknown hash type."); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movl %esi, %ebp movq %rdi, %rbx leaq 0x3b0126(%rip), %rax # 0x554508 movq %rax, (%rdi) movb %bpl, 0x8(%rdi) addq $0x10, %rbx movq %rbx, %rdi callq 0x1a0de4 xorl %eax, %eax leaq 0x3d2612(%rip), %rcx # 0x576a10 cmpq $0xf0, %rax je 0x1a4422 movb 0x20(%rax,...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::HashUtil::HashUtil(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
HashUtil::HashUtil(const std::string &hash_type) { if (hash_type.length() > 20) throw CfdException(kCfdIllegalArgumentError, "unsupported hash type."); std::string name = hash_type; for (size_t index = 0; index < name.length(); ++index) { if ((name[index] >= 'A') && (name[index] <= 'Z')) { name[ind...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %r14 leaq 0x3b004f(%rip), %rax # 0x554508 movq %rax, (%rdi) leaq 0x10(%rdi), %rbx movq %rbx, %rdi callq 0x1a0de4 cmpq $0x15, 0x8(%r15) jae 0x1a45a9 leaq 0x8(%rsp), %rdi movq %r15, %rsi callq 0x88930 xorl %ea...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::HashUtil::Output160()
ByteData160 HashUtil::Output160() { switch (hash_type_) { case kRipemd160: return Ripemd160(buffer_.GetBytes()); case kHash160: return Hash160(buffer_.GetBytes()); case kSha256: // fall-through case kSha256D: // fall-through case kSha512: // fall-through default: ...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx movzbl 0x8(%rsi), %eax cmpl $0x2, %eax je 0x1a4a81 cmpl $0x1, %eax jne 0x1a4ab3 addq $0x10, %rsi leaq 0x10(%rsp), %r14 movq %r14, %rdi callq 0x1a1008 movq %rbx, %rdi movq %r14, %rsi callq 0x1a31c0 jmp 0x1a4a9d addq $0x10, %rsi leaq 0x10(%rsp), %r14 movq ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::HashUtil::Output256()
ByteData256 HashUtil::Output256() { switch (hash_type_) { case kSha256: return Sha256(buffer_); case kSha256D: return Sha256D(buffer_); case kRipemd160: // fall-through case kHash160: // fall-through case kSha512: // fall-through default: throw CfdException(...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx movzbl 0x8(%rsi), %eax cmpl $0x4, %eax je 0x1a4b5f cmpl $0x3, %eax jne 0x1a4b77 addq $0x10, %rsi movq %rbx, %rdi callq 0x1a3ad6 jmp 0x1a4b6b addq $0x10, %rsi movq %rbx, %rdi callq 0x1a3ed0 movq %rbx, %rax addq $0x30, %rsp popq %rbx popq %r14 popq %rbp re...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::CryptoUtil::DecryptAes256(cfd::core::ByteData const&, cfd::core::ByteData const&)
ByteData CryptoUtil::DecryptAes256(const ByteData &key, const ByteData &data) { if (key.GetDataSize() != AES_KEY_LEN_256) { warn(CFD_LOG_SOURCE, "wally_aes key size NG."); throw CfdException( kCfdIllegalStateError, "DecryptAes256Cbc key size error."); } std::vector<uint8_t> output(data.GetDataSiz...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x78, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi callq 0x1a1016 cmpq $0x20, %rax jne 0x1a549c movq %r14, %rdi callq 0x1a1016 leaq 0x10(%rsp), %rdi leaq 0x28(%rsp), %rdx movq %rax, %rsi callq 0x110382 leaq 0x60(%rsp), %rdi movq %r15, %rsi callq ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::CryptoUtil::DecryptAes256CbcToString[abi:cxx11](std::vector<unsigned char, std::allocator<unsigned char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&, cfd::core::ByteData const&)
std::string CryptoUtil::DecryptAes256CbcToString( const std::vector<uint8_t> &key, const std::vector<uint8_t> &iv, const ByteData &data) { ByteData decrypt_data = DecryptAes256Cbc(ByteData(key), ByteData(iv), data); std::vector<uint8_t> output = decrypt_data.GetBytes(); std::string decrypt_string; decry...
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rdi, %rbx leaq 0x8(%rsp), %rdi callq 0x1a0df4 leaq 0x20(%rsp), %rdi movq %r15, %rsi callq 0x1a0df4 leaq 0x38(%rsp), %rdi leaq 0x8(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %r14, %rcx callq 0x1a5b28 leaq 0x20(%rsp), %rdi callq 0xaf946 l...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_util.cpp
cfd::core::ScriptBuilder::AppendData(cfd::core::Pubkey const&)
ScriptBuilder& ScriptBuilder::AppendData(const Pubkey& pubkey) { const std::vector<uint8_t>& byte_array = pubkey.GetData().GetBytes(); std::vector<uint8_t> byte_datas = WallyUtil::CreateScriptDataFromBytes(byte_array); std::copy( byte_datas.begin(), byte_datas.end(), std::back_inserter(script_by...
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x1ce760 leaq 0x20(%rsp), %rdi movq %r14, %rsi callq 0x1a1008 leaq 0x8(%rsp), %rdi callq 0xaf946 leaq 0x8(%rsp), %rdi leaq 0x20(%rsp), %rsi xorl %edx, %edx callq 0x1a94e6 movq 0x8(%rsp), %rdi movq 0x10(%rsp), %rsi leaq 0x8...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_script.cpp
cfd::core::ScriptUtil::CreateP2pkhLockingScript(cfd::core::ByteData160 const&)
Script ScriptUtil::CreateP2pkhLockingScript(const ByteData160& pubkey_hash) { // script作成 ScriptBuilder builder; builder.AppendOperator(ScriptOperator::OP_DUP); builder.AppendOperator(ScriptOperator::OP_HASH160); builder.AppendData(pubkey_hash); builder.AppendOperator(ScriptOperator::OP_EQUALVERIFY); buil...
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x39aac0(%rip), %rax # 0x547848 leaq 0x8(%rsp), %rdi movq %rax, (%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rdi) andq $0x0, 0x18(%rdi) leaq 0x3d1bad(%rip), %rsi # 0x57e950 callq 0x1ac736 leaq 0x3d2531(%rip), %rsi # 0x57f2e0 leaq 0x8(%...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_script.cpp
cfd::core::DescriptorScriptReference::GetHashType() const
HashType DescriptorScriptReference::GetHashType() const { if (locking_script_.IsP2shScript()) { return HashType::kP2sh; } if (locking_script_.IsP2wpkhScript()) { return HashType::kP2wpkh; } if (locking_script_.IsP2wshScript()) { return HashType::kP2wsh; } if (locking_script_.IsTaprootScript())...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx addq $0x8, %rbx movq %rbx, %rdi callq 0x1ac10a testb %al, %al je 0x1b2ce5 pushq $0x1 jmp 0x1b2d13 movq %rbx, %rdi callq 0x1ac37c testb %al, %al je 0x1b2cf5 pushq $0x2 jmp 0x1b2d13 movq %rbx, %rdi callq 0x1ac406 testb %al, %al je 0x1b2d05 pushq $0x3 jmp 0...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::AbstractTransaction::AddTxOut(cfd::core::Amount const&, cfd::core::Script const&)
void AbstractTransaction::AddTxOut( const Amount &value, const Script &locking_script) { const std::vector<uint8_t> &script_data = locking_script.GetData().GetBytes(); int ret = wally_tx_add_raw_output( static_cast<struct wally_tx *>(wally_tx_pointer_), value.GetSatoshiValue(), script_data.dat...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x10(%rsp), %r15 movq %r15, %rdi movq %rdx, %rsi callq 0x1ab212 leaq 0x30(%rsp), %rdi movq %r15, %rsi callq 0x1a1008 leaq 0x10(%rsp), %rdi callq 0xaf946 movq 0x8(%r14), %r14 movq %rbx, %rdi callq 0x1d08b2 movq 0x30(%rsp), ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::GetVsize() const
uint32_t AbstractTransaction::GetVsize() const { size_t vsize = 0; struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); int ret = wally_tx_get_vsize(tx_pointer, &vsize); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_tx_get_vsize NG[{}].", ret); throw CfdException(k...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp leaq 0x8(%rsp), %rsi andq $0x0, (%rsi) movq 0x8(%rdi), %rdi callq 0x302daa movl %eax, 0x4(%rsp) testl %eax, %eax jne 0x1c0bb3 movl 0x8(%rsp), %eax addq $0x30, %rsp popq %rbx popq %r14 popq %rbp retq leaq 0x22f3d9(%rip), %rax # 0x3eff93 leaq 0x10(%rsp), %rdi movq %rax...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::IsCoinBase() const
bool AbstractTransaction::IsCoinBase() const { bool is_coinbase = false; struct wally_tx *tx = static_cast<struct wally_tx *>(wally_tx_pointer_); if (tx != nullptr) { size_t coinbase = 0; int ret = wally_tx_is_coinbase(tx, &coinbase); if ((ret == WALLY_OK) && (coinbase != 0)) { is_coinbase = tru...
movq 0x8(%rdi), %rdi testq %rdi, %rdi je 0x1c0fab pushq %rbx subq $0x10, %rsp leaq 0x8(%rsp), %rbx andq $0x0, (%rbx) movq %rbx, %rsi callq 0x304f89 testl %eax, %eax sete %cl cmpq $0x0, (%rbx) setne %al andb %cl, %al addq $0x10, %rsp popq %rbx retq xorl %eax, %eax retq
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::GetVariableInt(unsigned char const*, unsigned long, unsigned long*, unsigned long*)
bool AbstractTransaction::GetVariableInt( const uint8_t *p_byte_data, size_t data_size, uint64_t *p_result, size_t *p_size) { bool is_success = false; if ((p_byte_data == nullptr) || (p_size == nullptr) || (data_size < 1)) { // do nothing } else if (*p_byte_data <= kViMax8) { *p_size = 1; *p_r...
xorl %eax, %eax testq %rsi, %rsi je 0x1c0fd8 testq %rdi, %rdi je 0x1c0fd8 testq %rcx, %rcx je 0x1c0fd8 movzbl (%rdi), %eax cmpl $0xfc, %eax ja 0x1c0fd9 movq $0x1, (%rcx) movzbl (%rdi), %eax movq %rax, (%rdx) movb $0x1, %al retq cmpl $0xfe, %eax je 0x1c0ffd cmpl $0xfd, %eax jne 0x1c1012 cmpq $0x3, %rsi jb 0x1c1028 movzw...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::TxIn::EstimateTxInSize(cfd::core::AddressType, cfd::core::Script, unsigned int*, unsigned int*, cfd::core::Script const*)
uint32_t TxIn::EstimateTxInSize( AddressType addr_type, Script redeem_script, uint32_t *witness_area_size, uint32_t *no_witness_area_size, const Script *scriptsig_template) { bool is_pubkey = false; bool is_witness = true; bool is_taproot = false; bool use_unlocking_script = true; uint32_t size = kMin...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %r8, %r12 movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 pushq $0x4c popq %rax movl %eax, 0x8(%rsp) decl %edi cmpl $0x6, %edi ja 0x1c16df movb $0x1, %r13b xorl %ebp, %ebp leaq 0x22edd6(%rip), %rax # 0x3f0490 movslq (%rax,%rdi,4)...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::Transaction(int, unsigned int)
Transaction::Transaction(int32_t version, uint32_t lock_time) : vin_(), vout_() { struct wally_tx *tx_pointer = NULL; int ret = wally_tx_init_alloc(version, lock_time, 0, 0, &tx_pointer); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_tx_init_alloc NG[{}] ", ret); throw CfdException( kCfdI...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movl %esi, %r14d movq %rdi, %rbx callq 0x1bfcc2 leaq 0x392e02(%rip), %rax # 0x5547f0 movq %rax, (%rbx) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rbx) movups %xmm0, 0x20(%rbx) movups %xmm0, 0x30(%rbx) leaq 0x10(%rsp), %r8 andq $0x0, (%r8) movl ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::Transaction(cfd::core::ByteData const&)
Transaction::Transaction(const ByteData &byte_data) : vin_(), vout_() { SetFromHex(byte_data.GetHex()); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx callq 0x1bfcc2 leaq 0x39227f(%rip), %rax # 0x5547f0 movq %rax, (%rbx) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rbx) movups %xmm0, 0x20(%rbx) movups %xmm0, 0x30(%rbx) movq %rsp, %rdi movq %r14, %rsi callq 0x1a0ffa movq %rsp, %rsi movq %rb...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetTotalSize() const
uint32_t Transaction::GetTotalSize() const { size_t length = 0; struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); // If both input / output are 0, libwally misidentifies as ElementsTransaction if ((tx_pointer->num_inputs == 0) && (tx_pointer->num_outputs == 0)) { length ...
movq 0x8(%rdi), %rax cmpq $0x0, 0x10(%rax) jne 0x1c0a8e cmpq $0x0, 0x28(%rax) jne 0x1c0a8e pushq $0xa popq %rax retq
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetWeight() const
uint32_t Transaction::GetWeight() const { size_t weight = 0; struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); // If both input / output are 0, libwally misidentifies as ElementsTransaction if ((tx_pointer->num_inputs == 0) && (tx_pointer->num_outputs == 0)) { weight = s...
movq 0x8(%rdi), %rax cmpq $0x0, 0x10(%rax) jne 0x1c0c58 cmpq $0x0, 0x28(%rax) jne 0x1c0c58 pushq $0x28 popq %rax retq
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetTxOutIndex(cfd::core::Script const&) const
uint32_t Transaction::GetTxOutIndex(const Script &locking_script) const { std::string search_str = locking_script.GetHex(); uint32_t index = 0; for (; index < static_cast<uint32_t>(vout_.size()); ++index) { std::string script = vout_[index].GetLockingScript().GetHex(); if (script == search_str) { re...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx movq %rsp, %rdi callq 0x1abe68 xorl %r14d, %r14d leaq 0x20(%rsp), %r12 leaq 0x58(%rsp), %r13 xorl %r15d, %r15d movq 0x28(%rbx), %rsi movq 0x30(%rbx), %rax subq %rsi, %rax cqto pushq $0x50 popq %rcx idivq %rcx movl %eax, %...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::AddTxIn(cfd::core::Txid const&, unsigned int, unsigned int, cfd::core::Script const&)
uint32_t Transaction::AddTxIn( const Txid &txid, uint32_t index, uint32_t sequence, const Script &unlocking_script) { if (vin_.size() == std::numeric_limits<uint32_t>::max()) { warn(CFD_LOG_SOURCE, "vin maximum."); throw CfdException(kCfdIllegalStateError, "txin maximum."); } AbstractTransaction:...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x120, %rsp # imm = 0x120 movl %ecx, %ebp movq 0x18(%rdi), %rax subq 0x10(%rdi), %rax movabsq $0x8fffffff70, %rcx # imm = 0x8FFFFFFF70 cmpq %rcx, %rax je 0x1c2fd9 movq %r8, %r14 movl %edx, %r15d movq %rsi, %r12 movq %rdi, %rbx movl %ebp, %ecx c...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::SetScriptWitnessStack(unsigned int, unsigned int, std::vector<unsigned char, std::allocator<unsigned char>> const&)
const ScriptWitness Transaction::SetScriptWitnessStack( uint32_t tx_in_index, uint32_t witness_index, const std::vector<uint8_t> &data) { AbstractTransaction::SetScriptWitnessStack(tx_in_index, witness_index, data); const ScriptWitness &witness = vin_[tx_in_index].SetScriptWitnessStack(witness_index,...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r8, %r15 movl %ecx, %ebp movl %edx, %r12d movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi movl %edx, %esi movl %ecx, %edx movq %r8, %rcx callq 0x1c05fe movl %r12d, %eax imulq $0x90, %rax, %r12 addq 0x10(%r14), %r12 movq %rsp, %r13 ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetTxOutList() const
const std::vector<TxOutReference> Transaction::GetTxOutList() const { std::vector<TxOutReference> refs; for (TxOut tx_out : vout_) { refs.push_back(TxOutReference(tx_out)); } return refs; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa0, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) andq $0x0, 0x10(%rdi) movq 0x28(%rsi), %r14 movq 0x30(%rsi), %r13 leaq 0x50(%rsp), %r15 movq %rsp, %r12 cmpq %r13, %r14 je 0x1c37c0 movq %r15, %rdi movq %r14, %rsi callq 0x1c59aa movq %r12, %r...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::SetTxOutValue(unsigned int, cfd::core::Amount const&)
void Transaction::SetTxOutValue(uint32_t index, const Amount &value) { CheckTxOutIndex(index, __LINE__, __FUNCTION__); struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); if (tx_pointer != nullptr) { struct wally_tx_output *output = tx_pointer->outputs + index; output->...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movl %esi, %ebp movq %rdi, %r14 movq (%rdi), %rax leaq 0x22cd60(%rip), %rcx # 0x3f06c3 movl $0x2d6, %edx # imm = 0x2D6 callq *0x60(%rax) movq 0x8(%r14), %rax testq %rax, %rax je 0x1c39b2 movq 0x20(%rax), %r15 movl...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::RemoveTxOut(unsigned int)
void Transaction::RemoveTxOut(uint32_t index) { AbstractTransaction::RemoveTxOut(index); std::vector<TxOut>::const_iterator ite = vout_.cbegin(); if (index != 0) { ite += index; } vout_.erase(ite); CallbackStateChange(kStateChangeRemoveTxOut); }
pushq %r14 pushq %rbx pushq %rax movl %esi, %ebx movq %rdi, %r14 callq 0x1c09b2 leaq 0x28(%r14), %rdi movl %ebx, %eax imulq $0x50, %rax, %rsi addq 0x28(%r14), %rsi callq 0x1c59c0 movq (%r14), %rax movq 0x50(%rax), %rax movq %r14, %rdi movl $0x400, %esi # imm = 0x400 addq $0x8, %rsp popq %rbx popq %r14 jmpq *...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetSignatureHash(unsigned int, cfd::core::ByteData const&, cfd::core::SigHashType, cfd::core::Amount const&, cfd::core::WitnessVersion) const
ByteData256 Transaction::GetSignatureHash( uint32_t txin_index, const ByteData &script_data, SigHashType sighash_type, const Amount &value, WitnessVersion version) const { if (script_data.IsEmpty()) { warn(CFD_LOG_SOURCE, "empty script"); throw CfdException( kCfdIllegalArgumentError, "Failed t...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %r9, %r15 movq %r8, 0x50(%rsp) movq %rcx, %r13 movl %edx, %r14d movq %rsi, %r12 movq %rdi, 0x30(%rsp) movq %rcx, %rdi callq 0x1a102a testb %al, %al jne 0x1c3c25 movl 0xc0(%rsp), %ebx testl %ebx, %ebx jg 0x1c3ca3 leaq 0x38(%rsp), %rd...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetSchnorrSignatureHash(unsigned int, cfd::core::SigHashType, std::vector<cfd::core::TxOut, std::allocator<cfd::core::TxOut>> const&, cfd::core::TapScriptData const*, cfd::core::ByteData const&) const
ByteData256 Transaction::GetSchnorrSignatureHash( uint32_t txin_index, SigHashType sighash_type, const std::vector<TxOut> &utxo_list, const TapScriptData *script_data, const ByteData &annex) const { CheckTxInIndex(txin_index, __LINE__, __FUNCTION__); if (this->vin_.size() > utxo_list.size()) { warn(...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1c8, %rsp # imm = 0x1C8 movq %r9, 0xd8(%rsp) movq %r8, %r12 movq %rcx, %r15 movq %rsi, %r14 movq %rdi, 0x120(%rsp) movq (%rsi), %rax leaq 0x22c8c8(%rip), %rbx # 0x3f07d0 movq %rsi, %rdi movl %edx, 0x54(%rsp) movl %edx, %esi movl $0x...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::ConvertBitcoinTxFromWally(wally_tx const*, bool)
ByteData ConvertBitcoinTxFromWally( const struct wally_tx *tx, bool force_exclude_witness) { int ret; size_t witness_count = 0; ret = wally_tx_get_witness_count(tx, &witness_count); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_tx_get_witness_count NG[{}]", ret); throw CfdException(kCfdIllegalS...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, 0x30(%rsp) leaq 0x60(%rsp), %rsi andq $0x0, (%rsi) movq %r14, %rdi callq 0x302591 movl %eax, (%rsp) testl %eax, %eax jne 0x1c517c cmpq $0x0, 0x60(%rsp) setne %al notb %bpl andb %al, %bpl movzbl ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Privkey::ConvertWif[abi:cxx11](cfd::core::NetType, bool) const
std::string Privkey::ConvertWif(NetType net_type, bool is_compressed) const { uint32_t prefix = (net_type == kMainnet ? kPrefixMainnet : kPrefixTestnet); uint32_t flags = (is_compressed ? WALLY_WIF_FLAG_COMPRESSED : WALLY_WIF_FLAG_UNCOMPRESSED); char *wif_ptr = NULL; int ret = wally_...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movl %ecx, %r15d movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 andq $0x0, 0x10(%rsp) leaq 0x18(%rsp), %r12 movq %r12, %rdi callq 0x1a1008 movq (%r12), %r12 movq %rbx, %rdi callq 0x1a1016 xorb $0x1, %r15b movzbl %r15b, %ecx testl %ebp, %ebp movl $...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_key.cpp
cfd::core::Privkey::HasWif(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, cfd::core::NetType*, bool*)
bool Privkey::HasWif( const std::string &wif, NetType *net_type, bool *is_compressed) { static constexpr size_t kWifMinimumSize = EC_PRIVATE_KEY_LEN + 1; size_t is_uncompressed = 0; int ret = wally_wif_is_uncompressed(wif.c_str(), &is_uncompressed); if (ret != WALLY_OK) { // contains check wif. ret...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq 0x10(%rsp), %rsi andq $0x0, (%rsi) movq (%rdi), %rdi callq 0x305abc testl %eax, %eax je 0x1cfbaf xorl %ebp, %ebp jmp 0x1cfc61 leaq 0x30(%rsp), %r12 movq %r12, %rdi movq %r15, %rsi callq 0x1a6e9a ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_key.cpp
cfd::core::Privkey::GenerageRandomKey()
Privkey Privkey::GenerageRandomKey() { std::vector<uint8_t> privkey; int ret = WALLY_OK; do { privkey = RandomNumberUtil::GetRandomBytes(kPrivkeySize); ret = wally_ec_private_key_verify(privkey.data(), privkey.size()); } while (ret != WALLY_OK); return Privkey(ByteData(privkey)); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movq %rsp, %r14 andq $0x0, 0x10(%r14) xorps %xmm0, %xmm0 movaps %xmm0, (%r14) leaq 0x20(%rsp), %r15 pushq $0x20 popq %rbp movq %r15, %rdi movl %ebp, %esi callq 0x1a7570 movq %r14, %rdi movq %r15, %rsi callq 0xc18c8 movq %r15, %rdi callq 0xaf94...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_key.cpp
void cfd::core::logger::log<int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void log( const CfdSourceLocation &source, cfd::core::logger::CfdLogLevel lvl, const char *fmt, Args &&...args) { if (cfd::core::logger::IsEnableLogLevel(lvl)) { auto message = fmt::format(fmt, args...); // std::string message = fmt::format(std::locale::messages, fmt, args...); cfd::core::logger::...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %r8, %r12 movq %rcx, %r13 movq %rdx, %r15 movl %esi, %ebx movq %rdi, %r14 movl %esi, %edi callq 0x221627 testb %al, %al je 0x1d072f movl (%r13), %eax movups (%r12), %xmm0 leaq 0x20(%rsp), %r12 movq %rax, (%r12) movaps %xmm0, 0x10(%r12) movq %r...
/p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h
cfd::core::Amount::GetByteData() const
ByteData Amount::GetByteData() const { std::vector<uint8_t> bytes(sizeof(amount_)); memcpy(bytes.data(), &amount_, bytes.size()); #if defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) #if __BYTE_ORDER == __BIG_ENDIAN // big -> little std::reverse(bytes.begin(), bytes.end()); #endif // __BYTE_ORDER == __BIG_ENDIAN...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r15 pushq $0x8 popq %rsi leaq 0x7(%rsp), %rdx movq %r15, %rdi callq 0x110382 movq (%r15), %rdi movq 0x8(%r15), %rdx subq %rdi, %rdx movq %r14, %rsi callq 0x88510 movq %rbx, %rdi movq %r15, %rsi callq 0x1a0df4 leaq 0x8(%rs...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_amount.cpp
cfd::core::Txid::Txid(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Txid::Txid(const std::string& hex) : data_() { const std::vector<uint8_t>& data = StringUtil::StringToByte(hex); std::vector<uint8_t> reverse_buffer(data.crbegin(), data.crend()); if (reverse_buffer.size() != kByteData256Length) { warn(CFD_LOG_SOURCE, "Txid size Invalid. size={}.", reverse_buffer.size()); ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x3786d1(%rip), %rax # 0x5492f0 movq %rax, (%rdi) addq $0x8, %rbx movq %rbx, %rdi callq 0x1a0de4 leaq 0x40(%rsp), %rdi movq %r14, %rsi callq 0x1a7b1e movq 0x40(%rsp), %rax movq 0x48(%rsp), %rcx leaq 0x60(%rsp), %rsi mov...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_coin.cpp
cfd::core::Txid::GetHex[abi:cxx11]() const
const std::string Txid::GetHex() const { const std::vector<uint8_t>& data = data_.GetBytes(); std::vector<uint8_t> reverse_buffer(data.crbegin(), data.crend()); return StringUtil::ByteToString(reverse_buffer); }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx addq $0x8, %rsi leaq 0x30(%rsp), %r14 movq %r14, %rdi callq 0x1a1008 movq (%r14), %rax movq 0x8(%r14), %rcx leaq 0x28(%rsp), %rsi movq %rcx, (%rsi) leaq 0x20(%rsp), %rdx movq %rax, (%rdx) leaq 0x8(%rsp), %rdi leaq 0x7(%rsp), %rcx callq 0x1a08da leaq 0x8(%rsp), %rsi...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_coin.cpp
cfd::core::AddressFormatData::GetString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
std::string AddressFormatData::GetString(const std::string& key) const { if (map_.find(key) == map_.end()) { throw CfdException( CfdError::kCfdOutOfRangeError, "unknown key. key=" + key); } return map_.at(key); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi movq %rdx, %rsi callq 0x1d7cc4 leaq 0x8(%r15), %rcx cmpq %rcx, %rax je 0x1d153b movq %r15, %rdi movq %r14, %rsi callq 0x1d7432 movq %rbx, %rdi movq %rax, %rsi callq 0x88930 movq %rbx, %rax addq $...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_address.cpp
cfd::core::AddressFormatData::GetValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
uint32_t AddressFormatData::GetValue(const std::string& key) const { if (map_.find(key) == map_.end()) { throw CfdException( CfdError::kCfdOutOfRangeError, "unknown key. key=" + key); } return std::stoi(map_.at(key), nullptr, 16); }
pushq %rbp pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx callq 0x1d7cc4 leaq 0x8(%rbx), %rcx cmpq %rcx, %rax je 0x1d15e8 movq %rbx, %rdi movq %r14, %rsi callq 0x1d7432 pushq $0x10 popq %rdx movq %rax, %rdi xorl %esi, %esi addq $0x20, %rsp popq %rbx popq %r14 popq %rbp jmp 0x1d7477 pushq $0x30 p...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_address.cpp
cfd::core::AddressFormatData::ConvertFromJson(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
AddressFormatData AddressFormatData::ConvertFromJson( const std::string& json_data) { UniValue object; object.read(json_data); std::map<std::string, std::string> prefix_map; if (object.isObject() && object.exists(kNettype)) { std::map<std::string, UniValue> json_map; object.getObjMap(json_map); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xc0, %rsp movq %rdi, %rbx leaq 0x80(%rsp), %rax movq %rax, -0x10(%rax) andq $0x0, -0x8(%rax) movb $0x0, (%rax) andl $0x0, -0x18(%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rax) movups %xmm0, 0x20(%rax) movups %xmm0, 0x30(%rax) leaq 0x68(%rsp), %rdi callq 0x...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_address.cpp
cfd::core::Address::Address()
Address::Address() : type_(kMainnet), addr_type_(kP2shAddress), witness_ver_(kVersionNone), address_(""), hash_(), pubkey_(), schnorr_pubkey_(), redeem_script_() { memset(checksum_, 0, sizeof(checksum_)); info(CFD_LOG_SOURCE, "call Address()"); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %r13 movabsq $0x100000000, %rax # imm = 0x100000000 movq %rax, (%rdi) orl $-0x1, 0x8(%rdi) leaq 0x10(%rdi), %rbx leaq 0x25e98f(%rip), %rsi # 0x4306ca leaq 0x10(%rsp), %rdx movq %rbx, %rdi callq 0x88260 leaq 0x30(%r13),...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_address.cpp
cfd::core::MergePsbtInputItem(wally_psbt_input*, wally_psbt_input const*, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void MergePsbtInputItem( struct wally_psbt_input *psbt, const struct wally_psbt_input *psbt_dest, bool ignore_duplicate_error, const std::string &item_name) { int ret; if (psbt_dest->utxo != nullptr) { if (psbt->utxo == nullptr) { ret = wally_psbt_input_set_utxo(psbt, psbt_dest->utxo); if (r...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rcx, %r12 movl %edx, %r15d movq %rsi, %rbx movq %rdi, %r14 movq (%rsi), %rsi testq %rsi, %rsi je 0x1da56b movq (%r14), %rdi testq %rdi, %rdi je 0x1da557 callq 0x1d9cdd orb %r15b, %al jne 0x1da56b leaq 0x2175cb(%rip), %rax # 0x3f...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::MergePsbtInputs(wally_psbt*, wally_psbt const*, bool)
void MergePsbtInputs( struct wally_psbt *psbt, const struct wally_psbt *psbt_dest, bool ignore_duplicate_error) { bool is_find; int ret; std::vector<size_t> append_indexes; for (size_t dst_idx = 0; dst_idx < psbt_dest->num_inputs; ++dst_idx) { auto dest_txin = &psbt_dest->tx->inputs[dst_idx]; is...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rsi, %r14 movq %rdi, (%rsp) xorps %xmm0, %xmm0 leaq 0x90(%rsp), %rax andq $0x0, 0x10(%rax) movaps %xmm0, (%rax) xorl %eax, %eax movl %edx, 0x10(%rsp) movzbl %dl, %ecx movl %ecx, 0xc(%rsp) movq %rsi, 0x18(%...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::MergePsbt(void const*, void const*, bool)
struct wally_psbt *MergePsbt( const void *src, const void *dest, bool ignore_duplicate_error) { const struct wally_psbt *psbt_src = static_cast<const struct wally_psbt *>(src); const struct wally_psbt *psbt_dest = static_cast<const struct wally_psbt *>(dest); if ((psbt_src->tx == nullptr) || ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movq 0x8(%rdi), %rax testq %rax, %rax je 0x1db59f movq 0x18(%rdi), %rcx cmpq 0x10(%rax), %rcx jne 0x1db59f movq 0x30(%rdi), %rcx cmpq 0x28(%rax), %rcx jne 0x1db59f movq %rsi, %rbx movq 0x8(%rsi), %rax testq %rax, %rax je 0x1db61c movq 0x18(%rbx), %rcx cmpq 0x...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::CreatePsbtOutputOnlyData(wally_psbt const*)
ByteData CreatePsbtOutputOnlyData(const struct wally_psbt *psbt) { Serializer builder; builder.AddDirectBytes(psbt->magic, sizeof(psbt->magic)); builder.AddDirectByte(1); builder.AddVariableInt(Psbt::kPsbtGlobalUnsignedTx); auto tx = ConvertBitcoinTxFromWally(psbt->tx, false).GetBytes(); builder.AddVariabl...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rsi, %r13 movq %rdi, 0x20(%rsp) leaq 0x28(%rsp), %r15 movq %r15, %rdi callq 0x1a1c44 pushq $0x5 popq %rdx movq %r15, %rdi movq %r13, %rsi callq 0x1a20f2 leaq 0x28(%rsp), %rdi pushq $0x1 popq %rsi callq 0x1a217c leaq 0x28(%rsp), %rd...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::ParsePsbtData(cfd::core::ByteData const&)
struct wally_psbt *ParsePsbtData(const ByteData &data) { static const uint8_t kPsbtMagic[] = {'p', 's', 'b', 't', 0xff}; struct wally_psbt *psbt = nullptr; std::vector<uint8_t> bytes = data.GetBytes(); int ret = wally_psbt_from_bytes(bytes.data(), bytes.size(), &psbt); if (ret == WALLY_OK) { if ((psbt->n...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1d8, %rsp # imm = 0x1D8 movq %rdi, %rbx leaq 0x10(%rsp), %r14 andq $0x0, (%r14) leaq 0x98(%rsp), %r15 movq %r15, %rdi movq %rbx, %rsi callq 0x1a1008 movq (%r15), %rdi movq 0x8(%r15), %rsi subq %rdi, %rsi movq %r14, %rdx callq 0x2f9bec ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::RebuildTransaction(void const*)
Transaction Psbt::RebuildTransaction(const void *wally_psbt_pointer) { Transaction tx; if (wally_psbt_pointer != nullptr) { const struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<const struct wally_psbt *>(wally_psbt_pointer); if (psbt_pointer->tx != nullptr) { tx = Transaction(ConvertB...
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rsi, %r14 movq %rdi, %rbx callq 0x1c19c6 testq %r14, %r14 je 0x1dd312 movq 0x8(%r14), %rsi testq %rsi, %rsi je 0x1dd312 movq %rsp, %rdi xorl %edx, %edx callq 0x1c4e06 leaq 0x18(%rsp), %rdi movq %rsp, %rsi callq 0x1c2556 leaq 0x18(%rsp), %rsi movq %rbx, %rdi callq 0x1c28f6 le...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::Psbt(cfd::core::ByteData const&)
Psbt::Psbt(const ByteData &byte_data) { struct wally_psbt *psbt_pointer = ParsePsbtData(byte_data); size_t is_elements = 0; int ret = wally_psbt_is_elements(psbt_pointer, &is_elements); if (ret != WALLY_OK) { wally_psbt_free(psbt_pointer); warn(CFD_LOG_SOURCE, "wally_psbt_is_elements NG[{}]", ret); ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x58, %rsp movq %rsi, %r15 movq %rdi, %r14 leaq 0x3775b9(%rip), %rax # 0x554960 movq %rax, (%rdi) leaq 0x10(%rdi), %rbx movq %rbx, %rdi callq 0x1c19c6 movq %r15, %rdi callq 0x1dbbdf movq %rax, %r15 leaq 0x10(%rsp), %rsi andq $0x0, (%rsi) movq %rax, %rdi callq 0x2fb73...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::Psbt(unsigned int, cfd::core::Transaction const&)
Psbt::Psbt(uint32_t psbt_version, const Transaction &transaction) { std::string tx_hex = transaction.GetHex(); auto txin_list = transaction.GetTxInList(); auto txout_list = transaction.GetTxOutList(); struct wally_tx *tx = nullptr; int ret = wally_tx_from_hex(tx_hex.data(), 0, &tx); if (ret != WALLY_OK) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %rdx, %r15 movl %esi, %ebp leaq 0x3773c5(%rip), %rax # 0x554960 movq %rax, (%rdi) movq %rdi, 0xc0(%rsp) addq $0x10, %rdi movq %rdi, 0x68(%rsp) callq 0x1c19c6 leaq 0x178(%rsp), %rdi movq %r15, %rsi callq ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetData() const
ByteData Psbt::GetData() const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); size_t size = 0; if ((psbt_pointer != nullptr) && (psbt_pointer->num_inputs == 0)) { return CreatePsbtOutputOnlyData(psbt_pointer); } std::vector<uint8_t> bytes(GetDa...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq 0x8(%rsi), %r14 andq $0x0, 0x8(%rsp) testq %r14, %r14 je 0x1ddf17 cmpq $0x0, 0x18(%r14) je 0x1ddf71 movq %rsi, %rdi callq 0x1de606 movl %eax, %esi leaq 0x10(%rsp), %r15 leaq 0x28(%rsp), %rdx movq %r15, %rdi callq 0x110382 movq (%r15), %rd...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::operator=(cfd::core::Psbt const&) &
Psbt &Psbt::operator=(const Psbt &psbt) & { if (this != &psbt) { struct wally_psbt *psbt_pointer = nullptr; struct wally_psbt *psbt_src_pointer = nullptr; psbt_src_pointer = static_cast<struct wally_psbt *>(psbt.wally_psbt_pointer_); int ret = wally_psbt_clone_alloc(psbt_src_pointer, 0, &psbt_...
pushq %rbp pushq %r14 pushq %rbx subq $0x50, %rsp movq %rdi, %rbx cmpq %rsi, %rdi je 0x1de0a1 leaq 0x8(%rsp), %rdx andq $0x0, (%rdx) movq 0x8(%rsi), %rdi xorl %esi, %esi callq 0x2fc4a0 movl %eax, 0x4(%rsp) testl %eax, %eax jne 0x1de0ad movq 0x8(%rbx), %rdi callq 0x1de162 movq 0x8(%rsp), %rsi movq %rsi, 0x8(%rbx) leaq 0...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::CreateRecordKey(unsigned char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
ByteData Psbt::CreateRecordKey( uint8_t type, const std::string &prefix, uint8_t sub_type, const std::string &sub_key) { return CreateRecordKey( type, ByteData( reinterpret_cast<const uint8_t *>(prefix.data()), static_cast<uint32_t>(strlen(prefix.c_str()))), sub_type, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movq %r8, %r15 movl %ecx, %ebp movl %esi, %r14d movq %rdi, %rbx movq (%rdx), %r12 movq %r12, %rdi callq 0x88290 leaq 0x18(%rsp), %rdi movq %r12, %rsi movl %eax, %edx callq 0x1a0ed2 movq (%r15), %r15 movq %r15, %rdi callq 0x88290 movq %rsp, %rdi mov...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetDataSize() const
uint32_t Psbt::GetDataSize() const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); size_t size = 0; if ((psbt_pointer != nullptr) && (psbt_pointer->num_inputs == 0)) { auto data = CreatePsbtOutputOnlyData(psbt_pointer); return static_cast<uint32_...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq 0x8(%rdi), %rsi andq $0x0, 0x8(%rsp) testq %rsi, %rsi je 0x1de624 cmpq $0x0, 0x18(%rsi) je 0x1de642 leaq 0x8(%rsp), %rdx movq %rsi, %rdi xorl %esi, %esi callq 0x2fb00b movl %eax, 0x4(%rsp) testl %eax, %eax jne 0x1de66f movq 0x8(%rsp), %rbx jmp 0x1de664 leaq 0x10(%r...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::IsFinalizedInput(unsigned int) const
bool Psbt::IsFinalizedInput(uint32_t index) const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); size_t data = 0; if (psbt_pointer == nullptr) { warn(CFD_LOG_SOURCE, "psbt pointer is null"); throw CfdException(kCfdIllegalStateError, "psbt pointer...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq 0x8(%rdi), %rax andq $0x0, 0x28(%rsp) testq %rax, %rax je 0x1de8d6 movq 0x10(%rax), %rdi testq %rdi, %rdi je 0x1de85b movl %esi, %ecx cmpq %rcx, 0x18(%rax) jbe 0x1de85b imulq $0x110, %rcx, %rax # imm = 0x110 addq %rax, %rdi leaq 0x28(%rsp), %rsi callq 0x2f8b66...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::Combine(cfd::core::Psbt const&)
void Psbt::Combine(const Psbt &transaction) { std::vector<uint8_t> bytes = transaction.GetData().GetBytes(); struct wally_psbt *src_pointer = nullptr; int ret = wally_psbt_from_bytes(bytes.data(), bytes.size(), &src_pointer); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_psbt_from_bytes NG[{}]", ret); ...
pushq %rbp pushq %r14 pushq %rbx subq $0x70, %rsp movq %rdi, %rbx leaq 0x18(%rsp), %r14 movq %r14, %rdi callq 0x1ddef4 leaq 0x58(%rsp), %rdi movq %r14, %rsi callq 0x1a1008 leaq 0x18(%rsp), %rdi callq 0xaf946 leaq 0x10(%rsp), %rdx andq $0x0, (%rdx) movq 0x58(%rsp), %rdi movq 0x60(%rsp), %rsi subq %rdi, %rsi callq 0x2f9b...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::Join(cfd::core::Psbt const&, bool)
void Psbt::Join(const Psbt &transaction, bool ignore_duplicate_error) { struct wally_psbt *psbt_pointer = MergePsbt( wally_psbt_pointer_, transaction.wally_psbt_pointer_, ignore_duplicate_error); FreeWallyPsbtAddress(wally_psbt_pointer_); // free wally_psbt_pointer_ = psbt_pointer; base_tx_ = Rebui...
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdi, %rbx movq 0x8(%rdi), %rdi movq 0x8(%rsi), %rsi callq 0x1db491 movq %rax, %r14 movq 0x8(%rbx), %rdi callq 0x1de162 movq %r14, 0x8(%rbx) movq %rsp, %r15 movq %r15, %rdi movq %r14, %rsi callq 0x1dd2bc addq $0x10, %rbx movq %rbx, %rdi movq %r15, %rsi callq 0x1c28...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxOutCount() const
uint32_t Psbt::GetTxOutCount() const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); if (psbt_pointer == nullptr) { warn(CFD_LOG_SOURCE, "psbt pointer is null"); throw CfdException(kCfdIllegalStateError, "psbt pointer is null."); } else if (psbt_p...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq 0x8(%rdi), %rax testq %rax, %rax je 0x1df1b2 movq 0x8(%rax), %rax testq %rax, %rax je 0x1df22d movl 0x28(%rax), %eax addq $0x30, %rsp popq %rbx popq %r14 popq %rbp retq leaq 0x2128f2(%rip), %rax # 0x3f1aab leaq 0x10(%rsp), %rdi movq %rax, (%rdi) movl $0x87e, 0x8...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInSignature(unsigned int, cfd::core::Pubkey const&) const
ByteData Psbt::GetTxInSignature(uint32_t index, const Pubkey &pubkey) const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); auto key_vec = pubkey.GetData().GetBytes(); size_t exist = 0; int ret = wally_map_find( &psbt_pointer->inputs[index].signat...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movl %edx, %ebp movq %rdi, %rbx movq 0x8(%rsi), %r15 leaq 0x8(%rsp), %r14 movq %r14, %rdi movq %rcx, %rsi callq 0x1ce760 leaq 0x30(%rsp), %rdi movq %r14, %rsi callq 0x1a1008 leaq 0x8(%rsp), %rdi callq 0xaf946 leaq 0x28(%rsp), %rcx andq $0x0, (%rcx) movq 0x10(...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::IsFindTxInSignature(unsigned int, cfd::core::Pubkey const&) const
bool Psbt::IsFindTxInSignature(uint32_t index, const Pubkey &pubkey) const { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); auto key_vec = pubkey.GetData().GetBytes(); size_t exist = 0; int ret = wally_map...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %r14 movl %esi, %ebp movq %rdi, %r15 movq (%rdi), %rax leaq 0x20f3b9(%rip), %rbx # 0x3f2ccd movl $0xabb, %edx # imm = 0xABB movq %rbx, %rcx callq *0x10(%rax) movq 0x8(%r15), %r12 leaq 0x18(%rsp), %r15 movq %r15, %rdi movq %...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInSighashType(unsigned int) const
SigHashType Psbt::GetTxInSighashType(uint32_t index) const { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); if (psbt_pointer->inputs[index].sighash != 0) { SigHashType sighash_type; sighash_type.SetFr...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movl %edx, %ebp movq %rsi, %r15 movq %rdi, %rbx movq (%rsi), %rax leaq 0x20f265(%rip), %r14 # 0x3f2ce1 movq %rsi, %rdi movl %edx, %esi movl $0xacb, %edx # imm = 0xACB movq %r14, %rcx callq *0x10(%rax) movq 0x8(%r15), %r15 movq 0x10(%r...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInFinalScript(unsigned int, bool) const
std::vector<ByteData> Psbt::GetTxInFinalScript( uint32_t index, bool is_witness_stack) const { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); std::vector<ByteData> result; if (is_witness_stack) { au...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %ecx, %r14d movl %edx, %ebp movq %rsi, %r15 movq %rdi, %rbx movq (%rsi), %rax leaq 0x20f16a(%rip), %rcx # 0x3f2d3b movq %rsi, %rdi movl %edx, %esi movl $0xae3, %edx # imm = 0xAE3 callq *0x10(%rax) movq 0x8(%r15), %rax ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::GetPsbtInput(cfd::core::ByteData const&, wally_psbt_input const*, bool*)
static ByteData GetPsbtInput( const ByteData &key_data, const struct wally_psbt_input *input, bool *is_find) { const auto key = key_data.GetBytes(); if (is_find != nullptr) *is_find = false; bool has_key_1byte = (key.size() == 1); if (key[0] == Psbt::kPsbtInputNonWitnessUtxo) { if (!has_key_1byte) {...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %rbx leaq 0xb0(%rsp), %rdi callq 0x1a1008 testq %r15, %r15 je 0x1e3d38 movb $0x0, (%r15) movq 0xb0(%rsp), %rcx movzbl (%rcx), %eax cmpq $0x8, %rax ja 0x1e41ae movq 0xb8(%rsp), %r...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::IsFindTxInRecord(unsigned int, cfd::core::ByteData const&) const
bool Psbt::IsFindTxInRecord(uint32_t index, const ByteData &key) const { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); bool is_find = false; GetPsbtInput(key, &psbt_pointer->inputs[index], &is_find); retu...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdx, %rbx movl %esi, %ebp movq %rdi, %r14 movq (%rdi), %rax leaq 0x20e018(%rip), %rcx # 0x3f2d5c movl $0xb02, %edx # imm = 0xB02 callq *0x10(%rax) movq 0x8(%r14), %rax leaq 0xf(%rsp), %r14 movb $0x0, (%r14) movl %ebp, %ecx imulq $0x110, %r...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInRecordKeyList(unsigned int) const
std::vector<ByteData> Psbt::GetTxInRecordKeyList(uint32_t index) const { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); std::vector<ByteData> result; auto input = &psbt_pointer->inputs[index]; for (size_t ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax leaq 0x20dfbd(%rip), %rcx # 0x3f2d6d movq %rsi, %rdi movl %edx, %esi movl $0xb0b, %edx # imm = 0xB0B callq *0x10(%rax) movq 0x8(%r14), %rax xorps %xmm0, %xmm...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::ClearTxInSignData(unsigned int)
void Psbt::ClearTxInSignData(uint32_t index) { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); struct wally_psbt_input *input = &psbt_pointer->inputs[index]; if (input->redeem_script != nullptr) { memset...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movl %esi, %ebx movq %rdi, %r14 movq (%rdi), %rax leaq 0x20df17(%rip), %rcx # 0x3f2d82 movl $0xb19, %edx # imm = 0xB19 callq *0x10(%rax) movq 0x8(%r14), %rax movq 0x10(%rax), %rax movl %ebx, %ecx imulq $0x110, %rcx, %rcx # imm = 0x110 leaq (%rax,...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxOutData(unsigned int, cfd::core::KeyData const&)
void Psbt::SetTxOutData(uint32_t index, const KeyData &key) { CheckTxOutIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); std::vector<KeyData> arr = GetTxOutKeyDataList(index); Pubkey pubkey = key.GetPubkey(); for (a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x168, %rsp # imm = 0x168 movq %rdx, %rbx movl %esi, %r14d movq %rdi, %r15 movq (%rdi), %rax leaq 0x20dad9(%rip), %rcx # 0x3f2dab movl $0xb61, %edx # imm = 0xB61 callq *0x18(%rax) movq 0x8(%r15), %rax movq %rax, 0x68(%rsp) ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxOutData(unsigned int, cfd::core::Script const&, cfd::core::KeyData const&)
void Psbt::SetTxOutData( uint32_t index, const Script &redeem_script, const KeyData &key) { SetTxOutData(index, redeem_script, std::vector<KeyData>{key}); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x178, %rsp # imm = 0x178 movq %rdx, %rbx movl %esi, %ebp movq %rdi, %r14 leaq 0x28(%rsp), %r15 movq %r15, %rdi movq %rcx, %rsi callq 0x11012e leaq 0x10(%rsp), %rdi pushq $0x1 popq %rdx leaq 0xf(%rsp), %rcx movq %r15, %rsi callq 0x1101f8 leaq 0x10(%rsp), %rcx...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::GetPsbtOutput(cfd::core::ByteData const&, wally_psbt_output*, bool*)
static ByteData GetPsbtOutput( const ByteData &key_data, struct wally_psbt_output *output, bool *is_find) { if (is_find != nullptr) *is_find = false; const auto key = key_data.GetBytes(); bool has_key_1byte = (key.size() == 1); if (key[0] == Psbt::kPsbtOutputRedeemScript) { if (!has_key_1byte) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %rbx testq %rcx, %rcx je 0x1e6bcb movb $0x0, (%r15) leaq 0x88(%rsp), %r13 movq %r13, %rdi movq %r12, %rsi callq 0x1a1008 movq (%r13), %rax movq 0x8(%r13), %rsi subq %rax, %rsi mo...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::IsFindTxOutRecord(unsigned int, cfd::core::ByteData const&) const
bool Psbt::IsFindTxOutRecord(uint32_t index, const ByteData &key) const { CheckTxOutIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); bool is_find = false; GetPsbtOutput(key, &psbt_pointer->outputs[index], &is_find); ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdx, %rbx movl %esi, %ebp movq %rdi, %r14 movq (%rdi), %rax leaq 0x20bce4(%rip), %rcx # 0x3f2f08 movl $0xc36, %edx # imm = 0xC36 callq *0x18(%rax) movq 0x8(%r14), %rax leaq 0xf(%rsp), %r14 movb $0x0, (%r14) movl %ebp, %ecx imulq $0xd0, %rc...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxOutRecordKeyList(unsigned int) const
std::vector<ByteData> Psbt::GetTxOutRecordKeyList(uint32_t index) const { CheckTxOutIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); std::vector<ByteData> result; auto output = &psbt_pointer->outputs[index]; for (siz...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax leaq 0x20bc8a(%rip), %rcx # 0x3f2f1a movq %rsi, %rdi movl %edx, %esi movl $0xc3f, %edx # imm = 0xC3F callq *0x18(%rax) movq 0x8(%r14), %rax xorps %xmm0, %xmm...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetPsbtVersion() const
uint32_t Psbt::GetPsbtVersion() const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); if (psbt_pointer == nullptr) { warn(CFD_LOG_SOURCE, "psbt pointer is null"); throw CfdException(kCfdIllegalStateError, "psbt pointer is null."); } return psbt_...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq 0x8(%rdi), %rax testq %rax, %rax je 0x1e7351 movl 0x58(%rax), %eax addq $0x30, %rsp popq %rbx popq %r14 popq %rbp retq leaq 0x20a753(%rip), %rax # 0x3f1aab leaq 0x10(%rsp), %rdi movq %rax, (%rdi) movl $0xc50, 0x8(%rdi) # imm = 0xC50 leaq 0x20bbc2(%rip), %r...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetGlobalXpubkey(cfd::core::KeyData const&)
void Psbt::SetGlobalXpubkey(const KeyData &key) { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); if (psbt_pointer == nullptr) { warn(CFD_LOG_SOURCE, "psbt pointer is null"); throw CfdException(kCfdIllegalStateError, "psbt pointer is null."); } i...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xf0, %rsp cmpq $0x0, 0x8(%rdi) je 0x1e7590 movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x1cd77e testb %al, %al je 0x1e760e leaq 0x7(%rsp), %rsi movb $0x1, (%rsi) leaq 0x38(%rsp), %rdi pushq $0x1 popq %rdx callq 0x1a0ed2 leaq 0x50(%rsp), %rdi movq %...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetGlobalRecord(cfd::core::ByteData const&, cfd::core::ByteData const&)
void Psbt::SetGlobalRecord(const ByteData &key, const ByteData &value) { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); if (key.IsEmpty()) { warn(CFD_LOG_SOURCE, "psbt empty key error."); throw CfdException(kCfdIllegalArgumentError, "psbt empty key e...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdx, %r14 movq %rsi, %r15 movq 0x8(%rdi), %rbx movq %rsi, %rdi callq 0x1a102a testb %al, %al jne 0x1e78f0 leaq 0x28(%rsp), %rdi movq %r15, %rsi callq 0x1a1008 leaq 0x40(%rsp), %rdi movq %r14, %rsi callq 0x1a1008 testq %rbx, %rbx je 0x1e796d movq 0x28(%r...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetGlobalXpubkeyBip32(cfd::core::ExtPubkey const&) const
KeyData Psbt::GetGlobalXpubkeyBip32(const ExtPubkey &key) const { uint8_t xpub_key = Psbt::kPsbtGlobalXpub; ByteData key_top(&xpub_key, 1); ByteData key_data = key_top.Concat(key.GetData()); auto data = GetGlobalRecord(key_data); ByteData fingerprint; std::vector<uint32_t> path; if (((data.GetDataSize() ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x7(%rsp), %rsi movb $0x1, (%rsi) leaq 0x88(%rsp), %rdi pushq $0x1 popq %rdx callq 0x1a0ed2 leaq 0x8(%rsp), %rdi movq %r14, %rsi callq 0x1cb6fa leaq 0x70(%rsp), %rdi leaq 0x88(%rsp), %...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::IsFindGlobalXpubkey(cfd::core::ExtPubkey const&) const
bool Psbt::IsFindGlobalXpubkey(const ExtPubkey &key) const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); bool is_find = false; uint8_t xpub_key = Psbt::kPsbtGlobalXpub; ByteData key_top(&xpub_key, 1); ByteData key_data = key_top.Concat(key.GetData()...
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 movq 0x8(%rdi), %rbx movb $0x0, 0x6(%rsp) leaq 0x7(%rsp), %rsi movb $0x1, (%rsi) leaq 0x38(%rsp), %rdi pushq $0x1 popq %rdx callq 0x1a0ed2 leaq 0x8(%rsp), %rdi movq %r14, %rsi callq 0x1cb6fa leaq 0x20(%rsp), %rdi leaq 0x38(%rsp), %rsi leaq 0x8(%rsp), %rdx callq 0x1...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::GetPsbtGlobal(cfd::core::ByteData const&, wally_psbt*, bool*)
static ByteData GetPsbtGlobal( const ByteData &key_data, struct wally_psbt *psbt, bool *is_find) { if (psbt == nullptr) { warn(CFD_LOG_SOURCE, "psbt pointer is null"); throw CfdException(kCfdIllegalStateError, "psbt pointer is null."); } if (is_find != nullptr) *is_find = false; const auto key = key...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x80, %rsp testq %rdx, %rdx je 0x1e81d4 movq %rcx, %r15 movq %rdx, %r14 movq %rdi, %rbx testq %rcx, %rcx je 0x1e8088 movb $0x0, (%r15) leaq 0x68(%rsp), %r12 movq %r12, %rdi callq 0x1a1008 movq (%r12), %rcx movq 0x8(%r12), %rax subq %rcx, %rax movzbl (%rcx), %...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetGlobalRecordKeyList() const
std::vector<ByteData> Psbt::GetGlobalRecordKeyList() const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); std::vector<ByteData> result; for (size_t idx = 0; idx < psbt_pointer->unknowns.num_items; ++idx) { auto item = &psbt_pointer->unknowns.items[id...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq 0x8(%rsi), %r15 xorps %xmm0, %xmm0 andq $0x0, 0x10(%rdi) movups %xmm0, (%rdi) pushq $0x8 popq %r12 xorl %r13d, %r13d leaq 0x8(%rsp), %r14 cmpq 0x48(%r15), %r13 jae 0x1e87ee movq 0x40(%r15), %rax movq -0x8(%rax,%r12), %rsi movl ...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::CheckTxInIndex(unsigned int, int, char const*) const
void Psbt::CheckTxInIndex(uint32_t index, int line, const char *caller) const { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); if (psbt_pointer == nullptr) { warn(CFD_LOG_SOURCE, "psbt pointer is null"); throw CfdException(kCfdIllegalStateError, "psb...
pushq %rbp pushq %r14 pushq %rbx subq $0x40, %rsp movl %esi, 0x4(%rsp) movq 0x8(%rdi), %rax testq %rax, %rax je 0x1e8863 movq 0x8(%rax), %rdi testq %rdi, %rdi je 0x1e88e1 movl %esi, %esi cmpq %rsi, 0x18(%rax) jbe 0x1e895f cmpq %rsi, 0x10(%rdi) jbe 0x1e89d4 addq $0x40, %rsp popq %rbx popq %r14 popq %rbp retq leaq 0x2092...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::FindPsbtMap(wally_map const*, std::vector<unsigned char, std::allocator<unsigned char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long*)
static void FindPsbtMap( const struct wally_map *map_object, const std::vector<uint8_t> &key, const std::string &field_name, size_t *index = nullptr) { size_t exist = 0; int ret = wally_map_find(map_object, key.data(), key.size(), &exist); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_map_find NG...
pushq %rbp pushq %r14 pushq %rbx subq $0x50, %rsp movq %rcx, %rbx movq %rdx, %r14 leaq 0x48(%rsp), %rcx andq $0x0, (%rcx) movq (%rsi), %rax movq 0x8(%rsi), %rdx subq %rax, %rdx movq %rax, %rsi callq 0x2f8813 movl %eax, 0x4(%rsp) testl %eax, %eax jne 0x1e8d3c testq %rbx, %rbx sete %cl movq 0x48(%rsp), %rax testq %rax, %...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_psbt.cpp
void cfd::core::logger::log<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int&...
void log( const CfdSourceLocation &source, cfd::core::logger::CfdLogLevel lvl, const char *fmt, Args &&...args) { if (cfd::core::logger::IsEnableLogLevel(lvl)) { auto message = fmt::format(fmt, args...); // std::string message = fmt::format(std::locale::messages, fmt, args...); cfd::core::logger::...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %r8, %r12 movq %rcx, %r13 movq %rdx, %r15 movl %esi, %ebx movq %rdi, %r14 movl %esi, %edi callq 0x221627 testb %al, %al je 0x1e946c movups (%r13), %xmm0 movl (%r12), %eax leaq 0x20(%rsp), %r12 movaps %xmm0, (%r12) movq %rax, 0x10(%r12) movq %r...
/p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h
void cfd::core::logger::log<unsigned int&, unsigned int const&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, unsigned int&, unsigned int const&)
void log( const CfdSourceLocation &source, cfd::core::logger::CfdLogLevel lvl, const char *fmt, Args &&...args) { if (cfd::core::logger::IsEnableLogLevel(lvl)) { auto message = fmt::format(fmt, args...); // std::string message = fmt::format(std::locale::messages, fmt, args...); cfd::core::logger::...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %r8, %r12 movq %rcx, %r13 movq %rdx, %r15 movl %esi, %ebx movq %rdi, %r14 movl %esi, %edi callq 0x221627 testb %al, %al je 0x1e97b3 movl (%r13), %eax movl (%r12), %ecx leaq 0x20(%rsp), %r12 movq %rax, (%r12) movq %rcx, 0x10(%r12) movq %r15, %r...
/p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h
cfd::core::Secp256k1::CompressPubkeySecp256k1Ec(cfd::core::ByteData const&)
ByteData Secp256k1::CompressPubkeySecp256k1Ec( const ByteData& uncompressed_pubkey) { secp256k1_context* context = static_cast<secp256k1_context*>(secp256k1_context_); if (secp256k1_context_ == NULL) { warn(CFD_LOG_SOURCE, "Secp256k1 context is NULL."); throw CfdException( CfdError::kCfdI...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x90, %rsp movq (%rsi), %r14 testq %r14, %r14 je 0x1e9fd5 movq %rdx, %r15 movq %rdi, %rbx movq %rdx, %rdi callq 0x1a1016 cmpq $0x41, %rax jne 0x1ea052 leaq 0x10(%rsp), %r12 movq %r12, %rdi movq %r15, %rsi callq 0x1a1008 movq (%r12), %r12 movq %r15, %rdi callq...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_secp256k1.cpp
cfd::core::Secp256k1::MulTweakPrivkeySecp256k1Ec(cfd::core::ByteData const&, cfd::core::ByteData const&)
ByteData Secp256k1::MulTweakPrivkeySecp256k1Ec( const ByteData& privkey, const ByteData& tweak) { if (secp256k1_context_ == NULL) { warn(CFD_LOG_SOURCE, "Secp256k1 context is NULL."); throw CfdException( CfdError::kCfdIllegalArgumentError, "Secp256k1 context is NULL."); } if (privkey.GetDataSi...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp cmpq $0x0, (%rsi) je 0x1ea608 movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx movq %rdx, %rdi callq 0x1a1016 cmpq $0x20, %rax jne 0x1ea685 movq %r14, %rdi callq 0x1a1016 cmpq $0x20, %rax jne 0x1ea703 movq (%r12), %r12 leaq 0x30(%rsp...
/p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_secp256k1.cpp