status-go/services/wallet/transfer
IvanBelyakoff 17aaaf1dca
fix(desktop/wallet): fix bug in balance_cache - balances and nonces (#3509)
were stored in cache by pointers, which caused falsy cache hits in loop
because pointers with same address were created for different block
numbers. Now cache uses block numbers of uint64 as key, which can
overflow but it is not a problem since we use this cache for values
comparison, not as user data.
Fix crash on nil pointer in log.
Remove some unused code.
Protect nonceRanges with mutex while reading.

Updates #10246
2023-05-19 14:46:54 +03:00
..
balance_cache.go fix(desktop/wallet): fix bug in balance_cache - balances and nonces (#3509) 2023-05-19 14:46:54 +03:00
block_dao.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
block_ranges_sequential_dao.go feat(wallet): Implemented SequentialFetchStrategy for transfers. (#3480) 2023-05-19 11:19:48 +03:00
block_test.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
commands.go fix(desktop/wallet): fix bug in balance_cache - balances and nonces (#3509) 2023-05-19 14:46:54 +03:00
commands_sequential.go fix(desktop/wallet): fix bug in balance_cache - balances and nonces (#3509) 2023-05-19 14:46:54 +03:00
concurrent.go fix(desktop/wallet): fix bug in balance_cache - balances and nonces (#3509) 2023-05-19 14:46:54 +03:00
concurrent_test.go feat(wallet): Implemented SequentialFetchStrategy for transfers. (#3480) 2023-05-19 11:19:48 +03:00
controller.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
database.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
database_test.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
downloader.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
iterative.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
iterative_test.go feat: enable wallet without network binding (#2349) 2021-09-09 16:28:54 +02:00
query.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
reactor.go fix(desktop/wallet): fix bug in balance_cache - balances and nonces (#3509) 2023-05-19 14:46:54 +03:00
sequential_fetch_strategy.go fix(desktop/wallet): fix bug in balance_cache - balances and nonces (#3509) 2023-05-19 14:46:54 +03:00
testutils.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
transaction.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
transaction_test.go feat(wallet) add GetMultiTransactions wallet API 2023-03-07 19:38:31 +04:00
view.go feat(Wallet): add opensea asset fetching by contract address and token id 2023-03-07 10:33:50 -03:00