91 Commits (master)

Author SHA1 Message Date
Matt Smith e9bfdd3deb
Fix ring size (for real) and update dust threshold
4 years ago
Matt Smith a90ca140c0
Update fixed_ringsize
4 years ago
Paul Shapiro 20b6cbabf2
Merge pull request #28 from ExodusMovement/estimate-fee
5 years ago
Guten Ye e8c0a4f302 Add estimate_tx_weight
5 years ago
Guten Ye a0c410cb8a Add estimate-fee
5 years ago
Paul Shapiro 3743ca94d5 added serial_bridge_utils none_or_double_from, none_or_bool_from
5 years ago
Paul Shapiro bb3baad2ee updated estimated_tx_network_fee, and the step1 and step2 functions with fork_version support
5 years ago
Nathan Dorfman d9aa140687 Don't use newest fork rules if server sends an earlier version
5 years ago
Paul Shapiro 48aa7def29
Merge pull request #24 from ndorf/feature/rct_v2_squashed
5 years ago
Guten Ye d09f13a5ac Remove comments
5 years ago
Guten Ye 03980e5451 Update decodeRctSimple to support bulletproof2
5 years ago
Nathan Dorfman e8923bc021 Support new format of output.rct field
5 years ago
Paul Shapiro 71e383096f updated decodeRct and decodeRctSimple to handle type RCTTypeBulletproof2
5 years ago
Paul Shapiro e27621f435 updated core-custom for 0.14.0.0 fork and monero_transfer_utils for new construct_tx_and_get_tx_key interface
5 years ago
Paul Shapiro 3b7cc01878 monero_transfer_utils: not throwing invalid pid for empty pid str
5 years ago
Paul Shapiro ec5467b189 factored LightwalletAPI_Req_* -> json str creation fns
5 years ago
Guten Ye 58ada5b4c4 Keep dust utxo if mixable, no matter sweeping or not
5 years ago
Paul Shapiro 00c9639650 removed emscr_async_send_bridge again
5 years ago
Paul Shapiro ca15366936 added bool->str to serial_bridge_utils - this can probably be improved with a fn using a generic type
5 years ago
Paul Shapiro df52b0d6b8 added is_a_valid_or_not_a_payment_id to monero_paymentID_utils
5 years ago
Paul Shapiro cd8490837e moved emscr_async_send_bridge to this repo from core-js
5 years ago
Paul Shapiro 365f4a1a5c added fee_mask support
5 years ago
Paul Shapiro 888098e861 added missing pass by ref for ptree in api_fetch_cb_fn arg
5 years ago
Paul Shapiro 966f137d30 fixed pre-rct out .rct field empty detection
5 years ago
Guten Ye 3b1cd7ae03 Added encrypt_payment_id
5 years ago
Paul Shapiro 07b76fea30 c 2018 -> 2019
5 years ago
Guten Ye 10ebb31d49 Added derivation_to_scalar
5 years ago
Guten Ye f896490c21 Added decodeRctSimple
5 years ago
Paul Shapiro fb9b24d804 Merge branch 'develop' of github.com:mymonero/mymonero-core-cpp into develop
5 years ago
Paul Shapiro a143ee2037 monero_send_routine: replacing pass-by-ref since that was not the real issue
5 years ago
Paul Shapiro a60835b2bd Merge branch 'develop' of github.com:mymonero/mymonero-core-cpp into develop
5 years ago
Paul Shapiro e11449378f async_send_funds args: copies instead of refs to prevent going out of scope exceptions
5 years ago
Paul Shapiro d0d7584fca
Merge pull request #12 from ExodusMovement/guten/estimate_rct_tx_size
5 years ago
Paul Shapiro 707416165b ndorf: Pass ptree by const ref
5 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 aea00b3108 monero_transfers_utils removed unused line that caused extra copy
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 9ed97d0902 commented some new logs - it would be nice to enable these later
6 years ago
Paul Shapiro 8c81237303 send: tweaked step2 name
6 years ago
Paul Shapiro 7874458317 serial_bridge: added missing err_msg when errCode on new send fns
6 years ago
Paul Shapiro 617659c707 fixed bug when sending to subaddrs - cryptonote_tx_utils takes a list of tx_destination_entrys which it assumes have got their is_subaddr flags set correctly - and the flag that the to-address is a subaddress didn't get ported from cn_utils construct/create tx because we didn't need to do it in core-js to add subaddr support there – given that in core-js we modified the pub key for subaddr sending by directly detecting whether the dst addr is a subaddr – a difference from cryptonote_tx_utils. funds that were sent using the faulty subaddr support are not lost and are recoverable because only the tx pub key of the txs was incorrectly written - if the correct tx pub key is generated and use for that tx then funds can be scanned and sent from the correct receiving wallet - mymonero-app-js#237
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 d8d3c0f1a6 monero_wallet_utils: switched from memcpy to .data() access
6 years ago