Commit Graph

275 Commits (b3476006e77bc9dac76d3c297c4614bf1301bcf0)
 

Author SHA1 Message Date
Paul Shapiro b7ca0152a4 deleted new_fake_address_for_rct_tx
6 years ago
Paul Shapiro 662b8487aa sendingFunds_utils: SendFunds(): changed sentAmount callback arg from float to JSBigInt
6 years ago
Paul Shapiro da0a95abd9 MyMoneroCoreBridge/api_safe_wordset_name: replaced capitalization with specific string match/mapping
6 years ago
Paul Shapiro bb00d6a6c8 removed log
6 years ago
Paul Shapiro 44e1483fe9 sendingFunds_utils: removed impls of estimateRctSize and calculate_fee plus calls to them by SendFunds() now that they're implemented in core-cpp
6 years ago
Paul Shapiro 632d060cc6 README: note about create_address
6 years ago
Paul Shapiro fbee6fcc05 README: removed some tabs
6 years ago
Paul Shapiro 4961bda5fa MyMoneroCoreBridge: removed comment
6 years ago
Paul Shapiro e47c466151 README: api docs
6 years ago
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 0e48a02c29 cleaned up code around test declarations; revived a few old tests for new methods for #56, and added method scaffolds for them (incremental commit); replaced Jest with Mocha
6 years ago
Paul Shapiro a5866fc187
Merge pull request #41 from mymonero/cpp
6 years ago
Paul Shapiro a4d74618df added mnemonic_languages.js utils
6 years ago
Paul Shapiro 12913740af package.json: removed old async dependency - zero deps\!
6 years ago
Paul Shapiro ade81fff6a view only wallet login tests
6 years ago
Paul Shapiro 5518bf3ae4 added wallet creation check
6 years ago
Paul Shapiro df247053b8 removed EstimatedTransaction_networkFee
6 years ago
Paul Shapiro 1675952d68 added calculate_fee, estimated_tx_network_fee, estimate_rct_tx_size bridge fns
6 years ago
Paul Shapiro ba5681be39 renamed some tests; (partial) uncommented fee est fns
6 years ago
Paul Shapiro 0beee7d81d txParsing/isTransactionConfirmed: checking nil height before comparison to prevent false positives
6 years ago
Paul Shapiro f6e497bbcc updated monero_utils to support calls which are safe over IPC to an electron remote from renderer proc's require
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 4a789ffcfe moved test file
6 years ago
Paul Shapiro 28f9246da8 fixed silly unterminated call stack regression in create transaction
6 years ago
Paul Shapiro 7de3cfcefa removed Math.random replacement with throw pending merge of https://github.com/kripken/emscripten/pull/7096 and replaced Math.random in list rand index in monero_sendingFunds_utils
6 years ago
Paul Shapiro 1cd6a1dfe6 updated MyMoneroCoreCpp with build that removed Math.random() usage
6 years ago
Paul Shapiro 85502fce1f removed '_IPCSafe' suffix and added '_nonIPCSafe' to the other for clarity
6 years ago
Paul Shapiro 0381c76760 tests: clarified how to load cryptonote_utils
6 years ago
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