1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/app/scripts
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
..
lib Increment tx ids to avoid collisions 2016-11-17 14:05:12 -08:00
migrations Auto linted 2016-06-21 13:18:32 -07:00
background.js Move tos hash comparison logic from background to mm controller. 2016-10-11 14:33:30 -07:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
config.js Move tos hash logic to build phase. Create dynamic global variables based on build. 2016-10-11 14:32:03 -07:00
contentscript.js Lint. 2016-10-15 15:41:24 -07:00
inpage.js Wait for first metamask data to establish ping-pong stream. 2016-10-18 13:51:50 -07:00
metamask-controller.js First attempt at fixing errors in confirmation screen. 2016-11-14 11:19:01 -08:00
popup-core.js popup - breakout popup-core 2016-09-12 23:28:07 -07:00
popup.js mascara - everything but the popup bundle 2016-09-13 00:31:04 -07:00