1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/app/scripts/lib
Dan Finlay 8eb91e89bf Increment tx ids to avoid collisions
Fixes #791

It was possible for two requests to have the same ID, causing a crash and loss of StreamProvider connection.

This new id generation strategy creates a random ID, and increments it for each request.

In case the id generator is included from two different processes, I'm initializing the counter at a random number, and rolling it over a large number when it gets too big.
2016-11-17 14:05:12 -08:00
..
auto-faucet.js Auto linted 2016-06-21 13:18:32 -07:00
auto-reload.js dapp reload - fixed disconnect detection via polling 2016-10-12 12:35:55 -07:00
config-manager.js Fix gasPrice range 2016-10-13 15:10:29 -07:00
extension-instance.js Add extra edge compatibility 2016-08-29 17:33:18 -07:00
extension.js Implement some cross-browser practices (#473) 2016-07-21 10:45:32 -07:00
id-management.js Specify base 10 in bignumber 2016-10-13 16:04:23 -07:00
idStore.js Increment tx ids to avoid collisions 2016-11-17 14:05:12 -08:00
inpage-provider.js Increment tx ids to avoid collisions 2016-11-17 14:05:12 -08:00
is-popup-or-notification.js Unify notification and popup ui files 2016-08-16 16:46:44 -07:00
message-manager.js Auto linted 2016-06-21 13:18:32 -07:00
migrations.js Move all users to new scalable backend 2016-05-11 13:10:54 -07:00
notifications.js Make popup a little taller 2016-10-04 13:10:28 -07:00
obj-multiplex.js dapp reload - fixed disconnect detection via polling 2016-10-12 12:35:55 -07:00
port-stream.js dapp reload - fixed disconnect detection via polling 2016-10-12 12:35:55 -07:00
random-id.js Increment tx ids to avoid collisions 2016-11-17 14:05:12 -08:00
remote-store.js Fix broken reference to host store.didUpdate 2016-07-28 11:53:33 -07:00
stream-utils.js Auto linted 2016-06-21 13:18:32 -07:00