Commit Graph

297 Commits (master)
 

Author SHA1 Message Date
Paul Shapiro d87f12b773 added missing OnceModuleReady to bridged fns ... this might get replaced with promises
6 years ago
Paul Shapiro d68c264b67 cryptonote_utils/decode_address: added missing bool parse
6 years ago
Paul Shapiro a7c64bdf49 readme: removed empty library roadmap section; updated regular contributors
6 years ago
Paul Shapiro 3a764f57ed removed old jest tests.. test which requires index.js triggers Math.random throw somehow.. crypto module / env probably not detected in emscripten.. considering dumping jest(..\?); --verbose on jest call
6 years ago
Paul Shapiro f5e6f1ef99 removed a bunch of tests which don't apply - they should be implemented on monero-core - this commit lacks updates to tests/cryptonote_utils.spec.js, some of which still apply
6 years ago
Paul Shapiro e073d278ed monero_sendingFunds_utils: removed mixin param to SendFunds, returning mixin, and tx_key
6 years ago
Paul Shapiro 7aa962de56 removed now unneccessary monero_wallet_utils wrapper fns
6 years ago
Paul Shapiro 06922f0e7d monero_paymentID_utils: removed (now-) old wrapper around monero_utils.new_payment_id
6 years ago
Paul Shapiro fb433f5c16 removing some now unused files and switching pid gen to monero_utils
6 years ago
Paul Shapiro 35c5839254 cryptonote_utils: added unlock_time to create_tx call
6 years ago
Paul Shapiro ece0890bb8 updated mymonerocorecpp with create tx tweaks from feedback
6 years ago
Paul Shapiro 0bad8449de unlock_time exposed; updating to fixed output amount overflow check
6 years ago
Paul Shapiro e881939e66 removed a log
6 years ago
Paul Shapiro 1bdfe2cbdb updated cryptonote_utils and sendingFunds usage of create_transaction to move dsts to core cpp, passing change amount, etc
6 years ago
Paul Shapiro 360cfa8d9c added missing to addr to dsts in core cpp from last commit
6 years ago
Paul Shapiro f6428658f0 updated mymonerocorecpp to remove need to send dsts to create tx and to fix short pid create tx issue
6 years ago
Paul Shapiro c9ccf85785 err msg for code
6 years ago
Paul Shapiro 61426b0d1c cryptonote_utils: added migrations from throws to err_msg rets which somehow got dropped from a previous commit; integrated create_transactions, with necessary serialization prep / sanitization .. this required changing the interface slightly, as well as condensing the create_transaction and serialize_tx steps in monero_sendingFunds_utils
6 years ago
Paul Shapiro 34954b3dca updated mymonerocorecpp to remove requirement to precompute/pass dsts is_subaddress
6 years ago
Paul Shapiro 0699298633 preventing calls to Math.random given existence (but probable unreachability) of emscripten call; added window.crypto-based impl of 0-1 float getRandom
6 years ago
Paul Shapiro 6a328b6540 removed newlycreatedwallet now-redundant interface fn; added core cpp support for language code -> mnemonic language; removed now unused rand gen fns from cryptonote_utils; added _monero_utils_i(instance)_nonthrowing for usage on an electron main process as remotely called by an electron renderer process, and added unpacking of err msgs to throws so as not to crash call to remote
6 years ago
Paul Shapiro a39bb6ebf2 updated mymonerocorecpp for lang code prefix checking support
6 years ago
Paul Shapiro 4b38effd37 updated mymonero core cpp to remove some exceptions
6 years ago
Paul Shapiro 49b7c51811 updated mymonerocorecpp for language_code support
6 years ago
Paul Shapiro 5a8de614c1 updated mymonero-core-cpp to get tx_key in create_transaction and rebuilt mymonerocorecpp
6 years ago
Paul Shapiro 87909492bc added missing mnemonic_language return
6 years ago
Paul Shapiro dfab7203fa fixed up nettype in seed_and_keys_from_mnemonic call; cryptonote_utils and monero_wallet_utils: moved mnemonic equals and language implementation to C++
6 years ago
Paul Shapiro a0f3bcd69c bridged are_equal_mnemonics
6 years ago
Paul Shapiro 84c8db7756 wallet and fake addr for rct tx method integrations; moved estimatedRctSize; moved tx parsing fns out of cryptonote_utils
6 years ago
Paul Shapiro 772fc340f9 updated estimateRctSize
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 8bc0cbdacb partial work to integrate new core - WIP, to now remove 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 b9cdc1966d removed monero-core-custom top lvl submod as it's now within mymonero-core-cpp
6 years ago
Paul Shapiro fad0bd589b new mymonero-core-cpp commits
6 years ago
Paul Shapiro 002bcaa657 added new mymonero-core-cpp (aka …--new) as submodule, with bin/update_submodules and Readme update
6 years ago
Paul Shapiro 4d7eb477ac build-openssl-emscripten.sh: fixed -i suffix
6 years ago
Paul Shapiro e58ff678d3 openssl build scripts -- pending bridge to new C++ impls, incl bulletproofs
6 years ago
Paul Shapiro 5ebcc30499 removed a log
6 years ago
Paul Shapiro 902a35253c 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
Paul Shapiro 92734c193a hostAPI/response_parser_utils: commented some logs
6 years ago
Paul Shapiro ad4d8024f8 modified emcpp build script organization and added flags
6 years ago
Paul Shapiro 08730fe613 readme updates
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