Skip to content

hf21#201

Merged
victor-tucci merged 18 commits into
connection_checkfrom
dev
Jun 26, 2026
Merged

hf21#201
victor-tucci merged 18 commits into
connection_checkfrom
dev

Conversation

@victor-tucci

Copy link
Copy Markdown
Member

No description provided.

victor-tucci and others added 18 commits December 10, 2025 15:51
The wallet was crashing if you passed in an integer ID in the JSON RPC
command because it was only expecting to read a string for it. This
meant returning the try-catch into epee's serialisation for
`get_value()` which on paper, looks and should be a non-exception
throwing function on failure as it returns a boolean and there's only
one reasonable way for it to fail, that the key doesn't coerce to the
requested type.

Fix a null ID being assigned to the JSON response on error by setting
the ID in the error.
The previous implementation used int64_t values in
std::tuple<int64_t,int64_t,int64_t>, which overflow once chain totals
exceed the signed 64-bit range, causing negative emission values.
Emission, fees, and burnt amounts are non-negative monetary quantities
and should be stored as unsigned long long.
Correct emission/fee/burn accumulation by migrating from int64_t to unsigned long long in get_coinbase_tx_sum
wallet_rpc: fix JSON-RPC id redeclaration
… field in responses

- Rename "tx_hashes" parameter to "txs_hashes" in get_transactions RPC calls.
- Ensure transaction hashes are passed as arrays in JSON-RPC parameters.
- Add support for the "data" field in get_pruned_tx for hex transaction data.
- Request explicit "data" field in check_tx_key_helper.
- Use safe value access for "in_pool" field in daemon responses.
Update get_transactions RPC parameters and response handling
Bump version from 7.0.1 to 7.0.2
@victor-tucci victor-tucci merged commit 0cd20c7 into connection_check Jun 26, 2026
1 check passed
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.

4 participants