-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DO NOT SQUASH Meta wallet transaction history #8228
Commits on May 23, 2019
-
[feature] use subscriptions for tokens
- removes fetching of last 100000 blocks of token transfers from the wallet pull loop - fetches the last 100000 blocks of token transfers at startup - replaces pulling by subscriptions to ethlogs for token transfers
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for f5c18ae - Browse repository at this point
Copy the full SHA f5c18aeView commit details -
[feature] use new block signal to get new transactions
- remove the transaction fetching loop entirely to rely only on subscription for live transactions and token transfer updates - fetch token transfers history via etherscan API to lift the 100000 blocks limit on token transfers history - inbound token transfers are catched via a filter on ethlogs - outbound token transfers and other transactions are catched by filtering transaction in current block that have the wallet address as to or from field
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for b274ed9 - Browse repository at this point
Copy the full SHA b274ed9View commit details -
[refactor] transaction details
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for f1b8ba8 - Browse repository at this point
Copy the full SHA f1b8ba8View commit details -
[refactor] transaction history and filters
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 2cd26c5 - Browse repository at this point
Copy the full SHA 2cd26c5View commit details -
[performance] improve wallet update performances
`wallet-autoconfig-token` is a very expensive call on mainnet because it checks the balance of every known token. it is called: - when wallet is refreshed by pulling - when user goes on any wallet screen this PR changes that by: - calling it only when the wallet is initialized and there is no visible-token configuration it only calls update-wallet when a new transaction arrives
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 89680f4 - Browse repository at this point
Copy the full SHA 89680f4View commit details -
[refactoring] remove web3, clean up wallet effects
- introduce json-rpc namespace, which provides `call` and `eth-call`, a generic way of calling a json-rpc method taking care of conversions and error handling - remove web3 usage from wallet - clean up effects, reducing the amount of computations when login in
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for fc4c772 - Browse repository at this point
Copy the full SHA fc4c772View commit details -
[refactor] remove ethereum
call
andcall-params
- use `json-rpc/eth-call` and `json-rpc/eth-transaction-call` everywhere - move all conversions to abi-spec
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for b6fecd4 - Browse repository at this point
Copy the full SHA b6fecd4View commit details -
[fix] always show tokens that have a balance
- temporary fix before visible assets are fixed - the problem is that you can't hide an asset with the way it currently works, it will come back every time as long as there is a balance for it Signed-off-by: yenda <eric@status.im>
yenda committedMay 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 4103591 - Browse repository at this point
Copy the full SHA 4103591View commit details