Simplify wallet method definitions
Actually all wallet methods return given type: wallet_serializer_wrapper<annotated_signed_transaction>
what is inconvienient from coding perspective like also wallet functionality, since help is automatically generated from method declarations.
-
At first step, lets create an alias (let say wallet_signed_transaction
and use it in all places where above template is instantiated as function return type. -
Regression tests must be adjusted to above change. -
Next, it should be possible to change input of sign_transaction
method fromwallet_serializer_wrapper<annotated_signed_transaction>
towallet_serializer_wrapper<transaction>
Example method being a subject to change: https://gitlab.syncad.com/hive/hive/-/blob/develop/libraries/wallet/include/hive/wallet/wallet.hpp#L413
Edited by Bartek Wrona