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?
I'm coding the C++ version of the model that shows wallets and its addresses in the main page, and I realize that:
In the walletsModel.go (
fibercryptowallet/src/models/walletsModel.go
Line 50 in fb9e9d3
QWallettype.In the addressesModel.go (
fibercryptowallet/src/models/addressesModel.go
Line 41 in fb9e9d3
QAddresstype.But despite a wallet has a list of addresses, there's no connection between them but a
walletIdproperty in theQAddresstype, and aQWalletdoes not have such property, so this whole design makes no sense to me.Describe the solution you'd like
WalletsModelthat contains a list ofWallettypes that contains anAddressesModeltype containing the list ofAddresstypes related to that wallet.It's there any problem with this implementation?