You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mymonero-core-js/monero_utils
Paul Shapiro 8a29a3531c
checking for non-existent task_id in json_roots - probably not strictly necessary since it would throw exception anyway
6 years ago
..
MyMoneroCoreBridge.js added emscr async send bridge, beginning to implement new async send bridge 6 years ago
MyMoneroCoreCpp_ASMJS.asm.js checking for non-existent task_id in json_roots - probably not strictly necessary since it would throw exception anyway 6 years ago
MyMoneroCoreCpp_ASMJS.js checking for non-existent task_id in json_roots - probably not strictly necessary since it would throw exception anyway 6 years ago
MyMoneroCoreCpp_WASM.js checking for non-existent task_id in json_roots - probably not strictly necessary since it would throw exception anyway 6 years ago
MyMoneroCoreCpp_WASM.wasm checking for non-existent task_id in json_roots - probably not strictly necessary since it would throw exception anyway 6 years ago
__IPCSafe_remote_monero_utils.js monero_utils/monero_utils: added webassembly detection with separate flag to indicate availability of asmjs in build (set to off for now until it can be packaged and loaded separately - probably requires exception in webpack config; tweaks to asmjs build flags to improve performance; added tests/web/test_harness.html (run with simple http server having copied webpacked build/mymonero-core.js and build/mymonero_core_js/ to tests/web/ 6 years ago
__bridged_fns_spec.js updated mymonero-core-cpp; updated bridge for new stepwise sending implementation (ported majority of SendFunds to C++ as send_step*_…; updated tests and removed removed bridge methods like calculate_fee, estimate rct tx size, and create_transaction; New: added tests/sendingFunds.spec.js as integration tests for new monero_sendingFunds_utils implementation - run with 'npm test -- tests/sendingFunds.spec.js'; CMakeLists: enabled ASSERTIONS 6 years ago
monero_amount_format_utils.js updated MyMoneroCoreCpp.js build; cryptonote_utils: extracted destination formatting and money amount formatting to sendingFunds_utils and money_format_utils respectively, and added IPCsafe (string instead of JSBigInt params) create_transaction variant to support call from electron renderer procs etc, and added more complete load readiness waiting interface, and added locateFile impl for passing as emscripten Module template to locate wasm file in various environments; monero_cryptonote_utils_instance: detecting electron renderer and exposing via electron.remote call (will this cause issues with anyone's build systems trying to include electron\?); commenting logs 6 years ago
monero_config.js updated mymonero-core-cpp; updated bridge for new stepwise sending implementation (ported majority of SendFunds to C++ as send_step*_…; updated tests and removed removed bridge methods like calculate_fee, estimate rct tx size, and create_transaction; New: added tests/sendingFunds.spec.js as integration tests for new monero_sendingFunds_utils implementation - run with 'npm test -- tests/sendingFunds.spec.js'; CMakeLists: enabled ASSERTIONS 6 years ago
monero_keyImage_cache_utils.js 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
monero_paymentID_utils.js monero_paymentID_utils: removed (now-) old wrapper around monero_utils.new_payment_id 6 years ago
monero_requestURI_utils.js 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
monero_sendingFunds_utils.js added emscr async send bridge, beginning to implement new async send bridge 6 years ago
monero_txParsing_utils.js fixed undefined 'moment' error and added tx parsing tests to hit moment codepath 6 years ago
monero_utils.js monero_utils: bringing wasm detection out of monero_utils-exported constructor (so it only has to be done once) 6 years ago