Commit Graph

241 Commits (3073a0e81c7749d61c77588cbf3326c01cc7044d)
 

Author SHA1 Message Date
Paul Shapiro 3073a0e81c c 2018 -> 2019
5 years ago
Paul Shapiro 88718db1fb updated README to discuss bin/package_browser_js, mymonero_core_js global etc
5 years ago
Paul Shapiro d81401ea05 added derivation_to_scalar, decodeRctSimple, estimate_rct_tx_size to Readme
5 years ago
Paul Shapiro 721f14a51d emscr_async_send_bridge: removed minor old include ("<future>")
5 years ago
Paul Shapiro 49ac85f1b7 rebuilt with updated mymonero-core-cpp and Guten's added functions
6 years ago
Paul Shapiro 8116a319fc Merge branch 'develop' of github.com:mymonero/mymonero-core-js into develop
6 years ago
Paul Shapiro e2b6ac470c fixed payment_id_string key name in sendingFunds.spec.js
6 years ago
Paul Shapiro b25166b71f
Merge pull request #76 from ExodusMovement/guten/decode_rct_simple
6 years ago
Guten Ye 5516953684 Remove newline at the end of file
6 years ago
Guten Ye 5950000a06 Added decodeRctSimple
6 years ago
Paul Shapiro 8ceb35f95a
Merge pull request #71 from ExodusMovement/guten/derivation_to_scalar
6 years ago
Paul Shapiro 7de66f161e
Merge pull request #73 from ExodusMovement/guten/estimate_rct_tx_size
6 years ago
Guten Ye 882e3f9ab8 Remove newline at the end of file
6 years ago
Guten Ye dd9df3a39b Remove newline at the end of file
6 years ago
Guten Ye 3902091a7f Added derivation_to_scalar
6 years ago
Guten Ye d5e4151a6d Added estimate_rct_tx_size
6 years ago
Paul Shapiro c0be7f8819 updates to the readme for the latest modifications to remove monero_utils, add async__send_funds; added note about paid hosting service for wallet app producers
6 years ago
Paul Shapiro 99195a5597 emscr dep min version note
6 years ago
Paul Shapiro 47db6a2763 fixed up tests/monero_utils.spec having removed monero_utils/monero_utils
6 years ago
Paul Shapiro dea5679c50 updated core-cpp and rebuilt with recent tweaks
6 years ago
Paul Shapiro 0860e055b4 fixed index.js TODO monero_utils by wiring to MyMoneroCoreBridge
6 years ago
Paul Shapiro cba6eef5c0 ndorf: Remove external linkage for private data and functions
6 years ago
Paul Shapiro 4b66149c0d fixed up sendingFunds test call interface
6 years ago
Paul Shapiro 4936f4ec6d removed old comments
6 years ago
Paul Shapiro 60d5897325 completed async__send_funds in CoreBridge
6 years ago
Paul Shapiro c1c812bf64 updated monero_utils references to coreBridge_instance names for clarity - only mymonero-app-js needs to have a 'monero_utils' bridge at this point, so library consumers can now think about using MyMoneroCoreBridge directly (hurray)
6 years ago
Paul Shapiro 04f21202d5 removed monero_utils/monero_requestURI_utils.js so that it now lives in mymonero-app-js
6 years ago
Paul Shapiro 5b4f6a90a7 fixed get_random_outs req_params amounts (single val constructed -> array)
6 years ago
Paul Shapiro 43f0096a42 opted to change return {err_msg} to throws
6 years ago
Paul Shapiro 9bfa1acee0 big changes: removed monero_utils file, plus IPCSafe_remote_monero_utils (this is now up to applications); completely reworked monero_sendingFunds - SendFunds is gone, now implemented in MyMoneroCoreBridge; removed response_parser_utils unspent outs parsing; updated sendingFunds.spec.... next commit will change CoreBridge return { err_msg } to throws since no IPC is necessary anymore
6 years ago
Paul Shapiro 13d38f3dae removed cruft of nested struct in Send_HeapValsContainer, and renamed that to ~asyncContext
6 years ago
Paul Shapiro 6adf8435a9 added 'valsState' to emscr_async_send_bridge with assertions to check state sanity, pending possible removal of optionals types wrapping step1 and 2 vals
6 years ago
Paul Shapiro ba44bdb61e support for sending err_msg from server back to C++ to free heap vals container and return err
6 years ago
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
Paul Shapiro bdfb35c661 updated core-cpp with 'develop'
6 years ago
Paul Shapiro 1ba894aed3 added emscr async send bridge, beginning to implement new async send bridge
6 years ago
Paul Shapiro 2c3f0dc7bd fixed undefined 'moment' error and added tx parsing tests to hit moment codepath
6 years ago
Paul Shapiro 26c07431ee monero_utils: bringing wasm detection out of monero_utils-exported constructor (so it only has to be done once)
6 years ago
Paul Shapiro f31674bb34 api-breaking change: switched monero_utils from returning a promise to returning a promise-returning-function
6 years ago
Paul Shapiro 17baa7c2dc MyMoneroCoreBridge: xmlhttprequest vs fetch comment
6 years ago
Paul Shapiro a5f81eb3a1 updated mymonero-core-cpp and rebuilt (mainly readme updates but also verifies addr is not subaddr on validate components for login)
6 years ago
Paul Shapiro 2a6be2dcea minor comment about usage of eval()
6 years ago
Paul Shapiro 63ffa3e868 MyMoneroCoreBridge: added missing 'reject' to promise cb
6 years ago
Paul Shapiro 859935585a minor comment, and catching undefined reject in monero_utils
6 years ago
Paul Shapiro 18b281e134 enabled asmjs as additional build target, and added code to monero_utils/MyMoneroCoreBridge.js with preliminary wasm support detection and fallback to loading separated asm.js file (and different MyMoneroCoreCpp for ASMJS) to remove need for wasm users to load asmjs and asmjs loading code; the asm.js file is separated out from MyMoneroCoreCpp_ASMJS.js with --separate-asm to improve initial load time and, more importantly here, to enable bin/package_browser_js and other webpack like builds to keep the majority of the asmjs separate from the main mymonero_core.js (or e.g. mymonero_app_browser.js) bundle, so that wasm users don't have to load the asmjs along with the main app bundle - however, the overhead of bundling MyMoneroCoreCpp_ASMJS.js into such a main bundle does still exist. in near future, it would be nice to add an option to webpack.config.browser.common.js or bin/package_browser_js or possible just inheriting/alternate versions of those which can opt to remove asmjs support and throw an exception or alert if it's simply not supported - this is probably what MyMonero will move to within a year or two as legacy browsers fade from usage
6 years ago
Paul Shapiro 64bc1cfa96 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
Paul Shapiro c3351a5a7c minor comment
6 years ago
Paul Shapiro 789c1fa71b breaking change to UnspentOuts hostedMoneroAPIClient method callback args: removed redundant unusedOutputs and switched over to mandatory return of per byte fee - prefers per b in API response with fallback to per kb for deploy rollover - per kb can be removed in the future
6 years ago
Paul Shapiro eb9db411f6 updated SendFunds to take number or string for amount - todo: migrate this to string only
6 years ago
Paul Shapiro 5611835d14 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