Skip to content

Confusing design of the wallets and addresses models. #367

@stdevCrow

Description

@stdevCrow

I'm coding the C++ version of the model that shows wallets and its addresses in the main page, and I realize that:

But despite a wallet has a list of addresses, there's no connection between them but a walletId property in the QAddress type, and a QWallet does not have such property, so this whole design makes no sense to me.

Describe the solution you'd like

  • A C++ WalletsModel that contains a list of Wallet types that contains an AddressesModel type containing the list of Address types related to that wallet.

It's there any problem with this implementation?

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is neededqml_modelsQML models to connect to core interface

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions