Fix git/merge issues

This commit is contained in:
Lee *!* Clagett
2025-05-16 22:48:29 -04:00
parent 68ccb25862
commit cf83295348
5 changed files with 0 additions and 41 deletions
-29
View File
@@ -283,10 +283,7 @@ namespace lwsf { namespace internal { namespace backend
wire::optional_field("attributes", wire::trusted_array(std::ref(self.attributes))),
WIRE_FIELD(scan_height),
WIRE_FIELD(restore_height),
<<<<<<< Updated upstream
=======
WIRE_FIELD(requested_start),
>>>>>>> Stashed changes
WIRE_FIELD_DEFAULTED(lookahead, config::default_lookahead),
WIRE_FIELD_DEFAULTED(type, Monero::MAINNET),
WIRE_FIELD(view),
@@ -507,10 +504,6 @@ namespace lwsf { namespace internal { namespace backend
if (!rescanning)
{
iter->second->height = std::nullopt;
<<<<<<< Updated upstream
iter->second->timestamp = std::nullopt;
=======
>>>>>>> Stashed changes
iter->second->failed = false;
}
}
@@ -796,10 +789,7 @@ namespace lwsf { namespace internal { namespace backend
primary{},
refresh_error(),
lookahead_error(default_subaddr_state),
<<<<<<< Updated upstream
=======
import_error(),
>>>>>>> Stashed changes
last_sync(),
blockchain_height(0),
per_byte_fee(0),
@@ -888,17 +878,12 @@ namespace lwsf { namespace internal { namespace backend
boost::unique_lock<boost::mutex> lock{sync};
{
passed_login = false;
<<<<<<< Updated upstream
server_lookahead = 0;
lookahead_error = {error::subaddr_disabled};
=======
blockchain_height = 0;
per_byte_fee = 0;
fee_mask = 0;
server_lookahead = 0;
import_error = {};
lookahead_error = error::subaddr_disabled;
>>>>>>> Stashed changes
const rpc::login_request login{
primary.address, primary.view.sec, true, primary.generated_locally
};
@@ -998,10 +983,6 @@ namespace lwsf { namespace internal { namespace backend
if (failed_login)
{
lock.lock();
<<<<<<< Updated upstream
last_sync = now;
=======
>>>>>>> Stashed changes
return refresh_error = failed_login;
}
}
@@ -1261,13 +1242,9 @@ namespace lwsf { namespace internal { namespace backend
{
boost::unique_lock<boost::mutex> lock{sync};
<<<<<<< Updated upstream
if (primary.requested_start < height)
=======
if (primary.restore_height <= height)
return import_error = {};
if (import_error && import_error == error::import_pending)
>>>>>>> Stashed changes
return import_error;
if (!passed_login)
@@ -1300,11 +1277,8 @@ namespace lwsf { namespace internal { namespace backend
case 0:
return import_error = error::import_pending;
case 1:
<<<<<<< Updated upstream
=======
if (import->import_fee.value_or(rpc::uint64_string(0)) == rpc::uint64_string(0))
return import_error = error::import_pending;
>>>>>>> Stashed changes
return import_error = error::import_invalid;
case 2:
break;
@@ -1339,8 +1313,6 @@ namespace lwsf { namespace internal { namespace backend
primary.addressbook[i] = address_book_entry{std::move(*import->payment_address), std::move(payment_id), std::move(description)};
return import_error = {};
<<<<<<< Updated upstream
=======
}
expect<std::vector<rpc::random_outputs>> wallet::get_decoys(const rpc::get_random_outs_request& req)
@@ -1349,7 +1321,6 @@ namespace lwsf { namespace internal { namespace backend
if (!resp)
return resp.error();
return {std::move(resp->amount_outs)};
>>>>>>> Stashed changes
}
std::error_code wallet::send_tx(epee::byte_slice tx_bytes)
-3
View File
@@ -250,13 +250,10 @@ namespace lwsf { namespace internal { namespace backend
cryptonote::account_public_address get_spend_account(const rpc::address_meta& index) const;
std::string get_spend_address(const rpc::address_meta& index) const;
<<<<<<< Updated upstream
=======
// End GROUP
// `sync` mutex IS acquired for this group (until end). Do not hold this mutex
>>>>>>> Stashed changes
//! Serialize `this` wallet to msgpack. Locks contents.
expect<epee::byte_slice> to_bytes() const;
-3
View File
@@ -55,8 +55,6 @@ namespace lwsf
return "server has subaddresses disabled";
case error::subaddr_local:
return "lwsf (local) limits on subaddresses too small";
<<<<<<< Updated upstream
=======
case error::tx_critical:
return "Tx construction had critical error";
case error::tx_decoys:
@@ -77,7 +75,6 @@ namespace lwsf
return "Tx construction sweep with multiple destinations";
case error::tx_two_pid:
return "Tx construction given two payment ids";
>>>>>>> Stashed changes
case error::unexpected_userinfo:
return "Unexpected user+pass field in URL";
-3
View File
@@ -45,8 +45,6 @@ namespace lwsf
subaddr_ahead, //!< Server limits on subaddresses affects lookahead
subaddr_disabled, //!< Server has subaddresses disabled
subaddr_local, //!< Local limits on subaddresses too small
<<<<<<< Updated upstream
=======
tx_critical, //!< Tx creation had critical error
tx_decoys, //!< Tx creation failed due to invalid decoy response
tx_extra, //!< Tx creation failed to generate tx extra
@@ -57,7 +55,6 @@ namespace lwsf
tx_size_mismatch, //!< Tx creation mismatch on amounts and destinations
tx_two_pid, //!< Tx creation given two payment ids
tx_sweep, //!< Tx creation requested sweep to multiple dests
>>>>>>> Stashed changes
unexpected_userinfo,//!< Unexpected user+pass provided
};
-3
View File
@@ -40,10 +40,7 @@ namespace lwsf { namespace config
std::uint32_t minor = 0;
};
<<<<<<< Updated upstream
=======
constexpr const std::size_t bulletproof_version = 4;
>>>>>>> Stashed changes
constexpr const std::chrono::seconds connect_timeout{5};
constexpr const std::chrono::seconds daemon_status_cache{10};
constexpr const std::string_view default_account_name{"Untitled account"};