Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.15)

project(monero VERSION 0.9.3 LANGUAGES CXX)
project(monero VERSION 0.9.4 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down
2 changes: 1 addition & 1 deletion debian/bookworm/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Package: python3-monero
Architecture: all
Description: Python bindings for monero-cpp
This package provides Python 3 bindings for the monero-cpp library using pybind11.
Version: 0.9.3
Version: 0.9.4
2 changes: 1 addition & 1 deletion debian/jammy/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Package: python3-monero
Architecture: all
Description: Python bindings for monero-cpp
This package provides Python 3 bindings for the monero-cpp library using pybind11.
Version: 0.9.3
Version: 0.9.4
2 changes: 1 addition & 1 deletion debian/noble/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Package: python3-monero
Architecture: all
Description: Python bindings for monero-cpp
This package provides Python 3 bindings for the monero-cpp library using pybind11.
Version: 0.9.3
Version: 0.9.4
2 changes: 1 addition & 1 deletion debian/trixie/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Package: python3-monero
Architecture: all
Description: Python bindings for monero-cpp
This package provides Python 3 bindings for the monero-cpp library using pybind11.
Version: 0.9.3
Version: 0.9.4
2 changes: 1 addition & 1 deletion docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

DISTRO_CODENAME=$(grep VERSION_CODENAME /etc/os-release | cut -d'=' -f2)
DEFAULT_VERSION="0.9.3"
DEFAULT_VERSION="0.9.4"

if [ -z "$DISTRO_CODENAME" ]; then
DISTRO_CODENAME=$(lsb_release -c -s 2>/dev/null || echo "unknown")
Expand Down
20 changes: 19 additions & 1 deletion docs/mkdocs/docs/en/api/data_model/daemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ title: Daemon Data Model

::: monero.MoneroVersion

::: monero.MoneroRpcPaymentInfo

::: monero.MoneroBlockHeader

::: monero.MoneroBlock

::: monero.MoneroGetBlocksByHashResult

::: monero.MoneroGetBlockHashesResult

::: monero.MoneroTx

::: monero.MoneroKeyImage

::: monero.MoneroKeyImageSpentStatus

::: monero.MoneroOutput

::: monero.MoneroAltChain
Expand All @@ -27,14 +35,22 @@ title: Daemon Data Model

::: monero.MoneroMinerTxSum

::: monero.MoneroMinerData

::: monero.MoneroBlockTemplate

::: monero.MoneroGenerateBlocksResult

::: monero.MoneroConnectionSpan

::: monero.MoneroPeer

::: monero.MoneroSubmitTxResult

::: monero.MoneroAuxiliaryPow

::: monero.MoneroAddAuxiliaryPowResult

::: monero.MoneroTxBacklogEntry

::: monero.MoneroOutputDistributionEntry
Expand All @@ -53,6 +69,8 @@ title: Daemon Data Model

::: monero.MoneroDaemonSyncInfo

::: monero.MoneroDaemonNetworkStats

::: monero.MoneroHardForkInfo

::: monero.MoneroDaemonListener
::: monero.MoneroDaemonListener
4 changes: 3 additions & 1 deletion docs/mkdocs/docs/en/api/data_model/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ title: Wallet Data Model

::: monero.MoneroTxConfig

::: monero.MoneroKeyImageExportResult

::: monero.MoneroKeyImageImportResult

::: monero.MoneroMessageSignatureType
Expand All @@ -63,4 +65,4 @@ title: Wallet Data Model

::: monero.MoneroAccountTag

::: monero.MoneroWalletListener
::: monero.MoneroWalletListener
8 changes: 8 additions & 0 deletions docs/mkdocs/docs/en/api/errors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Errors
---
# Errors

::: monero.MoneroError

::: monero.MoneroRpcError
10 changes: 10 additions & 0 deletions docs/mkdocs/docs/en/api/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ title: Monero Utilities
# Monero Utilities

::: monero.MoneroUtils

::: monero.GenUtils

## Comparators

::: monero.TxHeightComparator

::: monero.IncomingTransferComparator

::: monero.OutputComparator
Empty file.
1 change: 1 addition & 0 deletions docs/mkdocs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ nav:
- Architecture: 'api/architecture.md'
- API Reference:
- Serializable Struct: 'api/serializable_struct.md'
- Errors: 'api/errors.md'
- Connection:
- Data Model: 'api/data_model/connection.md'
- RPC: 'api/connection.md'
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs/public/404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/architecture/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/connection/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/daemon/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/daemon_rpc/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/data_model/connection/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/data_model/daemon/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/data_model/wallet/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/mkdocs/public/api/errors/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/serializable_struct/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/utils/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/wallet/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/wallet_full/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/wallet_keys/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/api/wallet_rpc/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/examples/sending_payments/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/mkdocs/public/index.html

Large diffs are not rendered by default.

Binary file modified docs/mkdocs/public/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/mkdocs/public/search/search_index.json

Large diffs are not rendered by default.

48 changes: 27 additions & 21 deletions docs/mkdocs/public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,127 +2,133 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://everoddandeven.github.io/monero-python/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/architecture/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/architecture/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/connection/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/connection/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/daemon/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/daemon/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/daemon_rpc/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/daemon_rpc/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/errors/</loc>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/errors/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/serializable_struct/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/serializable_struct/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/utils/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/utils/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/wallet/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/wallet/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/wallet_full/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/wallet_full/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/wallet_keys/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/wallet_keys/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/wallet_rpc/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/wallet_rpc/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/data_model/connection/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/data_model/connection/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/data_model/daemon/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/data_model/daemon/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/api/data_model/wallet/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/api/data_model/wallet/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/examples/connect_to_rpc_server/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/examples/connect_to_rpc_server/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/examples/create_local_full_wallet/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/examples/create_local_full_wallet/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/examples/interact_with_daemon/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/examples/interact_with_daemon/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/examples/interact_with_wallet_rpc/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/examples/interact_with_wallet_rpc/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/examples/query_wallet_txs_and_transfers/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/examples/query_wallet_txs_and_transfers/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/examples/sending_payments/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/examples/sending_payments/"/>
</url>
<url>
<loc>https://everoddandeven.github.io/monero-python/examples/using_keys_only_wallet/</loc>
<lastmod>2026-07-28</lastmod>
<lastmod>2026-08-31</lastmod>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="https://everoddandeven.github.io/monero-python/examples/using_keys_only_wallet/"/>
</url>
Expand Down
Binary file modified docs/mkdocs/public/sitemap.xml.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion external/monero-cpp
Submodule monero-cpp updated 575 files
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "monero"
version = "0.9.3"
version = "0.9.4"
description = "A Python library for using Monero"
authors = [
{ name = "everoddandeven", email = "everoddandeven@protonmail.com" }
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='monero',
version='0.9.3',
version='0.9.4',
author='everoddandeven',
author_email="everoddandeven@protonmail.com",
maintainer='everoddandeven',
Expand Down
7 changes: 5 additions & 2 deletions src/cpp/common/py_monero_common_bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,17 @@ void py_monero_bind_common(py::module_& m, PyMoneroTypes& t) {
t.py_monero_rpc_payment_info
.def(py::init<>())
.def_static("deserialize", [](const std::string& json) {
MONERO_CATCH_AND_RETHROW(py_monero_deserialize<monero_rpc_payment_info>(json));
MONERO_CATCH_AND_RETHROW(monero_rpc_payment_info::deserialize(json));
}, py::arg("json"))
.def_readwrite("credits", &monero_rpc_payment_info::m_credits)
.def_readwrite("top_block_hash", &monero_rpc_payment_info::m_top_block_hash);

// monero_ssl_options
t.py_monero_ssl_options
.def(py::init<>())
.def_static("deserialize", [](const std::string& json) {
MONERO_CATCH_AND_RETHROW(ssl_options::deserialize(json));
}, py::arg("json"))
.def_readwrite("ssl_private_key_path", &ssl_options::m_ssl_private_key_path)
.def_readwrite("ssl_certificate_path", &ssl_options::m_ssl_certificate_path)
.def_readwrite("ssl_ca_file", &ssl_options::m_ssl_ca_file)
Expand All @@ -257,7 +260,7 @@ void py_monero_bind_common(py::module_& m, PyMoneroTypes& t) {
MONERO_CATCH_AND_RETHROW(monero_rpc_connection::compare(p1, p2));
}, py::arg("p1"), py::arg("p2"))
.def_static("deserialize", [](const std::string& json) {
MONERO_CATCH_AND_RETHROW(py_monero_deserialize_rpc_connection(json));
MONERO_CATCH_AND_RETHROW(monero_rpc_connection::deserialize(json));
}, py::arg("json"))
.def_property("uri",
[](const monero_rpc_connection& self) { return self.m_uri; },
Expand Down
Loading
Loading