block-core / blockcore-wallet

Web5 Wallet for your coins, tokens, identities, NFTs and more.
https://www.blockcore.net/wallet
MIT License
43 stars 35 forks source link

Consider not downloading the transaction hex during wallet sync #106

Closed sondreb closed 2 years ago

sondreb commented 2 years ago

We could instead download the hex being used from the indexer upon the time user creates the transaction.

The hex is only used when constructing the transaction.

For large wallets, this means almost 50% reduction in HTTP requests on initial sync.

sondreb commented 2 years ago

This has already been implemented, the wallet will only download hex upon sending new transactions. This applies to both Normal and Quick mode accounts.