Closed ryanxcharles closed 8 years ago
Fixed in a series of commits, particularly from https://github.com/dattnetwork/datt/commit/8b4dd5c7f28ec9da426658a92d3c34d7ef4e2a1a to https://github.com/dattnetwork/datt/commit/617e7e7dafb898b49ed4d71151b8da33ba413313
Right now a bunch of fullnode code is actually being loaded twice, because it is both in the main dattcore code as well as in the worker. One way to handle this is to put fullnode in its own separate file, so it only gets loaded once. Another way is to expose fullnode from datt-core.js. Either way, we need to not include the same code twice because it needlessly increases the filesize.