Skip to content

Forward the request timeouts and the multisig refresh flag, keep the query back reference - #158

Merged
everoddandeven merged 3 commits into
libmonero:mainfrom
everoddandeven:bindings/raw-request-fixes
Nov 22, 2026
Merged

everoddandeven merged 3 commits into
libmonero:mainfrom
everoddandeven:bindings/raw-request-fixes

Conversation

@everoddandeven

Copy link
Copy Markdown
Member

Small fixes split out of #154 :

  • forward timeout_ms in send_json_request, send_path_request and send_binary_request, which the stubs already declared but the bindings rejected with a TypeError
  • forward refresh_after_import from the import_multisig_hex trampoline to python overrides
  • keep the back reference when a tx query is assigned again to the same query

The raw response parsing and the verify_message changes in #154 need some changes in monero-cpp first, so they're not included here.

The timeout test only checks that the request gets the timeout it was given. The request bindings still hold the GIL for the whole request, so a server in the same process can't answer until it times out.

everoddandeven and others added 3 commits November 22, 2026 18:47
Co-authored-by: mycomputercrashsalot <256064325+mycomputercrashsalot@users.noreply.github.com>
…ort_multisig_hex

Co-authored-by: mycomputercrashsalot <256064325+mycomputercrashsalot@users.noreply.github.com>
… same query

Co-authored-by: mycomputercrashsalot <256064325+mycomputercrashsalot@users.noreply.github.com>
@codacy-production

codacy-production Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage 100.00% diff coverage · +0.08% coverage variation

Metric Results
Coverage variation ✅ +0.08% coverage variation (-1.00%)
Diff coverage ✅ 100.00% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (bc9b1d1) 18037 16773 92.99%
Head commit (c5ddaad) 18075 (+38) 16822 (+49) 93.07% (+0.08%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#158) 51 51 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@everoddandeven
everoddandeven merged commit 1106331 into libmonero:main Nov 22, 2026
14 of 15 checks passed
@everoddandeven
everoddandeven deleted the bindings/raw-request-fixes branch November 22, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant