name
string
code
string
asm
string
file
string
cfd::core::DescriptorNode::AnalyzeChild(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int)
void DescriptorNode::AnalyzeChild( const std::string& descriptor, uint32_t depth) { bool is_terminate = false; size_t offset = 0; uint32_t depth_work = depth; bool exist_child_node = false; depth_ = depth; std::string descriptor_main; info(CFD_LOG_SOURCE, "AnalyzeChild = {}", descriptor); for (size...
pushq %rbp movq %rsp, %rbp subq $0x720, %rsp # imm = 0x720 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x6a0(%rbp) movb $0x0, -0x15(%rbp) movq $0x0, -0x20(%rbp) movl -0x14(%rbp), %ecx movl %ecx, -0x24(%rbp) movb $0x0, -0x25(%rbp) movl -0x14(%rbp), %ec...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::AnalyzeAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void DescriptorNode::AnalyzeAll(const std::string& parent_name) { if (node_type_ == DescriptorNodeType::kDescriptorTypeNumber) { return; } if (node_type_ == DescriptorNodeType::kDescriptorTypeKey) { AnalyzeKey(); return; } if (name_.empty()) { warn(CFD_LOG_SOURCE, "Failed to name field empty. ...
pushq %rbp movq %rsp, %rbp subq $0x1030, %rsp # imm = 0x1030 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xdd0(%rbp) cmpl $0x3, 0x120(%rax) jne 0x17d35c jmp 0x17fd51 movq -0xdd0(%rbp), %rax cmpl $0x2, 0x120(%rax) jne 0x17d37d movq -0xdd0(%rbp), %rdi callq 0x1209d0 jmp 0x17fd...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::GetNeedArgumentNum() const
uint32_t DescriptorNode::GetNeedArgumentNum() const { uint32_t result = need_arg_num_; if (!child_node_.empty()) { for (const auto& child : child_node_) { result += child.GetNeedArgumentNum(); } } return result; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x38(%rbp) movl 0x11c(%rdi), %eax movl %eax, -0xc(%rbp) addq $0xb0, %rdi callq 0x11ea10 testb $0x1, %al jne 0x17fe01 movq -0x38(%rbp), %rax addq $0xb0, %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi callq 0x131720 mo...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::CheckChecksum(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void DescriptorNode::CheckChecksum(const std::string& descriptor) { if (checksum_.size() != 8) { warn( CFD_LOG_SOURCE, "Expected 8 character checksum, not {} characters.", checksum_.size()); throw CfdException( CfdError::kCfdIllegalArgumentError, "Expected 8 character checksum."); } ...
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x110(%rbp) addq $0xf8, %rdi callq 0x124260 cmpq $0x8, %rax je 0x180026 leaq 0x1024f6(%rip), %rdi # 0x282411 movl $0x2f, %esi callq 0x12a5c0 movq -0x110(%rbp), %rdi inc...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::AnalyzeKey()
void DescriptorNode::AnalyzeKey() { // key analyze key_info_ = value_; if (value_[0] == '[') { // key origin information check // cut to ']' auto pos = value_.find("]"); if (pos != std::string::npos) { key_info_ = value_.substr(pos + 1); } } // derive key check (xpub,etc) info(CFD_...
pushq %rbp movq %rsp, %rbp subq $0x7f0, %rsp # imm = 0x7F0 movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x6f0(%rbp) movq %rdi, %rsi addq $0x20, %rsi addq $0x40, %rdi callq 0x11b5d0 movq -0x6f0(%rbp), %rdi addq $0x20, %rdi xorl %eax, %eax movl %eax, %esi callq 0x136880 movsbl (%rax), %eax cmpl $0x5...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::AnalyzeScriptTree()
void DescriptorNode::AnalyzeScriptTree() { auto desc = value_; uint32_t script_depth = 0; size_t offset = 0; std::string tapscript; uint32_t tapleaf_count = 0; std::string temp_name; for (size_t idx = 0; idx < desc.size(); ++idx) { const char& str = desc[idx]; if ((str == ' ') || (str == '{')) { ...
pushq %rbp movq %rsp, %rbp subq $0x710, %rsp # imm = 0x710 movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rsi movq %rsi, -0x6a0(%rbp) addq $0x20, %rsi leaq -0x28(%rbp), %rdi callq 0x1202c0 movl $0x0, -0x2c(%rbp) movq $0x0, -0x38(%rbp) leaq -0x58(%rbp), %rdi callq 0x12e3e0 movl $0x0, -0x5c(%rbp) leaq -0x80(%rbp), %r...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::GetTapBranch(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>*) const
TapBranch DescriptorNode::GetTapBranch( std::vector<std::string>* array_argument) const { static auto sort_func = [](const std::string& src, const std::string& dest) { return src.length() > dest.length(); }; std::vector<std::string> key_list; for (const auto& tree_node : tree_node_) { key_list.empla...
pushq %rbp movq %rsp, %rbp subq $0x930, %rsp # imm = 0x930 movq %rdi, -0x8f8(%rbp) movq %rdi, %rax movq %rax, -0x8f0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x8e8(%rbp) leaq -0x30(%rbp), %rdi callq 0x133f50 movq -0x8e8(%rbp), %rax addq $0xc...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::GetReferences(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>*, cfd::core::DescriptorNode const*) const
std::vector<DescriptorScriptReference> DescriptorNode::GetReferences( std::vector<std::string>* array_argument, const DescriptorNode* parent) const { if ((depth_ == 0) && (array_argument) && (array_argument->size() > 1)) { std::reverse(array_argument->begin(), array_argument->end()); } std::vector<Des...
pushq %rbp movq %rsp, %rbp subq $0x1be0, %rsp # imm = 0x1BE0 movq %rdi, -0x1ad0(%rbp) movq %rdi, %rax movq %rax, -0x1ac8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x1ac0(%rbp) cmpl $0x0, 0x118(%rax) jne 0x1830ad cmpq $0x...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::GetKeyReferences(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>*) const
DescriptorKeyReference DescriptorNode::GetKeyReferences( std::vector<std::string>* array_argument) const { DescriptorKeyReference result; Pubkey pubkey; std::string using_key = key_info_; KeyData key_data; if (key_type_ == DescriptorKeyType::kDescriptorKeyPublic) { pubkey = Pubkey(key_info_); resu...
pushq %rbp movq %rsp, %rbp subq $0x1cf0, %rsp # imm = 0x1CF0 movq %rdi, -0x1c20(%rbp) movq %rdi, %rax movq %rax, -0x1c18(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x1c10(%rbp) movb $0x0, -0x19(%rbp) callq 0x121770 leaq -0x38(%rbp), %rdi callq ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::DescriptorNode::ToString[abi:cxx11](bool) const
std::string DescriptorNode::ToString(bool append_checksum) const { std::string result; info(CFD_LOG_SOURCE, "name={}, value={}", name_, value_); if (name_.empty() || (name_ == "miniscript")) { result = value_; } else if (child_node_.empty()) { result = name_ + "(" + value_ + ")"; } else { result ...
pushq %rbp movq %rsp, %rbp subq $0x180, %rsp # imm = 0x180 movq %rdi, -0x178(%rbp) movb %dl, %al movq %rdi, %rcx movq %rcx, -0x170(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) andb $0x1, %al movb %al, -0x11(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x168(%rbp) movb $0x0, -0x12(%rbp) callq 0x12e3e0 leaq ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::Descriptor::CreateDescriptor(std::vector<cfd::core::DescriptorScriptType, std::allocator<cfd::core::DescriptorScriptType>> const&, std::vector<cfd::core::DescriptorKeyInfo, std::allocator<cfd::core::DescriptorKeyInfo>> const&, unsigned int, std::vector<cfd::core::AddressFormatData, std::allocator<cfd::core::...
Descriptor Descriptor::CreateDescriptor( const std::vector<DescriptorScriptType>& type_list, const std::vector<DescriptorKeyInfo>& key_info_list, uint32_t require_num, const std::vector<AddressFormatData>* network_parameters) { if (type_list.empty()) { warn(CFD_LOG_SOURCE, "Failed to type list."); ...
pushq %rbp movq %rsp, %rbp subq $0x4e0, %rsp # imm = 0x4E0 movq %rdi, -0x460(%rbp) movq %rdi, %rax movq %rax, -0x458(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x132670 testb $0x1, %al jne 0x1863b1 jmp 0x...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::Descriptor::GetLockingScript() const
Script Descriptor::GetLockingScript() const { if (GetNeedArgumentNum() != 0) { warn(CFD_LOG_SOURCE, "Failed to empty argument. {}", GetNeedArgumentNum()); throw CfdException( CfdError::kCfdIllegalArgumentError, "Failed to empty argument. need argument descriptor."); } std::vector<std::stri...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0xb0(%rbp) movq %rdi, %rax movq %rax, -0xa8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0xa0(%rbp) callq 0x133260 cmpl $0x0, %eax je 0x187337 leaq 0xfb1dd(%rip), %rdi # 0x282411 movl $0x2f, %esi callq 0x12a5c0 movq -0x...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::Descriptor::GetLockingScript(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
Script Descriptor::GetLockingScript(const std::string& argument) const { std::vector<std::string> list; for (uint32_t index = 0; index < GetNeedArgumentNum(); ++index) { list.push_back(argument); } return GetLockingScriptAll(&list)[0]; }
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x78(%rbp) movq %rdi, %rax movq %rax, -0x70(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x68(%rbp) leaq -0x30(%rbp), %rdi callq 0x133f50 movl $0x0, -0x34(%rbp) movq -0x68(%rbp), %rdi movl -0x34(%rbp)...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::Descriptor::GetKeyData() const
KeyData Descriptor::GetKeyData() const { if (GetNeedArgumentNum() != 0) { warn(CFD_LOG_SOURCE, "Failed to empty argument. {}", GetNeedArgumentNum()); throw CfdException( CfdError::kCfdIllegalArgumentError, "Failed to empty argument. need argument descriptor."); } std::vector<std::string> l...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0xb8(%rbp) movq %rdi, %rax movq %rax, -0xb0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0xa8(%rbp) callq 0x133260 cmpl $0x0, %eax je 0x187987 leaq 0xfab8d(%rip), %rdi # 0x282411 movl $0x2f, %esi callq 0x12a5c0 movq -0x...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::Descriptor::GetKeyDataAll(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const*) const
std::vector<KeyData> Descriptor::GetKeyDataAll( const std::vector<std::string>* array_argument) const { std::vector<DescriptorScriptReference> ref_list = GetReferenceAll(array_argument); std::vector<KeyData> result; for (const auto& ref : ref_list) { auto script_data = ref; do { if (scrip...
pushq %rbp movq %rsp, %rbp subq $0x8b0, %rsp # imm = 0x8B0 movq %rdi, -0x898(%rbp) movq %rdi, %rax movq %rax, -0x8a0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rsi movq -0x18(%rbp), %rdx leaq -0x30(%rbp), %rdi callq 0x129410 movq -0x898(%rbp), %rdi movb $0x0,...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::Descriptor::GetKeyData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
KeyData Descriptor::GetKeyData(const std::string& argument) const { std::vector<std::string> list; for (uint32_t index = 0; index < GetNeedArgumentNum(); ++index) { list.push_back(argument); } return GetKeyData(list); }
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x60(%rbp) movq %rdi, %rax movq %rax, -0x58(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x50(%rbp) leaq -0x30(%rbp), %rdi callq 0x133f50 movl $0x0, -0x34(%rbp) movq -0x50(%rbp), %rdi movl -0x34(%rbp)...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::Descriptor::GetKeyData(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const
KeyData Descriptor::GetKeyData( const std::vector<std::string>& array_argument) const { std::vector<std::string> copy_list = array_argument; auto key_list = GetKeyDataAll(&copy_list); if (key_list.empty()) return KeyData(); return key_list[0]; }
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x78(%rbp) movq %rdi, %rax movq %rax, -0x70(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x18(%rbp), %rsi leaq -0x30(%rbp), %rdi movq %rdi, -0x60(%rbp) callq 0x12ee70 movq -0x68(%rbp)...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_descriptor.cpp
cfd::core::ExtPrivkey::~ExtPrivkey()
class CFD_CORE_EXPORT ExtPrivkey { public: /** * @brief bip32 serialize size */ static constexpr uint32_t kSerializeSize = 78; // BIP32_SERIALIZED_LEN /** * @brief hardened key definition */ static constexpr uint32_t kHardenedKey = 0x80000000; /** * @brief mainnet privkey version (BIP32_VER_M...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) addq $0x60, %rdi callq 0x136cf8 movq -0x10(%rbp), %rdi addq $0x40, %rdi callq 0x12a6e0 movq -0x10(%rbp), %rdi addq $0x28, %rdi callq 0x136cf8 movq -0x10(%rbp), %rdi callq 0x127380 addq $0x10, %rsp popq %rbp re...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_hdwallet.h
cfd::core::Privkey::~Privkey()
class CFD_CORE_EXPORT Privkey { public: /** * @brief Private key byte size */ static constexpr uint32_t kPrivkeySize = 32; // EC_PRIVATE_KEY_LEN /** * @brief default constructor. */ Privkey(); /** * @brief constructor. * @param[in] byte_data ByteData object. * @param[in] net_type Mainn...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x127380 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_key.h
cfd::core::ExtPrivkey::operator=(cfd::core::ExtPrivkey&&)
class CFD_CORE_EXPORT ExtPrivkey { public: /** * @brief bip32 serialize size */ static constexpr uint32_t kSerializeSize = 78; // BIP32_SERIALIZED_LEN /** * @brief hardened key definition */ static constexpr uint32_t kHardenedKey = 0x80000000; /** * @brief mainnet privkey version (BIP32_VER_M...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x133c00 movq -0x18(%rbp), %rdi movq -0x10(%rbp), %rax movq 0x18(%rax), %rcx movq %rcx, 0x18(%rdi) movq 0x20(%rax), %rax movq %rax, 0x20(%rdi) addq $0x28, %r...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_hdwallet.h
cfd::core::ExtPubkey::operator=(cfd::core::ExtPubkey&&)
class CFD_CORE_EXPORT ExtPubkey { public: /** * @brief mainnet pubkey version (BIP32_VER_MAIN_PUBLIC) */ static constexpr uint32_t kVersionMainnetPubkey = 0x0488b21e; /** * @brief testnet pubkey version (BIP32_VER_TEST_PUBLIC) */ static constexpr uint32_t kVersionTestnetPubkey = 0x043587cf; /** ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x133c00 movq -0x18(%rbp), %rdi movq -0x10(%rbp), %rax movq 0x18(%rax), %rcx movq %rcx, 0x18(%rdi) movq 0x20(%rax), %rax movq %rax, 0x20(%rdi) addq $0x28, %r...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_hdwallet.h
cfd::core::ExtPubkey::~ExtPubkey()
class CFD_CORE_EXPORT ExtPubkey { public: /** * @brief mainnet pubkey version (BIP32_VER_MAIN_PUBLIC) */ static constexpr uint32_t kVersionMainnetPubkey = 0x0488b21e; /** * @brief testnet pubkey version (BIP32_VER_TEST_PUBLIC) */ static constexpr uint32_t kVersionTestnetPubkey = 0x043587cf; /** ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) addq $0x58, %rdi callq 0x136cf8 movq -0x10(%rbp), %rdi addq $0x40, %rdi callq 0x11d680 movq -0x10(%rbp), %rdi addq $0x28, %rdi callq 0x136cf8 movq -0x10(%rbp), %rdi callq 0x127380 addq $0x10, %rsp popq %rbp re...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_hdwallet.h
cfd::core::SchnorrPubkey::operator=(cfd::core::SchnorrPubkey const&)
class CFD_CORE_EXPORT SchnorrPubkey { public: /** * @brief Size of a Schnorr public key. * */ static constexpr uint32_t kSchnorrPubkeySize = 32; /** * @brief Default constructor. */ SchnorrPubkey(); /** * @brief Construct a new SchnorrPubkey object from ByteData * * @param data the dat...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x1210a0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopl (%rax,%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_schnorrsig.h
cfd::core::Privkey::operator=(cfd::core::Privkey&&)
class CFD_CORE_EXPORT Privkey { public: /** * @brief Private key byte size */ static constexpr uint32_t kPrivkeySize = 32; // EC_PRIVATE_KEY_LEN /** * @brief default constructor. */ Privkey(); /** * @brief constructor. * @param[in] byte_data ByteData object. * @param[in] net_type Mainn...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x133c00 movq -0x18(%rbp), %rax movq -0x10(%rbp), %rcx movq 0x18(%rcx), %rcx movq %rcx, 0x18(%rax) addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_key.h
cfd::core::Pubkey::Pubkey(cfd::core::Pubkey const&)
class CFD_CORE_EXPORT Pubkey { public: /** * @brief Uncompress Pubkey byte size */ static constexpr uint32_t kPubkeySize = 65; /** * @brief Compress Pubkey byte size */ static constexpr uint32_t kCompressedPubkeySize = 33; /** * @brief constructor */ Pubkey(); /** * @brief construc...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x12d660 addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_key.h
cfd::core::KeyData::~KeyData()
class CFD_CORE_EXPORT KeyData { public: /** * @brief constructor. */ KeyData(); /** * @brief Get key text information from ext-privkey. * @param[in] ext_privkey privkey * @param[in] child_path bip32 path for child. * @param[in] finterprint master-pubkey fingerprint */ explicit KeyDa...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) addq $0x138, %rdi # imm = 0x138 callq 0x127380 movq -0x10(%rbp), %rdi addq $0x120, %rdi # imm = 0x120 callq 0x136a60 movq -0x10(%rbp), %rdi addq $0xb0, %rdi callq 0x127700 movq -0x10(%rbp...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_hdwallet.h
cfd::core::DescriptorScriptReference::~DescriptorScriptReference()
class CFD_CORE_EXPORT DescriptorScriptReference { public: /** * @brief constructor. */ DescriptorScriptReference(); /** * @brief constructor. * @details `raw` type only. * @param[in] locking_script locking script * @param[in] script_type script type * @param[in] address_prefixes ad...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) addq $0x338, %rdi # imm = 0x338 callq 0x136d18 movq -0x10(%rbp), %rdi addq $0x320, %rdi # imm = 0x320 callq 0x12ff40 movq -0x10(%rbp), %rdi addq $0x310, %rdi # imm = 0x310 call...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_descriptor.h
cfd::core::DescriptorNode::~DescriptorNode()
class CFD_CORE_EXPORT DescriptorNode { public: /** * @brief parse output descriptor. * @param[in] output_descriptor output descriptor * @param[in] network_parameters network parameter * @return DescriptorNode object */ static DescriptorNode Parse( const std::string& output_descriptor, ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) addq $0x148, %rdi # imm = 0x148 callq 0x136ce8 movq -0x10(%rbp), %rdi addq $0x130, %rdi # imm = 0x130 callq 0x136d18 movq -0x10(%rbp), %rdi addq $0xf8, %rdi callq 0x136ce8 movq -0x10(%rbp...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_descriptor.h
cfd::core::AddressFormatData::~AddressFormatData()
class CFD_CORE_EXPORT AddressFormatData { public: /** * @brief constructor. */ AddressFormatData(); /** * @brief constructor. * @param[in] default_format_name default format name */ explicit AddressFormatData(const std::string& default_format_name); /** * @brief constructor. * @param...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x12cbc0 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_address.h
void cfd::core::logger::log<int&, unsigned long&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, int&, unsigned long&)
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 %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x98(%rbp) movl %esi, -0x9c(%rbp) movq %rdx, -0xa8(%rbp) movq %rcx, -0xb0(%rbp) movq %r8, -0xb8(%rbp) movl -0x9c(%rbp), %edi callq 0x12e900 testb $0x1, %al jne 0x198031 jmp 0x198147 movq -0xb0(%rbp), %rcx movq -0xb8(%rbp), %rax leaq -0xd8...
/p2pderivatives[P]cfd-js/external/cfd-core/src/include/cfdcore/cfdcore_logger.h
fmt::v7::format_arg_store<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>, std::remove_reference<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::type, std::remove_reference<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> ...
inline auto make_args_checked(const S& format_str, const remove_reference_t<Args>&... args) -> format_arg_store<buffer_context<Char>, remove_reference_t<Args>...> { static_assert( detail::count<( std::is_base_of<detail::view, remove_reference_t<Args>>::value && ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, %rax movq %rax, -0x28(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x8(%rbp) movq -0x18(%rbp), %rsi movq -0x20(%rbp), %rdx callq 0x132e30 movq -0x28(%rbp), %rax addq $0x30, %rsp popq %rbp retq nopw (%...
/p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/core.h
cfd::core::KeyData::KeyData(cfd::core::KeyData&&)
class CFD_CORE_EXPORT KeyData { public: /** * @brief constructor. */ KeyData(); /** * @brief Get key text information from ext-privkey. * @param[in] ext_privkey privkey * @param[in] child_path bip32 path for child. * @param[in] finterprint master-pubkey fingerprint */ explicit KeyDa...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x1267b0 movq -0x18(%rbp), %rdi addq $0x18, %rdi movq -0x10(%rbp), %rsi addq $0x18, %rsi callq 0x11da00 movq -0x18(%rbp), %rdi addq $0x38, %rdi movq -0x10(%r...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_hdwallet.h
cfd::core::ExtPrivkey::ExtPrivkey(cfd::core::ExtPrivkey&&)
class CFD_CORE_EXPORT ExtPrivkey { public: /** * @brief bip32 serialize size */ static constexpr uint32_t kSerializeSize = 78; // BIP32_SERIALIZED_LEN /** * @brief hardened key definition */ static constexpr uint32_t kHardenedKey = 0x80000000; /** * @brief mainnet privkey version (BIP32_VER_M...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x11eb20 movq -0x18(%rbp), %rdi movq -0x10(%rbp), %rax movq 0x18(%rax), %rcx movq %rcx, 0x18(%rdi) movq 0x20(%rax), %rax movq %rax, 0x20(%rdi) addq $0x28, %r...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_hdwallet.h
cfd::core::ByteData256::ByteData256(cfd::core::ByteData256&&)
class CFD_CORE_EXPORT ByteData256 { public: /** * @brief default constructor */ ByteData256(); /** * @brief constructor * @param[in] vector byte array(32byte). */ ByteData256(const std::vector<uint8_t>& vector); // NOLINT /** * @brief constructor * @param[in] hex hex string. */ ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x12ca30 addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_bytedata.h
cfd::core::ScriptWitness::SetWitnessStack(unsigned int, cfd::core::ByteData const&)
void ScriptWitness::SetWitnessStack(uint32_t index, const ByteData &data) { if (witness_stack_.size() <= index) { warn(CFD_LOG_SOURCE, "WitnessStack[{}] out_of_range.", index); throw CfdException(kCfdOutOfRangeError, "vin out_of_range error."); } witness_stack_[index] = data; }
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x70(%rbp) addq $0x8, %rdi callq 0x129a20 movl -0xc(%rbp), %ecx cmpq %rcx, %rax ja 0x19fd76 leaq 0xe3836(%rip), %rdi # 0x2834d0 movl $0x2f, %esi callq 0x12a5c0 incq %rax m...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::ScriptWitness::Serialize() const
ByteData ScriptWitness::Serialize() const { std::vector<ByteData> buffer_array; ByteData stack_count = ByteData::GetVariableInt(witness_stack_.size()); buffer_array.push_back(stack_count); for (const ByteData &stack : witness_stack_) { buffer_array.push_back(stack.Serialize()); } std::vector<uint8_t> r...
pushq %rbp movq %rsp, %rbp subq $0x130, %rsp # imm = 0x130 movq %rdi, -0x118(%rbp) movq %rdi, %rax movq %rax, -0x110(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x108(%rbp) leaq -0x28(%rbp), %rdi callq 0x11f120 movq -0x108(%rbp), %rdi addq $0x8, %rdi callq 0x129a20 m...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::operator<(cfd::core::OutPoint const&, cfd::core::OutPoint const&)
bool operator<(const OutPoint &source, const OutPoint &dest) { int comp = source.Compare(dest); if (comp == 0) { return false; } else if (comp > 0) { return true; } else { return false; } }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0x12daa0 movl %eax, -0x1c(%rbp) cmpl $0x0, -0x1c(%rbp) jne 0x1a122c movb $0x0, -0x1(%rbp) jmp 0x1a123c cmpl $0x0, -0x1c(%rbp) jle 0x1a1238 movb $0x1, -0x1(%rbp) jmp 0x1a123c movb...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::GetVersion() const
int32_t AbstractTransaction::GetVersion() const { struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); // Type is matched to bitcoin-core // return reinterpret_cast<int32_t>(tx_pointer-> version); // VC ++ errors and warnings appear, so change to pointer cast int32_t *p_versi...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movl (%rax), %eax popq %rbp retq nopw %cs:(%rax,%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::RemoveTxIn(unsigned int)
void AbstractTransaction::RemoveTxIn(uint32_t index) { CheckTxInIndex(index, __LINE__, __FUNCTION__); int ret = wally_tx_remove_input( static_cast<struct wally_tx *>(wally_tx_pointer_), index); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_tx_remove_input NG[{}].", ret); throw CfdException(kCf...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x68(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movl $0x175, %edx # imm = 0x175 leaq 0xe1e43(%rip), %rcx # 0x28362f callq *0x58(%rax) movq -0x68(%rbp), %rax movq 0x8(%rax), %rdi mo...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::AddScriptWitnessStack(unsigned int, std::vector<unsigned char, std::allocator<unsigned char>> const&)
void AbstractTransaction::AddScriptWitnessStack( uint32_t tx_in_index, const std::vector<uint8_t> &data) { CheckTxInIndex(tx_in_index, __LINE__, __FUNCTION__); struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); if (tx_pointer->num_inputs > tx_in_index) { int ret = WALL...
pushq %rbp movq %rsp, %rbp subq $0x110, %rsp # imm = 0x110 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0xc8(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movl $0x1b2, %edx # imm = 0x1B2 leaq 0xe17a4(%rip), %rcx # 0x283757 callq *0x58(%ra...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::RemoveScriptWitnessStackAll(unsigned int)
void AbstractTransaction::RemoveScriptWitnessStackAll(uint32_t tx_in_index) { CheckTxInIndex(tx_in_index, __LINE__, __FUNCTION__); struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); if (tx_pointer->num_inputs > tx_in_index) { struct wally_tx_witness_stack *stack_pointer = ...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x80(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movl $0x208, %edx # imm = 0x208 leaq 0xe1183(%rip), %rcx # 0x28383f callq *0x58(%rax) movq -0x80(%rbp), %rax movq 0x8(%rax), %rax mo...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq $0x0, -0x10(%rbp) movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi leaq -0x10(%rbp), %rsi callq 0x12da30 movl %eax, -0x1c(%rbp) cmpl $0x0, -0x1c(%rbp) je 0x1a2e80 leaq 0xe072c(%rip), %rdi # 0x2834d0 movl $...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::AbstractTransaction::GetWeight() const
uint32_t AbstractTransaction::GetWeight() const { size_t weight = 0; struct wally_tx *tx_pointer = static_cast<struct wally_tx *>(wally_tx_pointer_); int ret = wally_tx_get_weight(tx_pointer, &weight); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "wally_tx_get_weight NG[{}].", ret); throw CfdExcept...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq $0x0, -0x10(%rbp) movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi leaq -0x10(%rbp), %rsi callq 0x12ef20 movl %eax, -0x1c(%rbp) cmpl $0x0, -0x1c(%rbp) je 0x1a2fc0 leaq 0xe05ec(%rip), %rdi # 0x2834d0 movl $...
/p2pderivatives[P]cfd-js/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...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movb $0x0, -0x9(%rbp) movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0x1a341e movq $0x0, -0x20(%rbp) movq -0x18(%rbp), %rdi leaq -0x20(%rbp), %rsi callq 0x1293d0 movl %eax, -0x24(%rbp) cmpl $0x0, -0x24(%rbp) j...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction_common.cpp
cfd::core::ScriptWitness::ScriptWitness(cfd::core::ScriptWitness const&)
class CFD_CORE_EXPORT ScriptWitness { public: /** * @brief constructor. */ ScriptWitness() : witness_stack_() { // do nothing } /** * @brief destructor. */ virtual ~ScriptWitness() { // do nothing } /** * @brief Get the witness stack. * @return witness stack */ const std::v...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq 0x149585(%rip), %rax # 0x2ece50 addq $0x10, %rax movq %rax, (%rdi) addq $0x8, %rdi movq -0x10(%rbp), %rsi addq $0x8, %rsi callq 0x1230d0 addq $0x10, %rsp popq %rbp retq nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction_common.h
cfd::core::ScriptWitness::operator=(cfd::core::ScriptWitness const&)
class CFD_CORE_EXPORT ScriptWitness { public: /** * @brief constructor. */ ScriptWitness() : witness_stack_() { // do nothing } /** * @brief destructor. */ virtual ~ScriptWitness() { // do nothing } /** * @brief Get the witness stack. * @return witness stack */ const std::v...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) addq $0x8, %rdi movq -0x10(%rbp), %rsi addq $0x8, %rsi callq 0x129ce0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction_common.h
void cfd::core::logger::log<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, 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 %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x98(%rbp) movl %esi, -0x9c(%rbp) movq %rdx, -0xa8(%rbp) movq %rcx, -0xb0(%rbp) movq %r8, -0xb8(%rbp) movl -0x9c(%rbp), %edi callq 0x12e900 testb $0x1, %al jne 0x1a3f21 jmp 0x1a4037 movq -0xb0(%rbp), %rcx movq -0xb8(%rbp), %rax leaq -0xd8...
/p2pderivatives[P]cfd-js/external/cfd-core/src/include/cfdcore/cfdcore_logger.h
cfd::core::TxIn::EstimateTxInVsize(cfd::core::AddressType, cfd::core::Script, cfd::core::Script const*)
uint32_t TxIn::EstimateTxInVsize( AddressType addr_type, Script redeem_script, const Script *scriptsig_template) { uint32_t witness_size = 0; uint32_t no_witness_size = 0; TxIn::EstimateTxInSize( addr_type, redeem_script, &witness_size, &no_witness_size, scriptsig_template); return AbstractT...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movl $0x0, -0x20(%rbp) movl -0x4(%rbp), %eax movl %eax, -0x74(%rbp) leaq -0x58(%rbp), %rdi movq %rdi, -0x70(%rbp) callq 0x120c20 movl -0x74(%rbp), %edi movq -0x70(%rbp), %rsi movq -0x18...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetVsize() const
uint32_t Transaction::GetVsize() const { size_t vsize = 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)) { vsize = stat...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movq $0x0, -0x10(%rbp) movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax cmpq $0x0, 0x10(%rax) jne 0x1a6494 movq -0x18(%rbp), %rax cmpq $0x0, 0x28(%rax) jne 0x1a6494 movq $0xa, -0x10(%rbp) jmp...
/p2pderivatives[P]cfd-js/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...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movq $0x0, -0x10(%rbp) movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax cmpq $0x0, 0x10(%rax) jne 0x1a64f4 movq -0x18(%rbp), %rax cmpq $0x0, 0x28(%rax) jne 0x1a64f4 movq $0x28, -0x10(%rbp) jm...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::Transaction::GetTxInIndex(cfd::core::Txid const&, unsigned int) const
uint32_t Transaction::GetTxInIndex(const Txid &txid, uint32_t vout) const { for (size_t i = 0; i < vin_.size(); ++i) { if (vin_[i].GetTxid().Equals(txid) && vin_[i].GetVout() == vout) { return static_cast<uint32_t>(i); } } warn(CFD_LOG_SOURCE, "Txid is not found."); throw CfdException(kCfdIllegalA...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x98(%rbp) movq $0x0, -0x20(%rbp) movq -0x98(%rbp), %rdi movq -0x20(%rbp), %rax movq %rax, -0xa0(%rbp) addq $0x10, %rdi callq 0x12e7a0 movq %rax, %rcx movq -0xa0(%rbp), %rax ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_transaction.cpp
cfd::core::TxIn::TxIn(cfd::core::TxIn const&)
class CFD_CORE_EXPORT TxIn : public AbstractTxIn { public: /** * @brief Minimum TxIn size * @details txid(32), vout(4), sequence(4), scriptLength(1) */ static constexpr const size_t kMinimumTxInSize = 41; /** * @brief estimate txin's size, and witness size. * @param[in] addr_type address ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x12c290 movq -0x18(%rbp), %rax movq 0x140cec(%rip), %rcx # 0x2ecae8 addq $0x10, %rcx movq %rcx, (%rax) addq $0x20, %rsp popq %rbp retq nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction.h
cfd::core::TxIn::operator=(cfd::core::TxIn const&)
class CFD_CORE_EXPORT TxIn : public AbstractTxIn { public: /** * @brief Minimum TxIn size * @details txid(32), vout(4), sequence(4), scriptLength(1) */ static constexpr const size_t kMinimumTxInSize = 41; /** * @brief estimate txin's size, and witness size. * @param[in] addr_type address ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x11f8c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopl (%rax,%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction.h
cfd::core::TxOut::TxOut(cfd::core::TxOut const&)
class CFD_CORE_EXPORT TxOut : public AbstractTxOut { public: /** * @brief constructor */ TxOut(); /** * @brief constructor * @param[in] value amount value. * @param[in] locking_script locking script. */ TxOut(const Amount& value, const Script& locking_script); /** * @brief...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x136a50 movq -0x18(%rbp), %rax movq 0x14094c(%rip), %rcx # 0x2eca58 addq $0x10, %rcx movq %rcx, (%rax) addq $0x20, %rsp popq %rbp retq nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction.h
cfd::core::AbstractTxOut::AbstractTxOut(cfd::core::AbstractTxOut const&)
class CFD_CORE_EXPORT AbstractTxOut { public: /** * @brief constructor */ AbstractTxOut(); /** * @brief constructor * @param[in] value amount value. * @param[in] locking_script locking script. */ AbstractTxOut(const Amount& value, const Script& locking_script); /** * @brie...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq 0x13ff8d(%rip), %rax # 0x2ec7f8 addq $0x10, %rax movq %rax, (%rdi) movq -0x10(%rbp), %rax movq 0x8(%rax), %rcx movq %rcx, 0x8(%rdi) movq 0x10(%rax), %rax movq %rax, 0x10(%rdi) addq $0x18, %rdi movq -0x...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction_common.h
cfd::core::TxOut::operator=(cfd::core::TxOut const&)
class CFD_CORE_EXPORT TxOut : public AbstractTxOut { public: /** * @brief constructor */ TxOut(); /** * @brief constructor * @param[in] value amount value. * @param[in] locking_script locking script. */ TxOut(const Amount& value, const Script& locking_script); /** * @brief...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x124e80 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopl (%rax,%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction.h
cfd::core::AbstractTxOut::operator=(cfd::core::AbstractTxOut const&)
class CFD_CORE_EXPORT AbstractTxOut { public: /** * @brief constructor */ AbstractTxOut(); /** * @brief constructor * @param[in] value amount value. * @param[in] locking_script locking script. */ AbstractTxOut(const Amount& value, const Script& locking_script); /** * @brie...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rax movq 0x8(%rax), %rcx movq %rcx, 0x8(%rdi) movb 0x10(%rax), %al movb %al, 0x10(%rdi) addq $0x18, %rdi movq -0x10(%rbp), %rsi addq $0x18, %rsi callq 0x1329b0 movq -0...
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction_common.h
cfd::core::TxInReference::TxInReference(cfd::core::TxInReference const&)
class CFD_CORE_EXPORT TxInReference : public AbstractTxInReference { public: /** * @brief constructor. * @param[in] tx_in TxIn instance to reference */ explicit TxInReference(const TxIn& tx_in); /** * @brief default constructor. */ TxInReference() : TxInReference(TxIn(Txid(), 0, 0)) { // do ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x135930 movq -0x18(%rbp), %rax movq 0x13d28c(%rip), %rcx # 0x2ecc88 addq $0x10, %rcx movq %rcx, (%rax) addq $0x20, %rsp popq %rbp retq nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction.h
cfd::core::TxOutReference::TxOutReference(cfd::core::TxOutReference const&)
class CFD_CORE_EXPORT TxOutReference : public AbstractTxOutReference { public: /** * @brief constructor * @param[in] tx_out TxOut instance */ explicit TxOutReference(const TxOut& tx_out); /** * @brief default constructor. */ TxOutReference() : TxOutReference(TxOut()) { // do nothing } /...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x1314d0 movq -0x18(%rbp), %rax movq 0x13bee4(%rip), %rcx # 0x2ec840 addq $0x10, %rcx movq %rcx, (%rax) addq $0x20, %rsp popq %rbp retq nopl (%rax)
/p2pderivatives[P]cfd-js/external/cfd-core/src/../include/cfdcore/cfdcore_transaction.h
cfd::core::HDWallet::HDWallet(cfd::core::ByteData const&)
HDWallet::HDWallet(const ByteData& seed) : seed_(seed) { if ((seed.GetDataSize() != HDWallet::kSeed128Size) && (seed.GetDataSize() != HDWallet::kSeed256Size) && (seed.GetDataSize() != HDWallet::kSeed512Size)) { throw CfdException( CfdError::kCfdIllegalArgumentError, "Seed length error."); } ...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x58(%rbp) movq -0x10(%rbp), %rsi callq 0x12d660 movq -0x10(%rbp), %rdi callq 0x11d620 movq %rax, -0x50(%rbp) jmp 0x1b1353 movq -0x50(%rbp), %rax cmpq $0x10, %rax je 0x1b144e movq -0x10(%rbp), %rdi...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::HDWallet::GeneratePrivkeyData(cfd::core::NetType, std::vector<unsigned int, std::allocator<unsigned int>> const&) const
KeyData HDWallet::GeneratePrivkeyData( NetType network_type, const std::vector<uint32_t>& path) const { ExtPrivkey privkey(seed_, network_type); ExtPrivkey key = privkey.DerivePrivkey(path); auto fingerprint = privkey.GetPrivkey().GeneratePubkey().GetFingerprint(); return KeyData(key, path, fingerprint); }
pushq %rbp movq %rsp, %rbp subq $0x190, %rsp # imm = 0x190 movq %rdi, -0x188(%rbp) movq %rdi, %rax movq %rax, -0x180(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rsi movl -0x14(%rbp), %edx leaq -0x98(%rbp), %rdi movq %rdi, -0x178(%rbp) ca...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::ExtPrivkey::GetExtPubkey() const
ExtPubkey ExtPrivkey::GetExtPubkey() const { struct ext_key extkey; const std::vector<uint8_t>& serialize_data = serialize_data_.GetBytes(); int ret = bip32_key_unserialize( serialize_data.data(), serialize_data.size(), &extkey); if (ret != WALLY_OK) { warn(CFD_LOG_SOURCE, "bip32_key_unserialize erro...
pushq %rbp movq %rsp, %rbp subq $0x230, %rsp # imm = 0x230 movq %rdi, -0x1f0(%rbp) movq %rdi, %rax movq %rax, -0x1e8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rsi movq %rsi, -0x1e0(%rbp) leaq -0xf0(%rbp), %rdi movq %rdi, -0x1d8(%rbp) callq 0x11f470 movq -0x1d8(%rbp), %rax movq %ra...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::HDWallet::CheckValidMnemonic(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const...
bool HDWallet::CheckValidMnemonic( const std::vector<std::string>& mnemonic, const std::string& language) { if (!CheckSupportedLanguages(language)) { warn( CFD_LOG_SOURCE, "Not support language passed. language=[{}]", language); throw CfdException( CfdError::kCfdIllegalArgumentErro...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0x11dca0 testb $0x1, %al jne 0x1b38c4 leaq 0xd092d(%rip), %rdi # 0x284115 movl $0x2f, %esi callq 0x12a5c0 incq %rax movq %rax, -0x28(%rbp) movl $0x181, -0x20(%rbp) # imm = 0x181 leaq 0xd09e7(%ri...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::ExtPrivkey::ExtPrivkey(cfd::core::ByteData const&, cfd::core::NetType)
ExtPrivkey::ExtPrivkey(const ByteData& seed, NetType network_type) { std::vector<uint8_t> seed_byte = seed.GetBytes(); if ((seed_byte.size() != HDWallet::kSeed128Size) && (seed_byte.size() != HDWallet::kSeed256Size) && (seed_byte.size() != HDWallet::kSeed512Size)) { throw CfdException( CfdEr...
pushq %rbp movq %rsp, %rbp subq $0x2a0, %rsp # imm = 0x2A0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x1f8(%rbp) movq %rdi, %rax movq %rax, -0x200(%rbp) callq 0x12fc40 movq -0x1f8(%rbp), %rdi movl $0x0, 0x18(%rdi) movl $0x0, 0x1c(%rdi) movb $0x0, 0x...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::ExtPrivkey::ExtPrivkey(cfd::core::NetType, cfd::core::ByteData const&, cfd::core::Privkey const&, cfd::core::ByteData256 const&, unsigned char, unsigned int)
ExtPrivkey::ExtPrivkey( NetType network_type, const ByteData& parent_fingerprint, const Privkey& privkey, const ByteData256& chain_code, uint8_t depth, uint32_t child_num) { if (!privkey.IsValid()) { warn(CFD_LOG_SOURCE, "invalid privkey."); throw CfdException( CfdError::kCfdIllegalArgumen...
pushq %rbp movq %rsp, %rbp subq $0x3d0, %rsp # imm = 0x3D0 movb %r9b, %al movl 0x10(%rbp), %r9d movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movb %al, -0x29(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x2d0(%rbp) movq %rdi, %rax movq %rax, -0x2d8...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::ExtPrivkey::DerivePrivkeyData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
KeyData ExtPrivkey::DerivePrivkeyData(const std::string& string_path) const { ExtPrivkey key = DerivePrivkey(string_path); auto fingerprint = privkey_.GeneratePubkey().GetFingerprint(); return KeyData(key, string_path, fingerprint); }
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0xe8(%rbp) movq %rdi, %rax movq %rax, -0xe0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rsi movq %rsi, -0xd8(%rbp) movq -0x18(%rbp), %rdx leaq -0x90(%rbp), %rdi callq 0x125030 movq -0xd8(%rbp), %rsi addq $0x40, %rsi...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::ExtPrivkey::DerivePubkeyData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
KeyData ExtPrivkey::DerivePubkeyData(const std::string& string_path) const { ExtPubkey key = DerivePubkey(string_path); auto fingerprint = privkey_.GeneratePubkey().GetFingerprint(); return KeyData(key, string_path, fingerprint); }
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0xe0(%rbp) movq %rdi, %rax movq %rax, -0xd8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rsi movq %rsi, -0xd0(%rbp) movq -0x18(%rbp), %rdx leaq -0x88(%rbp), %rdi callq 0x120000 movq -0xd0(%rbp), %rsi addq $0x40, %rsi...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_hdwallet.cpp
cfd::core::ComparePsbtData(unsigned char*, unsigned long, unsigned char const*, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
bool ComparePsbtData( uint8_t *src, size_t src_len, const uint8_t *dest, size_t dest_len, const std::string &item_name, const std::string &key, bool ignore_duplicate_error) { bool is_compare = false; if ((src_len == dest_len) && (memcmp(src, dest, src_len) == 0)) { is_compare = true; } else if (ig...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movb 0x10(%rbp), %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) andb $0x1, %al movb %al, -0x31(%rbp) movb $0x0, -0x32(%rbp) movq -0x10(%rbp), %rax cmpq -0x20(%rbp), %rax jne 0x1d8538 m...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::MergeWallyMap(wally_map*, wally_map const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
void MergeWallyMap( struct wally_map *src, const struct wally_map *dst, const std::string &item_name, bool ignore_duplicate_error) { bool is_find; int ret; std::vector<size_t> regist_indexes; for (size_t dst_idx = 0; dst_idx < dst->num_items; ++dst_idx) { auto dst_item = &dst->items[dst_idx]; is...
pushq %rbp movq %rsp, %rbp subq $0x1c0, %rsp # imm = 0x1C0 movb %cl, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) andb $0x1, %al movb %al, -0x19(%rbp) leaq -0x38(%rbp), %rdi callq 0x135400 movq $0x0, -0x40(%rbp) movq -0x40(%rbp), %rax movq -0x10(%rbp), %rcx cmpq 0x8(%rcx), %rax jae...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInCount() const
uint32_t Psbt::GetTxInCount() 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_po...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) jne 0x1e1d1d leaq 0xa3493(%rip), %rdi # 0x2850c0 movl $0x2f, %esi callq 0x12a5c0 incq %rax movq %rax, -0x28(%rbp) movl $0x871, -0x20(%rbp) # imm = 0x871 leaq...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::AddTxIn(cfd::core::Txid const&, unsigned int, unsigned int)
uint32_t Psbt::AddTxIn(const Txid &txid, uint32_t vout, uint32_t sequence) { struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); uint32_t index = static_cast<uint32_t>(psbt_pointer->num_inputs); struct wally_tx_input *input = nullptr; std::vector<uint8_t> txh...
pushq %rbp movq %rsp, %rbp subq $0x1a0, %rsp # imm = 0x1A0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x140(%rbp) movq 0x8(%rax), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax movl 0x18(%rax), %eax movl %eax, -0x24(%rbp) m...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxInUtxo(unsigned int, cfd::core::TxOutReference const&, cfd::core::Script const&, std::vector<cfd::core::KeyData, std::allocator<cfd::core::KeyData>> const&)
void Psbt::SetTxInUtxo( uint32_t index, const TxOutReference &txout, const Script &redeem_script, const std::vector<KeyData> &key_list) { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); uint8_t *txhash ...
pushq %rbp movq %rsp, %rbp subq $0x2c0, %rsp # imm = 0x2C0 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x248(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movq 0x10(%rax), %rax leaq 0xa2b1d(%rip), %rcx #...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxInWitnessUtxoDirect(unsigned int, cfd::core::TxOutReference const&)
void Psbt::SetTxInWitnessUtxoDirect( uint32_t index, const TxOutReference &txout) { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); struct wally_tx_output *output = nullptr; auto script = txout.GetLockin...
pushq %rbp movq %rsp, %rbp subq $0x1b0, %rsp # imm = 0x1B0 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x150(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movq 0x10(%rax), %rax leaq 0xa2494(%rip), %rcx # 0x285f86 movl $0x92a, %edx # imm ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxInSignature(unsigned int, cfd::core::KeyData const&, cfd::core::ByteData const&)
void Psbt::SetTxInSignature( uint32_t index, const KeyData &key, const ByteData &signature) { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); auto pubkey = key.GetPubkey().GetData().GetBytes(); auto sig =...
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0xf0(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movq 0x10(%rax), %rax leaq 0xa1c8f(%rip), %rcx # 0x285fb5 movl $0x953, ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInUtxo(unsigned int, bool, bool*) const
TxOut Psbt::GetTxInUtxo( uint32_t index, bool ignore_error, bool *is_witness) 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].witness_utxo != nullptr) { if (is_w...
pushq %rbp movq %rsp, %rbp subq $0x170, %rsp # imm = 0x170 movq %rdi, -0x150(%rbp) movb %cl, %al movq %rdi, %rcx movq %rcx, -0x148(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) andb $0x1, %al movb %al, -0x15(%rbp) movq %r8, -0x20(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x140(%rbp...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInKeyData(unsigned int, bool) const
KeyData Psbt::GetTxInKeyData(uint32_t index, bool ignore_error) const { std::vector<KeyData> keys = GetTxInKeyDataList(index); if (!keys.empty()) { return keys[0]; } else if (ignore_error) { return KeyData(); } else { warn(CFD_LOG_SOURCE, "key not found."); throw CfdException(kCfdIllegalStateErr...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x90(%rbp) movb %cl, %al movq %rdi, %rcx movq %rcx, -0x88(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) andb $0x1, %al movb %al, -0x15(%rbp) movq -0x10(%rbp), %rsi movl -0x14(%rbp), %edx leaq -0x30(%rbp), %rdi callq 0x12c060 leaq -0x30(...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxInRecord(unsigned int, cfd::core::ByteData const&, cfd::core::ByteData const&)
void Psbt::SetTxInRecord( uint32_t index, const ByteData &key, const ByteData &value) { CheckTxInIndex(index, __LINE__, __FUNCTION__); 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.")...
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x108(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movl $0x9dd, %edx # imm = 0x9DD leaq 0x9fe4d(%rip), %rcx # ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::SetPsbtInput(std::vector<unsigned char, std::allocator<unsigned char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&, wally_psbt_input*)
static uint8_t SetPsbtInput( const std::vector<uint8_t> &key, const std::vector<uint8_t> &value, struct wally_psbt_input *input) { int ret; bool has_key_1byte = (key.size() == 1); if (key[0] == Psbt::kPsbtInputNonWitnessUtxo) { if (!has_key_1byte) { warn(CFD_LOG_SOURCE, "psbt invalid key format....
pushq %rbp movq %rsp, %rbp subq $0xcb0, %rsp # imm = 0xCB0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi callq 0x131580 cmpq $0x1, %rax sete %al andb $0x1, %al movb %al, -0x1d(%rbp) movq -0x8(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x11c930 movzbl (%rax),...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInUtxoFull(unsigned int, bool, bool*) const
Transaction Psbt::GetTxInUtxoFull( uint32_t index, bool ignore_error, bool *is_witness) 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].utxo != nullptr) { if (is...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0xa8(%rbp) movb %cl, %al movq %rdi, %rcx movq %rcx, -0xa0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) andb $0x1, %al movb %al, -0x15(%rbp) movq %r8, -0x20(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x98(%rbp) movl -0x14(%rbp), %esi movq...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxInRedeemScriptDirect(unsigned int, bool, bool) const
Script Psbt::GetTxInRedeemScriptDirect( uint32_t index, bool ignore_error, bool is_witness) const { CheckTxInIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); if (is_witness && (psbt_pointer->inputs[index].witness_sc...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0xb8(%rbp) movb %r8b, %al movq %rdi, %r8 movq %r8, -0xb0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) andb $0x1, %cl movb %cl, -0x15(%rbp) andb $0x1, %al movb %al, -0x16(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0xa8(%rbp) movl -0x14(%r...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x70(%rbp) movq %rdi, %rax movq %rax, -0x80(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x78(%rbp) movl -0x14(%rbp), %esi movq (%rdi), %rax movl $0xb0b, %edx # imm = 0xB0B leaq 0x99cc2(%ri...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxOutData(unsigned int, cfd::core::Script const&, std::vector<cfd::core::KeyData, std::allocator<cfd::core::KeyData>> const&)
void Psbt::SetTxOutData( uint32_t index, const Script &redeem_script, const std::vector<KeyData> &key_list) { CheckTxOutIndex(index, __LINE__, __FUNCTION__); struct wally_psbt *psbt_pointer; psbt_pointer = static_cast<struct wally_psbt *>(wally_psbt_pointer_); struct wally_tx_output *txout = &psbt_poin...
pushq %rbp movq %rsp, %rbp subq $0x2f0, %rsp # imm = 0x2F0 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x270(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movq 0x18(%rax), %rax leaq 0x98535(%rip), %rcx # 0x2864ab movl $0xb8b,...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::SetTxOutRecord(unsigned int, cfd::core::ByteData const&, cfd::core::ByteData const&)
void Psbt::SetTxOutRecord( uint32_t index, const ByteData &key, const ByteData &value) { CheckTxOutIndex(index, __LINE__, __FUNCTION__); 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....
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x108(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movl $0xbc6, %edx # imm = 0xBC6 leaq 0x97d4f(%rip), %rcx # ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::SetPsbtOutput(std::vector<unsigned char, std::allocator<unsigned char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&, wally_psbt_output*)
static uint8_t SetPsbtOutput( const std::vector<uint8_t> &key, const std::vector<uint8_t> &value, struct wally_psbt_output *output) { int ret; bool has_key_1byte = (key.size() == 1); if (key[0] == Psbt::kPsbtOutputRedeemScript) { if (!has_key_1byte) { warn(CFD_LOG_SOURCE, "psbt invalid key forma...
pushq %rbp movq %rsp, %rbp subq $0x4e0, %rsp # imm = 0x4E0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi callq 0x131580 cmpq $0x1, %rax sete %al andb $0x1, %al movb %al, -0x1d(%rbp) movq -0x8(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x11c930 movzbl (%rax),...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetTxOutKeyData(unsigned int, bool) const
KeyData Psbt::GetTxOutKeyData(uint32_t index, bool ignore_error) const { auto arr = GetTxOutKeyDataList(index); if (arr.size() > 0) { return arr[0]; } else if (ignore_error) { return KeyData(); } else { warn(CFD_LOG_SOURCE, "key not found."); throw CfdException(kCfdIllegalStateError, "psbt key n...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x90(%rbp) movb %cl, %al movq %rdi, %rcx movq %rcx, -0x88(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) andb $0x1, %al movb %al, -0x15(%rbp) movq -0x10(%rbp), %rsi movl -0x14(%rbp), %edx leaq -0x30(%rbp), %rdi callq 0x12e790 leaq -0x30(...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x320, %rsp # imm = 0x320 movq %rdi, -0x2a0(%rbp) movq %rdi, %rax movq %rax, -0x298(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0x1eff5a movq -0x20(%rbp), %rax movb $0x0, (%rax) movq -0x10(%rbp), %...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x48(%rbp) movl -0xc(%rbp), %esi movq (%rdi), %rax movl $0xc36, %edx # imm = 0xC36 leaq 0x95afb(%rip), %rcx # 0x286608 callq *0x18(%rax) movq -0x48(%rbp), %rax ...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x70(%rbp) movq %rdi, %rax movq %rax, -0x80(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x78(%rbp) movl -0x14(%rbp), %esi movq (%rdi), %rax movl $0xc3f, %edx # imm = 0xC3F leaq 0x95a7f(%ri...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) jne 0x1f0d92 leaq 0x94406(%rip), %rdi # 0x2850c0 movl $0x2f, %esi callq 0x12a5c0 incq %rax movq %rax, -0x28(%rbp) movl $0xc50, -0x20(%rbp) # imm = 0xC50 leaq...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x120, %rsp # imm = 0x120 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0x11c770 testb $0x1, %al jne 0x1f1485 jmp 0x1f1583 leaq 0x93c34(%rip), %rdi # 0x285...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
cfd::core::Psbt::GetGlobalXpubkeyDataList() const
std::vector<KeyData> Psbt::GetGlobalXpubkeyDataList() 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....
pushq %rbp movq %rsp, %rbp subq $0x2e0, %rsp # imm = 0x2E0 movq %rdi, -0x2d0(%rbp) movq %rdi, %rax movq %rax, -0x2c8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) jne 0x1f2452 leaq 0x92d5e(%rip), %rdi # 0x2850c...
/p2pderivatives[P]cfd-js/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 %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x68(%rbp) movq %rdi, %rax movq %rax, -0x60(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) movb $0x0, -0x19(%rbp) callq 0x11f120 movq $0x0, -0x28(%rbp) movq -0x28(%rbp), %rax movq -0x18(%rbp), ...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x170, %rsp # imm = 0x170 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq -0x8(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) jne 0x1f3207 leaq 0x91fa9(%rip), %rdi # 0x2850c0 movl $0x2f, %esi c...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_psbt.cpp
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 %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x98(%rbp) movl %esi, -0x9c(%rbp) movq %rdx, -0xa8(%rbp) movq %rcx, -0xb0(%rbp) movq %r8, -0xb8(%rbp) movl -0x9c(%rbp), %edi callq 0x12e900 testb $0x1, %al jne 0x1f6481 jmp 0x1f6597 movq -0xb0(%rbp), %rcx movq -0xb8(%rbp), %rax leaq -0xd8...
/p2pderivatives[P]cfd-js/external/cfd-core/src/include/cfdcore/cfdcore_logger.h
cfd::core::Secp256k1::CombinePubkeySecp256k1Ec(std::vector<cfd::core::ByteData, std::allocator<cfd::core::ByteData>> const&)
ByteData Secp256k1::CombinePubkeySecp256k1Ec( const std::vector<ByteData>& pubkey_list) { secp256k1_context* context = static_cast<secp256k1_context*>(secp256k1_context_); if (secp256k1_context_ == NULL) { warn(CFD_LOG_SOURCE, "Secp256k1 context is NULL."); throw CfdException( CfdError::k...
pushq %rbp movq %rsp, %rbp subq $0x340, %rsp # imm = 0x340 movq %rdi, -0x260(%rbp) movq %rdi, %rax movq %rax, -0x258(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rcx movq %rcx, -0x20(%rbp) cmpq $0x0, (%rax) jne 0x1f728b leaq 0x8fb34(%rip), %rd...
/p2pderivatives[P]cfd-js/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 movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movq %rdi, -0x190(%rbp) movq %rdi, %rax movq %rax, -0x188(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x180(%rbp) cmpq $0x0, (%rax) jne 0x1f88ef leaq 0x8e4d0(%rip...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_secp256k1.cpp
cfd::core::Secp256k1::MulTweakPubkeySecp256k1Ec(cfd::core::ByteData const&, cfd::core::ByteData const&)
ByteData Secp256k1::MulTweakPubkeySecp256k1Ec( const ByteData& pubkey, const ByteData& tweak) { secp256k1_context* context = static_cast<secp256k1_context*>(secp256k1_context_); if (secp256k1_context_ == NULL) { warn(CFD_LOG_SOURCE, "Secp256k1 context is NULL."); throw CfdException( CfdEr...
pushq %rbp movq %rsp, %rbp subq $0x3b0, %rsp # imm = 0x3B0 movq %rdi, -0x2e8(%rbp) movq %rdi, %rax movq %rax, -0x2e0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rcx movq %rcx, -0x28(%rbp) cmpq $0x0, (%rax) jne 0x1f9f3f ...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_secp256k1.cpp
cfd::core::Secp256k1::NegatePubkeySecp256k1Ec(cfd::core::ByteData const&)
ByteData Secp256k1::NegatePubkeySecp256k1Ec(const ByteData& 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::kCfdIllegalArgumentError,...
pushq %rbp movq %rsp, %rbp subq $0x2b0, %rsp # imm = 0x2B0 movq %rdi, -0x208(%rbp) movq %rdi, %rax movq %rax, -0x200(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rcx movq %rcx, -0x20(%rbp) cmpq $0x0, (%rax) jne 0x1fae5b leaq 0x8bf64(%rip), %rd...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_secp256k1.cpp
cfd::core::Secp256k1::RangeProofInfoSecp256k1(cfd::core::ByteData const&, int*, int*, unsigned long*, unsigned long*)
void Secp256k1::RangeProofInfoSecp256k1( const ByteData& range_proof, int* exponent, int* mantissa, uint64_t* min_value, uint64_t* max_value) { secp256k1_context* context = static_cast<secp256k1_context*>(secp256k1_context_); if (secp256k1_context_ == nullptr) { warn(CFD_LOG_SOURCE, "Secp256k1 con...
pushq %rbp movq %rsp, %rbp subq $0x1b0, %rsp # imm = 0x1B0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rax movq (%rax), %rcx movq %rcx, -0x38(%rbp) cmpq $0x0, (%rax) jne 0x1fb655 leaq 0x8b779(%rip), %...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_secp256k1.cpp
cfd::core::SchnorrSignature::SchnorrSignature(cfd::core::ByteData const&)
SchnorrSignature::SchnorrSignature(const ByteData &data) : data_(data), sighash_type_(SigHashAlgorithm::kSigHashDefault) { if (data_.GetDataSize() == SchnorrSignature::kSchnorrSignatureSize + 1) { auto bytes = data.GetBytes(); uint8_t sighash_type = bytes[SchnorrSignature::kSchnorrSignatureSize]; if (...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0xb0(%rbp) movq %rdi, %rax movq %rax, -0xb8(%rbp) movq -0x10(%rbp), %rsi callq 0x12d660 movq -0xb0(%rbp), %rdi addq $0x18, %rdi xorl %ecx, %ecx movl %ecx, %esi movl %ecx, %edx callq 0x129160 jmp 0x...
/p2pderivatives[P]cfd-js/external/cfd-core/src/cfdcore_schnorrsig.cpp