Create functional test to validate wallet compatibility with bitcoin-qt #721

Closed
opened 2026-05-20 17:54:47 +00:00 by johnny9 · 1 comment
johnny9 commented 2026-05-20 17:54:47 +00:00 (Migrated from github.com)

this being int64_t then being serialized and deserialized as such differs from how qt widgets does it, which it does unsigned int - the big difference here is writing and reading 8 bytes vs 4 bytes

This should mean that requests made in qt widgets can't really be read correctly in QML, so an existing GUI user moving to QML, may see their old requests disappear.

We should make an effort to maintain cross compatibility. So, compatibility with Qt Widgets gui entries being read in QML. But also, compatibility (as much as possible) with QML entries begin read by Qt widgets (should a user ever need to move back or use another project that uses the qt widgets gui/or qt widgets gui style serialization and deser).

Worthwhile to add and maintain a cross-compat func test.

Also, something to keep in mind for future development.

Originally posted by @jarolrod in https://github.com/bitcoin-core/gui-qml/pull/708#discussion_r3255600769

this being `int64_t` then being serialized and deserialized as such differs from how qt widgets does it, which it does `unsigned int` - the big difference here is writing and reading 8 bytes vs 4 bytes This should mean that requests made in qt widgets can't really be read correctly in QML, so an existing GUI user moving to QML, may see their old requests disappear. We should make an effort to maintain cross compatibility. So, compatibility with Qt Widgets gui entries being read in QML. But also, compatibility (as much as possible) with QML entries begin read by Qt widgets (should a user ever need to move back or use another project that uses the qt widgets gui/or qt widgets gui style serialization and deser). Worthwhile to add and maintain a cross-compat func test. Also, something to keep in mind for future development. _Originally posted by @jarolrod in https://github.com/bitcoin-core/gui-qml/pull/708#discussion_r3255600769_
johnny9 commented 2026-05-20 17:55:59 +00:00 (Migrated from github.com)

The test should start up bitcoin-qt from a recent release after creating and using a wallet with bitcoin-core-app. Keep the wallet loaded and starting bitcoin-qt should force it to read the wallet.

The test should start up bitcoin-qt from a recent release after creating and using a wallet with bitcoin-core-app. Keep the wallet loaded and starting bitcoin-qt should force it to read the wallet.
Sign in to join this conversation.
No description provided.