summaryrefslogtreecommitdiff
path: root/patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2026-03-09 18:05:16 +0100
committerGitHub <noreply@github.com>2026-03-09 18:05:16 +0100
commit2c11591e02b907e63d8fd4fcb0a6559625934a95 (patch)
treedab95d36703f314a8ee9d6277a160df16833c4e5 /patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch
parent411e8a1cdb3f4c2812d83f28c335d2a4eb18bd29 (diff)
reproducibility (#177)
* reproducibility * wip: ci fixes, drop generate_translations_header.c * minor fixes * fix patch * fix: toolchain * bump hash * fix: minor build issue fixes * fix: x86_64-w64-mingw32 * wip * wip * all updated :o * fix: reduce git size * update checksum remove CI * chore, more optimal dockerfile * update monero to v0.18.4.6 * update checksum * update * minor patch update * fix: no command specified * fix: correct path * alpine * stupid. * AAWASTREYDRFUGTIHYJHGUTYFRDTFYVGUBHINJHGTYFRDSRTXDTCFHBJ
Diffstat (limited to 'patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch')
-rw-r--r--patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch68
1 files changed, 0 insertions, 68 deletions
diff --git a/patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch b/patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch
deleted file mode 100644
index de19446..0000000
--- a/patches/wownero/0011-Add-hex-encoding-and-tx-key-getter-for-PendingTransc.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From 96911b156ad9cfef2ebf2809a393492e87ab7607 Mon Sep 17 00:00:00 2001
-From: M <m@cakewallet.com>
-Date: Fri, 21 Apr 2023 15:43:47 -0400
-Subject: [PATCH 11/15] Add hex encoding and tx key getter for
- PendingTransction in wallet api.
-
----
- src/wallet/api/pending_transaction.cpp | 16 ++++++++++++++++
- src/wallet/api/pending_transaction.h | 2 ++
- src/wallet/api/wallet2_api.h | 2 ++
- 3 files changed, 20 insertions(+)
-
-diff --git a/src/wallet/api/pending_transaction.cpp b/src/wallet/api/pending_transaction.cpp
-index 9c3c26ee5..1f714d229 100644
---- a/src/wallet/api/pending_transaction.cpp
-+++ b/src/wallet/api/pending_transaction.cpp
-@@ -80,6 +80,22 @@ std::vector<std::string> PendingTransactionImpl::txid() const
- return txid;
- }
-
-+std::vector<std::string> PendingTransactionImpl::hex() const
-+{
-+ std::vector<std::string> hexs;
-+ for (const auto &pt: m_pending_tx)
-+ hexs.push_back(epee::string_tools::buff_to_hex_nodelimer(cryptonote::tx_to_blob(pt.tx)));
-+ return hexs;
-+}
-+
-+std::vector<std::string> PendingTransactionImpl::txKey() const
-+{
-+ std::vector<std::string> keys;
-+ for (const auto& pt: m_pending_tx)
-+ keys.push_back(epee::string_tools::pod_to_hex(pt.tx_key));
-+ return keys;
-+}
-+
- bool PendingTransactionImpl::commit(const std::string &filename, bool overwrite)
- {
-
-diff --git a/src/wallet/api/pending_transaction.h b/src/wallet/api/pending_transaction.h
-index 403bfe281..0cc6c58e9 100644
---- a/src/wallet/api/pending_transaction.h
-+++ b/src/wallet/api/pending_transaction.h
-@@ -59,6 +59,8 @@ public:
- std::string multisigSignData() override;
- void signMultisigTx() override;
- std::vector<std::string> signersKeys() const override;
-+ std::vector<std::string> hex() const override;
-+ std::vector<std::string> txKey() const override;
-
- private:
- friend class WalletImpl;
-diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
-index 013b5bcba..f421fdc05 100644
---- a/src/wallet/api/wallet2_api.h
-+++ b/src/wallet/api/wallet2_api.h
-@@ -127,6 +127,8 @@ struct PendingTransaction
- * @return vector of base58-encoded signers' public keys
- */
- virtual std::vector<std::string> signersKeys() const = 0;
-+ virtual std::vector<std::string> hex() const = 0;
-+ virtual std::vector<std::string> txKey() const = 0;
- };
-
- /**
---
-2.48.0
-