Closed tobiaschielens closed 4 years ago
This issue is related to the tfchain client used in threefold-wallet-electron.
Relevant link: https://github.com/threefoldtech/threefold-wallet-electron/tree/master/src
As discussed with Rob, we would receive a stripped down version of the API.
Issue won’t be solved for tfchain. Stellar services don’t have this issue.
Description: When having 300+ transactions the 3botconnect app is getting slow. The reason for this is that every transaction has to be parsed in the frontend. These transactions have a lot of unused information that could be stripped out.
Potential fix: Strip out unused fields
Fields we use: -- Foreach Account account.chain_info.chain_height
-- Foreach wallet wallet.balance wallet.balance.coins_unlocked wallet.balance.coins_locked wallet.balance.unconfirmed_coins_total wallet.balance.transactions wallet.balance._chain_type.currency_unit wallet.wallet_name wallet.wallet_index wallet.start_index wallet.address
--Foreach Transaction transaction.confirmed transaction.timestamp transaction.lock transaction.lock_is_timestamp transaction.recipient transaction.senders transaction.fee transaction.message transaction.inputs transaction.outputs transaction.id
-- Foreach input in transaction input.lock
-- Foreac output in transaction outputs.lock outputs.is_fee output.amount