Guten Ye
10ebb31d49
Added derivation_to_scalar
6 years ago
Guten Ye
f896490c21
Added decodeRctSimple
6 years ago
Paul Shapiro
d0d7584fca
Merge pull request #12 from ExodusMovement/guten/estimate_rct_tx_size
...
Added estimate_rct_tx_size
6 years ago
Paul Shapiro
707416165b
ndorf: Pass ptree by const ref
...
ndorf: Pass payment id string by const ref
ndorf: Pass addr/key strings as movable temporaries
ndorf: Construct istringstream directly from string
ndorf: Move push/popped vector elements instead of copying
ndorf: Use unidirectional stringstreams
ndorf: Eliminate a needless copy of ptree child (not movable)
ndorf: Remove redundant move() on rvalues returned from function
ndorf: Remove move() on ptree nodes, it's not supported anyway
ndorf: Use unidirectional stringstreams (added istream which was left out at the time)
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
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
7874458317
serial_bridge: added missing err_msg when errCode on new send fns
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
db905570d0
removed new_fake_address_for_rct_tx as it's already in create_transaction
6 years ago
Paul Shapiro
1054d0c780
removed accidentally committed debug log
6 years ago
Paul Shapiro
5d2e6db0f3
uint -> unsigned int for emscripten
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
aca5f31361
serial_bridge_index: validate components for login: sec spend key and seed: added missing get_optionals to expose view-only login
6 years ago
Paul Shapiro
e8620e3c6f
serial_bridge_index: changed .get for rct to get_optional
6 years ago
Paul Shapiro
31c63e2f40
exposed create_transaction unlock_time via bridge
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
c12e98f4ba
having err code json ret include err_msg
6 years ago
Paul Shapiro
a5fc7efa38
removed requirement to pass dsts[i].is_subaddress via bridge
6 years ago
Paul Shapiro
dd28854917
removed some exceptions when the error should be allowed to be passed back
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
18f136433f
serial_bridge_index: factored ret_json_from_root and turned pretty-print off
6 years ago
Paul Shapiro
ecb9d701c3
bridged__generate_key_image
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