Commit Graph

78 Commits (master)

Author SHA1 Message Date
Paul Shapiro 299c0c4bd6 added address_and_keys_from_seed (aka create_address in previous mymonero-core-js), generate_key_derivation, derive_public_key, derive_subaddress_public_key, and decodeRct
6 years ago
Paul Shapiro ade81fff6a view only wallet login tests
6 years ago
Paul Shapiro ba5681be39 renamed some tests; (partial) uncommented fee est fns
6 years ago
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 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 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 34954b3dca updated mymonerocorecpp to remove requirement to precompute/pass dsts is_subaddress
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 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 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 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 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