CityOfZion / neo-gui-wpf

Port of official NEO GUI to WPF using MVVM pattern
MIT License
4 stars 6 forks source link

WalletController should only return DTO objects #37

Open aboimpinto opened 7 years ago

aboimpinto commented 7 years ago

Due the fact the system still on top of the NEO assemblies, there are a huge dependency on the UI of this objects that are been bind. The WalletController should be the level of abstraction between the NEO assemblies that control the BlockChain access and Wallet access and the rest of the application and no specific NEO objects should be pass to the UI but only DTO.

This mean that converts need to be in place and new objects need to be created in order to create this level of abstraction.

No changes in the NEO assemblies should break the NEO Wallet.

aboimpinto commented 6 years ago

WalletInfo full of UInt160 references