57 Commits (master)

Author SHA1 Message Date
Guten Ye e8c0a4f302 Add estimate_tx_weight
5 years ago
Guten Ye a0c410cb8a Add estimate-fee
5 years ago
Paul Shapiro bb3baad2ee updated estimated_tx_network_fee, and the step1 and step2 functions with fork_version support
5 years ago
Guten Ye 03980e5451 Update decodeRctSimple to support bulletproof2
5 years ago
Paul Shapiro 36af617b06 updated bridge__transfers__send__amountWOnlyDusty to not expect needed more money than found error
5 years ago
Paul Shapiro ad3a61b56e corrected caps mnemonic test case data
5 years ago
Paul Shapiro 7e543e0d43 caps agnostic mnemonic test case; added missing fee_mask to test
5 years ago
Paul Shapiro 365f4a1a5c added fee_mask support
5 years ago
Guten Ye 3b1cd7ae03 Added encrypt_payment_id
5 years ago
Paul Shapiro 07b76fea30 c 2018 -> 2019
5 years ago
Guten Ye 680b4e4367 Fix decodeRctSimple test: typo
5 years ago
Guten Ye 10ebb31d49 Added derivation_to_scalar
5 years ago
Guten Ye f896490c21 Added decodeRctSimple
5 years ago
Paul Shapiro d0d7584fca
Merge pull request #12 from ExodusMovement/guten/estimate_rct_tx_size
6 years ago
Paul Shapiro 649290a18a test_all: fixed test log name
6 years ago
Paul Shapiro 399d3fadf1 Implemented async monero send routine
6 years ago
Guten Ye 1fd7d422bd Added estimate_rct_tx_size
6 years ago
Paul Shapiro 41fbc55521 added bridge__mainnet_pubKeyDerivations test case to verify output ownership in generated txs; monero_transfer_utils / serial_bridge_index: exposed tx_pub_key retVal .. one possible addtl retVal would be the output pub keys.. but is there a use in non-test envs for that data?
6 years ago
Paul Shapiro e9d411deec updated monero_wallet_utils::decoded_seed with support to sanitize mnemonic string input with redundant and illegal whitespace chars, and updated tests; fixed bug in same function which prevented to_lower() call from being effective
6 years ago
Paul Shapiro 13b943d580 integrating openmonero's fix for mymonero-app-js#240 for spending rct coinbase outs
6 years ago
Paul Shapiro 6f11fff141 monero_transfer_utils: minor comment clarifications, formatting, and checking (basically impossible) err retval from _rct_hex_to_decrypted_mask; test_all: added stagenet coinbase outputs send test
6 years ago
Paul Shapiro c71b31ce53 validate components for login: disallowing subaddrs
6 years ago
Paul Shapiro ee3eede5d2 send step2 clarified arg sending_amount as final_total_wo_fee
6 years ago
Paul Shapiro 8c81237303 send: tweaked step2 name
6 years ago
Paul Shapiro a9daf4cef9 ported of send_coins.js / SendFunds() to C++, incl initial block weight support (previous commit already updated fee); set a few 'rct' lookups from get() to get_optional() in serial bridge (likely bugfix for pre rct outs - probably was the cause of some exceptions); returning tx and txBlob_byteLength from convenience__create_transaction for send fns; removed now unnecessary calculate_fee, estimate_rct_tx_size, create_transaction from bridge (encapsulated in send routine).. switched estimated_tx_network_fee over to fee_per_b (API change - the app-side bridge will take fee_per_kb with optl fee_per_b, preferring the latter and converting the former to b by /= 1024
6 years ago
Paul Shapiro bb9e55d4fe initial fee updates for block weight based tx construction; moved some functions around (+monero_fee_utils)
6 years ago
Paul Shapiro 69d69634fc updated to 0.13.0.3
6 years ago
Paul Shapiro d8aa609fc1 updated test_all with ringsize 11 test data for create_transaction, and removed partially redundant create_transaction test so only one dataset has to be maintained (and since coverage is basically the same)
6 years ago
Paul Shapiro a1b0aab6f6 test_all: updating 1/3 failing tests, BOOST_AUTO_TEST_CASE(bridged__estimate_rct_tx_size)
6 years ago
Paul Shapiro db905570d0 removed new_fake_address_for_rct_tx as it's already in create_transaction
6 years ago
Paul Shapiro 916b154e31 added address_and_keys_from_seed (renamed from create_address in old mymonero-core-js), generate_key_derivation, derive_public_key, derive_subaddress_public_key, and decodeRct
6 years ago
Paul Shapiro 31c63e2f40 exposed create_transaction unlock_time via bridge
6 years ago
Paul Shapiro 37d01a885e added missing to_addr to prev commit's dsts (regression - funds didn't appear at target)
6 years ago
Paul Shapiro 08edc0bd58 modified the interface to create transactions to remove requirement to construct and send dsts with either change or fake dst, by exposing change amount as param and uncommenting kept change addr / dsts construction - which actually solves a tx not created bug when sending to an addr (who is not oneself) with a short pid
6 years ago
Paul Shapiro a5fc7efa38 removed requirement to pass dsts[i].is_subaddress via bridge
6 years ago
Paul Shapiro 4032bc1dec language code support for checking prefix instead of full string
6 years ago
Paul Shapiro 33be2feb26 added mnemonic_language_from_code and convenience__new_wallet_with_language_code, updating newly_created_wallet to take language code and return mnemonic_language
6 years ago
Paul Shapiro 9a9d9cb8f0 added tx_key to create_transaction ret vals
6 years ago
Paul Shapiro 30d08919b0 fixed nettype in call to seed and keys from mnemonic and removed defaults from those args to prevent similar
6 years ago
Paul Shapiro 8c17ae4766 changed passing of mnemonic_string by value to by ref and taking copy for normalization to simplify interface; returning detected mnemonic language from wallet_with rather than requiring it; added are_equal_mnemonics function
6 years ago
Paul Shapiro b570efb573 test_all: factored to args_string_from_root
6 years ago
Paul Shapiro ecb9d701c3 bridged__generate_key_image
6 years ago
Paul Shapiro 8f25d553a2 log prefix improvement
6 years ago
Paul Shapiro 05147ea986 fee fns
6 years ago
Paul Shapiro 45b2d42366 bridged__validate_components_for_login, and fixed up some ref passing
6 years ago
Paul Shapiro 4aaef3ddd9 seed_and_keys_from_mnemonic
6 years ago
Paul Shapiro e74c266b7e a few more serial bridge index integrations and tests
6 years ago
Paul Shapiro 6c19abf379 bridged a few integrated and sub address accessors
6 years ago
Paul Shapiro 53a12f1d28 sketching remainder of required bridged fns; impl of decode_address bridge, replacing monero_address_utils isTestnet with nettype, and adding burned sec keys
6 years ago
Paul Shapiro 2ea3a47d85 added serial_bridge_index with JSON-bridged create tx, with new convenience create_transaction fn for extra construction etc, plus test
6 years ago