Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88d5e1f50e | |||
| 644a8d3b4d | |||
| e80d135c15 | |||
| a40026f941 |
@@ -1,4 +1,4 @@
|
||||
# Salvium One v1.0.3
|
||||
# Salvium One v1.0.4
|
||||
|
||||
Copyright (c) 2023-2025, Salvium
|
||||
Portions Copyright (c) 2014-2023, The Monero Project
|
||||
@@ -172,7 +172,7 @@ invokes cmake commands as needed.
|
||||
|
||||
```bash
|
||||
cd salvium
|
||||
git checkout v1.0.3
|
||||
git checkout v1.0.4
|
||||
make
|
||||
```
|
||||
|
||||
@@ -251,7 +251,7 @@ Tested on a Raspberry Pi Zero with a clean install of minimal Raspbian Stretch (
|
||||
```bash
|
||||
git clone https://github.com/salvium/salvium
|
||||
cd salvium
|
||||
git checkout v1.0.3
|
||||
git checkout v1.0.4
|
||||
```
|
||||
|
||||
* Build:
|
||||
@@ -370,10 +370,10 @@ application.
|
||||
cd salvium
|
||||
```
|
||||
|
||||
* If you would like a specific [version/tag](https://github.com/salvium/salvium/tags), do a git checkout for that version. eg. 'v1.0.3'. If you don't care about the version and just want binaries from master, skip this step:
|
||||
* If you would like a specific [version/tag](https://github.com/salvium/salvium/tags), do a git checkout for that version. eg. 'v1.0.4'. If you don't care about the version and just want binaries from master, skip this step:
|
||||
|
||||
```bash
|
||||
git checkout v1.0.3
|
||||
git checkout v1.0.4
|
||||
```
|
||||
|
||||
* If you are on a 64-bit system, run:
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#define DEF_SALVIUM_VERSION_TAG "@VERSIONTAG@"
|
||||
#define DEF_SALVIUM_VERSION "1.0.3"
|
||||
#define DEF_SALVIUM_VERSION "1.0.4"
|
||||
#define DEF_MONERO_VERSION_TAG "release"
|
||||
#define DEF_MONERO_VERSION "0.18.3.4"
|
||||
#define DEF_MONERO_RELEASE_NAME "One"
|
||||
|
||||
@@ -11843,8 +11843,13 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_return(std::vector
|
||||
} else {
|
||||
THROW_WALLET_EXCEPTION_IF(true, error::wallet_internal_error, "Unsupported input type for return_payment");
|
||||
}
|
||||
const mx25519_pubkey origin_tx_shared_secret_unctx = carrot::raw_byte_convert<mx25519_pubkey>(main_derivations[0]);
|
||||
THROW_WALLET_EXCEPTION_IF(!main_derivations.size() && !additional_derivations.size(), error::wallet_internal_error, "No derivations found");
|
||||
THROW_WALLET_EXCEPTION_IF(!main_derivations.size() && additional_derivations.size() < td_origin.m_internal_output_index + 1, error::wallet_internal_error, "No derivations found");
|
||||
|
||||
const key_derivation derivation = (main_derivations.size() == 1) ? main_derivations[0] : additional_derivations[td_origin.m_internal_output_index];
|
||||
const mx25519_pubkey origin_tx_shared_secret_unctx = carrot::raw_byte_convert<mx25519_pubkey>(derivation);
|
||||
|
||||
|
||||
// 4. compute m_return
|
||||
crypto::public_key output_key;
|
||||
carrot::encrypted_return_pubkey_t m_return;
|
||||
@@ -11874,7 +11879,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_return(std::vector
|
||||
|
||||
// 6. compute the change index
|
||||
crypto::secret_key z_i;
|
||||
derivation_to_scalar(main_derivations[0], td_origin.m_internal_output_index, z_i);
|
||||
derivation_to_scalar(derivation, td_origin.m_internal_output_index, z_i);
|
||||
struct {
|
||||
char domain_separator[8];
|
||||
crypto::secret_key output_index_key;
|
||||
@@ -11898,6 +11903,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_return(std::vector
|
||||
cryptonote::account_public_address address;
|
||||
address.m_spend_public_key = change_key;
|
||||
address.m_view_public_key = return_pub;
|
||||
address.m_is_carrot = true;
|
||||
|
||||
return create_transactions_from(address, cryptonote::transaction_type::RETURN, asset_type, is_subaddress, outputs, transfers_indices, unused_dust_indices, fake_outs_count, unlock_time, priority, extra);
|
||||
}
|
||||
|
||||
+3637
-3375
File diff suppressed because it is too large
Load Diff
+3833
-3572
File diff suppressed because one or more lines are too long
+3832
-3571
File diff suppressed because it is too large
Load Diff
+3973
-3712
File diff suppressed because one or more lines are too long
+3832
-3571
File diff suppressed because it is too large
Load Diff
+3832
-3571
File diff suppressed because one or more lines are too long
+3832
-3571
File diff suppressed because it is too large
Load Diff
+3832
-3571
File diff suppressed because it is too large
Load Diff
+3832
-3571
File diff suppressed because one or more lines are too long
+3832
-3571
File diff suppressed because it is too large
Load Diff
+3832
-3571
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user