name string | code string | asm string | file string |
|---|---|---|---|
cfd::ConfidentialTransactionContext::Verify(cfd::core::OutPoint const&) | void ConfidentialTransactionContext::Verify(const OutPoint& outpoint) {
UtxoData utxo;
if (!IsFindUtxoMap(outpoint, &utxo)) {
throw CfdException(
CfdError::kCfdIllegalStateError, "Utxo is not found. verify fail.");
}
const auto& txin = vin_[GetTxInIndex(outpoint)];
TransactionContextUtil::Verify<... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x538, %rsp # imm = 0x538
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x221900
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x24180c
testb %al, %al
je 0x24217a
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::CreateConfidentialTxSighash(cfd::ConfidentialTransactionContext const*, cfd::core::OutPoint const&, cfd::UtxoData const&, cfd::core::SigHashType const&, cfd::core::Pubkey const&, cfd::core::Script const&, cfd::core::WitnessVersion, cfd::core::ByteData const*, cfd::core::TaprootScriptTree const*) | static ByteData256 CreateConfidentialTxSighash(
const ConfidentialTransactionContext* transaction,
const OutPoint& outpoint, const UtxoData& utxo,
const SigHashType& sighash_type, const Pubkey& pubkey,
const Script& redeem_script, WitnessVersion version, const ByteData*,
const TaprootScriptTree*) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, 0x10(%rsp)
movq %r8, %r13
movq %rcx, %rbp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x40(%rsp), %rdi
callq 0x1f6c4c
leaq 0x490(%rbp), %r12
movq %r12, %rdi
callq 0x1f74ae
testb %al, %al
je 0x24227e
addq $0x258, %rbp ... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::CreateSignatureHash(cfd::core::OutPoint const&, cfd::core::Pubkey const&, cfd::core::SigHashType, cfd::core::ConfidentialValue const&, cfd::core::WitnessVersion) const | ByteData ConfidentialTransactionContext::CreateSignatureHash(
const OutPoint& outpoint, const Pubkey& pubkey, SigHashType sighash_type,
const ConfidentialValue& value, WitnessVersion version) const {
Script script = ScriptUtil::CreateP2pkhLockingScript(pubkey);
ByteData256 sighash = GetElementsSignatureHash... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, %r14
movq %r8, %r12
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x50(%rsp), %rdi
movq %rcx, %rsi
callq 0x1ace20
movq (%r15), %rax
movq %r15, %rdi
movq %r13, %rsi
callq *0x78(%rax)
movl %eax, %ebp
leaq 0x10(%rsp), %rdi
... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::AddTxIn(cfd::core::Txid const&, unsigned int, cfd::core::Pubkey const&, unsigned int) | const ConfidentialTxInReference ConfidentialTransactionController::AddTxIn(
const Txid& txid, uint32_t vout, const Pubkey& pubkey, uint32_t sequence) {
uint32_t index = transaction_.AddTxIn(
txid, vout, sequence, ScriptBuilder().AppendData(pubkey).Build());
return transaction_.GetTxIn(index);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movl %r9d, %ebp
movl %ecx, %r15d
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x304c1c(%rip), %rax # 0x547848
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
andq $0x0, 0x18(%rdi)
movq %r8, %rsi
callq 0x... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::AddTxOut(cfd::core::Address const&, cfd::core::Amount const&, cfd::core::ConfidentialAssetId const&) | const ConfidentialTxOutReference ConfidentialTransactionController::AddTxOut(
const Address& address, const Amount& value,
const ConfidentialAssetId& asset) {
const ByteData hash_data = address.GetHash();
Script locking_script = address.GetLockingScript();
return AddTxOut(locking_script, value, asset, Co... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x30(%rdx), %rsi
leaq 0x8(%rsp), %rdi
callq 0xaf954
leaq 0x48(%rsp), %rdi
movq %r13, %rsi
callq 0x1d6e26
leaq 0x20(%rsp), %rdi
callq 0x1f5ba4
leaq 0x48(%rsp), %rdx
... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::AddTxOut(cfd::core::ElementsConfidentialAddress const&, cfd::core::Amount const&, cfd::core::ConfidentialAssetId const&, bool) | const ConfidentialTxOutReference ConfidentialTransactionController::AddTxOut(
const ElementsConfidentialAddress& address, const Amount& value,
const ConfidentialAssetId& asset, bool remove_nonce) {
const ByteData hash_data = address.GetHash();
Script locking_script = address.GetLockingScript();
ByteData ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp # imm = 0x258
movl %r9d, %ebp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x58(%rsp), %rdi
movq %rdx, %rsi
callq 0x1f574e
leaq 0x70(%rsp), %rdi
movq %r13, %rsi
callq 0x1f5760
leaq 0x8(%... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::AddPegoutTxOut(cfd::core::Amount const&, cfd::core::ConfidentialAssetId const&, cfd::core::BlockHash const&, cfd::core::Address const&, cfd::core::NetType, cfd::core::Pubkey const&, cfd::core::Privkey const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator... | const ConfidentialTxOutReference
ConfidentialTransactionController::AddPegoutTxOut(
const Amount& value, const ConfidentialAssetId& asset,
const BlockHash& genesisblock_hash, const Address& btc_address,
NetType net_type, const Pubkey& online_pubkey,
const Privkey& master_online_key, const std::string& b... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp # imm = 0x248
movq %r9, %r14
movq %r8, %r13
movq %rcx, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x98(%rsp), %rdi
callq 0x1ab248
leaq 0x68(%rsp), %rdi
callq 0x209952
movq 0x288(%rsp), %rbp
movq %rbp... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::UpdateTxOutFeeAmount(unsigned int, cfd::core::Amount const&, cfd::core::ConfidentialAssetId const&) | const ConfidentialTxOutReference
ConfidentialTransactionController::UpdateTxOutFeeAmount(
uint32_t index, const Amount& value, const ConfidentialAssetId& asset) {
ConfidentialTxOutReference ref = transaction_.GetTxOut(index);
if (!ref.GetLockingScript().IsEmpty()) {
throw CfdException(
CfdError::kCf... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp # imm = 0x198
movq %r8, %r15
movq %rcx, %r12
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
addq $0x10, %r14
leaq 0xa0(%rsp), %rdi
movq %r14, %rsi
callq 0x1feba6
leaq 0xb8(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x1abd2c
lea... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::InsertUnlockingScript(cfd::core::Txid const&, unsigned int, std::vector<cfd::core::ByteData, std::allocator<cfd::core::ByteData>> const&) | void ConfidentialTransactionController::InsertUnlockingScript(
const Txid& txid, uint32_t vout,
const std::vector<ByteData>& unlocking_scripts) {
uint32_t txin_index = transaction_.GetTxInIndex(txid, vout);
Script script = transaction_.GetTxIn(txin_index).GetUnlockingScript();
if (script.IsEmpty()) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %rcx, %r14
movq %rdi, %rbx
addq $0x10, %rbx
movq %rbx, %rdi
callq 0x1fb1e4
movl %eax, %ebp
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
movl %eax, %edx
callq 0x1fb1a2
leaq 0x88(%rsp), %rsi
leaq 0x20(%rsp), %rdi
ca... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::AddWitnessStack(cfd::core::Txid const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, cfd::core::Pubkey const&) | void ConfidentialTransactionController::AddWitnessStack(
const Txid& txid, uint32_t vout, const std::string& signed_signature_hash,
const Pubkey& pubkey) {
std::vector<std::string> signed_signature_hashes(2);
signed_signature_hashes[0] = signed_signature_hash;
signed_signature_hashes[1] = pubkey.GetHex();... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %r12
movq %rcx, %r13
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq %rsp, %rbp
pushq $0x2
popq %rsi
leaq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x227ed6
movq (%rbp), %rdi
movq %r13, %rsi
callq 0x88360
leaq 0x18(%rsp), %rd... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::AddWitnessStack(cfd::core::Txid const&, unsigned int, 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&, cfd::core::Script const&) | void ConfidentialTransactionController::AddWitnessStack(
const Txid& txid, uint32_t vout,
const std::vector<std::string>& signed_signature_hashes,
const Script& redeem_script) {
std::vector<std::string> list;
std::copy(
signed_signature_hashes.begin(), signed_signature_hashes.end(),
std::bac... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r12
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq %rsp, %rdx
andq $0x0, 0x10(%rdx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdx)
movq (%rcx), %rdi
movq 0x8(%rcx), %rsi
callq 0x2295c8
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
callq 0x1ab212
leaq 0x38(%... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::GetSizeIgnoreTxIn(bool, unsigned int*, unsigned int*, int, int) const | uint32_t ConfidentialTransactionController::GetSizeIgnoreTxIn(
bool is_blinded, uint32_t* witness_area_size,
uint32_t* no_witness_area_size, int exponent, int minimum_bits) const {
uint32_t size = ConfidentialTransaction::kElementsTransactionMinimumSize;
std::vector<ConfidentialTxOutReference> txouts = tran... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %r9d, 0xc(%rsp)
movl %r8d, 0x8(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movl %esi, 0x4(%rsp)
leaq 0x10(%rdi), %rbx
leaq 0x50(%rsp), %rdi
movq %rbx, %rsi
callq 0x1febfc
leaq 0x38(%rsp), %rdi
movq %rbx, %rsi
callq 0x1fb67a
mo... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::SetAssetReissuance(cfd::core::Txid const&, unsigned int, cfd::core::Amount const&, cfd::core::Script const&, cfd::core::ByteData const&, cfd::core::BlindFactor const&, cfd::core::BlindFactor const&, bool, bool) | IssuanceParameter ConfidentialTransactionController::SetAssetReissuance(
const Txid& txid, uint32_t vout, const Amount& amount,
const Script& locking_script, const ByteData& asset_nonce,
const BlindFactor& blind_factor, const BlindFactor& entropy,
bool is_random_sort, bool is_remove_nonce) {
uint32_t ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rsi, %r14
movq %rdi, %rbx
movb 0xf0(%rsp), %r13b
addq $0x10, %r14
movq %r14, %rdi
movq %rdx, %rsi
movl %ecx, %edx
callq 0x1fb1e4
movl %eax, %ebp
movq %rsp, %rdi
callq 0x1f5ba4
testb %r13b, %r13b
jne 0x... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::CreateSignatureHash(cfd::core::Txid const&, unsigned int, cfd::core::Pubkey const&, cfd::core::SigHashType, cfd::core::ConfidentialValue const&, cfd::core::WitnessVersion) const | ByteData ConfidentialTransactionController::CreateSignatureHash(
const Txid& txid, uint32_t vout, const Pubkey& pubkey,
SigHashType sighash_type, const ConfidentialValue& value,
WitnessVersion version) const {
Script script = ScriptUtil::CreateP2pkhLockingScript(pubkey);
uint32_t txin_index = transactio... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %r9, %r15
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x48(%rsp), %rdi
movq %r8, %rsi
callq 0x1ace20
addq $0x10, %r14
movq %r14, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x1fb1e4
movl %eax, %ebp
leaq 0x8(%rsp), %rdi
... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::CreateSignatureHash(cfd::core::Txid const&, unsigned int, cfd::core::Script const&, cfd::core::SigHashType, cfd::core::ConfidentialValue const&, cfd::core::WitnessVersion) const | ByteData ConfidentialTransactionController::CreateSignatureHash(
const Txid& txid, uint32_t vout, const Script& redeem_script,
SigHashType sighash_type, const ConfidentialValue& value,
WitnessVersion version) const {
uint32_t txin_index = transaction_.GetTxInIndex(txid, vout);
ByteData256 sighash = tran... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rsi, %r14
movq %rdi, %rbx
addq $0x10, %r14
movq %r14, %rdi
movq %rdx, %rsi
movl %ecx, %edx
callq 0x1fb1e4
movl %eax, %ebp
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x1ab212
leaq 0x44(%rsp), %rdi
movq %r15, %rsi... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionController::CalculateSimpleFee(bool, bool) const | Amount ConfidentialTransactionController::CalculateSimpleFee(
bool append_feature_signed_size, bool append_signed_witness) const {
static constexpr uint32_t kP2wpkhWitnessSize = 72 + 33 + 3;
// 簡易計算
uint32_t size = transaction_.GetTotalSize();
uint32_t vsize = transaction_.GetVsize();
uint32_t rate = FeeC... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %r14
addq $0x10, %r14
movq %r14, %rdi
callq 0x1fb16c
movl %eax, %ebx
movq %r14, %rdi
callq 0x1fb17e
testl %r15d, %r15d
je 0x244814
movq %r14, %rdi
callq 0x1fb190
movl %eax, %r15d
movq %r14, %rdi
callq 0x1fb666
testb %bpl,... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::api::ElementsTransactionApi::AddRawTransaction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<cfd::core::ConfidentialTxIn, std::allocator<cfd::core::ConfidentialTxIn>> const&, std::vector<cfd::api::TxInPeginParameters, std::allocator<cfd::api::TxInPeginParameters... | ConfidentialTransactionController ElementsTransactionApi::AddRawTransaction(
const std::string& tx_hex, const std::vector<ConfidentialTxIn>& txins,
const std::vector<TxInPeginParameters>& pegins,
const std::vector<ConfidentialTxOut>& txouts,
const std::vector<TxOutPegoutParameters>& pegouts,
const C... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa28, %rsp # imm = 0xA28
movq %r9, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %rbx
movq %rdi, (%rsp)
movq %rdx, %rsi
callq 0x242a3c
callq 0x223346
movl %eax, %ebp
movq (%rbx), %r12
movq 0x8(%rbx), %r14
leaq 0x98(%rsp), %r13
leaq 0x8c8(%... | /p2pderivatives[P]cfd/src/cfdapi_elements_transaction.cpp |
cfd::api::ElementsTransactionApi::CreateSignatureHash(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, cfd::core::ConfidentialTxInReference const&, cfd::core::ByteData const&, cfd::core::ConfidentialValue const&, cfd::core::HashType, cfd::core::SigHashType const&) const | std::string ElementsTransactionApi::CreateSignatureHash(
const std::string& tx_hex, const ConfidentialTxInReference& txin,
const ByteData& key_data, const ConfidentialValue& value,
HashType hash_type, const SigHashType& sighash_type) const {
return CreateSignatureHash(
tx_hex, txin.GetTxid(), txin.G... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %rbx
leaq 0x8(%rcx), %rsi
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
callq 0x1d0dde
movl 0x28(%r12), %r8d
subq $0x8, %rsp
movq %rbx, %rdi
movq %r13, %rdx
movq %rbp, %rcx
... | /p2pderivatives[P]cfd/src/cfdapi_elements_transaction.cpp |
cfd::api::ElementsTransactionApi::BlindTransaction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<cfd::api::TxInBlindParameters, std::allocator<cfd::api::TxInBlindParameters>> const&, std::vector<cfd::api::TxOutBlindKeys, std::allocator<cfd::api::TxOutBlindKeys>> cons... | ConfidentialTransactionController ElementsTransactionApi::BlindTransaction(
const std::string& tx_hex,
const std::vector<TxInBlindParameters>& txin_blind_keys,
const std::vector<TxOutBlindKeys>& txout_blind_keys,
bool is_issuance_blinding) {
ConfidentialTransactionController txc(tx_hex);
uint32_t t... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movl %r9d, %r14d
movq %r8, 0x18(%rsp)
movq %rcx, %rbx
movq %rdi, %r15
movq %rdx, %rsi
callq 0x242a3c
movq %r15, 0x10(%rsp)
movq %r15, %rdi
callq 0x243e70
movq %rax, %rdi
callq 0x1fb666
movl %eax, %r15d
movq 0x10... | /p2pderivatives[P]cfd/src/cfdapi_elements_transaction.cpp |
cfd::api::ElementsTransactionApi::UnblindTransaction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<cfd::api::TxOutUnblindKeys, std::allocator<cfd::api::TxOutUnblindKeys>> const&, std::vector<cfd::api::IssuanceBlindKeys, std::allocator<cfd::api::IssuanceBlindKeys>> co... | ConfidentialTransactionController ElementsTransactionApi::UnblindTransaction(
const std::string& tx_hex,
const std::vector<TxOutUnblindKeys>& txout_unblind_keys,
const std::vector<IssuanceBlindKeys>& issuance_blind_keys,
std::vector<UnblindOutputs>* blind_outputs,
std::vector<UnblindIssuanceOutputs>... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp # imm = 0x198
movq %r9, %r12
movq %r8, %r14
movq %rcx, %r15
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x242a3c
movq %r12, 0x10(%rsp)
testq %r12, %r12
je 0x246e28
movq 0x8(%r15), %rax
cmpq %rax, (%r15)
je 0x246e28
movq %r14, 0x8(%... | /p2pderivatives[P]cfd/src/cfdapi_elements_transaction.cpp |
cfd::api::ElementsTransactionApi::SetRawIssueAsset(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<cfd::api::TxInIssuanceParameters, std::allocator<cfd::api::TxInIssuanceParameters>> const&, std::vector<cfd::api::IssuanceOutput, std::allocator<cfd::api::IssuanceOutput>... | ConfidentialTransactionController ElementsTransactionApi::SetRawIssueAsset(
const std::string& tx_hex,
const std::vector<TxInIssuanceParameters>& issuances,
std::vector<IssuanceOutput>* issuance_output) {
ConfidentialTransactionController ctxc(tx_hex);
for (const auto& issuance : issuances) {
Scrip... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %r8, %r14
movq %rcx, %rbx
movq %rdi, (%rsp)
movq %rdx, %rsi
callq 0x242a3c
movq (%rbx), %r15
movq 0x8(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0xe8(%rsp), %r12
leaq 0x28(%rsp), %r13
leaq 0x180(%rsp), %rbx
leaq... | /p2pderivatives[P]cfd/src/cfdapi_elements_transaction.cpp |
CfdCreateHandle | int CfdCreateHandle(void** handle) {
try {
if (handle == nullptr) return kCfdIllegalArgumentError;
cfd::Initialize();
*handle = cfd::capi::capi_instance.CreateHandle();
return kCfdSuccess;
} catch (const CfdException& except) {
return except.GetErrorCode();
} catch (...) {
return kCfdUnkno... | pushq %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x24f26c
movq %rdi, %rbx
callq 0x2216c0
leaq 0x331bba(%rip), %rdi # 0x580e18
xorl %ebp, %ebp
xorl %esi, %esi
callq 0x24ebb0
movq %rax, (%rbx)
jmp 0x24f26f
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq %rdx, %rbx
movq %rax, %rdi... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdCreateSimpleHandle | int CfdCreateSimpleHandle(void** handle) {
try {
if (handle == nullptr) return kCfdIllegalArgumentError;
cfd::Initialize();
*handle = cfd::capi::capi_instance.CreateHandle(true);
return kCfdSuccess;
} catch (const CfdException& except) {
return except.GetErrorCode();
} catch (...) {
return... | pushq %rbx
testq %rdi, %rdi
je 0x24f2c9
movq %rdi, %rbx
callq 0x2216c0
leaq 0x331b5e(%rip), %rdi # 0x580e18
pushq $0x1
popq %rsi
callq 0x24ebb0
movq %rax, (%rbx)
xorl %eax, %eax
jmp 0x24f2cc
pushq $0x1
popq %rax
popq %rbx
retq
movq %rdx, %rbx
movq %rax, %rdi
callq 0x88270
cmpl $0x2, %ebx
jne 0x24f2f2
movq (%rax), %r... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdCloneHandle | int CfdCloneHandle(void* source, void** handle) {
int result = kCfdUnknownError;
void* temp_handle = nullptr;
try {
if (handle == nullptr) return kCfdIllegalArgumentError;
cfd::Initialize();
temp_handle = cfd::capi::capi_instance.CreateHandle(true);
if (source != nullptr) {
cfd::capi::capi_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0x24f346
movq %rsi, %r14
movq %rdi, %r15
xorl %ebx, %ebx
callq 0x2216c0
xorl %ebx, %ebx
leaq 0x331afa(%rip), %rdi # 0x580e18
pushq $0x1
popq %rsi
callq 0x24ebb0
movq %rax, %r12
testq %r15, %r15
je 0x24f33f
pushq $0x1
popq %rcx
movq %r12, %rbx... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdFreeHandle | int CfdFreeHandle(void* handle) {
try {
cfd::Initialize();
cfd::capi::capi_instance.FreeHandle(handle);
return kCfdSuccess;
} catch (...) {
return kCfdUnknownError;
}
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x2216c0
xorl %ebx, %ebx
leaq 0x331a7f(%rip), %rdi # 0x580e18
movq %r14, %rsi
callq 0x24ec9e
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x88270
callq 0x88b80
pushq $-0x1
popq %rbx
jmp 0x24f3a1
| /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdCopyErrorState | int CfdCopyErrorState(void* source, void* destination) {
try {
cfd::Initialize();
cfd::capi::capi_instance.CopyHandle(source, destination, true);
return kCfdSuccess;
} catch (const CfdException& except) {
return except.GetErrorCode();
} catch (...) {
return kCfdUnknownError;
}
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x2216c0
xorl %ebx, %ebx
pushq $0x1
popq %rcx
movq %r15, %rsi
movq %r14, %rdx
callq 0x24ee2e
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
movq %rdx, %rbx
movq %rax, %rdi
callq 0x88270
cmpl $0x2, %ebx
jne 0x24f402
movq (%rax), %rcx
movq %rax, %... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdFreeBuffer | int CfdFreeBuffer(void* address) {
try {
cfd::Initialize();
if (address != nullptr) ::free(address);
return kCfdSuccess;
} catch (...) {
return kCfdUnknownError;
}
} | pushq %rbx
movq %rdi, %rbx
callq 0x2216c0
movq %rbx, %rdi
callq 0x887b0
xorl %eax, %eax
popq %rbx
retq
movq %rax, %rdi
callq 0x88270
callq 0x88b80
pushq $-0x1
popq %rax
jmp 0x24f41f
| /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdFreeStringBuffer | int CfdFreeStringBuffer(char* address) {
try {
cfd::Initialize();
if (address != nullptr) ::free(address);
return kCfdSuccess;
} catch (...) {
return kCfdUnknownError;
}
} | pushq %rbx
movq %rdi, %rbx
callq 0x2216c0
movq %rbx, %rdi
callq 0x887b0
xorl %eax, %eax
popq %rbx
retq
movq %rax, %rdi
callq 0x88270
callq 0x88b80
pushq $-0x1
popq %rax
jmp 0x24f446
| /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdGetLastErrorCode | int CfdGetLastErrorCode(void* handle) {
try {
CfdException last_error = cfd::capi::capi_instance.GetLastError(handle);
return last_error.GetErrorCode();
} catch (const CfdException& except) {
return except.GetErrorCode();
} catch (...) {
return kCfdUnknownError;
}
} | pushq %rbx
subq $0x30, %rsp
movq %rdi, %rdx
movq %rsp, %rdi
callq 0x24effe
movq %rsp, %rdi
movl 0x8(%rdi), %ebx
callq 0x11007e
movl %ebx, %eax
addq $0x30, %rsp
popq %rbx
retq
movq %rdx, %rbx
movq %rax, %rdi
callq 0x88270
cmpl $0x2, %ebx
jne 0x24f49f
movq (%rax), %rcx
movq %rax, %rdi
callq *0x18(%rcx)
movl %eax, %ebx
ca... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdGetLastErrorMessage | int CfdGetLastErrorMessage(void* handle, char** message) {
try {
if (message == nullptr) return kCfdIllegalArgumentError;
CfdException last_error = cfd::capi::capi_instance.GetLastError(handle);
std::string err_str(last_error.what());
size_t len = err_str.length() + 1;
char* buffer = static_cast<c... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
testq %rsi, %rsi
je 0x24f517
movq %rsi, %rbx
movq %rdi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x24effe
movq 0x40(%rsp), %rsi
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x88260
movq 0x18(%rsp), %r13
leaq 0x1(%r13), %r12
movq %r12, %rdi
callq 0x888e... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdRequestExecuteJson | int CfdRequestExecuteJson(
void* handle, const char* name, const char* json_string,
char** response_json_string) {
#ifndef CFD_DISABLE_JSONAPI
using cfd::api::json::JsonMappingApi;
try {
if ((name == nullptr) || (json_string == nullptr) ||
(response_json_string == nullptr)) {
return kCfdIl... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rcx, %r14
testq %rsi, %rsi
sete %al
testq %rdx, %rdx
sete %cl
orb %al, %cl
testq %r14, %r14
sete %al
orb %cl, %al
je 0x24f5cb
pushq $0x1
popq %rbx
jmp 0x24f6ea
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
andq ... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdSerializeByteData | int CfdSerializeByteData(
void* handle, const char* buffer, char** output) {
try {
cfd::Initialize();
if (buffer == nullptr) {
warn(CFD_LOG_SOURCE, "buffer is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. buffer is null.");
}
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x24f8df
testq %r14, %r14
je 0x24f954
movq %rsp, %rdi
leaq 0x38(%rsp), %rdx
movq %r15, %rsi
callq 0x88260
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x1a0ecc
movq %... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdEncryptAES | int CfdEncryptAES(
void* handle, const char* key, const char* cbc_iv, const char* buffer,
char** output) {
try {
cfd::Initialize();
if (key == nullptr) {
warn(CFD_LOG_SOURCE, "key is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
testq %r13, %r13
je 0x24fc53
testq %r12, %r12
je 0x24fcd1
testq %r14, %r14
je 0x24fd4c
leaq 0x8(%rsp), %rdi
leaq 0x58(%rsp), %rdx
movq %r13, %r... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdDecryptAES | int CfdDecryptAES(
void* handle, const char* key, const char* cbc_iv, const char* buffer,
char** output) {
try {
cfd::Initialize();
if (key == nullptr) {
warn(CFD_LOG_SOURCE, "key is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
testq %r13, %r13
je 0x2500c1
testq %r12, %r12
je 0x25013f
testq %r14, %r14
je 0x2501ba
leaq 0x8(%rsp), %rdi
leaq 0x58(%rsp), %rdx
movq %r13, %r... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdEncodeBase64 | int CfdEncodeBase64(
void* handle, const char* buffer, char** output) {
try {
cfd::Initialize();
if (buffer == nullptr) {
warn(CFD_LOG_SOURCE, "buffer is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. buffer is null.");
}
if (... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x25043e
testq %r14, %r14
je 0x2504b9
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r15, %rsi
callq 0x88260
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a0e... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdDecodeBase64 | int CfdDecodeBase64(
void* handle, const char* base64, char** output) {
try {
cfd::Initialize();
if (cfd::capi::IsEmptyString(base64)) {
warn(CFD_LOG_SOURCE, "base64 is null or empty.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. base64 is... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x2506c7
cmpb $0x0, (%r15)
je 0x2506c7
testq %r14, %r14
je 0x250742
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r15, %rsi
callq 0x88260
leaq 0x28(%rsp), %rdi
lea... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdEncodeBase58 | int CfdEncodeBase58(
void* handle, const char* buffer, bool use_checksum, char** output) {
try {
cfd::Initialize();
if (buffer == nullptr) {
warn(CFD_LOG_SOURCE, "buffer is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. buffer is null... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x250970
testq %r14, %r14
je 0x2509eb
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r15, %rsi
callq 0x88260
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdDecodeBase58 | int CfdDecodeBase58(
void* handle, const char* base58, bool use_checksum, char** output) {
try {
cfd::Initialize();
if (cfd::capi::IsEmptyString(base58)) {
warn(CFD_LOG_SOURCE, "base58 is null or empty.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to p... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x250c52
cmpb $0x0, (%r15)
je 0x250c52
testq %r14, %r14
je 0x250ccd
testb %bpl, %bpl
je 0x250be6
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r15,... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdRipemd160 | int CfdRipemd160(
void* handle, const char* message, bool has_text, char** output) {
try {
cfd::Initialize();
if (message == nullptr) {
warn(CFD_LOG_SOURCE, "message is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. message is null.")... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x250f5d
testq %r14, %r14
je 0x250fd8
leaq 0x28(%rsp), %rdi
callq 0x1a152c
testb %bpl, %bpl
je 0x250ebe
leaq 0x8(%rsp), %rdi
leaq 0x40(%rsp), %rdx
mo... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdSha256 | int CfdSha256(
void* handle, const char* message, bool has_text, char** output) {
try {
cfd::Initialize();
if (message == nullptr) {
warn(CFD_LOG_SOURCE, "message is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. message is null.");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x251268
testq %r14, %r14
je 0x2512e3
leaq 0x28(%rsp), %rdi
callq 0x1a18b8
testb %bpl, %bpl
je 0x2511c9
leaq 0x8(%rsp), %rdi
leaq 0x40(%rsp), %rdx
mo... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdHash160 | int CfdHash160(
void* handle, const char* message, bool has_text, char** output) {
try {
cfd::Initialize();
if (message == nullptr) {
warn(CFD_LOG_SOURCE, "message is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. message is null.");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x251573
testq %r14, %r14
je 0x2515ee
leaq 0x28(%rsp), %rdi
callq 0x1a152c
testb %bpl, %bpl
je 0x2514d4
leaq 0x8(%rsp), %rdi
leaq 0x40(%rsp), %rdx
mo... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
CfdHash256 | int CfdHash256(
void* handle, const char* message, bool has_text, char** output) {
try {
cfd::Initialize();
if (message == nullptr) {
warn(CFD_LOG_SOURCE, "message is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. message is null.");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x25187e
testq %r14, %r14
je 0x2518f9
leaq 0x28(%rsp), %rdi
callq 0x1a18b8
testb %bpl, %bpl
je 0x2517df
leaq 0x8(%rsp), %rdi
leaq 0x40(%rsp), %rdx
mo... | /p2pderivatives[P]cfd/src/capi/cfdcapi_common.cpp |
void cfd::core::logger::log<void*&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, void*&) | 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 %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r12
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq 0x221627
testb %al, %al
je 0x251ce2
movq (%r12), %rax
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
movq %r15, %rdi
callq 0x1a2e88
movq %rsp, %r15
pushq $0xe
popq %rcx
movq %r15, ... | /p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h |
CfdCreateAddress | int CfdCreateAddress(
void* handle, int hash_type, const char* pubkey, const char* redeem_script,
int network_type, char** address, char** locking_script,
char** p2sh_segwit_locking_script) {
int result = CfdErrorCode::kCfdUnknownError;
char* work_address = nullptr;
char* work_locking_script = nullptr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x488, %rsp # imm = 0x488
movq %r9, %r14
movl %r8d, %r15d
movq %rcx, %r12
movq %rdx, %rbx
andq $0x0, 0x50(%rsp)
movl %esi, %ebp
andq $0x0, 0x48(%rsp)
movq %rdi, 0x18(%rsp)
andq $0x0, 0x70(%rsp)
callq 0x2216c0
testq %r14, %r14
je 0x252165... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdInitializeMultisigScript | int CfdInitializeMultisigScript(
void* handle, int network_type, int hash_type, void** multisig_handle) {
try {
cfd::Initialize();
if (multisig_handle == nullptr) {
warn(CFD_LOG_SOURCE, "multisig handle is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Fa... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rcx, %r14
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %rbx
callq 0x2216c0
testq %r14, %r14
je 0x2524bc
movl %r15d, %edi
xorl %esi, %esi
callq 0x24e4c3
movl %ebp, %edi
callq 0x24e5ab
cmpl $0x5, %eax
ja 0x252537
pushq $0x2a
popq %rcx
btl %eax, ... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdAddMultisigScriptData | int CfdAddMultisigScriptData(
void* handle, void* multisig_handle, const char* pubkey) {
try {
cfd::Initialize();
CheckBuffer(multisig_handle, kPrefixMultisigScript);
if (pubkey == nullptr) {
warn(CFD_LOG_SOURCE, "pubkey is null.");
throw CfdException(
CfdError::kCfdIllegalArgume... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
leaq 0x1a7f2c(%rip), %rsi # 0x3fa5d6
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x88260
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x24e2d6
leaq 0x8(%rsp), %rdi
callq 0x88db0
t... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdFinalizeMultisigScript | int CfdFinalizeMultisigScript(
void* handle, void* multisig_handle, uint32_t require_num, char** address,
char** redeem_script, char** witness_script) {
char* work_address = nullptr;
char* work_redeem_script = nullptr;
char* work_witness_script = nullptr;
try {
cfd::Initialize();
CheckBuffer(mul... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x468, %rsp # imm = 0x468
movq %r9, 0x40(%rsp)
movq %r8, 0x48(%rsp)
movq %rcx, %r15
movl %edx, 0x3c(%rsp)
andq $0x0, 0x20(%rsp)
movq %rsi, %r14
andq $0x0, 0x18(%rsp)
andq $0x0, 0x30(%rsp)
movq %rdi, 0x28(%rsp)
callq 0x2216c0
leaq 0x1a7c2... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdFreeMultisigScriptHandle | int CfdFreeMultisigScriptHandle(void* handle, void* multisig_handle) {
try {
cfd::Initialize();
FreeBuffer(
multisig_handle, kPrefixMultisigScript, sizeof(CfdCapiMultisigScript));
return CfdErrorCode::kCfdSuccess;
} catch (const CfdException& except) {
return SetLastError(handle, except);
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
leaq 0x1a754f(%rip), %rsi # 0x3fa5d6
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x88260
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movl $0xa58, %edx # imm = 0xA58
callq 0x24e20f
leaq 0x10(%rsp), %rdi
callq 0x... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdParseDescriptor | int CfdParseDescriptor(
void* handle, const char* descriptor, int network_type,
const char* bip32_derivation_path, void** descriptor_handle,
uint32_t* max_index) {
CfdCapiOutputDescriptor* buffer = nullptr;
try {
cfd::Initialize();
if (descriptor_handle == nullptr) {
warn(CFD_LOG_SOURCE, "... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x728, %rsp # imm = 0x728
movq %r9, %r15
movq %r8, %r14
movq %rcx, %r13
movl %edx, %ebp
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2216c0
testq %r14, %r14
je 0x253468
testq %r12, %r12
je 0x2534f2
leaq 0xf(%rsp), %rsi
movb $0x0, (%rsi)
movl ... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdFreeDescriptorHandle | int CfdFreeDescriptorHandle(void* handle, void* descriptor_handle) {
try {
cfd::Initialize();
if (descriptor_handle != nullptr) {
CfdCapiOutputDescriptor* descriptor_struct =
static_cast<CfdCapiOutputDescriptor*>(descriptor_handle);
if (descriptor_struct->script_root != nullptr) {
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
testq %r14, %r14
je 0x2537b3
movq 0x10(%r14), %r15
testq %r15, %r15
je 0x253777
movq %r15, %rdi
callq 0x25665c
movq %r15, %rdi
callq 0x885c0
andq $0x0, 0x10(%r14)
movq 0x18(%r14), %r15
testq %r15, %r15
je 0x253795
movq %r15... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdGetDescriptorRootData | int CfdGetDescriptorRootData(
void* handle, void* descriptor_handle, int* script_type,
char** locking_script, char** address, int* hash_type,
char** redeem_script, int* key_type, char** pubkey, char** ext_pubkey,
char** ext_privkey, char** schnorr_pubkey, char** tree_string,
bool* is_multisig, uint3... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp # imm = 0x228
andq $0x0, 0xf8(%rsp)
andq $0x0, 0xf0(%rsp)
movq %r9, %r14
andq $0x0, 0xe8(%rsp)
movq %r8, 0xc8(%rsp)
andq $0x0, 0xe0(%rsp)
movq %rcx, 0xd0(%rsp)
andq $0x0, 0xd8(%rsp)
movq %rdx, %rbx
andq $0x0, 0x120(%rsp)
movq... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdGetDescriptorData | int CfdGetDescriptorData(
void* handle, void* descriptor_handle, uint32_t index, uint32_t* max_index,
uint32_t* depth, int* script_type, char** locking_script, char** address,
int* hash_type, char** redeem_script, int* key_type, char** pubkey,
char** ext_pubkey, char** ext_privkey, bool* is_multisig,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp # imm = 0x1F8
movq %r9, %rbx
andq $0x0, 0x30(%rsp)
movq %r8, %r13
andq $0x0, 0x28(%rsp)
movq %rcx, %rbp
andq $0x0, 0x20(%rsp)
movl %edx, 0xc(%rsp)
andq $0x0, (%rsp)
movq %rsi, 0x50(%rsp)
andq $0x0, 0x18(%rsp)
movq %rdi, 0x38(... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdGetDescriptorMultisigKey | int CfdGetDescriptorMultisigKey(
void* handle, void* descriptor_handle, uint32_t key_index, int* key_type,
char** pubkey, char** ext_pubkey, char** ext_privkey) {
char* work_pubkey = nullptr;
char* work_ext_pubkey = nullptr;
char* work_ext_privkey = nullptr;
try {
cfd::Initialize();
CheckBuffer(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp # imm = 0x1C8
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movl %edx, %ebp
andq $0x0, 0x10(%rsp)
movq %rsi, %r13
andq $0x0, 0x8(%rsp)
movq %rdi, 0x18(%rsp)
andq $0x0, 0x20(%rsp)
callq 0x2216c0
leaq 0x18a3b9(%rip), %rsi # ... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdGetAddressFromLockingScript | int CfdGetAddressFromLockingScript(
void* handle, const char* locking_script, int network_type,
char** address) {
int error_code = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(locking_script)) {
warn(CFD_LOG_SOURCE, "lockingScript is null or empty.");
throw ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x360, %rsp # imm = 0x360
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x255c7e
testq %r14, %r14
je 0x255cfc
leaq 0xf(%rsp), %rsi
movb $0x0, (%rsi)
movl %ebp, %edi
... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdGetAddressInfo | int CfdGetAddressInfo(
void* handle, const char* address, int* network_type, int* hash_type,
int* witness_version, char** locking_script, char** hash) {
int error_code = CfdErrorCode::kCfdUnknownError;
char* work_locking_script = nullptr;
char* work_hash = nullptr;
try {
cfd::Initialize();
if (I... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp # imm = 0x368
movq %r9, %r14
movq %r8, %r13
movq %rcx, %rbp
movq %rdx, %r12
movq %rsi, %r15
andq $0x0, 0x48(%rsp)
movq %rdi, 0x18(%rsp)
andq $0x0, 0x70(%rsp)
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x... | /p2pderivatives[P]cfd/src/capi/cfdcapi_address.cpp |
CfdInitializeBlockHandle | int CfdInitializeBlockHandle(
void* handle, int network_type, const char* block_hex,
void** block_handle) {
int result = CfdErrorCode::kCfdUnknownError;
CfdCapiBlockData* buffer = nullptr;
try {
cfd::Initialize();
if (block_handle == nullptr) {
warn(CFD_LOG_SOURCE, "block_handle is null.");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %rbx
callq 0x2216c0
testq %r15, %r15
je 0x256de5
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x256e63
leaq 0x1a3d77(%rip), %rsi # 0x3faac5
leaq 0x8(%rsp), %rdi
leaq 0x6(... | /p2pderivatives[P]cfd/src/capi/cfdcapi_block.cpp |
CfdFreeBlockHandle | int CfdFreeBlockHandle(void* handle, void* block_handle) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (block_handle != nullptr) {
CheckBuffer(block_handle, kPrefixBlock);
CfdCapiBlockData* data = static_cast<CfdCapiBlockData*>(block_handle);
if (data->block !=... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
testq %r14, %r14
je 0x2570bb
leaq 0x1a3a44(%rip), %rsi # 0x3faac5
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x88260
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x24e2d6
leaq 0x10(%rsp), %rdi
callq 0x88db0
movq 0x1... | /p2pderivatives[P]cfd/src/capi/cfdcapi_block.cpp |
CfdGetBlockHeaderData | int CfdGetBlockHeaderData(
void* handle, void* block_handle, uint32_t* version,
char** prev_block_hash, char** merkle_root_hash, uint32_t* time,
uint32_t* bits, uint32_t* nonce) {
int result = CfdErrorCode::kCfdUnknownError;
char* work_prev_block_hash = nullptr;
char* work_merkle_root_hash = nullptr;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
andq $0x0, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
callq 0x2216c0
leaq 0x1a3640(%rip), %rsi # 0x3faac5
leaq 0x80(%rsp), %rdi
leaq 0x28(%rsp),... | /p2pderivatives[P]cfd/src/capi/cfdcapi_block.cpp |
CfdGetTransactionFromBlock | int CfdGetTransactionFromBlock(
void* handle, void* block_handle, const char* txid, char** tx_hex) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
CheckBuffer(block_handle, kPrefixBlock);
CfdCapiBlockData* block_data =
static_cast<CfdCapiBlockData*>(block_handle);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2216c0
leaq 0x1a32f1(%rip), %rsi # 0x3faac5
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x88260
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x24e2d6
leaq 0x2... | /p2pderivatives[P]cfd/src/capi/cfdcapi_block.cpp |
CfdGetTxCountInBlock | int CfdGetTxCountInBlock(
void* handle, void* block_handle, uint32_t* tx_count) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
CheckBuffer(block_handle, kPrefixBlock);
CfdCapiBlockData* block_data =
static_cast<CfdCapiBlockData*>(block_handle);
if (tx_count == nu... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
leaq 0x1a288c(%rip), %rsi # 0x3faac5
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x88260
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x24e2d6
leaq 0x10(%rsp), %rdi
callq 0x88db0... | /p2pderivatives[P]cfd/src/capi/cfdcapi_block.cpp |
CfdGetSelectedCoinIndex | int CfdGetSelectedCoinIndex(
void* handle, void* coin_select_handle, uint32_t index,
int32_t* utxo_index) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
CheckBuffer(coin_select_handle, kPrefixCoinSelection);
if (utxo_index == nullptr) {
warn(CFD_LOG_SOURCE, "utxo i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
leaq 0x1a0ce4(%rip), %rsi # 0x3face8
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x88260
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x24e2d6
leaq 0x10(%rsp), %r... | /p2pderivatives[P]cfd/src/capi/cfdcapi_coin.cpp |
CfdInitializeMultisigScriptSig | int CfdInitializeMultisigScriptSig(void* handle, void** multisig_handle) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (multisig_handle == nullptr) {
warn(CFD_LOG_SOURCE, "multisig sign handle is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentErr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
testq %r14, %r14
je 0x25c467
leaq 0x19ef0f(%rip), %rsi # 0x3fb33a
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x88260
leaq 0x10(%rsp), %rdi
movl $0x15cc, %esi # imm = 0x15CC
callq 0x2... | /p2pderivatives[P]cfd/src/capi/cfdcapi_script.cpp |
CfdFreeMultisigScriptSigHandle | int CfdFreeMultisigScriptSigHandle(void* handle, void* multisig_handle) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
FreeBuffer(
multisig_handle, kPrefixMultisigScriptSig,
sizeof(CfdCapiMultisigScriptSigData));
return CfdErrorCode::kCfdSuccess;
} catch (const... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
leaq 0x19e10f(%rip), %rsi # 0x3fb33a
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x88260
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movl $0x15cc, %edx # imm = 0x15CC
callq 0x24e20f
leaq 0x10(%rsp), %rdi
callq 0... | /p2pderivatives[P]cfd/src/capi/cfdcapi_script.cpp |
CfdAddConfidentialTxIn | int CfdAddConfidentialTxIn(
void* handle, const char* tx_hex_string, const char* txid, uint32_t vout,
uint32_t sequence, char** tx_string) {
try {
cfd::Initialize();
if (IsEmptyString(tx_hex_string)) {
warn(CFD_LOG_SOURCE, "tx is null or empty.");
throw CfdException(
CfdError::kC... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp # imm = 0x1F8
movq %r9, %r14
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
movq %r13, %rdi
callq 0x24e80d
testb %al, %al
jne 0x26234c
movq %r12, %rdi
callq 0x24e80d
testb %al,... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetConfidentialTxInfo | int CfdGetConfidentialTxInfo(
void* handle, const char* tx_hex_string, char** txid, char** wtxid,
char** wit_hash, uint32_t* size, uint32_t* vsize, uint32_t* weight,
uint32_t* version, uint32_t* locktime) {
int error_code = CfdErrorCode::kCfdUnknownError;
char* work_txid = nullptr;
char* work_wtxid = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r9, %r13
movq %r8, 0x48(%rsp)
movq %rcx, 0x50(%rsp)
movq %rdx, %r12
andq $0x0, 0x68(%rsp)
movq %rsi, %rbx
andq $0x0, 0x60(%rsp)
andq $0x0, 0x58(%rsp)
movq %rdi, 0x20(%rsp)
callq 0x2216c0
movq %rbx, %rdi
callq 0x24e80d
testb %al, %a... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetTxInIssuanceInfo | int CfdGetTxInIssuanceInfo(
void* handle, const char* tx_hex_string, uint32_t index, char** entropy,
char** nonce, int64_t* asset_amount, char** asset_value,
int64_t* token_amount, char** token_value, char** asset_rangeproof,
char** token_rangeproof) {
char* work_entropy = nullptr;
char* work_nonce ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp # imm = 0x288
movq %r9, %rbp
andq $0x0, 0x48(%rsp)
movq %r8, %r13
andq $0x0, 0x40(%rsp)
movq %rcx, %r12
andq $0x0, 0x38(%rsp)
movl %edx, %ebx
andq $0x0, 0x30(%rsp)
movq %rsi, %r14
andq $0x0, 0x28(%rsp)
andq $0x0, 0x58(%rsp)
m... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetConfidentialTxInPeginWitnessCount | int CfdGetConfidentialTxInPeginWitnessCount(
void* handle, const char* tx_hex_string, uint32_t txin_index,
uint32_t* count) {
try {
cfd::Initialize();
if (IsEmptyString(tx_hex_string)) {
warn(CFD_LOG_SOURCE, "tx is null or empty.");
throw CfdException(
CfdError::kCfdIllegalArgume... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x220, %rsp # imm = 0x220
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x2659d5
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r15, %rsi
callq 0x88260
leaq 0x168(%... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetConfidentialTxOutCount | int CfdGetConfidentialTxOutCount(
void* handle, const char* tx_hex_string, uint32_t* count) {
try {
cfd::Initialize();
if (IsEmptyString(tx_hex_string)) {
warn(CFD_LOG_SOURCE, "tx is null or empty.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parame... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xe0, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x265bcd
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r15, %rsi
callq 0x88260
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x23e... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetConfidentialTxInIndex | int CfdGetConfidentialTxInIndex(
void* handle, const char* tx_hex_string, const char* txid, uint32_t vout,
uint32_t* index) {
try {
cfd::Initialize();
if (IsEmptyString(tx_hex_string)) {
warn(CFD_LOG_SOURCE, "tx is null or empty.");
throw CfdException(
CfdError::kCfdIllegalArgume... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x130, %rsp # imm = 0x130
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2216c0
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x265e1b
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x265e96
leaq 0x10(... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetConfidentialTxOutIndex | int CfdGetConfidentialTxOutIndex(
void* handle, const char* tx_hex_string, const char* address,
const char* direct_locking_script, uint32_t* index) {
try {
cfd::Initialize();
if (IsEmptyString(tx_hex_string)) {
warn(CFD_LOG_SOURCE, "tx is null or empty.");
throw CfdException(
Cfd... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5a8, %rsp # imm = 0x5A8
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
movq %r13, %rdi
callq 0x24e80d
testb %al, %al
jne 0x2662d0
leaq 0x50(%rsp), %rdi
leaq 0x200(%rsp), %rdx
movq %r13, %r... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdSetRawReissueAsset | int CfdSetRawReissueAsset(
void* handle, const char* tx_hex_string, const char* txid, uint32_t vout,
int64_t asset_amount, const char* blinding_nonce, const char* entropy,
const char* address, const char* direct_locking_script,
char** asset_string, char** tx_string) {
char* work_asset_string = nullptr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4e8, %rsp # imm = 0x4E8
movq %r9, %r15
movq %r8, %rbx
movl %ecx, %ebp
movq %rdx, %r13
movq %rsi, %r14
andq $0x0, 0x38(%rsp)
movq %rdi, 0x70(%rsp)
andq $0x0, 0x78(%rsp)
callq 0x2216c0
movq %r14, %rdi
callq 0x24e80d
testb %al, %al
jne 0x... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetIssuanceBlindingKey | int CfdGetIssuanceBlindingKey(
void* handle, const char* master_blinding_key, const char* txid,
uint32_t vout, char** blinding_key) {
try {
cfd::Initialize();
if (IsEmptyString(master_blinding_key)) {
warn(CFD_LOG_SOURCE, "master blinding key is null or empty.");
throw CfdException(
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xb0, %rsp
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2216c0
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x26718d
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x26720b
testq %r14, %r14
je 0x267286
leaq 0x... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdAddBlindTxInData | int CfdAddBlindTxInData(
void* handle, void* blind_handle, const char* txid, uint32_t vout,
const char* asset_string, const char* asset_blind_factor,
const char* value_blind_factor, int64_t value_satoshi,
const char* asset_key, const char* token_key) {
try {
cfd::Initialize();
CheckBuffer(blin... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %r9, %r15
movq %r8, %r12
movl %ecx, %ebp
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
leaq 0x19440d(%rip), %rsi # 0x3fbff5
leaq 0x58(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x88260
leaq... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdAddBlindTxOutData | int CfdAddBlindTxOutData(
void* handle, void* blind_handle, uint32_t index,
const char* confidential_key) {
try {
cfd::Initialize();
CheckBuffer(blind_handle, kPrefixBlindTxData);
CfdCapiBlindTxData* buffer =
static_cast<CfdCapiBlindTxData*>(blind_handle);
if (buffer->txout_blind_keys... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
leaq 0x193d9d(%rip), %rsi # 0x3fbff5
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x88260
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
callq 0x24e2d6
leaq 0x30(%rsp), %... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetBlindTxBlindData | int CfdGetBlindTxBlindData(
void* handle, void* blind_handle, uint32_t index, uint32_t* vout,
char** asset, int64_t* value_satoshi, char** asset_blind_factor,
char** value_blind_factor, char** issuance_txid, uint32_t* issuance_vout,
bool* is_issuance_asset, bool* is_issuance_token) {
int result = CfdE... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r9, %r12
movq %r8, %r14
movq %rcx, %r15
andq $0x0, 0x48(%rsp)
movl %edx, %ebp
andq $0x0, 0x40(%rsp)
movq %rsi, %r13
andq $0x0, 0x38(%rsp)
andq $0x0, 0x70(%rsp)
movq %rdi, 0x28(%rsp)
callq 0x2216c0
leaq 0x192e05(%rip), %rsi # 0x3... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdCreateConfidentialSighash | int CfdCreateConfidentialSighash(
void* handle, const char* tx_hex_string, const char* txid, uint32_t vout,
int hash_type, const char* pubkey, const char* redeem_script,
int64_t value_satoshi, const char* value_commitment, int sighash_type,
bool sighash_anyone_can_pay, char** sighash) {
try {
cfd:... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %r9, %r13
movl %r8d, %ebx
movl %ecx, 0x7c(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, 0x70(%rsp)
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x26b75b
movq %r14, %rdi
callq 0x24e80d... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdUnblindTxOut | int CfdUnblindTxOut(
void* handle, const char* tx_hex_string, uint32_t tx_out_index,
const char* blinding_key, char** asset, int64_t* value,
char** asset_blind_factor, char** value_blind_factor) {
char* work_asset = nullptr;
char* work_asset_blind_factor = nullptr;
char* work_value_blind_factor = null... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp # imm = 0x148
movq %r9, %r15
movq %r8, %r14
movq %rcx, %r12
movl %edx, %ebp
andq $0x0, 0x18(%rsp)
movq %rsi, %r13
andq $0x0, 0x10(%rsp)
movq %rdi, %rbx
andq $0x0, 0x40(%rsp)
callq 0x2216c0
movq %r13, %rdi
callq 0x24e80d
testb... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdUnblindIssuance | int CfdUnblindIssuance(
void* handle, const char* tx_hex_string, uint32_t tx_in_index,
const char* asset_blinding_key, const char* token_blinding_key,
char** asset, int64_t* asset_value, char** asset_blind_factor,
char** asset_value_blind_factor, char** token, int64_t* token_value,
char** token_blin... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp # imm = 0x238
movq %r9, 0x60(%rsp)
andq $0x0, 0x48(%rsp)
movq %r8, %r15
andq $0x0, 0x40(%rsp)
movq %rcx, %rbx
andq $0x0, 0x38(%rsp)
movl %edx, %ebp
andq $0x0, 0x30(%rsp)
movq %rsi, %r14
andq $0x0, 0x28(%rsp)
movq %rdi, 0x50(%... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdVerifyConfidentialTxSignature | CFDC_API int CfdVerifyConfidentialTxSignature(
void* handle, const char* tx_hex, const char* signature,
const char* pubkey, const char* script, const char* txid, uint32_t vout,
int sighash_type, bool sighash_anyone_can_pay, int64_t value_satoshi,
const char* value_commitment, int witness_version) {
bo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movq %r9, %r12
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, 0x48(%rsp)
callq 0x2216c0
movq %rbp, %rdi
callq 0x24e80d
testb %al, %al
jne 0x26cca0
movq %r13, %rdi
callq 0x24e80d
testb ... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetConfidentialValueHex | int CfdGetConfidentialValueHex(
void* handle, int64_t value_satoshi, bool ignore_version_info,
char** value_hex) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (value_hex == nullptr) {
warn(CFD_LOG_SOURCE, "value_hex is null.");
throw CfdException(
C... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
testq %r14, %r14
je 0x26d901
leaq 0x50(%rsp), %rdi
movq %r15, %rsi
callq 0x1d0756
leaq 0x28(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1f719a
leaq 0x8(%rsp), %rdi
leaq 0x... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetTxInIssuanceInfoByHandle | int CfdGetTxInIssuanceInfoByHandle(
void* handle, void* tx_data_handle, uint32_t index, char** entropy,
char** nonce, int64_t* asset_amount, char** asset_value,
int64_t* token_amount, char** token_value, char** asset_rangeproof,
char** token_rangeproof) {
char* work_entropy = nullptr;
char* work_non... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp # imm = 0x238
movq %r9, %rbp
andq $0x0, 0x48(%rsp)
movq %r8, %r13
andq $0x0, 0x40(%rsp)
movq %rcx, %r12
andq $0x0, 0x38(%rsp)
movl %edx, %ebx
andq $0x0, 0x30(%rsp)
movq %rsi, %r14
andq $0x0, 0x28(%rsp)
andq $0x0, 0x58(%rsp)
m... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdGetConfidentialTxOutByHandle | int CfdGetConfidentialTxOutByHandle(
void* handle, void* tx_data_handle, uint32_t index, char** asset_string,
int64_t* value_satoshi, char** value_commitment, char** nonce,
char** locking_script, char** surjection_proof, char** rangeproof) {
char* work_asset_string = nullptr;
char* work_value_commitment... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp # imm = 0x1C8
movq %r9, %r12
andq $0x0, 0x28(%rsp)
movq %r8, %r13
andq $0x0, 0x20(%rsp)
movq %rcx, 0xa0(%rsp)
andq $0x0, 0x18(%rsp)
movl %edx, %ebx
andq $0x0, 0x10(%rsp)
movq %rsi, %r14
andq $0x0, 0x8(%rsp)
andq $0x0, 0x90(%r... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdAddConfidentialTxOutput | int CfdAddConfidentialTxOutput(
void* handle, void* create_handle, int64_t value_satoshi,
const char* address, const char* direct_locking_script,
const char* asset_string, const char* nonce) {
try {
cfd::Initialize();
CheckBuffer(create_handle, kPrefixTransactionData);
CfdCapiTransactionData* ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x278, %rsp # imm = 0x278
movq %r9, %r13
movq %r8, %r12
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2216c0
leaq 0x150db4(%rip), %rsi # 0x3c073d
leaq 0xc8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x88260
leaq ... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdSetIssueAsset | int CfdSetIssueAsset(
void* handle, void* create_handle, const char* txid, uint32_t vout,
const char* contract_hash, int64_t asset_amount, const char* asset_address,
const char* asset_locking_script, int64_t token_amount,
const char* token_address, const char* token_locking_script,
bool is_blind_ass... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xaf8, %rsp # imm = 0xAF8
movq %r9, %r13
movq %r8, 0x40(%rsp)
movl %ecx, %ebp
movq %rdx, %rbx
andq $0x0, 0x38(%rsp)
movq %rsi, %r15
andq $0x0, 0x30(%rsp)
andq $0x0, 0x48(%rsp)
movq %rdi, 0x8(%rsp)
callq 0x2216c0
leaq 0x150765(%rip), %rsi... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdSetReissueAsset | int CfdSetReissueAsset(
void* handle, void* create_handle, const char* txid, uint32_t vout,
int64_t asset_amount, const char* blinding_nonce, const char* entropy,
const char* address, const char* direct_locking_script,
char** asset_string) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4a8, %rsp # imm = 0x4A8
movq %r9, %r14
movq %r8, %rbx
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x10(%rsp)
callq 0x2216c0
leaq 0x14fa76(%rip), %rsi # 0x3c073d
leaq 0x130(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x882... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdAddTxPeginInput | int CfdAddTxPeginInput(
void* handle, void* create_handle, const char* txid, uint32_t vout,
int64_t amount, const char* asset,
const char* mainchain_genesis_block_hash, const char* claim_script,
const char* mainchain_tx_hex, const char* txout_proof) {
int result = CfdErrorCode::kCfdUnknownError;
try... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp # imm = 0x198
movq %r9, %r13
movq %r8, %rbx
movl %ecx, %r12d
movq %rdx, %rbp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
callq 0x2216c0
leaq 0x14f36b(%rip), %rsi # 0x3c073d
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x8826... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdAddTxPegoutOutput | int CfdAddTxPegoutOutput(
void* handle, void* create_handle, const char* asset, int64_t amount,
int mainchain_network_type, int elements_network_type,
const char* mainchain_genesis_block_hash, const char* online_pubkey,
const char* master_online_key, const char* mainchain_output_descriptor,
uint32_t... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x458, %rsp # imm = 0x458
movl %r9d, %r12d
movl %r8d, %ebp
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, 0x10(%rsp)
callq 0x2216c0
leaq 0x14ea28(%rip), %rsi # 0x3c073d
leaq 0x68(%rsp), %rdi
leaq 0x2e0(%rsp), %rdx
callq 0x... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdUnblindTxOutData | int CfdUnblindTxOutData(
void* handle, const char* blinding_key, const char* locking_script,
const char* asset_commitment, const char* value_commitment,
const char* commitment_nonce, const char* rangeproof, char** asset,
int64_t* amount, char** asset_blind_factor, char** value_blind_factor) {
int resu... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp # imm = 0x2C8
movq %r9, 0x10(%rsp)
movq %r8, %r12
movq %rcx, %rbp
movq %rdx, %rbx
andq $0x0, 0x50(%rsp)
movq %rsi, %r15
andq $0x0, 0x48(%rsp)
movq %rdi, 0x18(%rsp)
andq $0x0, 0x40(%rsp)
callq 0x2216c0
leaq 0x18922d(%rip), %r1... | /p2pderivatives[P]cfd/src/capi/cfdcapi_elements_transaction.cpp |
CfdSignEcdsaAdaptor | int CfdSignEcdsaAdaptor(
void* handle, const char* msg, const char* sk, const char* adaptor,
char** adaptor_signature, char** adaptor_proof) {
int result = CfdErrorCode::kCfdUnknownError;
char* work_signature = nullptr;
char* work_proof = nullptr;
try {
cfd::Initialize();
if (IsEmptyString(msg))... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
andq $0x0, 0x78(%rsp)
movq %rdi, %rbx
andq $0x0, 0x80(%rsp)
callq 0x2216c0
movq %rbp, %rdi
callq 0x24e80d
testb %al, %al
jne 0x274ce7
movq %r13, %rdi
callq 0x2... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdAdaptEcdsaAdaptor | int CfdAdaptEcdsaAdaptor(
void* handle, const char* adaptor_signature, const char* adaptor_secret,
char** signature) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(adaptor_signature)) {
warn(CFD_LOG_SOURCE, "adaptor_signature is null or empty.");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2216c0
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x275225
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x2752a3
testq %r14, %r14
je 0x27531e
leaq 0x10(%rsp), %rdi
... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdExtractEcdsaAdaptorSecret | int CfdExtractEcdsaAdaptorSecret(
void* handle, const char* adaptor_signature, const char* signature,
const char* adaptor, char** adaptor_secret) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(adaptor_signature)) {
warn(CFD_LOG_SOURCE, "adaptor_signat... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
movq %r13, %rdi
callq 0x24e80d
testb %al, %al
jne 0x27564b
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x2756c9
movq %r15, %rdi
callq 0x2... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdVerifyEcdsaAdaptor | int CfdVerifyEcdsaAdaptor(
void* handle, const char* adaptor_signature, const char* proof,
const char* adaptor, const char* msg, const char* pubkey) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(adaptor_signature)) {
warn(CFD_LOG_SOURCE, "adaptor_sig... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %rbx
callq 0x2216c0
movq %rbp, %rdi
callq 0x24e80d
testb %al, %al
jne 0x275bad
movq %r13, %rdi
callq 0x24e80d
testb %al, %... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdGetSchnorrPubkeyFromPrivkey | int CfdGetSchnorrPubkeyFromPrivkey(
void* handle, const char* privkey, char** pubkey, bool* parity) {
try {
cfd::Initialize();
if (pubkey == nullptr) {
warn(CFD_LOG_SOURCE, "pubkey is null.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to parameter. pub... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2216c0
testq %r14, %r14
je 0x276090
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x27610b
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r12, %rsi
callq 0x88260
leaq 0x... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdCheckTweakAddFromSchnorrPubkey | int CfdCheckTweakAddFromSchnorrPubkey(
void* handle, const char* tweaked_pubkey, bool tweaked_parity,
const char* base_pubkey, const char* tweak) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(tweaked_pubkey)) {
warn(CFD_LOG_SOURCE, "tweak pubkey is n... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %r8, %r12
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x276dcc
movq %r14, %rdi
callq 0x24e80d
testb %al, %al
jne 0x276e4a
movq %r12, %rdi
callq 0x24e80d
testb... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdSignSchnorr | int CfdSignSchnorr(
void* handle, const char* msg, const char* sk, const char* aux_rand,
char** signature) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(msg)) {
warn(CFD_LOG_SOURCE, "msg is null or empty.");
throw CfdException(
CfdErr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
movq %r13, %rdi
callq 0x24e80d
testb %al, %al
jne 0x2772c9
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x277347... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdGetSighashTypeFromSchnorrSignature | int CfdGetSighashTypeFromSchnorrSignature(
void* handle, const char* signature, int* sighash_type,
bool* anyone_can_pay) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(signature)) {
warn(CFD_LOG_SOURCE, "signature is null or empty.");
throw CfdE... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2216c0
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x277e62
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r12, %rsi
callq 0x88260
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), ... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdComputeSchnorrSigPoint | int CfdComputeSchnorrSigPoint(
void* handle, const char* msg, const char* nonce, const char* pubkey,
char** sigpoint) {
int result = CfdErrorCode::kCfdUnknownError;
try {
cfd::Initialize();
if (IsEmptyString(msg)) {
warn(CFD_LOG_SOURCE, "msg is null or empty.");
throw CfdException(
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
movq %r13, %rdi
callq 0x24e80d
testb %al, %al
jne 0x27812c
movq %r12, %rdi
callq 0x24e80d
testb %al, %al
jne 0x2781aa
movq %r15, %rdi
callq 0x2... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdEncodeSignatureByDer | int CfdEncodeSignatureByDer(
void* handle, const char* signature, int sighash_type,
bool sighash_anyone_can_pay, char** der_signature) {
try {
cfd::Initialize();
if (IsEmptyString(signature)) {
warn(CFD_LOG_SOURCE, "signature is null or empty.");
throw CfdException(
CfdError::kCf... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %r8, %r14
movl %ecx, %r12d
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x278cd9
testq %r15, %r15
je 0x278d54
movzbl %r12b, %edx
movzbl %bpl, %esi
leaq 0x44(%rsp), %rdi
xorl %... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdDecodeSignatureFromDer | int CfdDecodeSignatureFromDer(
void* handle, const char* der_signature, char** signature,
int* sighash_type, bool* sighash_anyone_can_pay) {
try {
cfd::Initialize();
if (IsEmptyString(der_signature)) {
warn(CFD_LOG_SOURCE, "der_signature is null or empty.");
throw CfdException(
C... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
callq 0x2216c0
movq %r13, %rdi
callq 0x24e80d
testb %al, %al
jne 0x278fc0
testq %r12, %r12
je 0x27903b
leaq 0x2c(%rsp), %rdi
callq 0x1a2e9c
leaq 0x8(%rsp), %r... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
CfdNormalizeSignature | int CfdNormalizeSignature(
void* handle, const char* signature, char** normalized_signature) {
try {
cfd::Initialize();
if (IsEmptyString(signature)) {
warn(CFD_LOG_SOURCE, "signature is null or empty.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to pa... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2216c0
movq %r15, %rdi
callq 0x24e80d
testb %al, %al
jne 0x27927d
testq %r14, %r14
je 0x2792f8
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %r15, %rsi
callq 0x88260
leaq 0x48(%rsp), %rdi
le... | /p2pderivatives[P]cfd/src/capi/cfdcapi_key.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.