Commit Graph

13 Commits (0607e1ecea404d38508ea6d1120634106c94225c)

Author SHA1 Message Date
Paul Shapiro ef830ad28a lots of moving things around; implemented promise constructor for monero_utils (which is actually MyMoneroCoreBridge, a new class to replace cnUtil).. this was chosen after trying both promises directly in the functions and async/await in one or two decent patterns in order to avoid the requirement that integrators support async/await and to retain the option for calls to monero_utils to remain synchronous - added src/module-post as a post-js in order to fix emscripten .then infinite loop ... this PR does not include any kind of support for calling from electron renderer to electron main - that is, the code to detect electron renderer, then intercept ret.err_msg and throw only if not in electron renderer, and relay ret.err_msg otherwise has been removed for the moment.. will likely be added back
6 years ago
Paul Shapiro 8dc79ad999 switching back to wasm and optimizing via lto - we must be on the watch for regressions with LTO; removing link to various boost libs which are apparently unnecessary - surprised me, not sure I understand
6 years ago
Paul Shapiro b7a996349e some minor cleanups and rebuilds.. switching to O3 instead of Oz to retest speed of key img gen under asm.js before wasm given now no openssl dep
6 years ago
Paul Shapiro a7d31c8777 removing openssl
6 years ago
Paul Shapiro d517038059 switching from wasm to asm.js for numerous reasons such as load time (currently, tradeoff is that seed-and-keys-from-mnemonic takes a long time for some reason, maybe keccak... keep JS impl?), switching optimizations to speed
6 years ago
Paul Shapiro 59a383c7c1 bridged new serial_bridge_index methods and added all manual call test cases in MyMoneroCoreCpp_int.node.js - pending replacing JS API fns with these calls. this commit shows the first working POC of transpiling the major monero src to JS, and has shown that startup time must be optimized. that's currently a WIP.. contribution welcome
6 years ago
Paul Shapiro e58ff678d3 openssl build scripts -- pending bridge to new C++ impls, incl bulletproofs
6 years ago
Paul Shapiro ad4d8024f8 modified emcpp build script organization and added flags
6 years ago
Paul Shapiro b529bdbeaa fix ups to emscripten build procedures; swapped cryptonote_crypto_EMSCRIPTEN with MyMoneroCoreCpp.(js,wasm), and had to introduce blocking to methods which use CNCrypto var due to new async Module init; updated Readme
6 years ago
Paul Shapiro 75a207d428 boost buildchain (download expanded dir contents to contrib/boost-sdk .. may make it a locked submod later but leaving version open for now since we have working 1.6.7) & working monero src sc_reduce32 poc include + JS call
6 years ago
Paul Shapiro 3d24fc09b8 transition commit adding monero-core-custom, prior to adding boost
6 years ago
Paul Shapiro c04651731e sc_reduce32 poc
6 years ago
Paul Shapiro 7a7148537c initial emjs build & test chain impl - excluding it from global jest tests pending imminent wasm parent path fix PR merge
6 years ago