bd816f1e29
chore(wallet)_: split getWalletTokenBalances into multiple functions Removed some unused balances methods from wallet API chore(wallet)_: refactored FetchOrGetWalletTokenBalances - getWalletTokenBalances only returns cached ones - update of balances is done in a separate method chore(wallet)_: fix isVisible in getWalletTokenBalances is overwritten It is overwritten and in some cases its value is desrespected chore(wallet)_: simplify getWalletTokenBalance even further chore(wallet)_: remove accountsDB from wallet.Reader Call GetTestNetworkEnabled from NetworkManager instead chore(wallet)_: remove rpc.Client from wallet.Reader. Added GetActiveNetworks() method for NetworkManager Removed adding native tokens from networks, as this is done already in NetworkManager chore(wallet)_: moved Persistence to token package As it works with token_balances table, moved Persistence to token package. Fixed TokenManager's Mark/Get previously owned tokens to use persistence storage instead of direct SQL calls. Introduced StorageToken that aggregates Token type, because when Persistence moved to token package, names clash test(wallet)_: tests for wallet.Reader.FetchorGetCachedBalances |
||
---|---|---|
.. | ||
activity.go | ||
activity_test.go | ||
benchmarks_test.go | ||
details.go | ||
filter.go | ||
filter.sql | ||
filter_test.go | ||
get_collectibles.sql | ||
multiTxDetails.sql | ||
oldest_timestamp.sql | ||
recipients.sql | ||
service.go | ||
service_test.go | ||
session.go | ||
session_test.go | ||
txDetails.sql |