Roman Zeyde
Roman Zeyde
Rebasing to resolve a conflict with #4987.
Rebased to resolve a conflict with `main`.
Reproduced on an emulator with the following loop: ```python for i in range(100): client.cancel() client._raw_read() time.sleep(2) ``` https://github.com/user-attachments/assets/1fa513b2-cc03-4313-ade2-3cbded08bdd4
However, it seems to increase the "logging-intensive" tests runtime: ``` =============================================================================== slowest durations ================================================================================ 278.59s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs 29.54s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs 6.58s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs 5.07s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs 5.06s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change 3.86s...
I have opened https://github.com/trezor/trezor-firmware/pull/5056 that handles rewrites both `trezor.log` and `trezor.wire_log` in Rust. However, currently MicroPython generator API doesn't expose its underlying function name ([except for `gen_instance_print` implementation](https://github.com/trezor/micropython/blob/5e38f62f26d526b4c9f9c490649ca4b9074d52dd/py/objgenerator.c#L150-L154)). OTOH, we...
Force-pushed to fix a typo in commit description.
> Nice. Thanks :) > I wonder about just adding a content-type like option so that the api endpoint is the same but you simply say if you want binary...
> Not sure we should export a custom binary format for undo data like this. In my opinion, using a binary format allows us to achieve significantly better performance when...
> At least there should be a JSON option? Sounds good, added in https://github.com/bitcoin/bitcoin/pull/32540/commits/9d7e23e2f505ce6cbe830fc607cf203b1a48ba0d: Tested with: ```sh curl -s http://localhost:8332/rest/spenttxouts/00000000000034a32d25a4df37018194645cd62bf311b04ce322da9d800d4576.json | jq . ``` ```json [ [], [ { "value":...
Many thanks! Added a release note in https://github.com/bitcoin/bitcoin/pull/32540/commits/c48846ec4169f749d28da05de849c43a488c3a70 - please let me know if it's OK :)