Commit Graph

119 Commits (4cc03006a819f1775b7a9ef6a89dcaf4b5f45287)

Author SHA1 Message Date
Guten Ye 04403c5872 Fix encrypt_payment_id typo
6 years ago
Paul Shapiro f6aa79cbd9 updated core-cpp with prerct fix and rebuilt wasm/asmjs
6 years ago
Paul Shapiro 623c0e6d0f merged #82 and rebuilt corecpp
6 years ago
Guten Ye 7c8ff4a54e Added encrypt_payment_id
6 years ago
Paul Shapiro 3073a0e81c c 2018 -> 2019
6 years ago
Paul Shapiro 721f14a51d emscr_async_send_bridge: removed minor old include ("<future>")
6 years ago
Paul Shapiro 49ac85f1b7 rebuilt with updated mymonero-core-cpp and Guten's added functions
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
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 dea5679c50 updated core-cpp and rebuilt with recent tweaks
6 years ago
Paul Shapiro cba6eef5c0 ndorf: Remove external linkage for private data and functions
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 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
Paul Shapiro 20bf90c7d0 removed final__pid_encrypt
6 years ago
Paul Shapiro 3d64d6e0ba added a way to build for and run asmjs
6 years ago
Paul Shapiro 979a130ee3 sendingFunds: removed monero_openalias_utils as dep of SendFunds - was quite silly and wasn't even this repo
6 years ago
Paul Shapiro 6ce669c76c MyMoneroCoreBridge: setting est fee bulletproof flag default true; tests minor similar updates
6 years ago
Paul Shapiro 9c20339f19 updated emscripten build for 0.13.0.3 (enabled bulletproofs); updated emscripten to that built by 1.38.13 from 1.38.8; added boost::chrono fsyncobj now()
6 years ago
Paul Shapiro 6932103c4b rebuild MyMoneroCoreCpp.(js,wasm) with updated ringsize cpp and updated tests with enough decoys to construct tx
6 years ago
Paul Shapiro bbbb50836c updated min ringsize to 11 - tests need to be updated
6 years ago
Paul Shapiro 56c1fe2ffc monero_utils: renderer wasm load timer duration += 20ms
6 years ago
Paul Shapiro f6d572787f fixed MyMoneroCoreBridge locateFile() to support Windows paths by detecting node directly and using path module.. and clarified comment
6 years ago