aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--README.md52
-rw-r--r--src/cryptonote_basic/account.cpp2
-rw-r--r--src/cryptonote_core/blockchain.cpp11
-rw-r--r--src/cryptonote_core/cryptonote_tx_utils.cpp2
-rw-r--r--src/device/device.cpp2
-rw-r--r--src/device/device.hpp18
-rw-r--r--src/device/device_declare.hpp5
-rw-r--r--src/device/device_default.cpp2
-rw-r--r--src/device/device_default.hpp4
-rw-r--r--src/device/device_ledger.cpp190
-rw-r--r--src/device/device_ledger.hpp15
-rw-r--r--src/device/log.cpp8
-rw-r--r--src/gen_multisig/gen_multisig.cpp9
-rw-r--r--src/simplewallet/simplewallet.cpp28
-rw-r--r--src/wallet/CMakeLists.txt1
-rw-r--r--src/wallet/api/wallet.cpp16
-rw-r--r--src/wallet/api/wallet2_api.h11
-rw-r--r--src/wallet/wallet2.cpp203
-rw-r--r--src/wallet/wallet2.h46
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h8
-rw-r--r--tests/fuzz/cold-outputs.cpp1
-rw-r--r--tests/fuzz/cold-transaction.cpp1
-rw-r--r--tests/fuzz/signature.cpp1
-rw-r--r--tests/libwallet_api_tests/main.cpp102
-rw-r--r--translations/monero_sv.ts1213
-rw-r--r--utils/systemd/monerod.service18
27 files changed, 1119 insertions, 852 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aac15b5b6..08b47eaf6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -800,7 +800,7 @@ endif()
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
if(MINGW)
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi)
- set(ICU_LIBRARIES ${Boost_LOCALE_LIBRARY} sicuio sicuin sicuuc sicudt sicutu iconv)
+ set(ICU_LIBRARIES ${Boost_LOCALE_LIBRARY} icuio icuin icuuc icudt icutu iconv)
elseif(APPLE OR OPENBSD OR ANDROID)
set(EXTRA_LIBRARIES "")
elseif(FREEBSD)
diff --git a/README.md b/README.md
index 9cb7594d1..7663c0e94 100644
--- a/README.md
+++ b/README.md
@@ -99,9 +99,9 @@ Dates are provided in the format YYYY-MM-DD.
| 1220516 | 2017-01-05 | v4 | v0.10.1 | v0.10.2.1 | Allow normal and RingCT transactions |
| 1288616 | 2017-04-15 | v5 | v0.10.3.0 | v0.10.3.1 | Adjusted minimum blocksize and fee algorithm |
| 1400000 | 2017-09-16 | v6 | v0.11.0.0 | v0.11.0.0 | Allow only RingCT transactions, allow only >= ringsize 5 |
-| XXXXXXX | 2018-03-XX | XX | XXXXXXXXX | XXXXXXXXX | XXXXXX
+| 1539500 | 2018-03-28 | v7 | XXXXXXXXX | XXXXXXXXX | Cryptonight variant 1, ringsize >= 7, sorted inputs
-X's indicate that these details have not been determined as of commit date, 2017-09-20.
+X's indicate that these details have not been determined as of commit date.
## Release staging schedule and protocol
@@ -505,21 +505,39 @@ See [README.i18n.md](README.i18n.md).
## Using Tor
-While Monero isn't made to integrate with Tor, it can be used wrapped with torsocks, if you add --p2p-bind-ip 127.0.0.1 to the monerod command line. You also want to set DNS requests to go over TCP, so they'll be routed through Tor, by setting DNS_PUBLIC=tcp or use a particular DNS server with DNS_PUBLIC=tcp://a.b.c.d (default is 8.8.4.4, which is Google DNS). You may also disable IGD (UPnP port forwarding negotiation), which is pointless with Tor. To allow local connections from the wallet, you might have to add TORSOCKS_ALLOW_INBOUND=1, some OSes need it and some don't. Example:
-
-`DNS_PUBLIC=tcp torsocks monerod --p2p-bind-ip 127.0.0.1 --no-igd`
-
-or:
-
-`DNS_PUBLIC=tcp TORSOCKS_ALLOW_INBOUND=1 torsocks monerod --p2p-bind-ip 127.0.0.1 --no-igd`
-
-TAILS ships with a very restrictive set of firewall rules. Therefore, you need to add a rule to allow this connection too, in addition to telling torsocks to allow inbound connections. Full example:
-
-`sudo iptables -I OUTPUT 2 -p tcp -d 127.0.0.1 -m tcp --dport 18081 -j ACCEPT`
-
-`DNS_PUBLIC=tcp torsocks ./monerod --p2p-bind-ip 127.0.0.1 --no-igd --rpc-bind-ip 127.0.0.1 --data-dir /home/amnesia/Persistent/your/directory/to/the/blockchain`
-
-`./monero-wallet-cli`
+While Monero isn't made to integrate with Tor, it can be used wrapped with torsocks, by
+setting the following configuration parameters and environment variables:
+
+* `--p2p-bind-ip 127.0.0.1` on the command line or `p2p-bind-ip=127.0.0.1` in
+ monerod.conf to disable listening for connections on external interfaces.
+* `--no-igd` on the command line or `no-igd=1` in monerod.conf to disable IGD
+ (UPnP port forwarding negotiation), which is pointless with Tor.
+* `DNS_PUBLIC=tcp` or `DNS_PUBLIC=tcp://x.x.x.x` where x.x.x.x is the IP of the
+ desired DNS server, for DNS requests to go over TCP, so that they are routed
+ through Tor. When IP is not specified, monerod uses the default list of
+ servers defined in [src/common/dns_utils.cpp](src/common/dns_utils.cpp).
+* `TORSOCKS_ALLOW_INBOUND=1` to tell torsocks to allow monerod to bind to interfaces
+ to accept connections from the wallet. On some Linux systems, torsocks
+ allows binding to localhost by default, so setting this variable is only
+ necessary to allow binding to local LAN/VPN interfaces to allow wallets to
+ connect from remote hosts. On other systems, it may be needed for local wallets
+ as well.
+* Do NOT pass `--detach` when running through torsocks with systemd, (see
+ [utils/systemd/monerod.service](utils/systemd/monerod.service) for details).
+
+Example command line to start monerod through Tor:
+
+ DNS_PUBLIC=tcp torsocks monerod --p2p-bind-ip 127.0.0.1 --no-igd
+
+### Using Tor on Tails
+
+TAILS ships with a very restrictive set of firewall rules. Therefore, you need
+to add a rule to allow this connection too, in addition to telling torsocks to
+allow inbound connections. Full example:
+
+ sudo iptables -I OUTPUT 2 -p tcp -d 127.0.0.1 -m tcp --dport 18081 -j ACCEPT
+ DNS_PUBLIC=tcp torsocks ./monerod --p2p-bind-ip 127.0.0.1 --no-igd --rpc-bind-ip 127.0.0.1 \
+ --data-dir /home/amnesia/Persistent/your/directory/to/the/blockchain
## Debugging
diff --git a/src/cryptonote_basic/account.cpp b/src/cryptonote_basic/account.cpp
index 375b17389..70f7533ea 100644
--- a/src/cryptonote_basic/account.cpp
+++ b/src/cryptonote_basic/account.cpp
@@ -140,9 +140,7 @@ DISABLE_VS_WARNINGS(4244 4345)
hwdev.init();
hwdev.connect();
hwdev.get_public_address(m_keys.m_account_address);
- #ifdef DEBUG_HWDEVICE
hwdev.get_secret_keys(m_keys.m_view_secret_key, m_keys.m_spend_secret_key);
- #endif
struct tm timestamp = {0};
timestamp.tm_year = 2014 - 1900; // year 2014
timestamp.tm_mon = 4 - 1; // month april
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index c97b75f98..d2d43490e 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -106,6 +106,9 @@ static const struct {
// version 6 starts from block 1400000, which is on or around the 16th of September, 2017. Fork time finalised on 2017-08-18.
{ 6, 1400000, 0, 1503046577 },
+
+ // version 7 starts from block 1539500, which is on or around the 28th of March, 2018. Fork time finalised on 2018-03-07.
+ { 7, 1539500, 0, 1520436050 },
};
static const uint64_t mainnet_hard_fork_version_1_till = 1009826;
@@ -140,6 +143,14 @@ static const struct {
} stagenet_hard_forks[] = {
// version 1 from the start of the blockchain
{ 1, 1, 0, 1341378000 },
+
+ // versions 2-7 in rapid succession from March 13th, 2018
+ { 2, 32000, 0, 1521000000 },
+ { 3, 33000, 0, 1521120000 },
+ { 4, 34000, 0, 1521240000 },
+ { 5, 35000, 0, 1521360000 },
+ { 6, 36000, 0, 1521480000 },
+ { 7, 37000, 0, 1521600000 },
};
//------------------------------------------------------------------
diff --git a/src/cryptonote_core/cryptonote_tx_utils.cpp b/src/cryptonote_core/cryptonote_tx_utils.cpp
index d0a958e1e..df98feb5a 100644
--- a/src/cryptonote_core/cryptonote_tx_utils.cpp
+++ b/src/cryptonote_core/cryptonote_tx_utils.cpp
@@ -409,7 +409,7 @@ namespace cryptonote
r = crypto::derive_public_key(derivation, output_index, dst_entr.addr.m_spend_public_key, out_eph_public_key, hwdev);
CHECK_AND_ASSERT_MES(r, false, "at creation outs: failed to derive_public_key(" << derivation << ", " << output_index << ", "<< dst_entr.addr.m_spend_public_key << ")");
- hwdev.add_output_key_mapping(dst_entr.addr.m_view_public_key, dst_entr.addr.m_spend_public_key, output_index, amount_keys.back(), out_eph_public_key);
+ hwdev.add_output_key_mapping(dst_entr.addr.m_view_public_key, dst_entr.addr.m_spend_public_key, dst_entr.is_subaddress, output_index, amount_keys.back(), out_eph_public_key);
tx_out out;
out.amount = dst_entr.amount;
diff --git a/src/device/device.cpp b/src/device/device.cpp
index 068529388..983f59b60 100644
--- a/src/device/device.cpp
+++ b/src/device/device.cpp
@@ -67,4 +67,4 @@ namespace hw {
return *device->second;
}
-} \ No newline at end of file
+}
diff --git a/src/device/device.hpp b/src/device/device.hpp
index bdea7b8f6..614d2c243 100644
--- a/src/device/device.hpp
+++ b/src/device/device.hpp
@@ -28,6 +28,20 @@
//
+/* Note about debug:
+ * To debug Device you can def the following :
+ * #define DEBUG_HWDEVICE
+ * Activate debug mechanism:
+ * - Add more trace
+ * - All computation done by device are checked by default device.
+ * Required IODUMMYCRYPT_HWDEVICE or IONOCRYPT_HWDEVICE for fully working
+ * #define IODUMMYCRYPT_HWDEVICE 1
+ * - It assumes sensitive data encryption is is off on device side. a XOR with 0x55. This allow Ledger Class to make check on clear value
+ * #define IONOCRYPT_HWDEVICE 1
+ * - It assumes sensitive data encryption is off on device side.
+ */
+
+
#pragma once
#include "cryptonote_basic/cryptonote_basic.h"
@@ -128,8 +142,8 @@ namespace hw {
virtual bool ecdhEncode(rct::ecdhTuple & unmasked, const rct::key & sharedSec) = 0;
virtual bool ecdhDecode(rct::ecdhTuple & masked, const rct::key & sharedSec) = 0;
- virtual bool add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, size_t real_output_index,
- const rct::key &amount_key, const crypto::public_key &out_eph_public_key) = 0;
+ virtual bool add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, const bool is_subaddress, const size_t real_output_index,
+ const rct::key &amount_key, const crypto::public_key &out_eph_public_key) = 0;
virtual bool mlsag_prehash(const std::string &blob, size_t inputs_size, size_t outputs_size, const rct::keyV &hashes, const rct::ctkeyV &outPk, rct::key &prehash) = 0;
diff --git a/src/device/device_declare.hpp b/src/device/device_declare.hpp
index 799052ad2..fcf5762af 100644
--- a/src/device/device_declare.hpp
+++ b/src/device/device_declare.hpp
@@ -29,11 +29,6 @@
#pragma once
-
-//#define DEBUG_HWDEVICE
-//#define IODUMMYCRYPT 1
-//#define IONOCRYPT 1
-
namespace hw {
class device;
diff --git a/src/device/device_default.cpp b/src/device/device_default.cpp
index c3ba42000..7ae72af44 100644
--- a/src/device/device_default.cpp
+++ b/src/device/device_default.cpp
@@ -185,7 +185,7 @@ namespace hw {
}
- bool device_default::add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, size_t real_output_index,
+ bool device_default::add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, const bool is_subaddress, const size_t real_output_index,
const rct::key &amount_key, const crypto::public_key &out_eph_public_key) {
return true;
}
diff --git a/src/device/device_default.hpp b/src/device/device_default.hpp
index f5b158a3b..d7fc2b914 100644
--- a/src/device/device_default.hpp
+++ b/src/device/device_default.hpp
@@ -105,8 +105,8 @@ namespace hw {
bool ecdhEncode(rct::ecdhTuple & unmasked, const rct::key & sharedSec) override;
bool ecdhDecode(rct::ecdhTuple & masked, const rct::key & sharedSec) override;
- bool add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, size_t real_output_index,
- const rct::key &amount_key, const crypto::public_key &out_eph_public_key) override;
+ bool add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, const bool is_subaddress, const size_t real_output_index,
+ const rct::key &amount_key, const crypto::public_key &out_eph_public_key) override;
bool mlsag_prehash(const std::string &blob, size_t inputs_size, size_t outputs_size, const rct::keyV &hashes, const rct::ctkeyV &outPk, rct::key &prehash) override;
diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp
index 571d42724..51837b8a2 100644
--- a/src/device/device_ledger.cpp
+++ b/src/device/device_ledger.cpp
@@ -55,30 +55,29 @@ namespace hw {
#define ASSERT_T0(exp) CHECK_AND_ASSERT_THROW_MES(exp, "Protocol assert failure: "#exp ) ;
#ifdef DEBUG_HWDEVICE
- #define DEVICE_CONTROLE :controle_device(hw::get_device("default"))
crypto::secret_key viewkey;
crypto::secret_key spendkey;
- #else
- #define DEVICE_CONTROLE
#endif
/* ===================================================================== */
/* === Keymap ==== */
/* ===================================================================== */
- ABPkeys::ABPkeys(const rct::key& A, const rct::key& B, size_t real_output_index, const rct::key& P, const rct::key& AK) {
+ ABPkeys::ABPkeys(const rct::key& A, const rct::key& B, const bool is_subaddr, const size_t real_output_index, const rct::key& P, const rct::key& AK) {
Aout = A;
Bout = B;
+ is_subaddress = is_subaddr;
index = real_output_index;
Pout = P;
AKout = AK;
}
ABPkeys::ABPkeys(const ABPkeys& keys) {
- Aout = keys.Aout;
- Bout = keys.Bout;
+ Aout = keys.Aout;
+ Bout = keys.Bout;
+ is_subaddress = keys.is_subaddress;
index = keys.index;
- Pout = keys.Pout;
+ Pout = keys.Pout;
AKout = keys.AKout;
}
@@ -109,6 +108,7 @@ namespace hw {
log_message(" keymap", std::to_string(i));
log_hexbuffer(" Aout", (char*)ABP[i].Aout.bytes, 32);
log_hexbuffer(" Bout", (char*)ABP[i].Bout.bytes, 32);
+ log_message (" is_sub", std::to_string(ABP[i].is_subaddress));
log_message (" index", std::to_string(ABP[i].index));
log_hexbuffer(" Pout", (char*)ABP[i].Pout.bytes, 32);
}
@@ -189,7 +189,7 @@ namespace hw {
}
/* -------------------------------------------------------------- */
- device_ledger::device_ledger() DEVICE_CONTROLE {
+ device_ledger::device_ledger() {
this->id = device_id++;
this->hCard = 0;
this->hContext = 0;
@@ -300,6 +300,9 @@ namespace hw {
}
bool device_ledger::init(void) {
+ #ifdef DEBUG_HWDEVICE
+ this->controle_device = &hw::get_device("default");
+ #endif
LONG rv;
this->release();
rv = SCardEstablishContext(SCARD_SCOPE_SYSTEM,0,0, &this->hContext);
@@ -411,12 +414,6 @@ namespace hw {
/* WALLET & ADDRESS */
/* ======================================================================= */
- bool device_ledger::get_secret_keys(crypto::secret_key &viewkey , crypto::secret_key &spendkey) {
- memset(viewkey.data, 0x00, 32);
- memset(spendkey.data, 0xFF, 32);
- return true;
- }
-
/* Application API */
bool device_ledger::get_public_address(cryptonote::account_public_address &pubkey){
@@ -449,8 +446,11 @@ namespace hw {
return true;
}
- #ifdef DEBUG_HWDEVICE
bool device_ledger::get_secret_keys(crypto::secret_key &viewkey , crypto::secret_key &spendkey) {
+ memset(viewkey.data, 0x00, 32);
+ memset(spendkey.data, 0xFF, 32);
+
+ #ifdef DEBUG_HWDEVICE
lock_device();
try {
//spcialkey, normal conf handled in decrypt
@@ -479,9 +479,9 @@ namespace hw {
unlock_device();
throw;
}
+ #endif
return true;
}
- #endif
bool device_ledger::generate_chacha_key(const cryptonote::account_keys &keys, crypto::chacha_key &key) {
lock_device();
@@ -489,9 +489,9 @@ namespace hw {
int offset;
#ifdef DEBUG_HWDEVICE
- const cryptonote::account_keys keys_x = decrypt(keys);
crypto::chacha_key key_x;
- this->controle_device.generate_chacha_key(keys_x, key_x);
+ cryptonote::account_keys keys_x = hw::ledger::decrypt(keys);
+ this->controle_device->generate_chacha_key(keys_x, key_x);
#endif
reset_buffer();
@@ -541,7 +541,11 @@ namespace hw {
const crypto::key_derivation derivation_x = hw::ledger::decrypt(derivation);
const std::size_t output_index_x = output_index;
crypto::public_key derived_pub_x;
- this->controle_device.derive_subaddress_public_key(pub_x, derivation_x,output_index_x,derived_pub_x);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] pub ", pub_x.data, 32);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] derivation", derivation_x.data, 32);
+ hw::ledger::log_message ("derive_subaddress_public_key: [[IN]] index ", std::to_string((int)output_index_x));
+ this->controle_device->derive_subaddress_public_key(pub_x, derivation_x,output_index_x,derived_pub_x);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[OUT]] derived_pub", derived_pub_x.data, 32);
#endif
reset_buffer();
@@ -599,7 +603,11 @@ namespace hw {
const cryptonote::account_keys keys_x = hw::ledger::decrypt(keys);
const cryptonote::subaddress_index index_x = index;
crypto::public_key D_x;
- this->controle_device.get_subaddress_spend_public_key(keys_x, index_x, D_x);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_view_secret_key ", keys_x.m_view_secret_key.data,32);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_spend_secret_key", keys_x.m_spend_secret_key.data,32);
+ hw::ledger::log_message ("get_subaddress_spend_public_key: [[IN]] index ", std::to_string(index_x.major)+"."+std::to_string(index_x.minor));
+ this->controle_device->get_subaddress_spend_public_key(keys_x, index_x, D_x);
+ hw::ledger::log_hexbuffer("get_subaddress_spend_public_key: [[OUT]] derivation ", D_x.data, 32);
#endif
if (index.is_zero()) {
@@ -662,7 +670,14 @@ namespace hw {
const cryptonote::account_keys keys_x = hw::ledger::decrypt(keys);
const cryptonote::subaddress_index index_x = index;
cryptonote::account_public_address address_x;
- this->controle_device.get_subaddress(keys_x, index_x, address_x);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_view_secret_key ", keys_x.m_view_secret_key.data, 32);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_view_public_key", keys_x.m_account_address.m_view_public_key.data, 32);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_view_secret_key ", keys_x.m_view_secret_key.data, 32);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_spend_public_key", keys_x.m_account_address.m_spend_public_key.data, 32);
+ hw::ledger::log_message ("get_subaddress: [[IN]] index ", std::to_string(index_x.major)+"."+std::to_string(index_x.minor));
+ this->controle_device->get_subaddress(keys_x, index_x, address_x);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_view_public_key ", address_x.m_view_public_key.data, 32);
+ hw::ledger::log_hexbuffer("derive_subaddress_public_key: [[IN]] keys.m_spend_public_key", address_x.m_spend_public_key.data, 32);
#endif
if (index.is_zero()) {
@@ -715,7 +730,10 @@ namespace hw {
const crypto::secret_key sec_x = hw::ledger::decrypt(sec);
const cryptonote::subaddress_index index_x = index;
crypto::secret_key sub_sec_x;
- this->controle_device.get_subaddress_secret_key(sec_x, index_x, sub_sec_x);
+ hw::ledger::log_message ("get_subaddress_secret_key: [[IN]] index ", std::to_string(index.major)+"."+std::to_string(index.minor));
+ hw::ledger::log_hexbuffer("get_subaddress_secret_key: [[IN]] sec ", sec_x.data, 32);
+ this->controle_device->get_subaddress_secret_key(sec_x, index_x, sub_sec_x);
+ hw::ledger::log_hexbuffer("get_subaddress_secret_key: [[OUT]] sub_sec", sub_sec_x.data, 32);
#endif
reset_buffer();
@@ -808,10 +826,13 @@ namespace hw {
unsigned char options = 0;
#ifdef DEBUG_HWDEVICE
- const rct::key pub_x = pub;
- const rct::key sec_x = hw::ledger::decrypt(sec);
- rct::key mulkey_x;
- this->controle_device.scalarmultKey(pub_x, sec_x, mulkey_x);
+ const rct::key P_x = P;
+ const rct::key a_x = hw::ledger::decrypt(a);
+ rct::key aP_x;
+ hw::ledger::log_hexbuffer("scalarmultKey: [[IN]] P ", (char*)P_x.bytes, 32);
+ hw::ledger::log_hexbuffer("scalarmultKey: [[IN]] a ", (char*)a_x.bytes, 32);
+ this->controle_device->scalarmultKey(aP_x, P_x, a_x);
+ hw::ledger::log_hexbuffer("scalarmultKey: [[OUT]] aP", (char*)aP_x.bytes, 32);
#endif
reset_buffer();
@@ -843,7 +864,7 @@ namespace hw {
memmove(aP.bytes, &this->buffer_recv[0], 32);
#ifdef DEBUG_HWDEVICE
- hw::ledger::check32("scalarmultKey", "mulkey", (char*)mulkey_x.bytes, (char*)mulkey.bytes);
+ hw::ledger::check32("scalarmultKey", "mulkey", (char*)aP_x.bytes, (char*)aP.bytes);
#endif
unlock_device();
@@ -861,9 +882,11 @@ namespace hw {
unsigned char options = 0;
#ifdef DEBUG_HWDEVICE
- const rct::key sec_x = hw::ledger::decrypt(sec);
- rct::key mulkey_x;
- this->controle_device.scalarmultBase(sec_x, mulkey_x);
+ const rct::key a_x = hw::ledger::decrypt(a);
+ rct::key aG_x;
+ hw::ledger::log_hexbuffer("scalarmultKey: [[IN]] a ", (char*)a_x.bytes, 32);
+ this->controle_device->scalarmultBase(aG_x, a_x);
+ hw::ledger::log_hexbuffer("scalarmultKey: [[OUT]] aG", (char*)aG_x.bytes, 32);
#endif
reset_buffer();
@@ -891,7 +914,7 @@ namespace hw {
memmove(aG.bytes, &this->buffer_recv[0], 32);
#ifdef DEBUG_HWDEVICE
- hw::ledger::check32("scalarmultBase", "mulkey", (char*)mulkey_x.bytes, (char*)mulkey.bytes);
+ hw::ledger::check32("scalarmultBase", "mulkey", (char*)aG_x.bytes, (char*)aG.bytes);
#endif
unlock_device();
@@ -913,7 +936,7 @@ namespace hw {
const crypto::secret_key a_x = hw::ledger::decrypt(a);
const crypto::secret_key b_x = hw::ledger::decrypt(b);
crypto::secret_key r_x;
- this->controle_device.sc_secret_add(r_x, a_x, b_x);
+ this->controle_device->sc_secret_add(r_x, a_x, b_x);
#endif
reset_buffer();
@@ -1021,10 +1044,10 @@ namespace hw {
const crypto::public_key pub_x = pub;
const crypto::secret_key sec_x = hw::ledger::decrypt(sec);
crypto::key_derivation derivation_x;
- this->controle_device.generate_key_derivation(pub_x, sec_x, derivation_x);
- hw::ledger::log_hexbuffer("generate_key_derivation: sec_x.data", sec_x.data, 32);
- hw::ledger::log_hexbuffer("generate_key_derivation: pub_x.data", pub_x.data, 32);
- hw::ledger::log_hexbuffer("generate_key_derivation: derivation_x.data", derivation_x.data, 32);
+ hw::ledger::log_hexbuffer("generate_key_derivation: [[IN]] pub ", pub_x.data, 32);
+ hw::ledger::log_hexbuffer("generate_key_derivation: [[IN]] sec ", sec_x.data, 32);
+ this->controle_device->generate_key_derivation(pub_x, sec_x, derivation_x);
+ hw::ledger::log_hexbuffer("generate_key_derivation: [[OUT]] derivation", derivation_x.data, 32);
#endif
reset_buffer();
@@ -1075,7 +1098,10 @@ namespace hw {
const crypto::key_derivation derivation_x = hw::ledger::decrypt(derivation);
const size_t output_index_x = output_index;
crypto::ec_scalar res_x;
- this->controle_device.derivation_to_scalar(derivation_x, output_index_x, res_x);
+ hw::ledger::log_hexbuffer("derivation_to_scalar: [[IN]] derivation ", derivation_x.data, 32);
+ hw::ledger::log_message ("derivation_to_scalar: [[IN]] output_index ", std::to_string(output_index_x));
+ this->controle_device->derivation_to_scalar(derivation_x, output_index_x, res_x);
+ hw::ledger::log_hexbuffer("derivation_to_scalar: [[OUT]] res ", res_x.data, 32);
#endif
reset_buffer();
@@ -1132,7 +1158,11 @@ namespace hw {
const std::size_t output_index_x = output_index;
const crypto::secret_key sec_x = hw::ledger::decrypt(sec);
crypto::secret_key derived_sec_x;
- this->controle_device.derive_secret_key(derivation_x, output_index_x, sec_x, derived_sec_x);
+ hw::ledger::log_hexbuffer("derive_secret_key: [[IN]] derivation ", derivation_x.data, 32);
+ hw::ledger::log_message ("derive_secret_key: [[IN]] index ", std::to_string(output_index_x));
+ hw::ledger::log_hexbuffer("derive_secret_key: [[IN]] sec ", sec_x.data, 32);
+ this->controle_device->derive_secret_key(derivation_x, output_index_x, sec_x, derived_sec_x);
+ hw::ledger::log_hexbuffer("derive_secret_key: [[OUT]] derived_sec", derived_sec_x.data, 32);
#endif
reset_buffer();
@@ -1192,7 +1222,11 @@ namespace hw {
const std::size_t output_index_x = output_index;
const crypto::public_key pub_x = pub;
crypto::public_key derived_pub_x;
- this->controle_device.derive_public_key(derivation_x, output_index_x, pub_x, derived_pub_x);
+ hw::ledger::log_hexbuffer("derive_public_key: [[IN]] derivation ", derivation_x.data, 32);
+ hw::ledger::log_message ("derive_public_key: [[IN]] output_index", std::to_string(output_index_x));
+ hw::ledger::log_hexbuffer("derive_public_key: [[IN]] pub ", pub_x.data, 32);
+ this->controle_device->derive_public_key(derivation_x, output_index_x, pub_x, derived_pub_x);
+ hw::ledger::log_hexbuffer("derive_public_key: [[OUT]] derived_pub ", derived_pub_x.data, 32);
#endif
reset_buffer();
@@ -1249,7 +1283,12 @@ namespace hw {
#ifdef DEBUG_HWDEVICE
const crypto::secret_key sec_x = hw::ledger::decrypt(sec);
crypto::public_key pub_x;
- this->controle_device.secret_key_to_public_key(sec_x, pub_x);
+ hw::ledger::log_hexbuffer("secret_key_to_public_key: [[IN]] sec ", sec_x.data, 32);
+ bool rc = this->controle_device->secret_key_to_public_key(sec_x, pub_x);
+ hw::ledger::log_hexbuffer("secret_key_to_public_key: [[OUT]] pub", pub_x.data, 32);
+ if (!rc){
+ hw::ledger::log_message("secret_key_to_public_key", "secret_key rejected");
+ }
#endif
reset_buffer();
@@ -1298,7 +1337,10 @@ namespace hw {
const crypto::public_key pub_x = pub;
const crypto::secret_key sec_x = hw::ledger::decrypt(sec);
crypto::key_image image_x;
- this->controle_device.generate_key_image(pub_x, sec_x, image_x);
+ hw::ledger::log_hexbuffer("generate_key_image: [[IN]] pub ", pub_x.data, 32);
+ hw::ledger::log_hexbuffer("generate_key_image: [[IN]] sec ", sec_x.data, 32);
+ this->controle_device->generate_key_image(pub_x, sec_x, image_x);
+ hw::ledger::log_hexbuffer("generate_key_image: [[OUT]] image ", image_x.data, 32);
#endif
reset_buffer();
@@ -1425,7 +1467,7 @@ namespace hw {
const crypto::public_key public_key_x = public_key;
const crypto::secret_key secret_key_x = hw::ledger::decrypt(secret_key);
crypto::hash8 payment_id_x = payment_id;
- this->controle_device.encrypt_payment_id(public_key_x, secret_key_x, payment_id_x);
+ this->controle_device->encrypt_payment_id(public_key_x, secret_key_x, payment_id_x);
#endif
reset_buffer();
@@ -1466,11 +1508,11 @@ namespace hw {
return true;
}
- bool device_ledger::add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, size_t real_output_index,
- const rct::key &amount_key, const crypto::public_key &out_eph_public_key) {
+ bool device_ledger::add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, const bool is_subaddress, const size_t real_output_index,
+ const rct::key &amount_key, const crypto::public_key &out_eph_public_key) {
lock_device();
try {
- key_map.add(ABPkeys(rct::pk2rct(Aout),rct::pk2rct(Bout), real_output_index, rct::pk2rct(out_eph_public_key), amount_key));
+ key_map.add(ABPkeys(rct::pk2rct(Aout),rct::pk2rct(Bout), is_subaddress, real_output_index, rct::pk2rct(out_eph_public_key), amount_key));
unlock_device();
}catch (...) {
unlock_device();
@@ -1488,7 +1530,7 @@ namespace hw {
#ifdef DEBUG_HWDEVICE
const rct::key AKout_x = hw::ledger::decrypt(AKout);
rct::ecdhTuple unmasked_x = unmasked;
- this->controle_device.ecdhEncode(AKout_x, unmasked_x);
+ this->controle_device->ecdhEncode(unmasked_x, AKout_x);
#endif
reset_buffer();
@@ -1543,7 +1585,7 @@ namespace hw {
#ifdef DEBUG_HWDEVICE
const rct::key AKout_x = hw::ledger::decrypt(AKout);
rct::ecdhTuple masked_x = masked;
- this->controle_device.ecdhDecode(AKout_x, masked_x);
+ this->controle_device->ecdhDecode(masked_x, AKout_x);
#endif
reset_buffer();
@@ -1604,7 +1646,7 @@ namespace hw {
const rct::keyV hashes_x = hashes;
const rct::ctkeyV outPk_x = outPk;
rct::key prehash_x;
- this->controle_device.mlsag_prehash(blob_x, inputs_size_x, outputs_size_x, hashes_x, outPk_x, prehash_x);
+ this->controle_device->mlsag_prehash(blob_x, inputs_size_x, outputs_size_x, hashes_x, outPk_x, prehash_x);
if (inputs_size) {
log_message("mlsag_prehash", (std::string("inputs_size not null: ") + std::to_string(inputs_size)).c_str());
}
@@ -1629,6 +1671,7 @@ namespace hw {
offset += 1;
//type
+ uint8_t type = data[0];
this->buffer_send[offset] = data[0];
offset += 1;
@@ -1648,25 +1691,27 @@ namespace hw {
this->exchange();
//pseudoOuts
- for ( i = 0; i < inputs_size; i++) {
- reset_buffer();
- this->buffer_send[0] = 0x00;
- this->buffer_send[1] = INS_VALIDATE;
- this->buffer_send[2] = 0x01;
- this->buffer_send[3] = i+2;
- this->buffer_send[4] = 0x00;
- offset = 5;
- //options
- this->buffer_send[offset] = (i==inputs_size-1)? 0x00:0x80;
- offset += 1;
- //pseudoOut
- memmove(this->buffer_send+offset, data+data_offset,32);
- offset += 32;
- data_offset += 32;
-
- this->buffer_send[4] = offset-5;
- this->length_send = offset;
- this->exchange();
+ if ((type == rct::RCTTypeSimple) || (type == rct::RCTTypeSimpleBulletproof)) {
+ for ( i = 0; i < inputs_size; i++) {
+ reset_buffer();
+ this->buffer_send[0] = 0x00;
+ this->buffer_send[1] = INS_VALIDATE;
+ this->buffer_send[2] = 0x01;
+ this->buffer_send[3] = i+2;
+ this->buffer_send[4] = 0x00;
+ offset = 5;
+ //options
+ this->buffer_send[offset] = (i==inputs_size-1)? 0x00:0x80;
+ offset += 1;
+ //pseudoOut
+ memmove(this->buffer_send+offset, data+data_offset,32);
+ offset += 32;
+ data_offset += 32;
+
+ this->buffer_send[4] = offset-5;
+ this->length_send = offset;
+ this->exchange();
+ }
}
// ====== Aout, Bout, AKout, C, v, k ======
@@ -1693,6 +1738,9 @@ namespace hw {
this->buffer_send[offset] = (i==outputs_size-1)? 0x00:0x80 ;
offset += 1;
if (found) {
+ //is_subaddress
+ this->buffer_send[offset] = outKeys.is_subaddress;
+ offset++;
//Aout
memmove(this->buffer_send+offset, outKeys.Aout.bytes, 32);
offset+=32;
@@ -1703,8 +1751,8 @@ namespace hw {
memmove(this->buffer_send+offset, outKeys.AKout.bytes, 32);
offset+=32;
} else {
- // dummy: Aout Bout AKout
- offset += 32*3;
+ // dummy: is_subaddress Aout Bout AKout
+ offset += 1+32*3;
}
//C
memmove(this->buffer_send+offset, data+C_offset,32);
@@ -1905,7 +1953,7 @@ namespace hw {
#ifdef DEBUG_HWDEVICE
const rct::keyV long_message_x = long_message;
rct::key c_x;
- this->controle_device.mlsag_hash(long_message_x, c_x);
+ this->controle_device->mlsag_hash(long_message_x, c_x);
#endif
cnt = long_message.size();
@@ -1964,7 +2012,7 @@ namespace hw {
const int rows_x = rows;
const int dsRows_x = dsRows;
rct::keyV ss_x(ss.size());
- this->controle_device.mlsag_sign(c_x, xx_x, alpha_x, rows_x, dsRows_x, ss_x);
+ this->controle_device->mlsag_sign(c_x, xx_x, alpha_x, rows_x, dsRows_x, ss_x);
#endif
for (size_t j = 0; j < dsRows; j++) {
diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp
index ab8e0c553..37e35167c 100644
--- a/src/device/device_ledger.hpp
+++ b/src/device/device_ledger.hpp
@@ -56,12 +56,13 @@ namespace hw {
public:
rct::key Aout;
rct::key Bout;
+ bool is_subaddress;
size_t index;
rct::key Pout;
rct::key AKout;
- ABPkeys(const rct::key& A, const rct::key& B, size_t index, const rct::key& P,const rct::key& AK);
+ ABPkeys(const rct::key& A, const rct::key& B, const bool is_subaddr, size_t index, const rct::key& P,const rct::key& AK);
ABPkeys(const ABPkeys& keys) ;
- ABPkeys() {index=0;}
+ ABPkeys() {index=0;is_subaddress=false;}
};
class Keymap {
@@ -103,8 +104,8 @@ namespace hw {
unsigned int exchange(unsigned int ok=0x9000, unsigned int mask=0xFFFF);
void reset_buffer(void);
- #ifdef DEBUGLEDGER
- Device &controle_device;
+ #ifdef DEBUG_HWDEVICE
+ device *controle_device;
#endif
public:
@@ -174,8 +175,8 @@ namespace hw {
bool ecdhEncode(rct::ecdhTuple & unmasked, const rct::key & sharedSec) override;
bool ecdhDecode(rct::ecdhTuple & masked, const rct::key & sharedSec) override;
- bool add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, size_t real_output_index,
- const rct::key &amount_key, const crypto::public_key &out_eph_public_key) override;
+ bool add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, const bool is_subaddress, const size_t real_output_index,
+ const rct::key &amount_key, const crypto::public_key &out_eph_public_key) override;
bool mlsag_prehash(const std::string &blob, size_t inputs_size, size_t outputs_size, const rct::keyV &hashes, const rct::ctkeyV &outPk, rct::key &prehash) override;
@@ -190,7 +191,7 @@ namespace hw {
- #ifdef DEBUGLEDGER
+ #ifdef DEBUG_HWDEVICE
extern crypto::secret_key viewkey;
extern crypto::secret_key spendkey;
#endif
diff --git a/src/device/log.cpp b/src/device/log.cpp
index 103b2b3ba..a2ad0f4f4 100644
--- a/src/device/log.cpp
+++ b/src/device/log.cpp
@@ -55,14 +55,14 @@ namespace hw {
MDEBUG(msg << ": " << info);
}
- #ifdef DEBUGLEDGER
+ #ifdef DEBUG_HWDEVICE
extern crypto::secret_key viewkey;
extern crypto::secret_key spendkey;
void decrypt(char* buf, size_t len) {
- #ifdef IODUMMYCRYPT
- int i;
+ #ifdef IODUMMYCRYPT_HWDEVICE
+ size_t i;
if (len == 32) {
//view key?
for (i = 0; i<32; i++) {
@@ -144,7 +144,7 @@ namespace hw {
log_hexbuffer(" device", dd, len);
} else {
- buffer_to_str(logstr, dd, len);
+ buffer_to_str(logstr, 128, dd, len);
log_message("ASSERT EQ OK", msg + ": "+ info + ": "+ std::string(logstr) );
}
}
diff --git a/src/gen_multisig/gen_multisig.cpp b/src/gen_multisig/gen_multisig.cpp
index 9bcf4495c..e165b8053 100644
--- a/src/gen_multisig/gen_multisig.cpp
+++ b/src/gen_multisig/gen_multisig.cpp
@@ -73,11 +73,12 @@ namespace
const command_line::arg_descriptor<uint32_t> arg_threshold = {"threshold", genms::tr("How many signers are required to sign a valid transaction"), 0};
const command_line::arg_descriptor<bool, false> arg_testnet = {"testnet", genms::tr("Create testnet multisig wallets"), false};
const command_line::arg_descriptor<bool, false> arg_stagenet = {"stagenet", genms::tr("Create stagenet multisig wallets"), false};
+ const command_line::arg_descriptor<bool, false> arg_create_address_file = {"create-address-file", genms::tr("Create an address file for new wallets"), false};
const command_line::arg_descriptor< std::vector<std::string> > arg_command = {"command", ""};
}
-static bool generate_multisig(uint32_t threshold, uint32_t total, const std::string &basename, network_type nettype)
+static bool generate_multisig(uint32_t threshold, uint32_t total, const std::string &basename, network_type nettype, bool create_address_file)
{
tools::msg_writer() << (boost::format(genms::tr("Generating %u %u/%u multisig wallets")) % total % threshold % total).str();
@@ -92,7 +93,7 @@ static bool generate_multisig(uint32_t threshold, uint32_t total, const std::str
std::string name = basename + "-" + std::to_string(n + 1);
wallets[n].reset(new tools::wallet2(nettype));
wallets[n]->init("");
- wallets[n]->generate(name, pwd_container->password(), rct::rct2sk(rct::skGen()), false, false);
+ wallets[n]->generate(name, pwd_container->password(), rct::rct2sk(rct::skGen()), false, false, create_address_file);
}
// gather the keys
@@ -171,6 +172,7 @@ int main(int argc, char* argv[])
command_line::add_arg(desc_params, arg_participants);
command_line::add_arg(desc_params, arg_testnet);
command_line::add_arg(desc_params, arg_stagenet);
+ command_line::add_arg(desc_params, arg_create_address_file);
const auto vm = wallet_args::main(
argc, argv,
@@ -241,7 +243,8 @@ int main(int argc, char* argv[])
tools::fail_msg_writer() << genms::tr("Error: unsupported scheme: only N/N and N-1/N are supported");
return 1;
}
- if (!generate_multisig(threshold, total, basename, testnet ? TESTNET : stagenet ? STAGENET : MAINNET))
+ bool create_address_file = command_line::get_arg(*vm, arg_create_address_file);
+ if (!generate_multisig(threshold, total, basename, testnet ? TESTNET : stagenet ? STAGENET : MAINNET, create_address_file))
return 1;
return 0;
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index cbb174e1a..71ce1574f 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -134,6 +134,7 @@ namespace
const command_line::arg_descriptor<bool> arg_allow_mismatched_daemon_version = {"allow-mismatched-daemon-version", sw::tr("Allow communicating with a daemon that uses a different RPC version"), false};
const command_line::arg_descriptor<uint64_t> arg_restore_height = {"restore-height", sw::tr("Restore from specific blockchain height"), 0};
const command_line::arg_descriptor<bool> arg_do_not_relay = {"do-not-relay", sw::tr("The newly created transaction will not be relayed to the monero network"), false};
+ const command_line::arg_descriptor<bool> arg_create_address_file = {"create-address-file", sw::tr("Create an address file for new wallets"), false};
const command_line::arg_descriptor< std::vector<std::string> > arg_command = {"command", ""};
@@ -2848,10 +2849,12 @@ bool simple_wallet::new_wallet(const boost::program_options::variables_map& vm,
m_wallet->set_seed_language(mnemonic_language);
+ bool create_address_file = command_line::get_arg(vm, arg_create_address_file);
+
crypto::secret_key recovery_val;
try
{
- recovery_val = m_wallet->generate(m_wallet_file, std::move(rc.second).password(), recovery_key, recover, two_random);
+ recovery_val = m_wallet->generate(m_wallet_file, std::move(rc.second).password(), recovery_key, recover, two_random, create_address_file);
message_writer(console_color_white, true) << tr("Generated new wallet: ")
<< m_wallet->get_account().get_public_address_str(m_wallet->nettype());
std::cout << tr("View key: ") << string_tools::pod_to_hex(m_wallet->get_account().get_keys().m_view_secret_key) << ENDL;
@@ -2900,15 +2903,17 @@ bool simple_wallet::new_wallet(const boost::program_options::variables_map& vm,
if (m_restore_height)
m_wallet->set_refresh_from_block_height(m_restore_height);
+ bool create_address_file = command_line::get_arg(vm, arg_create_address_file);
+
try
{
if (spendkey)
{
- m_wallet->generate(m_wallet_file, std::move(rc.second).password(), address, *spendkey, viewkey);
+ m_wallet->generate(m_wallet_file, std::move(rc.second).password(), address, *spendkey, viewkey, create_address_file);
}
else
{
- m_wallet->generate(m_wallet_file, std::move(rc.second).password(), address, viewkey);
+ m_wallet->generate(m_wallet_file, std::move(rc.second).password(), address, viewkey, create_address_file);
}
message_writer(console_color_white, true) << tr("Generated new wallet: ")
<< m_wallet->get_account().get_public_address_str(m_wallet->nettype());
@@ -2971,9 +2976,11 @@ bool simple_wallet::new_wallet(const boost::program_options::variables_map& vm,
m_wallet->set_seed_language(mnemonic_language);
+ bool create_address_file = command_line::get_arg(vm, arg_create_address_file);
+
try
{
- m_wallet->generate(m_wallet_file, std::move(rc.second).password(), multisig_keys);
+ m_wallet->generate(m_wallet_file, std::move(rc.second).password(), multisig_keys, create_address_file);
bool ready;
uint32_t threshold, total;
if (!m_wallet->multisig(&ready, &threshold, &total) || !ready)
@@ -3143,7 +3150,17 @@ bool simple_wallet::save_watch_only(const std::vector<std::string> &args/* = std
return true;
}
- m_wallet->write_watch_only_wallet(m_wallet_file, pwd_container->password());
+ try
+ {
+ std::string new_keys_filename;
+ m_wallet->write_watch_only_wallet(m_wallet_file, pwd_container->password(), new_keys_filename);
+ success_msg_writer() << tr("Watch only wallet saved as: ") << new_keys_filename;
+ }
+ catch (const std::exception &e)
+ {
+ fail_msg_writer() << tr("Failed to save watch only wallet: ") << e.what();
+ return true;
+ }
return true;
}
@@ -6979,6 +6996,7 @@ int main(int argc, char* argv[])
command_line::add_arg(desc_params, arg_allow_mismatched_daemon_version);
command_line::add_arg(desc_params, arg_restore_height);
command_line::add_arg(desc_params, arg_do_not_relay);
+ command_line::add_arg(desc_params, arg_create_address_file);
po::positional_options_description positional_options;
positional_options.add(arg_command.name, -1);
diff --git a/src/wallet/CMakeLists.txt b/src/wallet/CMakeLists.txt
index c6d0bd9da..36b661004 100644
--- a/src/wallet/CMakeLists.txt
+++ b/src/wallet/CMakeLists.txt
@@ -111,6 +111,7 @@ if (BUILD_GUI_DEPS)
mnemonics
common
cncrypto
+ device
ringct
checkpoints
version)
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index ff0d2fdbd..fb9e8b28b 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -306,8 +306,20 @@ void Wallet::init(const char *argv0, const char *default_log_base_name) {
mlog_configure(mlog_get_default_log_path(default_log_base_name), true);
}
-void Wallet::debug(const std::string &str) {
- MDEBUG(str);
+void Wallet::debug(const std::string &category, const std::string &str) {
+ MCDEBUG(category.empty() ? MONERO_DEFAULT_LOG_CATEGORY : category.c_str(), str);
+}
+
+void Wallet::info(const std::string &category, const std::string &str) {
+ MCINFO(category.empty() ? MONERO_DEFAULT_LOG_CATEGORY : category.c_str(), str);
+}
+
+void Wallet::warning(const std::string &category, const std::string &str) {
+ MCWARNING(category.empty() ? MONERO_DEFAULT_LOG_CATEGORY : category.c_str(), str);
+}
+
+void Wallet::error(const std::string &category, const std::string &str) {
+ MCERROR(category.empty() ? MONERO_DEFAULT_LOG_CATEGORY : category.c_str(), str);
}
///////////////////////// WalletImpl implementation ////////////////////////
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 36b3b9c9b..87c1cccfa 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -556,7 +556,10 @@ struct Wallet
static uint64_t maximumAllowedAmount();
// Easylogger wrapper
static void init(const char *argv0, const char *default_log_base_name);
- static void debug(const std::string &str);
+ static void debug(const std::string &category, const std::string &str);
+ static void info(const std::string &category, const std::string &str);
+ static void warning(const std::string &category, const std::string &str);
+ static void error(const std::string &category, const std::string &str);
/**
* @brief StartRefresh - Start/resume refresh thread (refresh every 10 seconds)
@@ -774,7 +777,7 @@ struct WalletManager
* \param nettype Network type
* \return Wallet instance (Wallet::status() needs to be called to check if created successfully)
*/
- virtual Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language, NetworkType nettype = MAINNET) = 0;
+ virtual Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language, NetworkType nettype) = 0;
Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language, bool testnet = false) // deprecated
{
return createWallet(path, password, language, testnet ? TESTNET : MAINNET);
@@ -787,7 +790,7 @@ struct WalletManager
* \param nettype Network type
* \return Wallet instance (Wallet::status() needs to be called to check if opened successfully)
*/
- virtual Wallet * openWallet(const std::string &path, const std::string &password, NetworkType nettype = MAINNET) = 0;
+ virtual Wallet * openWallet(const std::string &path, const std::string &password, NetworkType nettype) = 0;
Wallet * openWallet(const std::string &path, const std::string &password, bool testnet = false) // deprecated
{
return openWallet(path, password, testnet ? TESTNET : MAINNET);
@@ -819,7 +822,7 @@ struct WalletManager
* \param restoreHeight restore from start height
* \return Wallet instance (Wallet::status() needs to be called to check if recovered successfully)
*/
- virtual Wallet * recoveryWallet(const std::string &path, const std::string &mnemonic, NetworkType nettype = MAINNET, uint64_t restoreHeight = 0) = 0;
+ virtual Wallet * recoveryWallet(const std::string &path, const std::string &mnemonic, NetworkType nettype, uint64_t restoreHeight = 0) = 0;
Wallet * recoveryWallet(const std::string &path, const std::string &mnemonic, bool testnet = false, uint64_t restoreHeight = 0) // deprecated
{
return recoveryWallet(path, mnemonic, testnet ? TESTNET : MAINNET, restoreHeight);
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 3df30fbc8..d01c22c16 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -318,6 +318,9 @@ std::unique_ptr<tools::wallet2> generate_from_json(const std::string& json_file,
GET_FIELD_FROM_JSON_RETURN_ON_ERROR(json, address, std::string, String, false, std::string());
+ GET_FIELD_FROM_JSON_RETURN_ON_ERROR(json, create_address_file, int, Int, false, false);
+ bool create_address_file = field_create_address_file;
+
// compatibility checks
if (!field_seed_found && !field_viewkey_found && !field_spendkey_found)
{
@@ -372,11 +375,11 @@ std::unique_ptr<tools::wallet2> generate_from_json(const std::string& json_file,
{
if (!field_seed.empty())
{
- wallet->generate(field_filename, field_password, recovery_key, recover, false);
+ wallet->generate(field_filename, field_password, recovery_key, recover, false, create_address_file);
}
else if (field_viewkey.empty() && !field_spendkey.empty())
{
- wallet->generate(field_filename, field_password, spendkey, recover, false);
+ wallet->generate(field_filename, field_password, spendkey, recover, false, create_address_file);
}
else
{
@@ -402,14 +405,14 @@ std::unique_ptr<tools::wallet2> generate_from_json(const std::string& json_file,
{
THROW_WALLET_EXCEPTION(tools::error::wallet_internal_error, tools::wallet2::tr("Address must be specified in order to create watch-only wallet"));
}
- wallet->generate(field_filename, field_password, address, viewkey);
+ wallet->generate(field_filename, field_password, address, viewkey, create_address_file);
}
else
{
if (!crypto::secret_key_to_public_key(spendkey, address.m_spend_public_key)) {
THROW_WALLET_EXCEPTION(tools::error::wallet_internal_error, tools::wallet2::tr("failed to verify spend key secret key"));
}
- wallet->generate(field_filename, field_password, address, spendkey, viewkey);
+ wallet->generate(field_filename, field_password, address, spendkey, viewkey, create_address_file);
}
}
}
@@ -582,6 +585,14 @@ tools::wallet2::tx_construction_data get_construction_data_with_decrypted_short_
return construction_data;
}
+uint32_t get_subaddress_clamped_sum(uint32_t idx, uint32_t extra)
+{
+ static constexpr uint32_t uint32_max = std::numeric_limits<uint32_t>::max();
+ if (idx > uint32_max - extra)
+ return uint32_max;
+ return idx + extra;
+}
+
//-----------------------------------------------------------------
} //namespace
@@ -876,9 +887,10 @@ void wallet2::expand_subaddresses(const cryptonote::subaddress_index& index)
{
// add new accounts
cryptonote::subaddress_index index2;
- for (index2.major = m_subaddress_labels.size(); index2.major < index.major + m_subaddress_lookahead_major; ++index2.major)
+ const uint32_t major_end = get_subaddress_clamped_sum(index.major, m_subaddress_lookahead_major);
+ for (index2.major = m_subaddress_labels.size(); index2.major < major_end; ++index2.major)
{
- const uint32_t end = (index2.major == index.major ? index.minor : 0) + m_subaddress_lookahead_minor;
+ const uint32_t end = get_subaddress_clamped_sum((index2.major == index.major ? index.minor : 0), m_subaddress_lookahead_minor);
const std::vector<crypto::public_key> pkeys = cryptonote::get_subaddress_spend_public_keys(m_account.get_keys(), index2.major, 0, end, hwdev);
for (index2.minor = 0; index2.minor < end; ++index2.minor)
{
@@ -892,7 +904,7 @@ void wallet2::expand_subaddresses(const cryptonote::subaddress_index& index)
else if (m_subaddress_labels[index.major].size() <= index.minor)
{
// add new subaddresses
- const uint32_t end = index.minor + m_subaddress_lookahead_minor;
+ const uint32_t end = get_subaddress_clamped_sum(index.minor, m_subaddress_lookahead_minor);
const uint32_t begin = m_subaddress_labels[index.major].size();
cryptonote::subaddress_index index2 = {index.major, begin};
const std::vector<crypto::public_key> pkeys = cryptonote::get_subaddress_spend_public_keys(m_account.get_keys(), index2.major, index2.minor, end, hwdev);
@@ -924,6 +936,8 @@ void wallet2::set_subaddress_label(const cryptonote::subaddress_index& index, co
//----------------------------------------------------------------------------------------------------
void wallet2::set_subaddress_lookahead(size_t major, size_t minor)
{
+ THROW_WALLET_EXCEPTION_IF(major > 0xffffffff, error::wallet_internal_error, "Subaddress major lookahead is too large");
+ THROW_WALLET_EXCEPTION_IF(minor > 0xffffffff, error::wallet_internal_error, "Subaddress minor lookahead is too large");
m_subaddress_lookahead_major = major;
m_subaddress_lookahead_minor = minor;
}
@@ -2740,7 +2754,7 @@ bool wallet2::verify_password(const std::string& keys_file_name, const epee::wip
* \param multisig_data The multisig restore info and keys
*/
void wallet2::generate(const std::string& wallet_, const epee::wipeable_string& password,
- const std::string& multisig_data)
+ const std::string& multisig_data, bool create_address_file)
{
clear();
prepare_file_names(wallet_);
@@ -2812,8 +2826,11 @@ void wallet2::generate(const std::string& wallet_, const epee::wipeable_string&
bool r = store_keys(m_keys_file, password, false);
THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file);
- r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
- if(!r) MERROR("String with address text not saved");
+ if (m_nettype != MAINNET || create_address_file)
+ {
+ r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
+ if(!r) MERROR("String with address text not saved");
+ }
}
cryptonote::block b;
@@ -2835,7 +2852,7 @@ void wallet2::generate(const std::string& wallet_, const epee::wipeable_string&
* \return The secret key of the generated wallet
*/
crypto::secret_key wallet2::generate(const std::string& wallet_, const epee::wipeable_string& password,
- const crypto::secret_key& recovery_param, bool recover, bool two_random)
+ const crypto::secret_key& recovery_param, bool recover, bool two_random, bool create_address_file)
{
clear();
prepare_file_names(wallet_);
@@ -2866,8 +2883,11 @@ crypto::secret_key wallet2::generate(const std::string& wallet_, const epee::wip
bool r = store_keys(m_keys_file, password, false);
THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file);
- r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
- if(!r) MERROR("String with address text not saved");
+ if (m_nettype != MAINNET || create_address_file)
+ {
+ r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
+ if(!r) MERROR("String with address text not saved");
+ }
}
cryptonote::block b;
@@ -2931,7 +2951,7 @@ crypto::secret_key wallet2::generate(const std::string& wallet_, const epee::wip
*/
void wallet2::generate(const std::string& wallet_, const epee::wipeable_string& password,
const cryptonote::account_public_address &account_public_address,
- const crypto::secret_key& viewkey)
+ const crypto::secret_key& viewkey, bool create_address_file)
{
clear();
prepare_file_names(wallet_);
@@ -2956,8 +2976,11 @@ void wallet2::generate(const std::string& wallet_, const epee::wipeable_string&
bool r = store_keys(m_keys_file, password, true);
THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file);
- r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
- if(!r) MERROR("String with address text not saved");
+ if (m_nettype != MAINNET || create_address_file)
+ {
+ r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
+ if(!r) MERROR("String with address text not saved");
+ }
}
cryptonote::block b;
@@ -2978,7 +3001,7 @@ void wallet2::generate(const std::string& wallet_, const epee::wipeable_string&
*/
void wallet2::generate(const std::string& wallet_, const epee::wipeable_string& password,
const cryptonote::account_public_address &account_public_address,
- const crypto::secret_key& spendkey, const crypto::secret_key& viewkey)
+ const crypto::secret_key& spendkey, const crypto::secret_key& viewkey, bool create_address_file)
{
clear();
prepare_file_names(wallet_);
@@ -3003,8 +3026,11 @@ void wallet2::generate(const std::string& wallet_, const epee::wipeable_string&
bool r = store_keys(m_keys_file, password, false);
THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file);
- r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
- if(!r) MERROR("String with address text not saved");
+ if (m_nettype != MAINNET || create_address_file)
+ {
+ r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
+ if(!r) MERROR("String with address text not saved");
+ }
}
cryptonote::block b;
@@ -3136,8 +3162,11 @@ std::string wallet2::make_multisig(const epee::wipeable_string &password,
bool r = store_keys(m_keys_file, password, false);
THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file);
- r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
- if(!r) MERROR("String with address text not saved");
+ if (boost::filesystem::exists(m_wallet_file + ".address.txt"))
+ {
+ r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
+ if(!r) MERROR("String with address text not saved");
+ }
}
cryptonote::block b;
@@ -3236,8 +3265,11 @@ bool wallet2::finalize_multisig(const epee::wipeable_string &password, std::unor
bool r = store_keys(m_keys_file, password, false);
THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file);
- r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
- if(!r) MERROR("String with address text not saved");
+ if (boost::filesystem::exists(m_wallet_file + ".address.txt"))
+ {
+ r = file_io_utils::save_string_to_file(m_wallet_file + ".address.txt", m_account.get_public_address_str(m_nettype));
+ if(!r) MERROR("String with address text not saved");
+ }
}
m_subaddresses.clear();
@@ -3415,15 +3447,15 @@ void wallet2::rewrite(const std::string& wallet_name, const epee::wipeable_strin
* \param wallet_name Base name of wallet file
* \param password Password for wallet file
*/
-void wallet2::write_watch_only_wallet(const std::string& wallet_name, const epee::wipeable_string& password)
+void wallet2::write_watch_only_wallet(const std::string& wallet_name, const epee::wipeable_string& password, std::string &new_keys_filename)
{
prepare_file_names(wallet_name);
boost::system::error_code ignored_ec;
- std::string filename = m_keys_file + "-watchonly";
- bool watch_only_keys_file_exists = boost::filesystem::exists(filename, ignored_ec);
- THROW_WALLET_EXCEPTION_IF(watch_only_keys_file_exists, error::file_save_error, filename);
- bool r = store_keys(filename, password, true);
- THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, filename);
+ new_keys_filename = m_wallet_file + "-watchonly.keys";
+ bool watch_only_keys_file_exists = boost::filesystem::exists(new_keys_filename, ignored_ec);
+ THROW_WALLET_EXCEPTION_IF(watch_only_keys_file_exists, error::file_save_error, new_keys_filename);
+ bool r = store_keys(new_keys_filename, password, true);
+ THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, new_keys_filename);
}
//----------------------------------------------------------------------------------------------------
void wallet2::wallet_exists(const std::string& file_path, bool& keys_file_exists, bool& wallet_file_exists)
@@ -3760,10 +3792,13 @@ void wallet2::store_to(const std::string &path, const epee::wipeable_string &pas
prepare_file_names(path);
bool r = store_keys(m_keys_file, password, false);
THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file);
- // save address to the new file
- const std::string address_file = m_wallet_file + ".address.txt";
- r = file_io_utils::save_string_to_file(address_file, m_account.get_public_address_str(m_nettype));
- THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_wallet_file);
+ if (boost::filesystem::exists(old_address_file))
+ {
+ // save address to the new file
+ const std::string address_file = m_wallet_file + ".address.txt";
+ r = file_io_utils::save_string_to_file(address_file, m_account.get_public_address_str(m_nettype));
+ THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_wallet_file);
+ }
// remove old wallet file
r = boost::filesystem::remove(old_file);
if (!r) {
@@ -6677,6 +6712,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_2(std::vector<cryp
cryptonote::transaction tx;
pending_tx ptx;
size_t bytes;
+ std::vector<std::vector<tools::wallet2::get_outs_entry>> outs;
void add(const account_public_address &addr, bool is_subaddress, uint64_t amount, unsigned int original_output_index, bool merge_destinations) {
if (merge_destinations)
@@ -7066,40 +7102,10 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_2(std::vector<cryp
LOG_PRINT_L2("Made a final " << get_size_string(txBlob) << " tx, with " << print_money(test_ptx.fee) <<
" fee and " << print_money(test_ptx.change_dts.amount) << " change");
- if ((!dsts.empty()) ||
- (dsts.empty() && !(adding_fee || !preferred_inputs.empty() || should_pick_a_second_output(use_rct, txes.back().selected_transfers.size(), *unused_transfers_indices, *unused_dust_indices)) )
- ) {
- hwdev.set_signature_mode(hw::device::SIGNATURE_REAL);
- if (use_rct) {
- transfer_selected_rct(tx.dsts, /* NOMOD std::vector<cryptonote::tx_destination_entry> dsts,*/
- tx.selected_transfers, /* const std::list<size_t> selected_transfers */
- fake_outs_count, /* CONST size_t fake_outputs_count, */
- outs, /* MOD std::vector<std::vector<tools::wallet2::get_outs_entry>> &outs, */
- unlock_time, /* CONST uint64_t unlock_time, */
- needed_fee, /* CONST uint64_t fee, */
- extra, /* const std::vector<uint8_t>& extra, */
- test_tx, /* OUT cryptonote::transaction& tx, */
- test_ptx, /* OUT cryptonote::transaction& tx, */
- bulletproof);
- } else {
- transfer_selected(tx.dsts,
- tx.selected_transfers,
- fake_outs_count,
- outs,
- unlock_time,
- needed_fee,
- extra,
- detail::digit_split_strategy,
- tx_dust_policy(::config::DEFAULT_DUST_THRESHOLD),
- test_tx,
- test_ptx);
- }
- hwdev.set_signature_mode(hw::device::SIGNATURE_FAKE);
- }
-
tx.tx = test_tx;
tx.ptx = test_ptx;
tx.bytes = txBlob.size();
+ tx.outs = outs;
accumulated_fee += test_ptx.fee;
accumulated_change += test_ptx.change_dts.amount;
adding_fee = false;
@@ -7139,6 +7145,42 @@ skip_tx:
LOG_PRINT_L1("Done creating " << txes.size() << " transactions, " << print_money(accumulated_fee) <<
" total fee, " << print_money(accumulated_change) << " total change");
+ hwdev.set_signature_mode(hw::device::SIGNATURE_REAL);
+ for (std::vector<TX>::iterator i = txes.begin(); i != txes.end(); ++i)
+ {
+ TX &tx = *i;
+ cryptonote::transaction test_tx;
+ pending_tx test_ptx;
+ if (use_rct) {
+ transfer_selected_rct(tx.dsts, /* NOMOD std::vector<cryptonote::tx_destination_entry> dsts,*/
+ tx.selected_transfers, /* const std::list<size_t> selected_transfers */
+ fake_outs_count, /* CONST size_t fake_outputs_count, */
+ tx.outs, /* MOD std::vector<std::vector<tools::wallet2::get_outs_entry>> &outs, */
+ unlock_time, /* CONST uint64_t unlock_time, */
+ needed_fee, /* CONST uint64_t fee, */
+ extra, /* const std::vector<uint8_t>& extra, */
+ test_tx, /* OUT cryptonote::transaction& tx, */
+ test_ptx, /* OUT cryptonote::transaction& tx, */
+ bulletproof);
+ } else {
+ transfer_selected(tx.dsts,
+ tx.selected_transfers,
+ fake_outs_count,
+ tx.outs,
+ unlock_time,
+ needed_fee,
+ extra,
+ detail::digit_split_strategy,
+ tx_dust_policy(::config::DEFAULT_DUST_THRESHOLD),
+ test_tx,
+ test_ptx);
+ }
+ auto txBlob = t_serializable_object_to_blob(test_ptx.tx);
+ tx.tx = test_tx;
+ tx.ptx = test_ptx;
+ tx.bytes = txBlob.size();
+ }
+
std::vector<wallet2::pending_tx> ptx_vector;
for (std::vector<TX>::iterator i = txes.begin(); i != txes.end(); ++i)
{
@@ -7241,6 +7283,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_from(const crypton
cryptonote::transaction tx;
pending_tx ptx;
size_t bytes;
+ std::vector<std::vector<get_outs_entry>> outs;
};
std::vector<TX> txes;
uint64_t needed_fee, available_for_fee = 0;
@@ -7332,24 +7375,13 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_from(const crypton
" fee and " << print_money(test_ptx.change_dts.amount) << " change");
} while (needed_fee > test_ptx.fee);
- if (!unused_transfers_indices.empty() || !unused_dust_indices.empty()) {
- hwdev.set_signature_mode(hw::device::SIGNATURE_REAL);
- if (use_rct) {
- transfer_selected_rct(tx.dsts, tx.selected_transfers, fake_outs_count, outs, unlock_time, needed_fee, extra,
- test_tx, test_ptx, bulletproof);
- } else {
- transfer_selected(tx.dsts, tx.selected_transfers, fake_outs_count, outs, unlock_time, needed_fee, extra,
- detail::digit_split_strategy, tx_dust_policy(::config::DEFAULT_DUST_THRESHOLD), test_tx, test_ptx);
- }
- hwdev.set_signature_mode(hw::device::SIGNATURE_FAKE);
- }
-
LOG_PRINT_L2("Made a final " << get_size_string(txBlob) << " tx, with " << print_money(test_ptx.fee) <<
" fee and " << print_money(test_ptx.change_dts.amount) << " change");
tx.tx = test_tx;
tx.ptx = test_ptx;
tx.bytes = txBlob.size();
+ tx.outs = outs;
accumulated_fee += test_ptx.fee;
accumulated_change += test_ptx.change_dts.amount;
if (!unused_transfers_indices.empty() || !unused_dust_indices.empty())
@@ -7362,6 +7394,25 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_from(const crypton
LOG_PRINT_L1("Done creating " << txes.size() << " transactions, " << print_money(accumulated_fee) <<
" total fee, " << print_money(accumulated_change) << " total change");
+
+ hwdev.set_signature_mode(hw::device::SIGNATURE_REAL);
+ for (std::vector<TX>::iterator i = txes.begin(); i != txes.end(); ++i)
+ {
+ TX &tx = *i;
+ cryptonote::transaction test_tx;
+ pending_tx test_ptx;
+ if (use_rct) {
+ transfer_selected_rct(tx.dsts, tx.selected_transfers, fake_outs_count, tx.outs, unlock_time, needed_fee, extra,
+ test_tx, test_ptx, bulletproof);
+ } else {
+ transfer_selected(tx.dsts, tx.selected_transfers, fake_outs_count, tx.outs, unlock_time, needed_fee, extra,
+ detail::digit_split_strategy, tx_dust_policy(::config::DEFAULT_DUST_THRESHOLD), test_tx, test_ptx);
+ }
+ auto txBlob = t_serializable_object_to_blob(test_ptx.tx);
+ tx.tx = test_tx;
+ tx.ptx = test_ptx;
+ tx.bytes = txBlob.size();
+ }
std::vector<wallet2::pending_tx> ptx_vector;
for (std::vector<TX>::iterator i = txes.begin(); i != txes.end(); ++i)
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 57a61cb9d..9accc65ca 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -449,44 +449,48 @@ namespace tools
/*!
* \brief Generates a wallet or restores one.
- * \param wallet_ Name of wallet file
- * \param password Password of wallet file
- * \param multisig_data The multisig restore info and keys
+ * \param wallet_ Name of wallet file
+ * \param password Password of wallet file
+ * \param multisig_data The multisig restore info and keys
+ * \param create_address_file Whether to create an address file
*/
void generate(const std::string& wallet_, const epee::wipeable_string& password,
- const std::string& multisig_data);
+ const std::string& multisig_data, bool create_address_file = false);
/*!
* \brief Generates a wallet or restores one.
- * \param wallet_ Name of wallet file
- * \param password Password of wallet file
- * \param recovery_param If it is a restore, the recovery key
- * \param recover Whether it is a restore
- * \param two_random Whether it is a non-deterministic wallet
- * \return The secret key of the generated wallet
+ * \param wallet_ Name of wallet file
+ * \param password Password of wallet file
+ * \param recovery_param If it is a restore, the recovery key
+ * \param recover Whether it is a restore
+ * \param two_random Whether it is a non-deterministic wallet
+ * \param create_address_file Whether to create an address file
+ * \return The secret key of the generated wallet
*/
crypto::secret_key generate(const std::string& wallet, const epee::wipeable_string& password,
const crypto::secret_key& recovery_param = crypto::secret_key(), bool recover = false,
- bool two_random = false);
+ bool two_random = false, bool create_address_file = false);
/*!
* \brief Creates a wallet from a public address and a spend/view secret key pair.
- * \param wallet_ Name of wallet file
- * \param password Password of wallet file
- * \param viewkey view secret key
- * \param spendkey spend secret key
+ * \param wallet_ Name of wallet file
+ * \param password Password of wallet file
+ * \param viewkey view secret key
+ * \param spendkey spend secret key
+ * \param create_address_file Whether to create an address file
*/
void generate(const std::string& wallet, const epee::wipeable_string& password,
const cryptonote::account_public_address &account_public_address,
- const crypto::secret_key& spendkey, const crypto::secret_key& viewkey);
+ const crypto::secret_key& spendkey, const crypto::secret_key& viewkey, bool create_address_file = false);
/*!
* \brief Creates a watch only wallet from a public address and a view secret key.
- * \param wallet_ Name of wallet file
- * \param password Password of wallet file
- * \param viewkey view secret key
+ * \param wallet_ Name of wallet file
+ * \param password Password of wallet file
+ * \param viewkey view secret key
+ * \param create_address_file Whether to create an address file
*/
void generate(const std::string& wallet, const epee::wipeable_string& password,
const cryptonote::account_public_address &account_public_address,
- const crypto::secret_key& viewkey = crypto::secret_key());
+ const crypto::secret_key& viewkey = crypto::secret_key(), bool create_address_file = false);
/*!
* \brief Restore a wallet hold by an HW.
* \param wallet_ Name of wallet file
@@ -548,7 +552,7 @@ namespace tools
* \param password Password for wallet file
*/
void rewrite(const std::string& wallet_name, const epee::wipeable_string& password);
- void write_watch_only_wallet(const std::string& wallet_name, const epee::wipeable_string& password);
+ void write_watch_only_wallet(const std::string& wallet_name, const epee::wipeable_string& password, std::string &new_keys_filename);
void load(const std::string& wallet, const epee::wipeable_string& password);
void store();
/*!
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index 370fea858..a0f43c9b9 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -398,7 +398,7 @@ namespace wallet_rpc
KV_SERIALIZE(account_index)
KV_SERIALIZE(subaddr_indices)
KV_SERIALIZE(priority)
- KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(mixin, (uint64_t)0)
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
@@ -455,7 +455,7 @@ namespace wallet_rpc
KV_SERIALIZE(account_index)
KV_SERIALIZE(subaddr_indices)
KV_SERIALIZE(priority)
- KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(mixin, (uint64_t)0)
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
@@ -568,7 +568,7 @@ namespace wallet_rpc
KV_SERIALIZE(account_index)
KV_SERIALIZE(subaddr_indices)
KV_SERIALIZE(priority)
- KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(mixin, (uint64_t)0)
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
@@ -630,7 +630,7 @@ namespace wallet_rpc
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(address)
KV_SERIALIZE(priority)
- KV_SERIALIZE(mixin)
+ KV_SERIALIZE_OPT(mixin, (uint64_t)0)
KV_SERIALIZE_OPT(ring_size, (uint64_t)0)
KV_SERIALIZE(unlock_time)
KV_SERIALIZE(payment_id)
diff --git a/tests/fuzz/cold-outputs.cpp b/tests/fuzz/cold-outputs.cpp
index 9aa9460d5..59b59810c 100644
--- a/tests/fuzz/cold-outputs.cpp
+++ b/tests/fuzz/cold-outputs.cpp
@@ -54,6 +54,7 @@ int ColdOutputsFuzzer::init()
try
{
wallet.init("");
+ wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
}
catch (const std::exception &e)
diff --git a/tests/fuzz/cold-transaction.cpp b/tests/fuzz/cold-transaction.cpp
index d81092c82..da33dc318 100644
--- a/tests/fuzz/cold-transaction.cpp
+++ b/tests/fuzz/cold-transaction.cpp
@@ -55,6 +55,7 @@ int ColdTransactionFuzzer::init()
try
{
wallet.init("");
+ wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
}
catch (const std::exception &e)
diff --git a/tests/fuzz/signature.cpp b/tests/fuzz/signature.cpp
index 2b8ffe465..7f22757b2 100644
--- a/tests/fuzz/signature.cpp
+++ b/tests/fuzz/signature.cpp
@@ -55,6 +55,7 @@ int SignatureFuzzer::init()
try
{
wallet.init("");
+ wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
cryptonote::address_parse_info info;
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp
index 1e63a12f3..fe31541df 100644
--- a/tests/libwallet_api_tests/main.cpp
+++ b/tests/libwallet_api_tests/main.cpp
@@ -130,7 +130,7 @@ struct Utils
static std::string get_wallet_address(const std::string &filename, const std::string &password)
{
Monero::WalletManager *wmgr = Monero::WalletManagerFactory::getWalletManager();
- Monero::Wallet * w = wmgr->openWallet(filename, password, true);
+ Monero::Wallet * w = wmgr->openWallet(filename, password, Monero::NetworkType::TESTNET);
std::string result = w->mainAddress();
wmgr->closeWallet(w);
return result;
@@ -208,7 +208,7 @@ struct WalletTest2 : public testing::Test
TEST_F(WalletManagerTest, WalletManagerCreatesWallet)
{
- Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(!wallet->seed().empty());
std::vector<std::string> words;
@@ -225,10 +225,10 @@ TEST_F(WalletManagerTest, WalletManagerCreatesWallet)
TEST_F(WalletManagerTest, WalletManagerOpensWallet)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME, WALLET_PASS);
+ Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet2->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet2->seed() == seed1);
std::cout << "** seed: " << wallet2->seed() << std::endl;
@@ -261,7 +261,7 @@ void open_wallet_helper(Monero::WalletManager *wmgr, Monero::Wallet **wallet, co
if (mutex)
mutex->lock();
LOG_PRINT_L3("opening wallet in thread: " << boost::this_thread::get_id());
- *wallet = wmgr->openWallet(WALLET_NAME, pass, true);
+ *wallet = wmgr->openWallet(WALLET_NAME, pass, Monero::NetworkType::TESTNET);
LOG_PRINT_L3("wallet address: " << (*wallet)->mainAddress());
LOG_PRINT_L3("wallet status: " << (*wallet)->status());
LOG_PRINT_L3("closing wallet in thread: " << boost::this_thread::get_id());
@@ -277,7 +277,7 @@ void open_wallet_helper(Monero::WalletManager *wmgr, Monero::Wallet **wallet, co
// // create password protected wallet
// std::string wallet_pass = "password";
// std::string wrong_wallet_pass = "1111";
-// Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, wallet_pass, WALLET_LANG, true);
+// Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, wallet_pass, WALLET_LANG, Monero::NetworkType::TESTNET);
// std::string seed1 = wallet1->seed();
// ASSERT_TRUE(wmgr->closeWallet(wallet1));
@@ -303,7 +303,7 @@ TEST_F(WalletManagerTest, WalletManagerOpensWalletWithPasswordAndReopen)
// create password protected wallet
std::string wallet_pass = "password";
std::string wrong_wallet_pass = "1111";
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, wallet_pass, WALLET_LANG, true);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, wallet_pass, WALLET_LANG, Monero::NetworkType::TESTNET);
std::string seed1 = wallet1->seed();
ASSERT_TRUE(wmgr->closeWallet(wallet1));
@@ -326,11 +326,11 @@ TEST_F(WalletManagerTest, WalletManagerOpensWalletWithPasswordAndReopen)
TEST_F(WalletManagerTest, WalletManagerStoresWallet)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
wallet1->store("");
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME, WALLET_PASS);
+ Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet2->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet2->seed() == seed1);
}
@@ -339,12 +339,12 @@ TEST_F(WalletManagerTest, WalletManagerStoresWallet)
TEST_F(WalletManagerTest, WalletManagerMovesWallet)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string WALLET_NAME_MOVED = std::string("/tmp/") + WALLET_NAME + ".moved";
std::string seed1 = wallet1->seed();
ASSERT_TRUE(wallet1->store(WALLET_NAME_MOVED));
- Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME_MOVED, WALLET_PASS);
+ Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME_MOVED, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet2->filename() == WALLET_NAME_MOVED);
ASSERT_TRUE(wallet2->keysFilename() == WALLET_NAME_MOVED + ".keys");
ASSERT_TRUE(wallet2->status() == Monero::Wallet::Status_Ok);
@@ -354,15 +354,15 @@ TEST_F(WalletManagerTest, WalletManagerMovesWallet)
TEST_F(WalletManagerTest, WalletManagerChangesPassword)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
ASSERT_TRUE(wallet1->setPassword(WALLET_PASS2));
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME, WALLET_PASS2);
+ Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME, WALLET_PASS2, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet2->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet2->seed() == seed1);
ASSERT_TRUE(wmgr->closeWallet(wallet2));
- Monero::Wallet * wallet3 = wmgr->openWallet(WALLET_NAME, WALLET_PASS);
+ Monero::Wallet * wallet3 = wmgr->openWallet(WALLET_NAME, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_FALSE(wallet3->status() == Monero::Wallet::Status_Ok);
}
@@ -370,13 +370,13 @@ TEST_F(WalletManagerTest, WalletManagerChangesPassword)
TEST_F(WalletManagerTest, WalletManagerRecoversWallet)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
std::string address1 = wallet1->mainAddress();
ASSERT_FALSE(address1.empty());
ASSERT_TRUE(wmgr->closeWallet(wallet1));
Utils::deleteWallet(WALLET_NAME);
- Monero::Wallet * wallet2 = wmgr->recoveryWallet(WALLET_NAME, seed1);
+ Monero::Wallet * wallet2 = wmgr->recoveryWallet(WALLET_NAME, seed1, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet2->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet2->seed() == seed1);
ASSERT_TRUE(wallet2->mainAddress() == address1);
@@ -386,14 +386,14 @@ TEST_F(WalletManagerTest, WalletManagerRecoversWallet)
TEST_F(WalletManagerTest, WalletManagerStoresWallet1)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
std::string address1 = wallet1->mainAddress();
ASSERT_TRUE(wallet1->store(""));
ASSERT_TRUE(wallet1->store(WALLET_NAME_COPY));
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME_COPY, WALLET_PASS);
+ Monero::Wallet * wallet2 = wmgr->openWallet(WALLET_NAME_COPY, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet2->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet2->seed() == seed1);
ASSERT_TRUE(wallet2->mainAddress() == address1);
@@ -403,14 +403,14 @@ TEST_F(WalletManagerTest, WalletManagerStoresWallet1)
TEST_F(WalletManagerTest, WalletManagerStoresWallet2)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
std::string address1 = wallet1->mainAddress();
ASSERT_TRUE(wallet1->store(WALLET_NAME_WITH_DIR));
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- wallet1 = wmgr->openWallet(WALLET_NAME_WITH_DIR, WALLET_PASS);
+ wallet1 = wmgr->openWallet(WALLET_NAME_WITH_DIR, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet1->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet1->seed() == seed1);
ASSERT_TRUE(wallet1->mainAddress() == address1);
@@ -420,20 +420,20 @@ TEST_F(WalletManagerTest, WalletManagerStoresWallet2)
TEST_F(WalletManagerTest, WalletManagerStoresWallet3)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
std::string address1 = wallet1->mainAddress();
ASSERT_FALSE(wallet1->store(WALLET_NAME_WITH_DIR_NON_WRITABLE));
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- wallet1 = wmgr->openWallet(WALLET_NAME_WITH_DIR_NON_WRITABLE, WALLET_PASS);
+ wallet1 = wmgr->openWallet(WALLET_NAME_WITH_DIR_NON_WRITABLE, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_FALSE(wallet1->status() == Monero::Wallet::Status_Ok);
// "close" always returns true;
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- wallet1 = wmgr->openWallet(WALLET_NAME, WALLET_PASS);
+ wallet1 = wmgr->openWallet(WALLET_NAME, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet1->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet1->seed() == seed1);
ASSERT_TRUE(wallet1->mainAddress() == address1);
@@ -444,7 +444,7 @@ TEST_F(WalletManagerTest, WalletManagerStoresWallet3)
TEST_F(WalletManagerTest, WalletManagerStoresWallet4)
{
- Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG);
+ Monero::Wallet * wallet1 = wmgr->createWallet(WALLET_NAME, WALLET_PASS, WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed1 = wallet1->seed();
std::string address1 = wallet1->mainAddress();
@@ -456,7 +456,7 @@ TEST_F(WalletManagerTest, WalletManagerStoresWallet4)
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- wallet1 = wmgr->openWallet(WALLET_NAME, WALLET_PASS);
+ wallet1 = wmgr->openWallet(WALLET_NAME, WALLET_PASS, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet1->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet1->seed() == seed1);
ASSERT_TRUE(wallet1->mainAddress() == address1);
@@ -488,7 +488,7 @@ TEST_F(WalletTest1, WalletGeneratesIntegratedAddress)
{
std::string payment_id = Monero::Wallet::genPaymentId();
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
std::string integrated_address = wallet1->integratedAddress(payment_id);
ASSERT_TRUE(integrated_address.length() == 106);
}
@@ -496,14 +496,14 @@ TEST_F(WalletTest1, WalletGeneratesIntegratedAddress)
TEST_F(WalletTest1, WalletShowsBalance)
{
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
ASSERT_TRUE(wallet1->balance(0) > 0);
ASSERT_TRUE(wallet1->unlockedBalance(0) > 0);
uint64_t balance1 = wallet1->balance(0);
uint64_t unlockedBalance1 = wallet1->unlockedBalance(0);
ASSERT_TRUE(wmgr->closeWallet(wallet1));
- Monero::Wallet * wallet2 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet2 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
ASSERT_TRUE(balance1 == wallet2->balance(0));
std::cout << "wallet balance: " << wallet2->balance(0) << std::endl;
@@ -514,7 +514,7 @@ TEST_F(WalletTest1, WalletShowsBalance)
TEST_F(WalletTest1, WalletReturnsCurrentBlockHeight)
{
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
ASSERT_TRUE(wallet1->blockChainHeight() > 0);
wmgr->closeWallet(wallet1);
}
@@ -522,14 +522,14 @@ TEST_F(WalletTest1, WalletReturnsCurrentBlockHeight)
TEST_F(WalletTest1, WalletReturnsDaemonBlockHeight)
{
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// wallet not connected to daemon
ASSERT_TRUE(wallet1->daemonBlockChainHeight() == 0);
ASSERT_TRUE(wallet1->status() != Monero::Wallet::Status_Ok);
ASSERT_FALSE(wallet1->errorString().empty());
wmgr->closeWallet(wallet1);
- wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// wallet connected to daemon
wallet1->init(TESTNET_DAEMON_ADDRESS, 0);
ASSERT_TRUE(wallet1->daemonBlockChainHeight() > 0);
@@ -542,7 +542,7 @@ TEST_F(WalletTest1, WalletRefresh)
{
std::cout << "Opening wallet: " << CURRENT_SRC_WALLET << std::endl;
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
std::cout << "connecting to daemon: " << TESTNET_DAEMON_ADDRESS << std::endl;
ASSERT_TRUE(wallet1->init(TESTNET_DAEMON_ADDRESS, 0));
@@ -566,7 +566,7 @@ TEST_F(WalletTest1, WalletConvertsToString)
TEST_F(WalletTest1, WalletTransaction)
{
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet1->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet1->refresh());
@@ -608,7 +608,7 @@ TEST_F(WalletTest1, WalletTransactionWithMixin)
std::string payment_id = "";
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
@@ -642,7 +642,7 @@ TEST_F(WalletTest1, WalletTransactionWithPriority)
std::string payment_id = "";
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet1->init(TESTNET_DAEMON_ADDRESS, 0));
@@ -682,7 +682,7 @@ TEST_F(WalletTest1, WalletTransactionWithPriority)
TEST_F(WalletTest1, WalletHistory)
{
- Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet1 = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet1->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet1->refresh());
@@ -700,7 +700,7 @@ TEST_F(WalletTest1, WalletHistory)
TEST_F(WalletTest1, WalletTransactionAndHistory)
{
return;
- Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet_src->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_src->refresh());
@@ -739,7 +739,7 @@ TEST_F(WalletTest1, WalletTransactionAndHistory)
TEST_F(WalletTest1, WalletTransactionWithPaymentId)
{
- Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet_src->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_src->refresh());
@@ -881,7 +881,7 @@ struct MyWalletListener : public Monero::WalletListener
TEST_F(WalletTest2, WalletCallBackRefreshedSync)
{
- Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
MyWalletListener * wallet_src_listener = new MyWalletListener(wallet_src);
ASSERT_TRUE(wallet_src->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_src_listener->refresh_triggered);
@@ -898,7 +898,7 @@ TEST_F(WalletTest2, WalletCallBackRefreshedSync)
TEST_F(WalletTest2, WalletCallBackRefreshedAsync)
{
- Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
MyWalletListener * wallet_src_listener = new MyWalletListener(wallet_src);
boost::chrono::seconds wait_for = boost::chrono::seconds(20);
@@ -920,14 +920,14 @@ TEST_F(WalletTest2, WalletCallBackRefreshedAsync)
TEST_F(WalletTest2, WalletCallbackSent)
{
- Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet_src->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_src->refresh());
MyWalletListener * wallet_src_listener = new MyWalletListener(wallet_src);
uint64_t balance = wallet_src->balance(0);
std::cout << "** Balance: " << wallet_src->displayAmount(wallet_src->balance(0)) << std::endl;
- Monero::Wallet * wallet_dst = wmgr->openWallet(CURRENT_DST_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_dst = wmgr->openWallet(CURRENT_DST_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
uint64_t amount = AMOUNT_1XMR * 5;
std::cout << "** Sending " << Monero::Wallet::displayAmount(amount) << " to " << wallet_dst->mainAddress();
@@ -959,13 +959,13 @@ TEST_F(WalletTest2, WalletCallbackSent)
TEST_F(WalletTest2, WalletCallbackReceived)
{
- Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_src = wmgr->openWallet(CURRENT_SRC_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet_src->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_src->refresh());
std::cout << "** Balance src1: " << wallet_src->displayAmount(wallet_src->balance(0)) << std::endl;
- Monero::Wallet * wallet_dst = wmgr->openWallet(CURRENT_DST_WALLET, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_dst = wmgr->openWallet(CURRENT_DST_WALLET, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
ASSERT_TRUE(wallet_dst->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_dst->refresh());
uint64_t balance = wallet_dst->balance(0);
@@ -1006,7 +1006,7 @@ TEST_F(WalletTest2, WalletCallbackReceived)
TEST_F(WalletTest2, WalletCallbackNewBlock)
{
- Monero::Wallet * wallet_src = wmgr->openWallet(TESTNET_WALLET5_NAME, TESTNET_WALLET_PASS, true);
+ Monero::Wallet * wallet_src = wmgr->openWallet(TESTNET_WALLET5_NAME, TESTNET_WALLET_PASS, Monero::NetworkType::TESTNET);
// make sure testnet daemon is running
ASSERT_TRUE(wallet_src->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet_src->refresh());
@@ -1033,7 +1033,7 @@ TEST_F(WalletTest2, WalletCallbackNewBlock)
TEST_F(WalletManagerMainnetTest, CreateOpenAndRefreshWalletMainNetSync)
{
- Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG);
+ Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG, Monero::NetworkType::MAINNET);
std::unique_ptr<MyWalletListener> wallet_listener (new MyWalletListener(wallet));
wallet->init(MAINNET_DAEMON_ADDRESS, 0);
std::cerr << "TEST: waiting on refresh lock...\n";
@@ -1052,7 +1052,7 @@ TEST_F(WalletManagerMainnetTest, CreateAndRefreshWalletMainNetAsync)
// supposing 120 seconds should be enough for fast refresh
int SECONDS_TO_REFRESH = 120;
- Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG);
+ Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG, Monero::NetworkType::MAINNET);
std::unique_ptr<MyWalletListener> wallet_listener (new MyWalletListener(wallet));
boost::chrono::seconds wait_for = boost::chrono::seconds(SECONDS_TO_REFRESH);
@@ -1075,9 +1075,9 @@ TEST_F(WalletManagerMainnetTest, OpenAndRefreshWalletMainNetAsync)
// supposing 120 seconds should be enough for fast refresh
int SECONDS_TO_REFRESH = 120;
- Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG);
+ Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG, Monero::NetworkType::MAINNET);
wmgr->closeWallet(wallet);
- wallet = wmgr->openWallet(WALLET_NAME_MAINNET, "");
+ wallet = wmgr->openWallet(WALLET_NAME_MAINNET, "", Monero::NetworkType::MAINNET);
std::unique_ptr<MyWalletListener> wallet_listener (new MyWalletListener(wallet));
@@ -1102,7 +1102,7 @@ TEST_F(WalletManagerMainnetTest, RecoverAndRefreshWalletMainNetAsync)
// supposing 120 seconds should be enough for fast refresh
int SECONDS_TO_REFRESH = 120;
- Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG);
+ Monero::Wallet * wallet = wmgr->createWallet(WALLET_NAME_MAINNET, "", WALLET_LANG, Monero::NetworkType::MAINNET);
std::string seed = wallet->seed();
std::string address = wallet->mainAddress();
wmgr->closeWallet(wallet);
@@ -1111,7 +1111,7 @@ TEST_F(WalletManagerMainnetTest, RecoverAndRefreshWalletMainNetAsync)
Utils::deleteWallet(WALLET_NAME_MAINNET);
// ..and recovering wallet from seed
- wallet = wmgr->recoveryWallet(WALLET_NAME_MAINNET, seed);
+ wallet = wmgr->recoveryWallet(WALLET_NAME_MAINNET, seed, Monero::NetworkType::MAINNET);
ASSERT_TRUE(wallet->status() == Monero::Wallet::Status_Ok);
ASSERT_TRUE(wallet->mainAddress() == address);
std::unique_ptr<MyWalletListener> wallet_listener (new MyWalletListener(wallet));
diff --git a/translations/monero_sv.ts b/translations/monero_sv.ts
index 6b461c102..e99076960 100644
--- a/translations/monero_sv.ts
+++ b/translations/monero_sv.ts
@@ -21,7 +21,7 @@
<message>
<location filename="../src/wallet/api/address_book.cpp" line="77"/>
<source>Integrated address and long payment ID can&apos;t be used at the same time</source>
- <translation type="unfinished"></translation>
+ <translation>Integrerad adress och långt betalnings-ID kan inte användas samtidigt</translation>
</message>
</context>
<context>
@@ -93,7 +93,7 @@
<message>
<location filename="../src/wallet/api/unsigned_transaction.cpp" line="184"/>
<source>Change goes to more than one address</source>
- <translation>Växel går till mer än en adress</translation>
+ <translation>Växel går till fler än en adress</translation>
</message>
<message>
<location filename="../src/wallet/api/unsigned_transaction.cpp" line="197"/>
@@ -118,7 +118,7 @@
<message>
<location filename="../src/wallet/api/unsigned_transaction.cpp" line="214"/>
<source>Loaded %lu transactions, for %s, fee %s, %s, %s, with min ring size %lu. %s</source>
- <translation type="unfinished"></translation>
+ <translation>Läste in %lu transaktioner, för %s, avgift %s, %s, %s, med minsta ringstorlek %lu. %s</translation>
</message>
</context>
<context>
@@ -126,7 +126,7 @@
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1111"/>
<source>payment id has invalid format, expected 16 or 64 character hex string: </source>
- <translation>betalnings-ID har ogiltigt format. En 16- eller 64-teckens hex-sträng förväntades: </translation>
+ <translation>betalnings-ID har ogiltigt format. En hexadecimal sträng med 16 eller 64 tecken förväntades: </translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1121"/>
@@ -155,18 +155,18 @@
<location filename="../src/wallet/api/wallet.cpp" line="1197"/>
<location filename="../src/wallet/api/wallet.cpp" line="1301"/>
<source>not enough outputs for specified ring size</source>
- <translation type="unfinished"></translation>
+ <translation>inte tillräckligt med utgångar för angiven ringstorlek</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1199"/>
<location filename="../src/wallet/api/wallet.cpp" line="1303"/>
<source>found outputs to use</source>
- <translation type="unfinished"></translation>
+ <translation>hittade utgångar att använda</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1201"/>
<source>Please sweep unmixable outputs.</source>
- <translation type="unfinished"></translation>
+ <translation>Svep upp omixbara utgångar.</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1267"/>
@@ -192,12 +192,12 @@
<message>
<location filename="../src/wallet/api/wallet.cpp" line="496"/>
<source>No view key supplied, cancelled</source>
- <translation>Ingen visningsnyckel angiven, avbruten</translation>
+ <translation>Ingen granskningsnyckel angiven, avbruten</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="503"/>
<source>failed to parse secret view key</source>
- <translation>det gick inte att parsa hemlig visningsnyckel</translation>
+ <translation>det gick inte att parsa hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="513"/>
@@ -212,12 +212,12 @@
<message>
<location filename="../src/wallet/api/wallet.cpp" line="524"/>
<source>failed to verify secret view key</source>
- <translation>det gick inte att verifiera hemlig visningsnyckel</translation>
+ <translation>det gick inte att verifiera hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="529"/>
<source>view key does not match address</source>
- <translation>visningsnyckel matchar inte adress</translation>
+ <translation>granskningsnyckel matchar inte adress</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="548"/>
@@ -227,7 +227,7 @@
<message>
<location filename="../src/wallet/api/wallet.cpp" line="773"/>
<source>Failed to send import wallet request</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att skicka begäran om att importera plånbok</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="919"/>
@@ -252,22 +252,22 @@
<message>
<location filename="../src/wallet/api/wallet.cpp" line="986"/>
<source>Key images can only be imported with a trusted daemon</source>
- <translation type="unfinished"></translation>
+ <translation>Nyckelavbildningar kan bara importeras med en betrodd daemon</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="999"/>
<source>Failed to import key images: </source>
- <translation>det gick inte att importera nyckelavbildningar: </translation>
+ <translation>Det gick inte att importera nyckelavbildningar: </translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1032"/>
<source>Failed to get subaddress label: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att hämta etikett för underadress: </translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1046"/>
<source>Failed to set subaddress label: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att ange etikett för underadress: </translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1163"/>
@@ -278,7 +278,7 @@
<location filename="../src/wallet/api/wallet.cpp" line="1179"/>
<location filename="../src/wallet/api/wallet.cpp" line="1283"/>
<source>not enough money to transfer, overall balance only %s, sent amount %s</source>
- <translation type="unfinished"></translation>
+ <translation>inte tillräckligt med pengar för överföring, totalt saldo är bara %s, skickat belopp %s</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1188"/>
@@ -348,18 +348,18 @@
<location filename="../src/wallet/api/wallet.cpp" line="1556"/>
<location filename="../src/wallet/api/wallet.cpp" line="1579"/>
<source>Failed to parse txid</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att parsa txid</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1430"/>
<source>no tx keys found for this txid</source>
- <translation type="unfinished">inga tx-nycklar kunde hittas för detta txid</translation>
+ <translation>inga tx-nycklar kunde hittas för detta txid</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1450"/>
<location filename="../src/wallet/api/wallet.cpp" line="1460"/>
<source>Failed to parse tx key</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att parsa txnyckel</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1470"/>
@@ -367,12 +367,12 @@
<location filename="../src/wallet/api/wallet.cpp" line="1533"/>
<location filename="../src/wallet/api/wallet.cpp" line="1621"/>
<source>Failed to parse address</source>
- <translation type="unfinished">Det gick inte att parsa adressen</translation>
+ <translation>Det gick inte att parsa adressen</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1627"/>
<source>Address must not be a subaddress</source>
- <translation type="unfinished"></translation>
+ <translation>Adressen får inte vara en underadress</translation>
</message>
<message>
<location filename="../src/wallet/api/wallet.cpp" line="1849"/>
@@ -413,7 +413,7 @@
<message>
<location filename="../src/common/command_line.cpp" line="71"/>
<source>no</source>
- <translation type="unfinished"></translation>
+ <translation>nej</translation>
</message>
</context>
<context>
@@ -421,7 +421,7 @@
<message>
<location filename="../src/rpc/rpc_args.cpp" line="40"/>
<source>Specify IP to bind RPC server</source>
- <translation type="unfinished"></translation>
+ <translation>Ange IP-adress för att binda till RPC-server</translation>
</message>
<message>
<location filename="../src/rpc/rpc_args.cpp" line="41"/>
@@ -431,12 +431,12 @@
<message>
<location filename="../src/rpc/rpc_args.cpp" line="42"/>
<source>Confirm rpc-bind-ip value is NOT a loopback (local) IP</source>
- <translation>Bekräftelsevärde för rpc-bind-ip är INTE ett lokalt (loopback) IP</translation>
+ <translation>Bekräftelsevärde för rpc-bind-ip är INTE en lokal IP-adress (loopback)</translation>
</message>
<message>
<location filename="../src/rpc/rpc_args.cpp" line="43"/>
<source>Specify a comma separated list of origins to allow cross origin resource sharing</source>
- <translation type="unfinished"></translation>
+ <translation>Ange en kommaseparerad lista av ursprung för att tillåta resursdelning för korsande ursprung (Cross-origin resource sharing)</translation>
</message>
<message>
<location filename="../src/rpc/rpc_args.cpp" line="70"/>
@@ -457,12 +457,12 @@
<location filename="../src/rpc/rpc_args.cpp" line="95"/>
<location filename="../src/rpc/rpc_args.cpp" line="105"/>
<source> cannot be empty</source>
- <translation> kan inte vara tomt</translation>
+ <translation> får inte vara tomt</translation>
</message>
<message>
<location filename="../src/rpc/rpc_args.cpp" line="105"/>
<source> requires RFC server password --</source>
- <translation type="unfinished"></translation>
+ <translation> kräver lösenord till RPC-server --</translation>
</message>
</context>
<context>
@@ -485,7 +485,7 @@
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1905"/>
<source>set seed: needs an argument. available options: language</source>
- <translation>set seed: behöver ett argument. tillgängliga alternativ: språk</translation>
+ <translation>set seed: kräver ett argument. tillgängliga alternativ: språk</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1933"/>
@@ -500,7 +500,7 @@
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1987"/>
<source>Attempting to generate or restore wallet, but specified file(s) exist. Exiting to not risk overwriting.</source>
- <translation>Försöker skapa eller återställa plånbok, men angivna filer existerar. Avslutar för att inte riskera att skriva över någonting.</translation>
+ <translation>Försöker skapa eller återställa plånbok, men angivna filer finns redan. Avslutar för att inte riskera att skriva över någonting.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="662"/>
@@ -541,7 +541,7 @@
<location filename="../src/simplewallet/simplewallet.cpp" line="2041"/>
<source>NOTE: the following 25 words can be used to recover access to your wallet. Write them down and store them somewhere safe and secure. Please do not store them in your email or on file storage services outside of your immediate control.
</source>
- <translation>OBSERVERA: följande 25 ord kan användas för att återfå tillgång till din plånbok. Skriv ner och spara dem på ett säkert ställe. Spara dem inte i din e-post eller på något lagringsutrymme som du inte har direkt kontroll över.
+ <translation>OBS: följande 25 ord kan användas för att återställa åtkomst till din plånbok. Skriv ner och spara dem på ett säkert ställe. Spara dem inte i din e-post eller på något lagringsutrymme som du inte har direkt kontroll över.
</translation>
</message>
<message>
@@ -572,7 +572,7 @@
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2662"/>
<source>List of available languages for your wallet&apos;s seed:</source>
- <translation>Lista över tillgängliga språk för din plånboks frö:</translation>
+ <translation>Lista över tillgängliga språk för din plånboks startvärde:</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2671"/>
@@ -583,7 +583,7 @@
<location filename="../src/simplewallet/simplewallet.cpp" line="2737"/>
<source>You had been using a deprecated version of the wallet. Please use the new seed that we provide.
</source>
- <translation>Du hade använt en inaktuell version av plånboken. Använd det nya frö som vi tillhandahåller.
+ <translation>Du hade använt en inaktuell version av plånboken. Använd det nya startvärde som tillhandahålls.
</translation>
</message>
<message>
@@ -632,7 +632,7 @@
<location filename="../src/simplewallet/simplewallet.cpp" line="2941"/>
<source>Use the &quot;help&quot; command to see the list of available commands.
</source>
- <translation>Använd kommandot &quot;help&quot; för att se en lista över tillgängliga kommandon.
+ <translation>Använd kommandot &quot;help&quot; för att visa en lista över tillgängliga kommandon.
</translation>
</message>
<message>
@@ -663,7 +663,7 @@
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3150"/>
<source>Blockchain saved</source>
- <translation>Blockkedjan sparad</translation>
+ <translation>Blockkedjan sparades</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3165"/>
@@ -680,7 +680,7 @@
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3185"/>
<source>spent </source>
- <translation>spenderad </translation>
+ <translation>spenderat </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3198"/>
@@ -701,19 +701,19 @@
<location filename="../src/simplewallet/simplewallet.cpp" line="3758"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4230"/>
<source>payment id has invalid format, expected 16 or 64 character hex string: </source>
- <translation>betalnings-ID har ogiltigt format. En 16- eller 64-teckens hex-sträng förväntades: </translation>
+ <translation>betalnings-ID har ogiltigt format. En hexadecimal sträng med 16 eller 64 tecken förväntades: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3773"/>
<source>bad locked_blocks parameter:</source>
- <translation>dålig parameter för locked_blocks:</translation>
+ <translation>felaktig parameter för locked_blocks:</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3801"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4248"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4462"/>
<source>a single transaction cannot use more than one payment id: </source>
- <translation>en enstaka transaktion kan inte använda mer än ett betalnings-ID: </translation>
+ <translation>en enda transaktion kan inte använda fler än ett betalnings-ID: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3810"/>
@@ -733,44 +733,47 @@
<location filename="../src/simplewallet/simplewallet.cpp" line="4484"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4527"/>
<source>transaction cancelled.</source>
- <translation>transaktion avbröts.</translation>
+ <translation>transaktion avbruten.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3895"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="3905"/>
<source>Is this okay anyway? (Y/Yes/N/No): </source>
- <translation type="unfinished"></translation>
+ <translation>Är detta okej ändå? (J/Ja/N/Nej): </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3900"/>
<source>There is currently a %u block backlog at that fee level. Is this okay? (Y/Yes/N/No): </source>
- <translation type="unfinished"></translation>
+ <translation>Det finns för närvarande en %u blocks eftersläpning på den avgiftsnivån. Är detta okej? (J/Ja/N/Nej): </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3905"/>
<source>Failed to check for backlog: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att kontrollera eftersläpning: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3946"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4302"/>
<source>
Transaction </source>
- <translation type="unfinished"></translation>
+ <translation>
+Transaktion </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3951"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4307"/>
<source>Spending from address index %d
</source>
- <translation type="unfinished"></translation>
+ <translation>Spendera från adressindex %d
+</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3953"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4309"/>
<source>WARNING: Outputs of multiple addresses are being used together, which might potentially compromise your privacy.
</source>
- <translation type="unfinished"></translation>
+ <translation>VARNING: Utgångar från flera adresser används tillsammans, vilket möjligen kan kompromettera din sekretess.
+</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3955"/>
@@ -780,7 +783,7 @@ Transaction </source>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3958"/>
<source>Your transaction needs to be split into %llu transactions. This will result in a transaction fee being applied to each transaction, for a total fee of %s</source>
- <translation>Transaktionen behöver delas upp i %llu transaktioner. Detta kommer att göra att en transaktionsavgift läggs till varje transaktion, med ett totalt belopp på %s</translation>
+ <translation>Transaktionen behöver delas upp i %llu transaktioner. Detta gör att en transaktionsavgift läggs till varje transaktion, med ett totalbelopp på %s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3964"/>
@@ -800,14 +803,14 @@ Transaction </source>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3968"/>
<source>A total of %s from dust change will be sent to dust address</source>
- <translation>Ett total belopp på %s från växeldamm kommer att skickas till damm-adressen</translation>
+ <translation>Ett totalt belopp på %s från växeldamm skickas till damm-adressen</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3973"/>
<source>.
This transaction will unlock on block %llu, in approximately %s days (assuming 2 minutes per block)</source>
<translation>.
-Denna transaktion kommer att låsas upp vid block %llu, om ungefär %s dagar (förutsatt en blocktid på 2 minuter)</translation>
+Denna transaktion låses upp vid block %llu, om ungefär %s dagar (förutsatt en blocktid på 2 minuter)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3999"/>
@@ -844,9 +847,54 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<translation>Ingen adress har angivits</translation>
</message>
<message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4424"/>
+ <source>failed to parse Payment ID</source>
+ <translation>det gick inte att parsa betalnings-ID</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4440"/>
+ <source>usage: sweep_single [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;key_image&gt; &lt;address&gt; [&lt;payment_id&gt;]</source>
+ <translation>användning: sweep_single [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;nyckelavbildning&gt; &lt;adress&gt; [&lt;betalnings_id&gt;]</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4447"/>
+ <source>failed to parse key image</source>
+ <translation>det gick inte att parsa nyckelavbildning</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4499"/>
+ <source>No outputs found</source>
+ <translation>Inga utgångar kunde hittas</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4504"/>
+ <source>Multiple transactions are created, which is not supposed to happen</source>
+ <translation>Flera transaktioner skapas, vilket inte ska kunna inträffa</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4509"/>
+ <source>The transaction uses multiple or no inputs, which is not supposed to happen</source>
+ <translation>Transaktionen använder flera eller inga ingångar, vilket inte ska kunna inträffa</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4586"/>
+ <source>missing threshold amount</source>
+ <translation>tröskelbelopp saknas</translation>
+ </message>
+ <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4591"/>
<source>invalid amount threshold</source>
- <translation>ogiltig beloppströskel</translation>
+ <translation>ogiltigt tröskelbelopp</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4601"/>
+ <source>donations are not enabled on the testnet</source>
+ <translation>donationer är inte aktiverade på testnet</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4608"/>
+ <source>usage: donate [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;amount&gt; [&lt;payment_id&gt;]</source>
+ <translation>användning: donate [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;belopp&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4702"/>
@@ -864,11 +912,31 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<translation>skickar %s till %s</translation>
</message>
<message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4748"/>
+ <source> dummy output(s)</source>
+ <translation> dummy-utgångar</translation>
+ </message>
+ <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4751"/>
<source>with no destinations</source>
<translation>utan några mål</translation>
</message>
<message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4763"/>
+ <source>Loaded %lu transactions, for %s, fee %s, %s, %s, with min ring size %lu, %s. %sIs this okay? (Y/Yes/N/No): </source>
+ <translation>Läste in %lu transaktioner, för %s, avgift %s, %s, %s, med minsta ringstorlek %lu, %s. %sÄr detta okej? (J/Ja/N/Nej): </translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4787"/>
+ <source>This is a multisig wallet, it can only sign with sign_multisig</source>
+ <translation>Detta är en multisig-plånbok, som endast kan signera med sign_multisig</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4797"/>
+ <source>usage: sign_transfer [export]</source>
+ <translation>användning: sign_transfer [export]</translation>
+ </message>
+ <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4809"/>
<source>Failed to sign transaction</source>
<translation>Det gick inte att signera transaktionen</translation>
@@ -876,7 +944,12 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4815"/>
<source>Failed to sign transaction: </source>
- <translation>Det gick inte att signera transaktion: </translation>
+ <translation>Det gick inte att signera transaktionen: </translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4836"/>
+ <source>Transaction raw hex data exported to </source>
+ <translation>Hexadecimala rådata för transaktionen exporterades till </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4852"/>
@@ -904,7 +977,7 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="650"/>
<source>Error with wallet rewrite: </source>
- <translation>Fel vid återskrivning av plånbok: </translation>
+ <translation>Ett fel uppstod vid återskrivning av plånbok: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1289"/>
@@ -912,6 +985,12 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<translation>prioritet måste vara 0, 1, 2, 3 eller 4 </translation>
</message>
<message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="1301"/>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="1316"/>
+ <source>priority must be 0, 1, 2, 3, or 4</source>
+ <translation>prioritet måste vara 0, 1, 2, 3 eller 4</translation>
+ </message>
+ <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1404"/>
<source>invalid unit</source>
<translation>ogiltig enhet</translation>
@@ -941,7 +1020,7 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<location filename="../src/simplewallet/simplewallet.cpp" line="2509"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="2536"/>
<source>bad m_restore_height parameter: </source>
- <translation>dålig parameter för m_restore_height: </translation>
+ <translation>felaktig parameter för m_restore_height: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2514"/>
@@ -1002,7 +1081,7 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3273"/>
<source>refresh failed: </source>
- <translation>det gick inte att att uppdatera: </translation>
+ <translation>det gick inte att uppdatera: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3273"/>
@@ -1024,177 +1103,177 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="219"/>
<source>false</source>
- <translation type="unfinished"></translation>
+ <translation>falskt</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="493"/>
<source>Unknown command: </source>
- <translation type="unfinished"></translation>
+ <translation>Okänt kommando: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="500"/>
<source>Command usage: </source>
- <translation type="unfinished"></translation>
+ <translation>Användning av kommando: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="503"/>
<source>Command description: </source>
- <translation type="unfinished"></translation>
+ <translation>Beskrivning av kommando: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="551"/>
<source>wallet is multisig but not yet finalized</source>
- <translation type="unfinished"></translation>
+ <translation>plånboken är multisig men är ännu inte slutförd</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="567"/>
<source>Enter optional seed encryption passphrase, empty to see raw seed</source>
- <translation type="unfinished"></translation>
+ <translation>Ange valfri lösenfras för kryptering av startvärdet, lämna tomt för att se rådata för startvärdet</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="584"/>
<source>Failed to retrieve seed</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att hämta startvärde</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="603"/>
<source>wallet is multisig and has no seed</source>
- <translation type="unfinished"></translation>
+ <translation>plånboken är multisig och har inget startvärde</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="674"/>
<source>Cannot connect to daemon</source>
- <translation type="unfinished"></translation>
+ <translation>Det går inte att ansluta till daemonen</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="679"/>
<source>Current fee is %s monero per kB</source>
- <translation type="unfinished"></translation>
+ <translation>Aktuell avgift är %s monero per kB</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="695"/>
<source>Error: failed to estimate backlog array size: </source>
- <translation type="unfinished"></translation>
+ <translation>Fel: det gick inte att uppskatta eftersläpningsmatrisens storlek: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="700"/>
<source>Error: bad estimated backlog array size</source>
- <translation type="unfinished"></translation>
+ <translation>Fel: felaktigt uppskattat värde för eftersläpningsmatrisens storlek</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="712"/>
<source> (current)</source>
- <translation type="unfinished"></translation>
+ <translation> (aktuellt)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="715"/>
<source>%u block (%u minutes) backlog at priority %u%s</source>
- <translation type="unfinished"></translation>
+ <translation>%u blocks (%u minuters) eftersläpning vid prioritet %u%s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="717"/>
<source>%u to %u block (%u to %u minutes) backlog at priority %u</source>
- <translation type="unfinished"></translation>
+ <translation>%u till %u blocks (%u till %u minuters) eftersläpning vid prioritet %u</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="720"/>
<source>No backlog at priority </source>
- <translation type="unfinished"></translation>
+ <translation>Ingen eftersläpning vid prioritet </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="729"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="762"/>
<source>This wallet is already multisig</source>
- <translation type="unfinished"></translation>
+ <translation>Denna plånbok är redan multisig</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="734"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="767"/>
<source>wallet is watch-only and cannot be made multisig</source>
- <translation type="unfinished"></translation>
+ <translation>plånboken är enbart för granskning och kan inte göras om till multisig</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="740"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="773"/>
<source>This wallet has been used before, please use a new wallet to create a multisig wallet</source>
- <translation type="unfinished"></translation>
+ <translation>Denna plånbok har använts tidigare. Använd en ny plånbok för att skapa en multisig-plånbok</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="747"/>
<source>Your password is incorrect.</source>
- <translation type="unfinished"></translation>
+ <translation>Ditt lösenord är fel.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="753"/>
<source>Send this multisig info to all other participants, then use make_multisig &lt;threshold&gt; &lt;info1&gt; [&lt;info2&gt;...] with others&apos; multisig info</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka denna multisig-info till alla andra deltagare och använd sedan make_multisig &lt;tröskelvärde&gt; &lt;info1&gt; [&lt;info2&gt;…] med de andras multisig-info</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="754"/>
<source>This includes the PRIVATE view key, so needs to be disclosed only to that multisig wallet&apos;s participants </source>
- <translation type="unfinished"></translation>
+ <translation>Detta innefattar den PRIVATA granskningsnyckeln, så den behöver endast lämnas ut till den multisig-plånbokens deltagare </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="786"/>
<source>usage: make_multisig &lt;threshold&gt; &lt;multisiginfo1&gt; [&lt;multisiginfo2&gt;...]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: make_multisig &lt;tröskelvärde&gt; &lt;multisiginfo1&gt; [&lt;multisiginfo2&gt;…]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="794"/>
<source>Invalid threshold</source>
- <translation type="unfinished"></translation>
+ <translation>Ogiltigt tröskelvärde</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="807"/>
<source>Another step is needed</source>
- <translation type="unfinished"></translation>
+ <translation>Ytterligare ett steg krävs</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="809"/>
<source>Send this multisig info to all other participants, then use finalize_multisig &lt;info1&gt; [&lt;info2&gt;...] with others&apos; multisig info</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka denna multisig-info till alla andra deltagare, använd sedan finalize_multisig &lt;info1&gt; [&lt;info2&gt;…] med de andras multisig-info</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="815"/>
<source>Error creating multisig: </source>
- <translation type="unfinished"></translation>
+ <translation>Ett fel uppstod när multisig skapades: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="822"/>
<source>Error creating multisig: new wallet is not multisig</source>
- <translation type="unfinished"></translation>
+ <translation>Ett fel uppstod när multisig skapades: den nya plånboken är inte multisig</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="825"/>
<source> multisig address: </source>
- <translation type="unfinished"></translation>
+ <translation> multisig-adress: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="836"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="880"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="927"/>
<source>This wallet is not multisig</source>
- <translation type="unfinished"></translation>
+ <translation>Denna plånbok är inte multisig</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="841"/>
<source>This wallet is already finalized</source>
- <translation type="unfinished"></translation>
+ <translation>Denna plånbok är redan slutförd</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="854"/>
<source>usage: finalize_multisig &lt;multisiginfo1&gt; [&lt;multisiginfo2&gt;...]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: finalize_multisig &lt;multisiginfo1&gt; [&lt;multisiginfo2&gt;…]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="862"/>
<source>Failed to finalize multisig</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att slutföra multisig</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="868"/>
<source>Failed to finalize multisig: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att slutföra multisig: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="885"/>
@@ -1203,1031 +1282,1073 @@ Denna transaktion kommer att lÃ¥sas upp vid block %llu, om ungefär %s dagar (fÃ
<location filename="../src/simplewallet/simplewallet.cpp" line="1074"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="1136"/>
<source>This multisig wallet is not yet finalized</source>
- <translation type="unfinished"></translation>
+ <translation>Denna multisig-plånbok är inte slutförd ännu</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="890"/>
<source>usage: export_multisig_info &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>användning: export_multisig_info &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="913"/>
<source>Error exporting multisig info: </source>
- <translation type="unfinished"></translation>
+ <translation>Ett fel uppstod när multisig-info exporterades: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="917"/>
<source>Multisig info exported to </source>
- <translation type="unfinished"></translation>
+ <translation>Multisig-info exporterades till </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="937"/>
<source>usage: import_multisig_info &lt;filename1&gt; [&lt;filename2&gt;...] - one for each other participant</source>
- <translation type="unfinished"></translation>
+ <translation>användning: import_multisig_info &lt;filename1&gt; [&lt;filename2&gt;…] - en för varje annan deltagare</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="965"/>
<source>Multisig info imported</source>
- <translation type="unfinished"></translation>
+ <translation>Multisig-info importerades</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="969"/>
<source>Failed to import multisig info: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att importera multisig-info: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="980"/>
<source>Failed to update spent status after importing multisig info: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att uppdatera spenderstatus efter import av multisig-info: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="985"/>
<source>Untrusted daemon, spent status may be incorrect. Use a trusted daemon and run &quot;rescan_spent&quot;</source>
- <translation type="unfinished"></translation>
+ <translation>Ej betrodd daemon. Spenderstatus kan vara felaktig. Använd en betrodd daemon och kör &quot;rescan_spent&quot;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1001"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="1069"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="1131"/>
<source>This is not a multisig wallet</source>
- <translation type="unfinished"></translation>
+ <translation>Detta är inte en multisig-plånbok</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1011"/>
<source>usage: sign_multisig &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>användning: sign_multisig &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1024"/>
<source>Failed to sign multisig transaction</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att signera multisig-transaktion</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1030"/>
<source>Multisig error: </source>
- <translation type="unfinished"></translation>
+ <translation>Multisig-fel: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1035"/>
<source>Failed to sign multisig transaction: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att signera multisig-transaktion: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1058"/>
<source>It may be relayed to the network with submit_multisig</source>
- <translation type="unfinished"></translation>
+ <translation>Den kan skickas vidare till nätverket med submit_multisig</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1079"/>
<source>usage: submit_multisig &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>användning: submit_multisig &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1094"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="1155"/>
<source>Failed to load multisig transaction from file</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att läsa in multisig-transaktion från fil</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1099"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="1160"/>
<source>Multisig transaction signed by only %u signers, needs %u more signatures</source>
- <translation type="unfinished"></translation>
+ <translation>Multisig-transaktion har signerats av bara %u signerare. Den behöver %u ytterligare signaturer</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1108"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="6750"/>
<source>Transaction successfully submitted, transaction </source>
- <translation type="unfinished"></translation>
+ <translation>Transaktionen skickades, transaktion </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1109"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="6751"/>
<source>You can check its status by using the `show_transfers` command.</source>
- <translation type="unfinished"></translation>
+ <translation>Du kan kontrollera dess status genom att använda kommandot &apos;show_transfers&apos;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1141"/>
<source>usage: export_raw_multisig &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>användning: export_raw_multisig &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1176"/>
<source>Failed to export multisig transaction to file </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att exportera multisig-transaktion till fil </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1180"/>
<source>Saved exported multisig transaction file(s): </source>
- <translation type="unfinished"></translation>
+ <translation>Sparade filer med exporterade multisig-transaktioner: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1252"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="1258"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="1272"/>
<source>ring size must be an integer &gt;= </source>
- <translation type="unfinished"></translation>
+ <translation>ringstorlek måste vara ett heltal &gt;= </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1277"/>
<source>could not change default ring size</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="1301"/>
- <location filename="../src/simplewallet/simplewallet.cpp" line="1316"/>
- <source>priority must be 0, 1, 2, 3, or 4</source>
- <translation type="unfinished">prioritet måste vara 0, 1, 2, 3 eller 4 {0, 1, 2, 3,?} {4?}</translation>
+ <translation>det gick inte att ändra standardinställning för ringstorlek</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1518"/>
<source>Invalid height</source>
- <translation type="unfinished"></translation>
+ <translation>Ogiltig höjd</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1564"/>
<source>start_mining [&lt;number_of_threads&gt;] [bg_mining] [ignore_battery]</source>
- <translation type="unfinished"></translation>
+ <translation>start_mining [&lt;antal_trådar&gt;] [&lt;bgbrytning&gt;] [&lt;ignorera_batteri&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1565"/>
<source>Start mining in the daemon (bg_mining and ignore_battery are optional booleans).</source>
- <translation type="unfinished"></translation>
+ <translation>Starta brytning i daemonen (bgbrytning och ignorera_batteri är valfri booleska värden).</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1568"/>
<source>Stop mining in the daemon.</source>
- <translation type="unfinished"></translation>
+ <translation>Stoppa brytning i daemonen.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1571"/>
<source>set_daemon &lt;host&gt;[:&lt;port&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>set_daemon &lt;värddator&gt;[:&lt;port&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1572"/>
<source>Set another daemon to connect to.</source>
- <translation type="unfinished"></translation>
+ <translation>Ange en annan daemon att ansluta till.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1575"/>
<source>Save the current blockchain data.</source>
- <translation type="unfinished"></translation>
+ <translation>Spara aktuella blockkedjedata.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1578"/>
<source>Synchronize the transactions and balance.</source>
- <translation type="unfinished"></translation>
+ <translation>Synkronisera transaktionerna och saldot.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1581"/>
<source>balance [detail]</source>
- <translation type="unfinished"></translation>
+ <translation>balance [detail]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1582"/>
<source>Show the wallet&apos;s balance of the currently selected account.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa plånbokens saldo för det aktiva kontot.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1585"/>
<source>incoming_transfers [available|unavailable] [verbose] [index=&lt;N1&gt;[,&lt;N2&gt;[,...]]]</source>
- <translation type="unfinished"></translation>
+ <translation>incoming_transfers [available|unavailable] [verbose] [index=&lt;N1&gt;[, &lt;N2&gt;[, …]]]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1586"/>
<source>Show the incoming transfers, all or filtered by availability and address index.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa inkommande överföringar: alla eller filtrerade efter tillgänglighet och adressindex.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1589"/>
<source>payments &lt;PID_1&gt; [&lt;PID_2&gt; ... &lt;PID_N&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>payments &lt;BID_1&gt; [&lt;BID_2&gt; … &lt;BID_N&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1590"/>
<source>Show the payments for the given payment IDs.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa betalningar för givna betalnings-ID.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1593"/>
<source>Show the blockchain height.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa blockkedjans höjd.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1596"/>
<source>transfer_original [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;address&gt; &lt;amount&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>transfer_original [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;adress&gt; &lt;belopp&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1597"/>
<source>Transfer &lt;amount&gt; to &lt;address&gt; using an older transaction building algorithm. If the parameter &quot;index=&lt;N1&gt;[,&lt;N2&gt;,...]&quot; is specified, the wallet uses outputs received by addresses of those indices. If omitted, the wallet randomly chooses address indices to be used. In any case, it tries its best not to combine outputs across multiple addresses. &lt;priority&gt; is the priority of the transaction. The higher the priority, the higher the transaction fee. Valid values in priority order (from lowest to highest) are: unimportant, normal, elevated, priority. If omitted, the default value (see the command &quot;set priority&quot;) is used. &lt;ring_size&gt; is the number of inputs to include for untraceability. Multiple payments can be made at once by adding &lt;address_2&gt; &lt;amount_2&gt; etcetera (before the payment ID, if it&apos;s included)</source>
- <translation type="unfinished"></translation>
+ <translation>Överför &lt;belopp&gt; till &lt;adress&gt; genom att använda en äldre algoritm för att bygga transaktioner. Om parametern &quot;index=&lt;N1&gt;[, &lt;N2&gt;, …]&quot; anges använder plånboken utgångar som tagits emot av adresser vid dessa index. Om parametern utelämnas väljer plånboken slumpmässigt adressindex att använda. Oavsett vilket kommer den att göra sitt bästa för att inte kombinera utgångar från flera adresser. &lt;prioritet&gt; är transaktionens prioritet. Ju högre prioritet, desto högre transaktionsavgift. Giltiga värden i prioritetsordning (från lägsta till högsta) är: unimportant, normal, elevated, priority. Om värdet utelämnas kommer standardvärdet att användas (se kommandot &quot;set priority&quot;). &lt;ringstorlek&gt; är det antal ingångar som ska inkluderas för att uppnå ospårbarhet. Flera betalningar kan göras på en gång genom att lägga till &lt;adress_2&gt; &lt;belopp_2&gt; osv (före betalnings-ID, om det inkluderas)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1599"/>
<source>transfer [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;address&gt; &lt;amount&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>transfer [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;adress&gt; &lt;belopp&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1600"/>
<source>Transfer &lt;amount&gt; to &lt;address&gt;. If the parameter &quot;index=&lt;N1&gt;[,&lt;N2&gt;,...]&quot; is specified, the wallet uses outputs received by addresses of those indices. If omitted, the wallet randomly chooses address indices to be used. In any case, it tries its best not to combine outputs across multiple addresses. &lt;priority&gt; is the priority of the transaction. The higher the priority, the higher the transaction fee. Valid values in priority order (from lowest to highest) are: unimportant, normal, elevated, priority. If omitted, the default value (see the command &quot;set priority&quot;) is used. &lt;ring_size&gt; is the number of inputs to include for untraceability. Multiple payments can be made at once by adding &lt;address_2&gt; &lt;amount_2&gt; etcetera (before the payment ID, if it&apos;s included)</source>
- <translation type="unfinished"></translation>
+ <translation>Överför &lt;belopp&gt; till &lt;adress&gt;. Om parametern &quot;index=&lt;N1&gt;[, &lt;N2&gt;, …]&quot; anges använder plånboken utgångar som tagits emot av adresser vid dessa index. Om parametern utelämnas väljer plånboken slumpmässigt adressindex att använda. Oavsett vilket kommer den att göra sitt bästa för att inte kombinera utgångar från flera adresser. &lt;prioritet&gt; är transaktionens prioritet. Ju högre prioritet, desto högre transaktionsavgift. Giltiga värden i prioritetsordning (från lägsta till högsta) är: unimportant, normal, elevated, priority. Om värdet utelämnas kommer standardvärdet att användas (se kommandot &quot;set priority&quot;). &lt;ringstorlek&gt; är det antal ingångar som ska inkluderas för att uppnå ospårbarhet. Flera betalningar kan göras på en gång genom att lägga till &lt;adress_2&gt; &lt;belopp_2&gt; osv (före betalnings-ID, om det inkluderas)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1603"/>
<source>locked_transfer [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;addr&gt; &lt;amount&gt; &lt;lockblocks&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>locked_transfer [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;adress&gt; &lt;belopp&gt; &lt;låsblock&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1604"/>
<source>Transfer &lt;amount&gt; to &lt;address&gt; and lock it for &lt;lockblocks&gt; (max. 1000000). If the parameter &quot;index=&lt;N1&gt;[,&lt;N2&gt;,...]&quot; is specified, the wallet uses outputs received by addresses of those indices. If omitted, the wallet randomly chooses address indices to be used. In any case, it tries its best not to combine outputs across multiple addresses. &lt;priority&gt; is the priority of the transaction. The higher the priority, the higher the transaction fee. Valid values in priority order (from lowest to highest) are: unimportant, normal, elevated, priority. If omitted, the default value (see the command &quot;set priority&quot;) is used. &lt;ring_size&gt; is the number of inputs to include for untraceability. Multiple payments can be made at once by adding &lt;address_2&gt; &lt;amount_2&gt; etcetera (before the payment ID, if it&apos;s included)</source>
- <translation type="unfinished"></translation>
+ <translation>Överför &lt;belopp&gt; till &lt;adress&gt; och lås det i &lt;låsblock&gt; (max. 1000000). Om parametern &quot;index=&lt;N1&gt;[, &lt;N2&gt;, …]&quot; anges använder plånboken utgångar som tagits emot av adresser vid dessa index. Om parametern utelämnas väljer plånboken slumpmässigt adressindex att använda. Oavsett vilket kommer den att göra sitt bästa för att inte kombinera utgångar från flera adresser. &lt;prioritet&gt; är transaktionens prioritet. Ju högre prioritet, desto högre transaktionsavgift. Giltiga värden i prioritetsordning (från lägsta till högsta) är: unimportant, normal, elevated, priority. Om värdet utelämnas kommer standardvärdet att användas (se kommandot &quot;set priority&quot;). &lt;ringstorlek&gt; är det antal ingångar som ska inkluderas för att uppnå ospårbarhet. Flera betalningar kan göras på en gång genom att lägga till &lt;adress_2&gt; &lt;belopp_2&gt; osv (före betalnings-ID, om det inkluderas)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1607"/>
<source>Send all unmixable outputs to yourself with ring_size 1</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka alla omixbara utgångar till dig själv med ringstorlek 1</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1609"/>
<source>sweep_all [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;address&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>sweep_all [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;adress&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1610"/>
<source>Send all unlocked balance to an address. If the parameter &quot;index&lt;N1&gt;[,&lt;N2&gt;,...]&quot; is specified, the wallet sweeps outputs received by those address indices. If omitted, the wallet randomly chooses an address index to be used.</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka allt upplåst saldo till en adress. Om parametern &quot;index&lt;N1&gt;[, &lt;N2&gt;, …]&quot; anges sveper plånboken upp utgångar som tagits emot av adresserna vid dessa index. Om parametern utelämnas väljer plånboken slumpmässigt ett adressindex att använda.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1613"/>
<source>sweep_below &lt;amount_threshold&gt; [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;address&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>sweep_below &lt;tröskelbelopp&gt; [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;adress&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1614"/>
<source>Send all unlocked outputs below the threshold to an address.</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka alla upplåsta utgångar under tröskelvärdet till en adress.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1617"/>
<source>sweep_single [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;key_image&gt; &lt;address&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>sweep_single [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;nyckelavbildning&gt; &lt;adress&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1618"/>
<source>Send a single output of the given key image to an address without change.</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka en enda utgång hos den givna nyckelavbildningen till en adress utan växel.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1621"/>
<source>donate [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;amount&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>donate [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;prioritet&gt;] [&lt;ringstorlek&gt;] &lt;belopp&gt; [&lt;betalnings_id&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1622"/>
<source>Donate &lt;amount&gt; to the development team (donate.getmonero.org).</source>
- <translation type="unfinished"></translation>
+ <translation>Donera &lt;belopp&gt; till utvecklingsteamet (donate.getmonero.org).</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1625"/>
<source>sign_transfer &lt;file&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>sign_transfer &lt;fil&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1626"/>
<source>Sign a transaction from a &lt;file&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Signera en transaktion från &lt;fil&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1629"/>
<source>Submit a signed transaction from a file.</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka en signerad transaktion från en fil.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1632"/>
<source>set_log &lt;level&gt;|{+,-,}&lt;categories&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>set_log &lt;nivå&gt;|{+,-,}&lt;kategorier&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1633"/>
<source>Change the current log detail (level must be &lt;0-4&gt;).</source>
- <translation type="unfinished"></translation>
+ <translation>Ändra detaljnivån för aktuell logg (nivå måste vara 0-4).</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1636"/>
<source>account
account new &lt;label text with white spaces allowed&gt;
account switch &lt;index&gt;
- account label &lt;index&gt; &lt;label text with white spaces allowed&gt;
- account tag &lt;tag_name&gt; &lt;account_index_1&gt; [&lt;account_index_2&gt; ...]
- account untag &lt;account_index_1&gt; [&lt;account_index_2&gt; ...]
- account tag_description &lt;tag_name&gt; &lt;description&gt;</source>
- <translation type="unfinished"></translation>
+ account label &lt;index> &lt;label text with white spaces allowed&gt;
+ account tag &lt;tag_name> &lt;account_index_1> [&lt;account_index_2&gt; ...]
+ account untag &lt;account_index_1> [&lt;account_index_2&gt; ...]
+ account tag_description &lt;tag_name> &lt;description&gt;</source>
+ <translation>account
+ account new &lt;etikettext med blanktecken tillåtna&gt;
+ account switch &lt;index&gt;
+ account label &lt;index&gt; &lt;etikettext med blanktecken tillåtna&gt;
+ account tag &lt;taggnamn> &lt;kontoindex_1> [&lt;kontoindex_2&gt; …]
+ account untag &lt;kontoindex_1> [&lt;kontoindex_2&gt; …]
+ account tag_description &lt;taggnamn> &lt;beskrivning&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1643"/>
<source>If no arguments are specified, the wallet shows all the existing accounts along with their balances.
If the &quot;new&quot; argument is specified, the wallet creates a new account with its label initialized by the provided label text (which can be empty).
-If the &quot;switch&quot; argument is specified, the wallet switches to the account specified by &lt;index&gt;.
-If the &quot;label&quot; argument is specified, the wallet sets the label of the account specified by &lt;index&gt; to the provided label text.
-If the &quot;tag&quot; argument is specified, a tag &lt;tag_name&gt; is assigned to the specified accounts &lt;account_index_1&gt;, &lt;account_index_2&gt;, ....
-If the &quot;untag&quot; argument is specified, the tags assigned to the specified accounts &lt;account_index_1&gt;, &lt;account_index_2&gt; ..., are removed.
-If the &quot;tag_description&quot; argument is specified, the tag &lt;tag_name&gt; is assigned an arbitrary text &lt;description&gt;.</source>
- <translation type="unfinished"></translation>
+If the &quot;switch&quot; argument is specified, the wallet switches to the account specified by &lt;index>.
+If the &quot;label&quot; argument is specified, the wallet sets the label of the account specified by &lt;index> to the provided label text.
+If the &quot;tag&quot; argument is specified, a tag &lt;tag_name> is assigned to the specified accounts &lt;account_index_1>, &lt;account_index_2>, ....
+If the &quot;untag&quot; argument is specified, the tags assigned to the specified accounts &lt;account_index_1>, &lt;account_index_2> ..., are removed.
+If the &quot;tag_description&quot; argument is specified, the tag &lt;tag_name> is assigned an arbitrary text &lt;description&gt;.</source>
+ <translation>Om inga argument anges visas plånbokens samtliga befintliga konton, tillsammans med deras respektive saldo.
+Om argumentet &quot;new&quot; anges, skapar plånboken ett nytt konto med etiketten satt till med den angivna etikettexten (som kan vara tom).
+Om argumentet &quot;switch&quot; anges, växlar plånboken till det konto som anges av &lt;index>.
+Om argumentet &quot;label&quot; anges, sätter plånboken etiketten för kontot som anges av &lt;index> till den angivna etikettexten.
+Om argumentet &quot;tag&quot; anges, så tilldelas taggen &lt;taggnamn> till det angivna kontona &lt;kontoindex_1>, &lt;kontoindex_2>, …
+Om argumentet &quot;untag&quot; anges, tas tilldelade taggar bort från de angivna kontona &lt;kontoindex_1>, &lt;kontoindex_2> …
+Om argumentet &quot;tag_description&quot; anges, så tilldelas taggen &lt;taggnamn> den godtyckliga texten &lt;beskrivning&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1652"/>
<source>address [ new &lt;label text with white spaces allowed&gt; | all | &lt;index_min&gt; [&lt;index_max&gt;] | label &lt;index&gt; &lt;label text with white spaces allowed&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>address [new &lt;etikettext med blanktecken tillåtna&gt; | all | &lt;index_min&gt; [&lt;index_max&gt;] | label &lt;index&gt; &lt;etikettext med blanktecken tillåtna&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1653"/>
<source>If no arguments are specified or &lt;index&gt; is specified, the wallet shows the default or specified address. If &quot;all&quot; is specified, the walllet shows all the existing addresses in the currently selected account. If &quot;new &quot; is specified, the wallet creates a new address with the provided label text (which can be empty). If &quot;label&quot; is specified, the wallet sets the label of the address specified by &lt;index&gt; to the provided label text.</source>
- <translation type="unfinished"></translation>
+ <translation>Om inga argument anges, eller om &lt;index&gt; anges, visar plånboken standardadressen eller den angivna adressen. Om argumentet &quot;all&quot; anges visar plånboken samtliga befintliga adresser i det aktiva kontot. Om argumentet &quot;new &quot; anges skapar plånboken en ny adress med den angivna etikettexten (som kan vara tom). Om argumentet &quot;label&quot; anges sätter plånboken etiketten för adressen som anges av &lt;index&gt; till den angivna etikettexten.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1656"/>
<source>integrated_address [&lt;payment_id&gt; | &lt;address&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>integrated_address [&lt;betalnings-id&gt; | &lt;adress&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1657"/>
<source>Encode a payment ID into an integrated address for the current wallet public address (no argument uses a random payment ID), or decode an integrated address to standard address and payment ID</source>
- <translation type="unfinished"></translation>
+ <translation>Koda ett betalnings-ID till en integrerad adress för den aktuella plånbokens publika adress (om inget argument anges används ett slumpmässigt betalnings-ID), eller avkoda en integrerad adress till en standardadress och ett betalnings-ID</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1660"/>
<source>address_book [(add ((&lt;address&gt; [pid &lt;id&gt;])|&lt;integrated address&gt;) [&lt;description possibly with whitespaces&gt;])|(delete &lt;index&gt;)]</source>
- <translation type="unfinished"></translation>
+ <translation>address_book [(add ((&lt;adress&gt; [pid &lt;id&gt;])|&lt;integrerad adress&gt;) [&lt;beskrivning eventuellt med blanktecken&gt;])|(delete &lt;index&gt;)]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1661"/>
<source>Print all entries in the address book, optionally adding/deleting an entry to/from it.</source>
- <translation type="unfinished"></translation>
+ <translation>Skriv ut alla poster i adressboken, och valfritt lägg till/ta bort en post i den.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1664"/>
<source>Save the wallet data.</source>
- <translation type="unfinished"></translation>
+ <translation>Spara plånboksdata.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1667"/>
<source>Save a watch-only keys file.</source>
- <translation type="unfinished"></translation>
+ <translation>Spara en fil med granskningsnycklar.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1670"/>
<source>Display the private view key.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa privat granskningsnyckel.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1673"/>
<source>Display the private spend key.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa privat spendernyckel.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1676"/>
<source>Display the Electrum-style mnemonic seed</source>
- <translation type="unfinished"></translation>
+ <translation>Visa det minnesbaserade startvärdet (Electrum-typ)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1679"/>
<source>set &lt;option&gt; [&lt;value&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>set &lt;alternativ&gt; [&lt;värde&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1680"/>
<source>Available options:
seed language
Set the wallet&apos;s seed language.
- always-confirm-transfers &lt;1|0&gt;
+ always-confirm-transfers &lt;1|0>
Whether to confirm unsplit txes.
- print-ring-members &lt;1|0&gt;
+ print-ring-members &lt;1|0>
Whether to print detailed information about ring members during confirmation.
- store-tx-info &lt;1|0&gt;
+ store-tx-info &lt;1|0>
Whether to store outgoing tx info (destination address, payment ID, tx secret key) for future reference.
- default-ring-size &lt;n&gt;
+ default-ring-size &lt;n>
Set the default ring size (default and minimum is 5).
- auto-refresh &lt;1|0&gt;
+ auto-refresh &lt;1|0>
Whether to automatically synchronize new blocks from the daemon.
- refresh-type &lt;full|optimize-coinbase|no-coinbase|default&gt;
+ refresh-type &lt;full|optimize-coinbase|no-coinbase|default>
Set the wallet&apos;s refresh behaviour.
priority [0|1|2|3|4]
Set the fee too default/unimportant/normal/elevated/priority.
- confirm-missing-payment-id &lt;1|0&gt;
- ask-password &lt;1|0&gt;
- unit &lt;monero|millinero|micronero|nanonero|piconero&gt;
+ confirm-missing-payment-id &lt;1|0>
+ ask-password &lt;1|0>
+ unit &lt;monero|millinero|micronero|nanonero|piconero>
Set the default monero (sub-)unit.
min-outputs-count [n]
Try to keep at least that many outputs of value at least min-outputs-value.
min-outputs-value [n]
Try to keep at least min-outputs-count outputs of at least that value.
- merge-destinations &lt;1|0&gt;
+ merge-destinations &lt;1|0>
Whether to merge multiple payments to the same destination address.
- confirm-backlog &lt;1|0&gt;
+ confirm-backlog &lt;1|0>
Whether to warn if there is transaction backlog.
confirm-backlog-threshold [n]
Set a threshold for confirm-backlog to only warn if the transaction backlog is greater than n blocks.
refresh-from-block-height [n]
Set the height before which to ignore blocks.
- auto-low-priority &lt;1|0&gt;
+ auto-low-priority &lt;1|0>
Whether to automatically use the low priority fee level when it&apos;s safe to do so.</source>
- <translation type="unfinished"></translation>
+ <translation>Tillgängliga alternativ:
+ språk för startvärde
+ Ange plånbokens språk för startvärde.
+ always-confirm-transfers &lt;1|0>
+ Om ej delade transaktioner ska bekräftas.
+ print-ring-members &lt;1|0>
+ Om detaljerad information om ringmedlemmar ska skrivas ut vid bekräftelse.
+ store-tx-info &lt;1|0>
+ Om information om utgående transaktion ska sparas (måladress, betalnings-ID, hemlig tx-nyckel) som referens.
+ default-ring-size &lt;n>
+ Ange standardinställning för ringstorlek (standard och minimum är 5).
+ auto-refresh &lt;1|0>
+ Om nya block ska synkas automatiskt från daemonen.
+ refresh-type &lt;full|optimize-coinbase|no-coinbase|default>
+ Ange plånbokens uppdateringsbeteende.
+ priority [0|1|2|3|4]
+ Sätt avgiften till default/unimportant/normal/elevated/priority.
+ confirm-missing-payment-id &lt;1|0>
+ ask-password &lt;1|0>
+ unit &lt;monero|millinero|micronero|nanonero|piconero>
+ Ange standardvärde för moneroenhet.
+ min-outputs-count [n]
+ Försök att behålla åtminstone så många utgångar med åtminstone värdet min-outputs-value.
+ min-outputs-value [n]
+ Försök att behålla åtminstone min-outputs-count utgångar med åtminstone det värdet.
+ merge-destinations &lt;1|0>
+ Om flera betalningar till samma måladress ska sammanslås.
+ confirm-backlog &lt;1|0>
+ Om en varning ska visas om det föreligger transaktionseftersläpning.
+ confirm-backlog-threshold [n]
+ Ange ett tröskelvärde för confirm-backlog för att endast varna om transaktionseftersläpningen är större än n block.
+ refresh-from-block-height [n]
+ Ange höjden upp till vilken block ska ignoreras.
+ auto-low-priority &lt;1|0>
+ Om avgiftsnivån för låg prioritet automatiskt ska användas när detta är säkert att göra.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1717"/>
<source>Display the encrypted Electrum-style mnemonic seed.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa det krypterade minnesbaserade startvärdet (Electrum-typ).</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1720"/>
<source>Rescan the blockchain for spent outputs.</source>
- <translation type="unfinished"></translation>
+ <translation>Genomsök blockkedjan efter spenderade utgångar.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1723"/>
<source>get_tx_key &lt;txid&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>get_tx_key &lt;txid&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1724"/>
<source>Get the transaction key (r) for a given &lt;txid&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Hämta transaktionsnyckel (r) för ett givet &lt;txid&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1727"/>
<source>check_tx_key &lt;txid&gt; &lt;txkey&gt; &lt;address&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>check_tx_key &lt;txid&gt; &lt;txkey&gt; &lt;adress&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1728"/>
<source>Check the amount going to &lt;address&gt; in &lt;txid&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Kontrollera belopp som går till &lt;adress&gt; i &lt;txid&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1731"/>
<source>get_tx_proof &lt;txid&gt; &lt;address&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>get_tx_proof &lt;txid&gt; &lt;adress&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1732"/>
<source>Generate a signature proving funds sent to &lt;address&gt; in &lt;txid&gt;, optionally with a challenge string &lt;message&gt;, using either the transaction secret key (when &lt;address&gt; is not your wallet&apos;s address) or the view secret key (otherwise), which does not disclose the secret key.</source>
- <translation type="unfinished"></translation>
+ <translation>Skapa en signatur som bevisar att pengar skickades till &lt;adress&gt; i &lt;txid&gt;, valfritt med kontrollsträngen &lt;meddelande&gt;, genom att använda antingen transaktionens hemliga nyckel (när &lt;adress&gt; inte är din plånboks adress) eller den hemliga granskningsnyckeln (annars), vilket inte lämnar ut den hemliga nyckeln.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1735"/>
<source>check_tx_proof &lt;txid&gt; &lt;address&gt; &lt;signature_file&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>check_tx_proof &lt;txid&gt; &lt;adress&gt; &lt;signaturfil&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1736"/>
<source>Check the proof for funds going to &lt;address&gt; in &lt;txid&gt; with the challenge string &lt;message&gt; if any.</source>
- <translation type="unfinished"></translation>
+ <translation>Kontrollera beviset för pengar som skickats till &lt;adress&gt; i &lt;txid&gt; med kontrollsträngen &lt;meddelande&gt;, om den angivits.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1739"/>
<source>get_spend_proof &lt;txid&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>get_spend_proof &lt;txid&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1740"/>
<source>Generate a signature proving that you generated &lt;txid&gt; using the spend secret key, optionally with a challenge string &lt;message&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Skapa en signatur som bevisar att du skapade &lt;txid&gt; genom att använda den hemliga spendernyckeln, valfritt med kontrollsträngen &lt;meddelande&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1743"/>
<source>check_spend_proof &lt;txid&gt; &lt;signature_file&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>check_spend_proof &lt;txid&gt; &lt;signaturfil&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1744"/>
<source>Check a signature proving that the signer generated &lt;txid&gt;, optionally with a challenge string &lt;message&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Kontrollera en signatur som bevisar att signeraren skapade &lt;txid&gt;, valfritt med kontrollsträngen &lt;meddelande&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1747"/>
<source>get_reserve_proof (all|&lt;amount&gt;) [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>get_reserve_proof (all|&lt;belopp&gt;) [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1748"/>
<source>Generate a signature proving that you own at least this much, optionally with a challenge string &lt;message&gt;.
If &apos;all&apos; is specified, you prove the entire sum of all of your existing accounts&apos; balances.
Otherwise, you prove the reserve of the smallest possible amount above &lt;amount&gt; available in your current account.</source>
- <translation type="unfinished"></translation>
+ <translation>Skapa en signatur som bevisar att du äger åtminstone så här mycket, valfritt med kontrollsträngen &lt;meddelande&gt;.
+Om &apos;all&apos; anges, bevisar du totalsumman av alla dina befintliga kontons saldo.
+Annars bevisar du reserven för det minsta möjliga belopp över &lt;belopp&gt; som är tillgängligt på ditt aktuella konto.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1753"/>
<source>check_reserve_proof &lt;address&gt; &lt;signature_file&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>check_reserve_proof &lt;adress&gt; &lt;signaturfil&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1754"/>
<source>Check a signature proving that the owner of &lt;address&gt; holds at least this much, optionally with a challenge string &lt;message&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Kontrollera en signatur som bevisar att ägaren till &lt;adress&gt; har åtminstone så här mycket, valfritt med kontrollsträngen &lt;meddelande&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1757"/>
<source>show_transfers [in|out|pending|failed|pool] [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;min_height&gt; [&lt;max_height&gt;]]</source>
- <translation type="unfinished"></translation>
+ <translation>show_transfers [in|out|pending|failed|pool] [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;min_höjd&gt; [&lt;max_höjd&gt;]]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1758"/>
<source>Show the incoming/outgoing transfers within an optional height range.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa inkommande/utgående överföringar inom ett valfritt höjdintervall.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1761"/>
<source>unspent_outputs [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;min_amount&gt; [&lt;max_amount&gt;]]</source>
- <translation type="unfinished"></translation>
+ <translation>unspent_outputs [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;min_belopp&gt; [&lt;max_belopp&gt;]]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1762"/>
<source>Show the unspent outputs of a specified address within an optional amount range.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa de ej spenderade utgångarna hos en angiven adress inom ett valfritt beloppsintervall.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1765"/>
<source>Rescan the blockchain from scratch.</source>
- <translation type="unfinished"></translation>
+ <translation>Genomsök blockkedjan från början.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1768"/>
<source>set_tx_note &lt;txid&gt; [free text note]</source>
- <translation type="unfinished"></translation>
+ <translation>set_tx_note &lt;txid&gt; [&lt;fritextanteckning&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1769"/>
<source>Set an arbitrary string note for a &lt;txid&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Ange en godtycklig stränganteckning för &lt;txid&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1772"/>
<source>get_tx_note &lt;txid&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>get_tx_note &lt;txid&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1773"/>
<source>Get a string note for a txid.</source>
- <translation type="unfinished"></translation>
+ <translation>Hämta en stränganteckning för ett txid.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1776"/>
<source>set_description [free text note]</source>
- <translation type="unfinished"></translation>
+ <translation>set_description [&lt;fritextanteckning&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1777"/>
<source>Set an arbitrary description for the wallet.</source>
- <translation type="unfinished"></translation>
+ <translation>Ange en godtycklig beskrivning av plånboken.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1780"/>
<source>Get the description of the wallet.</source>
- <translation type="unfinished"></translation>
+ <translation>Hämta plånbokens beskrivning.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1783"/>
<source>Show the wallet&apos;s status.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa plånbokens status.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1786"/>
<source>Show the wallet&apos;s information.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa information om plånboken.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1789"/>
<source>sign &lt;file&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>sign &lt;fil&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1790"/>
<source>Sign the contents of a file.</source>
- <translation type="unfinished"></translation>
+ <translation>Signera innehållet i en fil.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1793"/>
<source>verify &lt;filename&gt; &lt;address&gt; &lt;signature&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>verify &lt;filnamn&gt; &lt;adress&gt; &lt;signatur&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1794"/>
<source>Verify a signature on the contents of a file.</source>
- <translation type="unfinished"></translation>
+ <translation>Verifiera en signatur av innehållet in en fil.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1797"/>
<source>export_key_images &lt;file&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>export_key_images &lt;fil&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1798"/>
<source>Export a signed set of key images to a &lt;file&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Exportera en signerad uppsättning nyckelavbildningar till &lt;fil&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1801"/>
<source>import_key_images &lt;file&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>import_key_images &lt;fil&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1802"/>
<source>Import a signed key images list and verify their spent status.</source>
- <translation type="unfinished"></translation>
+ <translation>Importera en signerad lista av nyckelavbildningar och verifiera deras spenderstatus.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1805"/>
<source>export_outputs &lt;file&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>export_outputs &lt;fil&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1806"/>
<source>Export a set of outputs owned by this wallet.</source>
- <translation type="unfinished"></translation>
+ <translation>Exportera en uppsättning utgångar som ägs av denna plånbok.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1809"/>
<source>import_outputs &lt;file&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>import_outputs &lt;fil&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1810"/>
<source>Import a set of outputs owned by this wallet.</source>
- <translation type="unfinished"></translation>
+ <translation>Importera en uppsättning utgångar som ägs av denna plånbok.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1813"/>
<source>show_transfer &lt;txid&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>show_transfer &lt;txid&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1814"/>
<source>Show information about a transfer to/from this address.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa information om en transktion till/från denna adress.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1817"/>
<source>Change the wallet&apos;s password.</source>
- <translation type="unfinished"></translation>
+ <translation>Ändra plånbokens lösenord.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1820"/>
<source>Generate a new random full size payment id. These will be unencrypted on the blockchain, see integrated_address for encrypted short payment ids.</source>
- <translation type="unfinished"></translation>
+ <translation>Skapa ett nytt slumpmässigt betalnings-ID av normalstorlek. Dessa kommer att vara okrypterade på blockkedjan. Se integrated_address för krypterade korta betalnings-ID.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1823"/>
<source>Print the information about the current fee and transaction backlog.</source>
- <translation type="unfinished"></translation>
+ <translation>Skriv ut information om aktuell avgift och transaktionseftersläpning.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1825"/>
<source>Export data needed to create a multisig wallet</source>
- <translation type="unfinished"></translation>
+ <translation>Exportera data som krävs för att skapa en multisig-plånbok</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1827"/>
<source>make_multisig &lt;threshold&gt; &lt;string1&gt; [&lt;string&gt;...]</source>
- <translation type="unfinished"></translation>
+ <translation>make_multisig &lt;tröskelvärde&gt; &lt;string1&gt; [&lt;sträng&gt;…]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1828"/>
<source>Turn this wallet into a multisig wallet</source>
- <translation type="unfinished"></translation>
+ <translation>Gör denna plånbok till en multisig-plånbok</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1831"/>
<source>finalize_multisig &lt;string&gt; [&lt;string&gt;...]</source>
- <translation type="unfinished"></translation>
+ <translation>finalize_multisig &lt;sträng&gt; [&lt;sträng&gt;…]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1832"/>
<source>Turn this wallet into a multisig wallet, extra step for N-1/N wallets</source>
- <translation type="unfinished"></translation>
+ <translation>Gör denna plånbok till en multisig-plånbok, extra steg för plånböcker med N-1/N</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1835"/>
<source>export_multisig_info &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>export_multisig_info &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1836"/>
<source>Export multisig info for other participants</source>
- <translation type="unfinished"></translation>
+ <translation>Exportera multisig-info för andra deltagare</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1839"/>
<source>import_multisig_info &lt;filename&gt; [&lt;filename&gt;...]</source>
- <translation type="unfinished"></translation>
+ <translation>import_multisig_info &lt;filnamn&gt; [&lt;filnamn&gt;…]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1840"/>
<source>Import multisig info from other participants</source>
- <translation type="unfinished"></translation>
+ <translation>Importera multisig-info från andra deltagare</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1843"/>
<source>sign_multisig &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>sign_multisig &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1844"/>
<source>Sign a multisig transaction from a file</source>
- <translation type="unfinished"></translation>
+ <translation>Signera en a multisig-transaktion från en fil</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1847"/>
<source>submit_multisig &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>submit_multisig &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1848"/>
<source>Submit a signed multisig transaction from a file</source>
- <translation type="unfinished"></translation>
+ <translation>Skicka en signerad multisig-transaktion från en fil</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1851"/>
<source>export_raw_multisig_tx &lt;filename&gt;</source>
- <translation type="unfinished"></translation>
+ <translation>export_raw_multisig_tx &lt;filnamn&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1852"/>
<source>Export a signed multisig transaction to a file</source>
- <translation type="unfinished"></translation>
+ <translation>Exportera en signerad multisig-transaktion till en fil</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1855"/>
<source>help [&lt;command&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>help [&lt;kommando&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1856"/>
<source>Show the help section or the documentation about a &lt;command&gt;.</source>
- <translation type="unfinished"></translation>
+ <translation>Visa hjälpavsnittet eller dokumentationen för &lt;kommando&gt;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1917"/>
<source>integer &gt;= </source>
- <translation type="unfinished"></translation>
+ <translation>heltal &gt;= </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1930"/>
<source>block height</source>
- <translation type="unfinished"></translation>
+ <translation>blockhöjd</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2012"/>
<source>No wallet found with that name. Confirm creation of new wallet named: </source>
- <translation type="unfinished"></translation>
+ <translation>Ingen plånbok med det namnet kunde hittas. Bekräfta skapande av ny plånbok med namn: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2068"/>
<source>can&apos;t specify more than one of --generate-new-wallet=&quot;wallet_name&quot;, --wallet-file=&quot;wallet_name&quot;, --generate-from-view-key=&quot;wallet_name&quot;, --generate-from-spend-key=&quot;wallet_name&quot;, --generate-from-keys=&quot;wallet_name&quot;, --generate-from-multisig-keys=&quot;wallet_name&quot; and --generate-from-json=&quot;jsonfilename&quot;</source>
- <translation type="unfinished"></translation>
+ <translation>det går inte att ange fler än en av --generate-new-wallet=&quot;plånboksnamn&quot;, --wallet-file=&quot;plånboksnamn&quot;, --generate-from-view-key=&quot;plånboksnamn&quot;, --generate-from-spend-key=&quot;plånboksnamn&quot;, --generate-from-keys=&quot;plånboksnamn&quot;, --generate-from-multisig-keys=&quot;plånboksnamn&quot; och --generate-from-json=&quot;json-filnamn&quot;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2084"/>
<source>can&apos;t specify both --restore-deterministic-wallet or --restore-multisig-wallet and --non-deterministic</source>
- <translation type="unfinished"></translation>
+ <translation>det går inte att ange både --restore-deterministic-wallet eller --restore-multisig-wallet och --non-deterministic</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2090"/>
<source>--restore-multisig-wallet uses --generate-new-wallet, not --wallet-file</source>
- <translation type="unfinished"></translation>
+ <translation>--restore-multisig-wallet använder --generate-new-wallet, inte --wallet-file</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2106"/>
<source>specify a recovery parameter with the --electrum-seed=&quot;multisig seed here&quot;</source>
- <translation type="unfinished"></translation>
+ <translation>ange en återställningsparameter med --electrum-seed=&quot;startvärde för multisig&quot;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2133"/>
<source>Multisig seed failed verification</source>
- <translation type="unfinished"></translation>
+ <translation>Startvärde för multisig kunde inte verifieras</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2149"/>
<source>Enter seed encryption passphrase, empty if none</source>
- <translation type="unfinished"></translation>
+ <translation>Ange lösenfras för kryptering av startvärde, lämna tomt om ingen</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2185"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="2259"/>
<source>This address is a subaddress which cannot be used here.</source>
- <translation type="unfinished"></translation>
+ <translation>Denna adress är en underadress som inte kan användas här.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2337"/>
<source>Error: expected M/N, but got: </source>
- <translation type="unfinished"></translation>
+ <translation>Fel: förväntade M/N, men fick: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2342"/>
<source>Error: expected N &gt; 1 and N &lt;= M, but got: </source>
- <translation type="unfinished"></translation>
+ <translation>Fel: förväntade N &gt; 1 och N &lt;= M, men fick: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2347"/>
<source>Error: M/N is currently unsupported. </source>
- <translation type="unfinished"></translation>
+ <translation>Fel: M/N stöds för närvarande inte. </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2350"/>
<source>Generating master wallet from %u of %u multisig wallet keys</source>
- <translation type="unfinished"></translation>
+ <translation>Skapar huvudplånbok från %u av %u multisig-plånboksnycklar</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2379"/>
<source>failed to parse secret view key</source>
- <translation type="unfinished">det gick inte att parsa hemlig visningsnyckel</translation>
+ <translation>det gick inte att parsa hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2388"/>
<source>failed to verify secret view key</source>
- <translation type="unfinished">det gick inte att verifiera hemlig visningsnyckel</translation>
+ <translation>det gick inte att verifiera hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2408"/>
<source>Secret spend key (%u of %u):</source>
- <translation type="unfinished"></translation>
+ <translation>Hemlig spendernyckel (%u av %u):</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2432"/>
<source>Error: M/N is currently unsupported</source>
- <translation type="unfinished"></translation>
+ <translation>Fel: M/N stöds för närvarande inte</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2550"/>
<source>Restore height </source>
- <translation type="unfinished"></translation>
+ <translation>Återställningshöjd </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2551"/>
<source>Still apply restore height? (Y/Yes/N/No): </source>
- <translation type="unfinished"></translation>
+ <translation>Ska återställningshöjd fortfarande appliceras? (J/Ja/N/Nej): </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2582"/>
<source>Warning: using an untrusted daemon at %s, privacy will be lessened</source>
- <translation type="unfinished"></translation>
+ <translation>Varning: använder en ej betrodd daemon på %s; sekretessen kommer att vara mindre</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2636"/>
<source>Daemon either is not started or wrong port was passed. Please make sure daemon is running or change the daemon address using the &apos;set_daemon&apos; command.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="2680"/>
- <location filename="../src/simplewallet/simplewallet.cpp" line="2685"/>
- <source>invalid language choice entered. Please try again.
-</source>
- <translation type="unfinished"></translation>
+ <translation>Antingen har daemonen inte startat eller så angavs fel port. Se till att daemonen körs eller byt daemonadress med kommandot &apos;set_daemon&apos;.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2768"/>
<source>Your wallet has been generated!
To start synchronizing with the daemon, use the &quot;refresh&quot; command.
Use the &quot;help&quot; command to see the list of available commands.
-Use &quot;help &lt;command&gt;&quot; to see a command&apos;s documentation.
+Use &quot;help &lt;command>&quot; to see a command&apos;s documentation.
Always use the &quot;exit&quot; command when closing monero-wallet-cli to save
your current session&apos;s state. Otherwise, you might need to synchronize
your wallet again (your wallet keys are NOT at risk in any case).
</source>
- <translation type="unfinished"></translation>
+ <translation>Din plånbok har skapats!
+Använd kommandot &quot;refresh&quot; för att starta synkronisering med daemonen.
+Använd kommandot &quot;help&quot; för att visa en lista över tillgängliga kommandon.
+Använd &quot;help &lt;kommando>&quot; för att visa dokumentation för kommandot.
+Använd alltid kommandot &quot;exit&quot; när du stänger monero-wallet-cli så att ditt aktuella sessionstillstånd sparas. Annars kan du bli tvungen att synkronisera
+din plånbok igen (din plånboks nycklar är dock INTE hotade i vilket fall som helst).
+</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2850"/>
<source>failed to generate new mutlisig wallet</source>
- <translation type="unfinished"></translation>
+ <translation>det gick inte att skapa ny multisig-plånbok</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2853"/>
<source>Generated new %u/%u multisig wallet: </source>
- <translation type="unfinished"></translation>
+ <translation>Skapa ny %u/%u-multisig-plånbok: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2889"/>
<source>Opened %u/%u multisig wallet%s</source>
- <translation type="unfinished"></translation>
+ <translation>Öppnade %u/%u-multisig-plånbok%s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2942"/>
- <source>Use &quot;help &lt;command&gt;&quot; to see a command&apos;s documentation.
+ <source>Use &quot;help &lt;command>&quot; to see a command&apos;s documentation.
</source>
- <translation type="unfinished"></translation>
+ <translation>Använd &quot;help &lt;kommando>&quot; för att visa dokumentation för kommandot.
+</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3000"/>
<source>wallet is multisig and cannot save a watch-only version</source>
- <translation type="unfinished"></translation>
+ <translation>plånboken är multisig och kan inte spara en granskningsversion</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3105"/>
<source>missing daemon URL argument</source>
- <translation type="unfinished"></translation>
+ <translation>argument för URL till daemon saknas</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3116"/>
<source>Unexpected array length - Exited simple_wallet::set_daemon()</source>
- <translation type="unfinished"></translation>
+ <translation>Oväntad matrislängd - Lämnade simple_wallet::set_daemon()</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3130"/>
<source>This does not seem to be a valid daemon URL.</source>
- <translation type="unfinished"></translation>
+ <translation>Detta verkar inte vara en giltig daemon-URL.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3166"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="3184"/>
<source>txid </source>
- <translation type="unfinished"></translation>
+ <translation>txid </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3168"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="3186"/>
<source>idx </source>
- <translation type="unfinished"></translation>
+ <translation>idx </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3299"/>
<source> (Some owned outputs have partial key images - import_multisig_info needed)</source>
- <translation type="unfinished"></translation>
+ <translation> (Några ägda utgångar har partiella nyckelavbildningar - import_multisig_info krävs)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3300"/>
<source>Currently selected account: [</source>
- <translation type="unfinished"></translation>
+ <translation>Aktuellt valt konto: [</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3300"/>
<source>] </source>
- <translation type="unfinished"></translation>
+ <translation>] </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3302"/>
<source>Tag: </source>
- <translation type="unfinished"></translation>
+ <translation>Tagg: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3302"/>
<source>(No tag assigned)</source>
- <translation type="unfinished"></translation>
+ <translation>(Ingen tagg tilldelad)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3309"/>
<source>Balance per address:</source>
- <translation type="unfinished"></translation>
+ <translation>Saldo per adress:</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3310"/>
<source>Address</source>
- <translation type="unfinished"></translation>
+ <translation>Adress</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3310"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5921"/>
<source>Balance</source>
- <translation type="unfinished"></translation>
+ <translation>Saldo</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3310"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5921"/>
<source>Unlocked balance</source>
- <translation type="unfinished"></translation>
+ <translation>Upplåst saldo</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3310"/>
<source>Outputs</source>
- <translation type="unfinished"></translation>
+ <translation>Utgångar</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3310"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5921"/>
<source>Label</source>
- <translation type="unfinished"></translation>
+ <translation>Etikett</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3318"/>
<source>%8u %6s %21s %21s %7u %21s</source>
- <translation type="unfinished"></translation>
+ <translation>%8u %6s %21s %21s %7u %21s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3327"/>
<source>usage: balance [detail]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: balance [detail]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3339"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="3381"/>
<source>usage: incoming_transfers [available|unavailable] [verbose] [index=&lt;N&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: incoming_transfers [available|unavailable] [verbose] [index=&lt;N&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3400"/>
<source>spent</source>
- <translation>spenderad</translation>
+ <translation>spenderat</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3400"/>
@@ -2243,7 +2364,7 @@ your wallet again (your wallet keys are NOT at risk in any case).
<location filename="../src/simplewallet/simplewallet.cpp" line="3400"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="3451"/>
<source>addr index</source>
- <translation type="unfinished"></translation>
+ <translation>addr index</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3423"/>
@@ -2261,20 +2382,9 @@ your wallet again (your wallet keys are NOT at risk in any case).
<translation>Inga inkommande otillgängliga överföringar</translation>
</message>
<message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="6743"/>
- <source>Transaction successfully saved to </source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="6743"/>
- <location filename="../src/simplewallet/simplewallet.cpp" line="6745"/>
- <source>, txid </source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="6745"/>
- <source>Failed to save transaction to </source>
- <translation type="unfinished"></translation>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="3442"/>
+ <source>expected at least one payment ID</source>
+ <translation>åtminstone ett betalnings-ID förväntades</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3451"/>
@@ -2376,6 +2486,18 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<translation>, vilket kan bryta ringsignaturens anonymitet. Se till att detta är avsiktligt!</translation>
</message>
<message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="3705"/>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4184"/>
+ <source>Ring size must not be 0</source>
+ <translation>Ringstorlek för inte vara 0</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="3717"/>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="4196"/>
+ <source>ring size %u is too small, minimum is %u</source>
+ <translation>ringstorlek %uär för liten, minimum är %u</translation>
+ </message>
+ <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3724"/>
<source>wrong number of arguments</source>
<translation>fel antal argument</translation>
@@ -2391,7 +2513,23 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<location filename="../src/simplewallet/simplewallet.cpp" line="3872"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4286"/>
<source>No outputs found, or daemon is not ready</source>
- <translation>Inga utgångar hittades, eller så är daemonen inte redo</translation>
+ <translation>Inga utgångar hittades, eller så är daemonen inte klar</translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="6743"/>
+ <source>Transaction successfully saved to </source>
+ <translation>Transaktionen sparades till </translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="6743"/>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="6745"/>
+ <source>, txid </source>
+ <translation>, txid </translation>
+ </message>
+ <message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="6745"/>
+ <source>Failed to save transaction to </source>
+ <translation>Det gick inte att spara transaktion till </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4081"/>
@@ -2419,12 +2557,12 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6571"/>
<source>usage: show_transfer &lt;txid&gt;</source>
- <translation>användning: show_transfer &lt;transaktions-ID&gt;</translation>
+ <translation>användning: show_transfer &lt;txid&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6673"/>
<source>Double spend seen on the network: this transaction may or may not end up being mined</source>
- <translation type="unfinished"></translation>
+ <translation>En dubbelspendering upptäcktes på nätverket: denna transaktion kanske aldrig blir verifierad</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6708"/>
@@ -2445,13 +2583,13 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<location filename="../src/simplewallet/simplewallet.cpp" line="541"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="608"/>
<source>wallet is watch-only and has no seed</source>
- <translation>plånboken är enbart för granskning och saknar frö</translation>
+ <translation>plånboken är enbart för granskning och har inget startvärde</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="557"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="613"/>
<source>wallet is non-deterministic and has no seed</source>
- <translation>plånboken är icke-deterministisk och saknar frö</translation>
+ <translation>plånboken är icke-deterministisk och har inget startvärde</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1226"/>
@@ -2462,7 +2600,7 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1321"/>
<source>could not change default priority</source>
- <translation>Det gick inte att ändra standardinställning för prioritet</translation>
+ <translation>det gick inte att ändra standardinställning för prioritet</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1919"/>
@@ -2487,7 +2625,7 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="1998"/>
<source>Key file found but not wallet file. Regenerating...</source>
- <translation>Nyckelfil hittades men inte plånboksfilen. Återskapar …</translation>
+ <translation>Nyckelfilen hittades men inte plånboksfilen. Återskapar …</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2004"/>
@@ -2502,7 +2640,7 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2141"/>
<source>Electrum-style word list failed verification</source>
- <translation>det gick inte att verifiera ordlista av Electrum-typ</translation>
+ <translation>Det gick inte att verifiera ordlista av Electrum-typ</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2174"/>
@@ -2516,7 +2654,7 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<location filename="../src/simplewallet/simplewallet.cpp" line="2373"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="2413"/>
<source>No data supplied, cancelled</source>
- <translation>Ingen data angiven, avbryter</translation>
+ <translation>Inga data angivna, avbryter</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2180"/>
@@ -2538,20 +2676,20 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<location filename="../src/simplewallet/simplewallet.cpp" line="2200"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="2290"/>
<source>failed to parse view key secret key</source>
- <translation>det gick inte att parsa hemlig visningsnyckel</translation>
+ <translation>det gick inte att parsa hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2210"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="2308"/>
<source>failed to verify view key secret key</source>
- <translation>det gick inte att verifiera hemlig visningsnyckel</translation>
+ <translation>det gick inte att verifiera hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2214"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="2312"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="2393"/>
<source>view key does not match standard address</source>
- <translation>visningsnyckel matchar inte standardadress</translation>
+ <translation>granskningsnyckel matchar inte standardadress</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2219"/>
@@ -2596,14 +2734,22 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<translation>plånbok är null</translation>
</message>
<message>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="2680"/>
+ <location filename="../src/simplewallet/simplewallet.cpp" line="2685"/>
+ <source>invalid language choice entered. Please try again.
+</source>
+ <translation>ogiltigt språkval har angivits. Försök igen.
+</translation>
+ </message>
+ <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2753"/>
<source>View key: </source>
- <translation>Visningsnyckel: </translation>
+ <translation>Granskningsnyckel: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2935"/>
<source>You may want to remove the file &quot;%s&quot; and try again</source>
- <translation>Du kan också vilja ta bort filen &quot;%s&quot; och försöka igen</translation>
+ <translation>Du kan också prova att bort filen &quot;%s&quot; och försöka igen</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="2963"/>
@@ -2647,7 +2793,7 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3399"/>
<source>pubkey</source>
- <translation>öppen nyckel</translation>
+ <translation>publik nyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3399"/>
@@ -2691,19 +2837,14 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<translation>-</translation>
</message>
<message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="3442"/>
- <source>expected at least one payment ID</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3485"/>
<source>payment ID has invalid format, expected 16 or 64 character hex string: </source>
- <translation>betalnings-ID har ogiltigt format, en 16- eller 64-teckens hex-sträng förväntades: </translation>
+ <translation>betalnings-ID har ogiltigt format. En hexadecimal sträng med 16 eller 64 tecken förväntades: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3546"/>
<source>failed to get spent status</source>
- <translation>det gick inte att hämta spenderingsstatus</translation>
+ <translation>det gick inte att hämta spenderstatus</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3661"/>
@@ -2716,18 +2857,6 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<translation>block som ligger väldigt nära varandra i tiden</translation>
</message>
<message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="3705"/>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4184"/>
- <source>Ring size must not be 0</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="3717"/>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4196"/>
- <source>ring size %u is too small, minimum is %u</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="3778"/>
<source>Locked blocks too high, max 1000000 (˜4 yrs)</source>
<translation>Låsta block för högt, max 1000000 (˜~4 år)</translation>
@@ -2736,14 +2865,14 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<location filename="../src/simplewallet/simplewallet.cpp" line="5077"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5188"/>
<source>Good signature</source>
- <translation>Bra signatur</translation>
+ <translation>Godkänd signatur</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5104"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5190"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5293"/>
<source>Bad signature</source>
- <translation>DÃ¥lig signatur</translation>
+ <translation>Felaktig signatur</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6046"/>
@@ -2763,7 +2892,7 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6098"/>
<source>usage: address_book [(add (&lt;address&gt; [pid &lt;long or short payment id&gt;])|&lt;integrated address&gt; [&lt;description possibly with whitespaces&gt;])|(delete &lt;index&gt;)]</source>
- <translation>användning: address_book [(add (&lt;adress&gt; [pid &lt;långt eller kort betalnings-ID&gt;])|&lt;Integrerad adress&gt; [&lt;beskrivning eventuellt med blanktecken&gt;])|(delete &lt;index&gt;)]</translation>
+ <translation>användning: address_book [(add (&lt;adress&gt; [pid &lt;långt eller kort betalnings-ID&gt;])|&lt;integrerad adress&gt; [&lt;beskrivning eventuellt med blanktecken&gt;])|(delete &lt;index&gt;)]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6128"/>
@@ -2805,7 +2934,7 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6173"/>
<source>usage: set_tx_note [txid] free text note</source>
- <translation>användning: set_tx_note [txid] fri textanteckning</translation>
+ <translation>användning: set_tx_note [txid] fritextanteckning</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6201"/>
@@ -2833,89 +2962,89 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5039"/>
<source>usage: check_tx_proof &lt;txid&gt; &lt;address&gt; &lt;signature_file&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: check_tx_proof &lt;txid&gt; &lt;adress&gt; &lt;signaturfil&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5066"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5181"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5278"/>
<source>failed to load signature file</source>
- <translation type="unfinished"></translation>
+ <translation>det gick inte att läsa in signaturfil</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5117"/>
<source>usage: get_spend_proof &lt;txid&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: get_spend_proof &lt;txid&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5123"/>
<source>wallet is watch-only and cannot generate the proof</source>
- <translation type="unfinished"></translation>
+ <translation>plånboken är enbart för granskning och kan inte skapa beviset</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5161"/>
<source>usage: check_spend_proof &lt;txid&gt; &lt;signature_file&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: check_spend_proof &lt;txid&gt; &lt;signaturfil&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5202"/>
<source>usage: get_reserve_proof (all|&lt;amount&gt;) [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: get_reserve_proof (all|&lt;belopp&gt;) [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5208"/>
<source>The reserve proof can be generated only by a full wallet</source>
- <translation type="unfinished"></translation>
+ <translation>Beviset på reserv kan endast skapas av en standardplånbok</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5253"/>
<source>usage: check_reserve_proof &lt;address&gt; &lt;signature_file&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: check_reserve_proof &lt;adress&gt; &lt;signaturfil&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5271"/>
<source>Address must not be a subaddress</source>
- <translation type="unfinished"></translation>
+ <translation>Adressen får inte vara en underadress</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5289"/>
<source>Good signature -- total: %s, spent: %s, unspent: %s</source>
- <translation type="unfinished"></translation>
+ <translation>Godkänd signatur -- summa: %s, spenderat: %s, ej spenderat: %s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5353"/>
<source>usage: show_transfers [in|out|all|pending|failed] [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;min_height&gt; [&lt;max_height&gt;]]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: show_transfers [in|out|all|pending|failed] [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;minhöjd&gt; [&lt;maxhöjd&gt;]]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5490"/>
<source>[Double spend seen on the network: this transaction may or may not end up being mined] </source>
- <translation type="unfinished"></translation>
+ <translation>[En dubbelspendering upptäcktes på nätverket: denna transaktion kanske aldrig blir verifierad] </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5526"/>
<source>usage: unspent_outputs [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;min_amount&gt; [&lt;max_amount&gt;]]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: unspent_outputs [index=&lt;N1&gt;[, &lt;N2&gt;, …]] [&lt;min_belopp&gt; [&lt;max_belopp&gt;]]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5586"/>
<source>There is no unspent output in the specified address</source>
- <translation type="unfinished"></translation>
+ <translation>Det finns ingen ej spenderad utgång i den angivna adressen</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5699"/>
<source> (no daemon)</source>
- <translation type="unfinished"></translation>
+ <translation> (ingen daemon)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5701"/>
<source> (out of sync)</source>
- <translation type="unfinished"></translation>
+ <translation> (inte synkroniserad)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5758"/>
<source>(Untitled account)</source>
- <translation type="unfinished"></translation>
+ <translation>(Ej namngivet konto)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5771"/>
@@ -2925,13 +3054,13 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
<location filename="../src/simplewallet/simplewallet.cpp" line="5990"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="6013"/>
<source>failed to parse index: </source>
- <translation type="unfinished"></translation>
+ <translation>det gick inte att parsa index: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5776"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5995"/>
<source>specify an index between 0 and </source>
- <translation type="unfinished"></translation>
+ <translation>ange ett index mellan 0 och </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5873"/>
@@ -2939,169 +3068,178 @@ Varning: Några ingångsnycklar som spenderas kommer från </translation>
account
account new &lt;label text with white spaces allowed&gt;
account switch &lt;index&gt;
- account label &lt;index&gt; &lt;label text with white spaces allowed&gt;
- account tag &lt;tag_name&gt; &lt;account_index_1&gt; [&lt;account_index_2&gt; ...]
- account untag &lt;account_index_1&gt; [&lt;account_index_2&gt; ...]
- account tag_description &lt;tag_name&gt; &lt;description&gt;</source>
- <translation type="unfinished"></translation>
+ account label &lt;index&gt; &lt;label text with white spaces allowed>
+ account tag &lt;tag_name&gt; &lt;account_index_1> [&lt;account_index_2> ...]
+ account untag &lt;account_index_1&gt; [&lt;account_index_2> ...]
+ account tag_description &lt;tag_name&gt; &lt;description></source>
+ <translation>användning:
+ account
+ account new &lt;etikettext med blanktecken tillåtna&gt;
+ account switch &lt;index&gt;
+ account label &lt;index&gt; &lt;etikettext med blanktecken tillåtna&gt;
+ account tag &lt;taggnamn&gt; &lt;kontoindex_1&gt; [&lt;kontoindex_2&gt; …]
+ account untag &lt;kontoindex_1&gt; [&lt;kontoindex_2&gt; …]
+ account tag_description &lt;taggnamn&gt; &lt;beskrivning&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5901"/>
<source>
Grand total:
Balance: </source>
- <translation type="unfinished"></translation>
+ <translation>
+Totalsumma:
+ Saldo: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5901"/>
<source>, unlocked balance: </source>
- <translation type="unfinished"></translation>
+ <translation>, upplåst saldo: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5909"/>
<source>Untagged accounts:</source>
- <translation type="unfinished"></translation>
+ <translation>Otaggade konton:</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5915"/>
<source>Tag %s is unregistered.</source>
- <translation type="unfinished"></translation>
+ <translation>Taggen %s har inte registrerats.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5918"/>
<source>Accounts with tag: </source>
- <translation type="unfinished"></translation>
+ <translation>Konton med tagg: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5919"/>
<source>Tag&apos;s description: </source>
- <translation type="unfinished"></translation>
+ <translation>Taggens beskrivning: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5921"/>
<source>Account</source>
- <translation type="unfinished"></translation>
+ <translation>Konto</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5927"/>
<source> %c%8u %6s %21s %21s %21s</source>
- <translation type="unfinished"></translation>
+ <translation> %c%8u %6s %21s %21s %21s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5937"/>
<source>----------------------------------------------------------------------------------</source>
- <translation type="unfinished"></translation>
+ <translation>----------------------------------------------------------------------------------</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5938"/>
<source>%15s %21s %21s</source>
- <translation type="unfinished"></translation>
+ <translation>%15s %21s %21s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5961"/>
<source>Primary address</source>
- <translation type="unfinished"></translation>
+ <translation>Primär adress</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5961"/>
<source>(used)</source>
- <translation type="unfinished"></translation>
+ <translation>(används)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5982"/>
<source>(Untitled address)</source>
- <translation type="unfinished"></translation>
+ <translation>(Ej namngiven adress)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6022"/>
<source>&lt;index_min&gt; is already out of bound</source>
- <translation type="unfinished"></translation>
+ <translation>&lt;index_min&gt; är redan utanför tillåtet intervall</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6027"/>
<source>&lt;index_max&gt; exceeds the bound</source>
- <translation type="unfinished"></translation>
+ <translation>&lt;index_max&gt; är utanför tillåtet intervall</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6035"/>
<source>usage: address [ new &lt;label text with white spaces allowed&gt; | all | &lt;index_min&gt; [&lt;index_max&gt;] | label &lt;index&gt; &lt;label text with white spaces allowed&gt; ]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: address [new &lt;etikettext med blanktecken tillåtna&gt; | all | &lt;index_min&gt; [&lt;index_max&gt;] | label &lt;index&gt; &lt;etikettext med blanktecken tillåtna&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6053"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="6065"/>
<source>Integrated addresses can only be created for account 0</source>
- <translation type="unfinished"></translation>
+ <translation>Integrerade adresser kan bara skapas för konto 0</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6077"/>
<source>Integrated address: %s, payment ID: %s</source>
- <translation type="unfinished"></translation>
+ <translation>Integrerad adress: %s, betalnings-ID: %s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6082"/>
<source>Subaddress: </source>
- <translation type="unfinished"></translation>
+ <translation>Underadress: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6242"/>
<source>usage: get_description</source>
- <translation type="unfinished"></translation>
+ <translation>användning: get_description</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6248"/>
<source>no description found</source>
- <translation type="unfinished"></translation>
+ <translation>ingen beskrivning hittades</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6250"/>
<source>description found: </source>
- <translation type="unfinished"></translation>
+ <translation>beskrivning hittades: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6285"/>
<source>Filename: </source>
- <translation type="unfinished"></translation>
+ <translation>Filnamn: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6290"/>
<source>Watch only</source>
- <translation type="unfinished"></translation>
+ <translation>Endast granskning</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6292"/>
<source>%u/%u multisig%s</source>
- <translation type="unfinished"></translation>
+ <translation>%u/%u multisig%s</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6294"/>
<source>Normal</source>
- <translation type="unfinished"></translation>
+ <translation>Normal</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6295"/>
<source>Type: </source>
- <translation type="unfinished"></translation>
+ <translation>Typ: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6296"/>
<source>Testnet: </source>
- <translation type="unfinished"></translation>
+ <translation>Testnet: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6296"/>
<source>Yes</source>
- <translation type="unfinished"></translation>
+ <translation>Ja</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6296"/>
<source>No</source>
- <translation type="unfinished"></translation>
+ <translation>Nej</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6314"/>
<source>This wallet is multisig and cannot sign</source>
- <translation type="unfinished"></translation>
+ <translation>Plånboken är multisig och kan inte signera</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6335"/>
@@ -3111,12 +3249,12 @@ Grand total:
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6360"/>
<source>Bad signature from </source>
- <translation>Dålig signatur från </translation>
+ <translation>Felaktig signatur från </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6364"/>
<source>Good signature from </source>
- <translation>Bra signatur från </translation>
+ <translation>Godkänd signatur från </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6373"/>
@@ -3186,7 +3324,7 @@ Grand total:
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4716"/>
<source>Change goes to more than one address</source>
- <translation>Växel går till mer än en adress</translation>
+ <translation>Växel går till fler än en adress</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4757"/>
@@ -3206,79 +3344,9 @@ Grand total:
<translation>Transaktionen signerades till fil </translation>
</message>
<message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4424"/>
- <source>failed to parse Payment ID</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4440"/>
- <source>usage: sweep_single [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;key_image&gt; &lt;address&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4447"/>
- <source>failed to parse key image</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4499"/>
- <source>No outputs found</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4504"/>
- <source>Multiple transactions are created, which is not supposed to happen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4509"/>
- <source>The transaction uses multiple or no inputs, which is not supposed to happen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4586"/>
- <source>missing threshold amount</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4601"/>
- <source>donations are not enabled on the testnet</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4608"/>
- <source>usage: donate [index=&lt;N1&gt;[,&lt;N2&gt;,...]] [&lt;priority&gt;] [&lt;ring_size&gt;] &lt;amount&gt; [&lt;payment_id&gt;]</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4748"/>
- <source> dummy output(s)</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4763"/>
- <source>Loaded %lu transactions, for %s, fee %s, %s, %s, with min ring size %lu, %s. %sIs this okay? (Y/Yes/N/No): </source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4787"/>
- <source>This is a multisig wallet, it can only sign with sign_multisig</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4797"/>
- <source>usage: sign_transfer [export]</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/simplewallet/simplewallet.cpp" line="4836"/>
- <source>Transaction raw hex data exported to </source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4876"/>
<source>usage: get_tx_key &lt;txid&gt;</source>
- <translation>användning: get_tx_key &lt;transaktions-ID&gt;</translation>
+ <translation>användning: get_tx_key &lt;txid&gt;</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4884"/>
@@ -3291,7 +3359,7 @@ Grand total:
<location filename="../src/simplewallet/simplewallet.cpp" line="6208"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="6578"/>
<source>failed to parse txid</source>
- <translation>det gick inte att parsa transaktions-id</translation>
+ <translation>det gick inte att parsa txid</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4898"/>
@@ -3306,21 +3374,21 @@ Grand total:
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4912"/>
<source>usage: get_tx_proof &lt;txid&gt; &lt;address&gt; [&lt;message&gt;]</source>
- <translation type="unfinished"></translation>
+ <translation>användning: get_tx_proof &lt;txid&gt; &lt;adress&gt; [&lt;meddelande&gt;]</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4937"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5147"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5239"/>
<source>signature file saved to: </source>
- <translation type="unfinished"></translation>
+ <translation>signaturfilen sparades till: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4939"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5149"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5241"/>
<source>failed to save signature file</source>
- <translation type="unfinished"></translation>
+ <translation>det gick inte att spara signaturfilen</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4953"/>
@@ -3331,7 +3399,7 @@ Grand total:
<location filename="../src/simplewallet/simplewallet.cpp" line="4976"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="4985"/>
<source>failed to parse tx key</source>
- <translation>det gick inte att parsa transaktionsnyckeln</translation>
+ <translation>det gick inte att parsa txnyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="4943"/>
@@ -3350,13 +3418,13 @@ Grand total:
<location filename="../src/simplewallet/simplewallet.cpp" line="5007"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5080"/>
<source>in txid</source>
- <translation>i transaktions-id</translation>
+ <translation>i txid</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5026"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5099"/>
<source>received nothing in txid</source>
- <translation>tog emot ingenting i transaktions-id</translation>
+ <translation>tog emot ingenting i txid</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5010"/>
@@ -3368,23 +3436,23 @@ Grand total:
<location filename="../src/simplewallet/simplewallet.cpp" line="5016"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5089"/>
<source>This transaction has %u confirmations</source>
- <translation>Transaktionen har %u bekräftelser</translation>
+ <translation>Denna transaktion har %u bekräftelser</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5020"/>
<location filename="../src/simplewallet/simplewallet.cpp" line="5093"/>
<source>WARNING: failed to determine number of confirmations!</source>
- <translation>VARNING: det gick inte att avgöra antal bekräftelser!</translation>
+ <translation>VARNING: det gick inte att bestämma antal bekräftelser!</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5401"/>
<source>bad min_height parameter:</source>
- <translation>dålig parameter för min_height:</translation>
+ <translation>felaktig parameter för min_höjd:</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5413"/>
<source>bad max_height parameter:</source>
- <translation>dålig parameter för max_height:</translation>
+ <translation>felaktig parameter för max_höjd:</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5473"/>
@@ -3405,7 +3473,7 @@ Grand total:
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5514"/>
<source>pending</source>
- <translation>väntar</translation>
+ <translation>väntande</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5560"/>
@@ -3499,9 +3567,9 @@ Utgångar per *: </translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="5653"/>
- <source>+--&gt; block height
+ <source>+--> block height
</source>
- <translation>+--&gt; blockhöjd
+ <translation>+--> blockhöjd
</translation>
</message>
<message>
@@ -3543,83 +3611,83 @@ Utgångar per *: </translation>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="70"/>
<source>Base filename (-1, -2, etc suffixes will be appended as needed)</source>
- <translation type="unfinished"></translation>
+ <translation>Basfilnamn (suffix -1, -2, osv. läggs till efter behov)</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="71"/>
<source>Give threshold and participants at once as M/N</source>
- <translation type="unfinished"></translation>
+ <translation>Ange tröskelvärde och deltagare på en gång som M/N</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="72"/>
<source>How many participants wil share parts of the multisig wallet</source>
- <translation type="unfinished"></translation>
+ <translation>Hur många deltagare kommer att dela delar av multisig-plånboken</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="73"/>
<source>How many signers are required to sign a valid transaction</source>
- <translation type="unfinished"></translation>
+ <translation>Hur många signerare krävs för att signera en giltig transaktion</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="74"/>
<source>Create testnet multisig wallets</source>
- <translation type="unfinished"></translation>
+ <translation>Skapa multisig-plånböcker för testnet</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="81"/>
<source>Generating %u %u/%u multisig wallets</source>
- <translation type="unfinished"></translation>
+ <translation>Skapar %u %u/%u multisig-plånböcker</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="138"/>
<source>Error verifying multisig extra info</source>
- <translation type="unfinished"></translation>
+ <translation>Ett fel uppstod när extra multisig-info verifierades</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="146"/>
<source>Error finalizing multisig</source>
- <translation type="unfinished"></translation>
+ <translation>Ett fel uppstod vid slutförande av multisig</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="153"/>
<source>Generated multisig wallets for address </source>
- <translation type="unfinished"></translation>
+ <translation>Skapade multisig-plånböcker för adress </translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="157"/>
<source>Error creating multisig wallets: </source>
- <translation type="unfinished"></translation>
+ <translation>Ett fel uppstod när multisig-plånböcker skapades: </translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="176"/>
<source>This program generates a set of multisig wallets - use this simpler scheme only if all the participants trust each other</source>
- <translation type="unfinished"></translation>
+ <translation>Programmet skapar en uppsättning multisig-plånböcker - använd endast detta enklare system om alla deltagare litar på varandra</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="194"/>
<source>Error: expected N/M, but got: </source>
- <translation type="unfinished"></translation>
+ <translation>Fel: förväntade N/M, men fick: </translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="202"/>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="211"/>
<source>Error: either --scheme or both of --threshold and --participants may be given</source>
- <translation type="unfinished"></translation>
+ <translation>Fel: antingen --scheme eller både --threshold och --participants får anges</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="218"/>
<source>Error: expected N &gt; 1 and N &lt;= M, but got N==%u and M==%d</source>
- <translation type="unfinished"></translation>
+ <translation>Fel: förväntade N &gt; 1 och N &lt;= M, men fick N=%u och M=%d</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="227"/>
<source>Error: --filename-base is required</source>
- <translation type="unfinished"></translation>
+ <translation>Fel: --filename-base måste anges</translation>
</message>
<message>
<location filename="../src/gen_multisig/gen_multisig.cpp" line="233"/>
<source>Error: unsupported scheme: only N/N and N-1/N are supported</source>
- <translation type="unfinished"></translation>
+ <translation>Fel: systemet stöds inte: bara N/N och N-1/N stöds</translation>
</message>
</context>
<context>
@@ -3632,12 +3700,12 @@ Utgångar per *: </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="116"/>
<source>Generate incoming-only wallet from view key</source>
- <translation>Skapa granskningsplånbok från visningsnyckel</translation>
+ <translation>Skapa granskningsplånbok från granskningsnyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="117"/>
<source>Generate deterministic wallet from spend key</source>
- <translation type="unfinished"></translation>
+ <translation>Skapa deterministisk plånbok från spendernyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="118"/>
@@ -3647,32 +3715,32 @@ Utgångar per *: </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="119"/>
<source>Generate a master wallet from multisig wallet keys</source>
- <translation type="unfinished"></translation>
+ <translation>Skapa en huvudplånbok från multisig-plånboksnycklar</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="121"/>
<source>Language for mnemonic</source>
- <translation type="unfinished"></translation>
+ <translation>Språk för minnesbaserat startvärde</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="122"/>
<source>Specify Electrum seed for wallet recovery/creation</source>
- <translation>Ange Electrum-frö för att återställa/skapa plånbok</translation>
+ <translation>Ange Electrum-startvärde för att återställa/skapa plånbok</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="123"/>
<source>Recover wallet using Electrum-style mnemonic seed</source>
- <translation>Återställ plånbok genom användning av minnesfrö (Electrum-typ)</translation>
+ <translation>Återställ plånbok genom att använda minnesbaserat startvärde (Electrum-typ)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="124"/>
<source>Recover multisig wallet using Electrum-style mnemonic seed</source>
- <translation type="unfinished"></translation>
+ <translation>Återställ multisig-plånbok genom att använda minnesbaserat startvärde (Electrum-typ)</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="125"/>
<source>Generate non-deterministic view and spend keys</source>
- <translation>Skapa non-deterministic visnings- och spendernyckel</translation>
+ <translation>Skapa icke-deterministisk granskningsnyckel och spendernyckel</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="126"/>
@@ -3692,7 +3760,7 @@ Utgångar per *: </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="129"/>
<source>The newly created transaction will not be relayed to the monero network</source>
- <translation type="unfinished"></translation>
+ <translation>Den nyss skapade transaktionen kommer inte att skickas vidare till monero-nätverket</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="171"/>
@@ -3702,7 +3770,7 @@ Utgångar per *: </translation>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="180"/>
<source>possibly lost connection to daemon</source>
- <translation>anslutning till daemonen kan ha tappats</translation>
+ <translation>anslutning till daemonen kan ha förlorats</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="197"/>
@@ -3713,7 +3781,8 @@ Utgångar per *: </translation>
<location filename="../src/simplewallet/simplewallet.cpp" line="6787"/>
<source>This is the command line monero wallet. It needs to connect to a monero
daemon to work correctly.</source>
- <translation type="unfinished"></translation>
+ <translation>Detta är kommandoradsplånboken för Monero. Den måste ansluta till en Monero-
+daemon för att fungera korrekt.</translation>
</message>
<message>
<location filename="../src/simplewallet/simplewallet.cpp" line="6801"/>
@@ -3726,12 +3795,12 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="113"/>
<source>Use daemon instance at &lt;host&gt;:&lt;port&gt;</source>
- <translation>Använd daemoninstans på &lt;värddator&gt;:&lt;port&gt;</translation>
+ <translation>Använd daemonen på &lt;värddator&gt;:&lt;port&gt;</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="114"/>
<source>Use daemon instance at host &lt;arg&gt; instead of localhost</source>
- <translation>Använd daemon-instansen på värddator &lt;arg&gt; istället för localhost</translation>
+ <translation>Använd daemonen på värddatorn &lt;arg&gt; istället för localhost</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="116"/>
@@ -3741,7 +3810,7 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="117"/>
<source>Use daemon instance at port &lt;arg&gt; instead of 18081</source>
- <translation>Använd daemon-instansen på port &lt;arg&gt; istället för 18081</translation>
+ <translation>Använd daemonen på port &lt;arg&gt; istället för 18081</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="119"/>
@@ -3761,7 +3830,7 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="204"/>
<source>can&apos;t specify more than one of --password and --password-file</source>
- <translation>det går inte att ange mer än en av --password och --password-file</translation>
+ <translation>det går inte att ange fler än en av --password och --password-file</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="217"/>
@@ -3786,7 +3855,7 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="224"/>
<source>no password specified; use --prompt-for-password to prompt for a password</source>
- <translation type="unfinished"></translation>
+ <translation>inget lösenord har angivits; använd --prompt-for-password för att fråga efter lösenord</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="246"/>
@@ -3801,14 +3870,14 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="269"/>
<source>failed to parse view key secret key</source>
- <translation>det gick inte att parsa hemlig visningsnyckel</translation>
+ <translation>det gick inte att parsa hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="274"/>
<location filename="../src/wallet/wallet2.cpp" line="339"/>
<location filename="../src/wallet/wallet2.cpp" line="380"/>
<source>failed to verify view key secret key</source>
- <translation>det gick inte att verifiera hemlig visningsnyckel</translation>
+ <translation>det gick inte att verifiera hemlig granskningsnyckel</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="285"/>
@@ -3825,12 +3894,12 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="302"/>
<source>Electrum-style word list failed verification</source>
- <translation>det gick inte att verifiera ordlista av Electrum-typ</translation>
+ <translation>Det gick inte att verifiera ordlista av Electrum-typ</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="319"/>
<source>At least one of Electrum-style word list and private view key and private spend key must be specified</source>
- <translation type="unfinished"></translation>
+ <translation>Åtminstone en av ordlista av Electrum-typ och privat granskningsnyckel och privat spendernyckel måste anges</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="323"/>
@@ -3845,7 +3914,7 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="342"/>
<source>view key does not match standard address</source>
- <translation>visningsnyckel matchar inte standardadress</translation>
+ <translation>granskningsnyckel matchar inte standardadress</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="352"/>
@@ -3860,12 +3929,12 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet2.cpp" line="392"/>
<source>failed to parse address: </source>
- <translation type="unfinished"></translation>
+ <translation>det gick inte att parsa adressen: </translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="398"/>
<source>Address must be specified in order to create watch-only wallet</source>
- <translation type="unfinished"></translation>
+ <translation>Adress måste anges för att kunna skapa granskningsplånbok</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="413"/>
@@ -3882,12 +3951,12 @@ daemon to work correctly.</source>
<location filename="../src/wallet/wallet2.cpp" line="3599"/>
<location filename="../src/wallet/wallet2.cpp" line="3955"/>
<source>Primary account</source>
- <translation type="unfinished"></translation>
+ <translation>Primärt konto</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="7914"/>
<source>No funds received in this tx.</source>
- <translation type="unfinished"></translation>
+ <translation>Inga pengar togs emot i denna tx.</translation>
</message>
<message>
<location filename="../src/wallet/wallet2.cpp" line="8607"/>
@@ -3905,12 +3974,12 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="175"/>
<source>Failed to create directory </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att skapa mapp </translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="177"/>
<source>Failed to create directory %s: %s</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att skapa mapp %s: %s</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="188"/>
@@ -3935,7 +4004,7 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="217"/>
<source>Error writing to file </source>
- <translation>Fel vid skrivning till fil </translation>
+ <translation>Ett fel uppstod vid skrivning till fil </translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="220"/>
@@ -3945,23 +4014,24 @@ daemon to work correctly.</source>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="443"/>
<source>Tag %s is unregistered.</source>
- <translation type="unfinished"></translation>
+ <translation>Taggen %s har inte registrerats.</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2435"/>
<source>Transaction not possible. Available only %s, transaction amount %s = %s + %s (fee)</source>
- <translation type="unfinished"></translation>
+ <translation>Transaktion är inte möjlig. Endast tillgängligt %s, transaktionsbelopp %s = %s + %s (avgift)</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2870"/>
<source>This is the RPC monero wallet. It needs to connect to a monero
daemon to work correctly.</source>
- <translation type="unfinished"></translation>
+ <translation>Detta är RPC-plånboken för monero. Den måste ansluta till en Monero-
+daemon för att fungera korrekt.</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2893"/>
<source>Can&apos;t specify more than one of --wallet-file and --generate-from-json</source>
- <translation>Det går inte att ange mer än en av --wallet-file och --generate-from-json</translation>
+ <translation>Det går inte att ange fler än en av --wallet-file och --generate-from-json</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2905"/>
@@ -3977,48 +4047,48 @@ daemon to work correctly.</source>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2942"/>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2975"/>
<source>Saving wallet...</source>
- <translation type="unfinished"></translation>
+ <translation>Sparar plånbok …</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2944"/>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2977"/>
<source>Successfully saved</source>
- <translation type="unfinished"></translation>
+ <translation>Plånboken sparades</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2947"/>
<source>Successfully loaded</source>
- <translation type="unfinished"></translation>
+ <translation>Plånboken lästes in</translation>
+ </message>
+ <message>
+ <location filename="../src/wallet/wallet_rpc_server.cpp" line="2951"/>
+ <source>Wallet initialization failed: </source>
+ <translation>Det gick inte att initiera plånbok: </translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2958"/>
<source>Failed to initialize wallet RPC server</source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att initiera RPC-servern för plånbok</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2962"/>
<source>Starting wallet RPC server</source>
- <translation type="unfinished"></translation>
+ <translation>Startar RPC-server för plånboken</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2969"/>
<source>Failed to run wallet: </source>
- <translation type="unfinished"></translation>
+ <translation>Det gick inte att köra plånboken: </translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2972"/>
<source>Stopped wallet RPC server</source>
- <translation type="unfinished"></translation>
+ <translation>Stoppade RPC-server för plånboken</translation>
</message>
<message>
<location filename="../src/wallet/wallet_rpc_server.cpp" line="2981"/>
<source>Failed to save wallet: </source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../src/wallet/wallet_rpc_server.cpp" line="2951"/>
- <source>Wallet initialization failed: </source>
- <translation>Det gick inte att initiera plånbok: </translation>
+ <translation>Det gick inte spara plånboken: </translation>
</message>
</context>
<context>
@@ -4064,7 +4134,8 @@ daemon to work correctly.</source>
<location filename="../src/wallet/wallet_args.cpp" line="138"/>
<source>This is the command line monero wallet. It needs to connect to a monero
daemon to work correctly.</source>
- <translation type="unfinished"></translation>
+ <translation>Detta är kommandoradsplånboken för Monero. Den måste ansluta till en Monero-
+daemon för att fungera korrekt.</translation>
</message>
<message>
<location filename="../src/wallet/wallet_args.cpp" line="161"/>
diff --git a/utils/systemd/monerod.service b/utils/systemd/monerod.service
index 696be4c33..5f37e54b2 100644
--- a/utils/systemd/monerod.service
+++ b/utils/systemd/monerod.service
@@ -8,12 +8,28 @@ Group=monero
WorkingDirectory=~
RuntimeDirectory=monero
+# Clearnet config
+#
Type=forking
PIDFile=/run/monero/monerod.pid
-
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
--detach --pidfile /run/monero/monerod.pid
+# Tor config
+#
+## We have to use simple, not forking, because we cannot pass --detach
+## because stderr/stdout is not available when detached, but torsocks
+## attempts to write to it, and fails with 'invalid argument', causing
+## monerod to fail.
+#Type=simple
+#Environment=DNS_PUBLIC=tcp
+## The following is needed only when accessing wallet from a different
+## host in the LAN, VPN, etc, the RPC must bind to 0.0.0.0, but
+## by default torsocks only allows binding to localhost.
+#Environment=TORSOCKS_ALLOW_INBOUND=1
+#ExecStart=/usr/bin/torsocks /usr/bin/monerod --config-file /etc/monerod.conf \
+# --non-interactive
+
Restart=always
[Install]