From e21f609ed3fcc27f0d4e7b6b1d8ad8ed067fee82 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Tue, 13 Feb 2018 21:53:22 +0300 Subject: [PATCH] update year, locales, fix tabulations --- COPYING | 2 +- README.md | 2 +- src/Gost.cpp | 74 +- src/Gost.h | 22 +- src/alert.h | 1 + src/base58.h | 1 + src/bignum.h | 1 + src/bitcoinrpc.cpp | 1 + src/checkpoints.cpp | 1 + src/compat.h | 1 + src/crypter.cpp | 1 + src/db.cpp | 1 + src/hash.cpp | 4 + src/hash.h | 104 +- src/i2p.cpp | 152 +- src/i2p.h | 1 + src/i2psam/i2psam.cpp | 2 +- src/i2psam/i2psam.h | 2 +- src/init.cpp | 1 + src/init.h | 1 + src/key.cpp | 1 + src/key.h | 1 + src/main.cpp | 1 + src/main.h | 1 + src/net.cpp | 1 + src/net.h | 1 + src/netbase.cpp | 1 + src/netbase.h | 1 + src/noui.cpp | 1 + src/qt/aboutdialog.cpp | 2 +- src/qt/bitcoingui.cpp | 14 +- src/qt/clientmodel.cpp | 4 + src/qt/clientmodel.h | 3 + src/qt/forms/signverifymessagedialog.ui | 4 +- src/qt/gostcoin.cpp | 6 +- src/qt/locale/gostcoin_en.ts | 3827 ++++++++++++++--------- src/qt/locale/gostcoin_ru.ts | 478 +-- src/qt/paymentserver.cpp | 1 + src/qt/sendcoinsdialog.cpp | 2 +- src/qt/setupdarknet.cpp | 2 +- src/qt/walletframe.cpp | 14 +- src/qt/walletframe.h | 14 +- src/qt/walletstack.cpp | 14 +- src/qt/walletstack.h | 14 +- src/qt/walletview.cpp | 14 +- src/qt/walletview.h | 14 +- src/rpcdump.cpp | 1 + src/rpcmining.cpp | 1 + src/rpcnet.cpp | 1 + src/rpcrawtransaction.cpp | 1 + src/rpcwallet.cpp | 1 + src/script.cpp | 1 + src/script.h | 1 + src/uint256.h | 1 + src/util.cpp | 36 +- src/util.h | 1 + src/version.cpp | 1 + src/wallet.cpp | 1 + src/wallet.h | 1 + src/walletdb.cpp | 1 + src/walletdb.h | 1 + 61 files changed, 2856 insertions(+), 2005 deletions(-) diff --git a/COPYING b/COPYING index 79eb749..d8445ee 100644 --- a/COPYING +++ b/COPYING @@ -1,5 +1,5 @@ Copyright (c) 2013-2015 The Anoncoin Developers -Copyright (c) 2017 GOSTCoin Developers +Copyright (c) 2017-2018 GOSTCoin Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 2399032..990000b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Why GOSTCoin? ------------- GOSTCoin uses Soviet and Russian government standard cryptography: -GOST R 34.10-2012 for signature and GOST R 34.11-2012 for hash. +[GOST R 34.10-2012](https://tools.ietf.org/html/rfc7091) for signature and [GOST R 34.11-2012](https://tools.ietf.org/html/rfc6986) for hash. [More info about crypto](https://github.com/GOSTSec/gostcoin/wiki/Cryptography). GOSTCoin is using [Invisible Internet](https://github.com/PurpleI2P/i2pd) (I2P) as a secure network layer. diff --git a/src/Gost.cpp b/src/Gost.cpp index 3f4a4da..a2ccb48 100644 --- a/src/Gost.cpp +++ b/src/Gost.cpp @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013-2016, The PurpleI2P Project +* Copyright (c) 2013-2018, The PurpleI2P Project * * This file is part of Purple i2pd project and licensed under BSD3 * @@ -35,7 +35,7 @@ namespace crypto GOSTR3410Curve::~GOSTR3410Curve () { EC_GROUP_free (m_Group); - } + } EC_POINT * GOSTR3410Curve::MulP (const BIGNUM * n) const { @@ -65,9 +65,9 @@ namespace crypto BIGNUM * q = BN_CTX_get (ctx); EC_GROUP_get_order(m_Group, q, ctx); BIGNUM * k = BN_CTX_get (ctx); - BN_rand_range (k, q); // 0 < k < q + BN_rand_range (k, q); // 0 < k < q EC_POINT * C = MulP (k); // C = k*P - GetXY (C, r, nullptr); // r = Cx + GetXY (C, r, nullptr); // r = Cx EC_POINT_free (C); BN_mod_mul (s, r, priv, q, ctx); // (r*priv)%q BIGNUM * tmp = BN_CTX_get (ctx); @@ -84,26 +84,26 @@ namespace crypto BIGNUM * q = BN_CTX_get (ctx); EC_GROUP_get_order(m_Group, q, ctx); BIGNUM * h = BN_CTX_get (ctx); - BN_mod (h, digest, q, ctx); // h = digest % q - BN_mod_inverse (h, h, q, ctx); // 1/h mod q + BN_mod (h, digest, q, ctx); // h = digest % q + BN_mod_inverse (h, h, q, ctx); // 1/h mod q BIGNUM * z1 = BN_CTX_get (ctx); - BN_mod_mul (z1, s, h, q, ctx); // z1 = s/h - BIGNUM * z2 = BN_CTX_get (ctx); - BN_sub (z2, q, r); // z2 = -r + BN_mod_mul (z1, s, h, q, ctx); // z1 = s/h + BIGNUM * z2 = BN_CTX_get (ctx); + BN_sub (z2, q, r); // z2 = -r BN_mod_mul (z2, z2, h, q, ctx); // z2 = -r/h EC_POINT * C = EC_POINT_new (m_Group); EC_POINT_mul (m_Group, C, z1, pub, z2, ctx); // z1*P + z2*pub - BIGNUM * x = BN_CTX_get (ctx); - GetXY (C, x, nullptr); // Cx - BN_mod (x, x, q, ctx); // Cx % q - bool ret = !BN_cmp (x, r); // Cx = r ? + BIGNUM * x = BN_CTX_get (ctx); + GetXY (C, x, nullptr); // Cx + BN_mod (x, x, q, ctx); // Cx % q + bool ret = !BN_cmp (x, r); // Cx = r ? EC_POINT_free (C); BN_CTX_end (ctx); BN_CTX_free (ctx); return ret; - } + } - EC_POINT * GOSTR3410Curve::RecoverPublicKey (const BIGNUM * digest, const BIGNUM * r, const BIGNUM * s, bool isNegativeY) const + EC_POINT * GOSTR3410Curve::RecoverPublicKey (const BIGNUM * digest, const BIGNUM * r, const BIGNUM * s, bool isNegativeY) const { // s*P = r*Q + h*C BN_CTX * ctx = BN_CTX_new (); @@ -111,36 +111,36 @@ namespace crypto EC_POINT * C = EC_POINT_new (m_Group); // C = k*P = (rx, ry) EC_POINT * Q = nullptr; if (EC_POINT_set_compressed_coordinates_GFp (m_Group, C, r, isNegativeY ? 1 : 0, ctx)) - { + { EC_POINT * S = EC_POINT_new (m_Group); // S = s*P EC_POINT_mul (m_Group, S, s, nullptr, nullptr, ctx); BIGNUM * q = BN_CTX_get (ctx); EC_GROUP_get_order(m_Group, q, ctx); BIGNUM * h = BN_CTX_get (ctx); BN_mod (h, digest, q, ctx); // h = digest % q - BN_sub (h, q, h); // h = -h - EC_POINT * H = EC_POINT_new (m_Group); + BN_sub (h, q, h); // h = -h + EC_POINT * H = EC_POINT_new (m_Group); EC_POINT_mul (m_Group, H, nullptr, C, h, ctx); // -h*C - EC_POINT_add (m_Group, C, S, H, ctx); // s*P - h*C + EC_POINT_add (m_Group, C, S, H, ctx); // s*P - h*C EC_POINT_free (H); EC_POINT_free (S); BIGNUM * r1 = BN_CTX_get (ctx); BN_mod_inverse (r1, r, q, ctx); - Q = EC_POINT_new (m_Group); - EC_POINT_mul (m_Group, Q, nullptr, C, r1, ctx); // (s*P - h*C)/r - } + Q = EC_POINT_new (m_Group); + EC_POINT_mul (m_Group, Q, nullptr, C, r1, ctx); // (s*P - h*C)/r + } EC_POINT_free (C); BN_CTX_end (ctx); BN_CTX_free (ctx); return Q; - } - + } + static GOSTR3410Curve * CreateGOSTR3410Curve (GOSTR3410ParamSet paramSet) { - // a, b, p, q, x, y - static const char * params[eGOSTR3410NumParamSets][6] = + // a, b, p, q, x, y + static const char * params[eGOSTR3410NumParamSets][6] = { - { + { "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD94", "A6", "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97", @@ -154,10 +154,10 @@ namespace crypto "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC7", "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF27E69532F48D89116FF22B8D4E0560609B4B38ABFAD2B85DCACDB1411F10B275", "3", - "7503CFE87A836AE3A61B8816E25450E6CE5E1C93ACF1ABC1778064FDCBEFA921DF1626BE4FD036E93D75E6A50E3A41E98028FE5FC235F5B889A589CB5215F2A4" + "7503CFE87A836AE3A61B8816E25450E6CE5E1C93ACF1ABC1778064FDCBEFA921DF1626BE4FD036E93D75E6A50E3A41E98028FE5FC235F5B889A589CB5215F2A4" } // tc26-2012-paramSetA-512 - }; - + }; + BIGNUM * a = nullptr, * b = nullptr, * p = nullptr, * q =nullptr, * x = nullptr, * y = nullptr; BN_hex2bn(&a, params[paramSet][0]); BN_hex2bn(&b, params[paramSet][1]); @@ -168,20 +168,20 @@ namespace crypto auto curve = new GOSTR3410Curve (a, b, p, q, x, y); BN_free (a); BN_free (b); BN_free (p); BN_free (q); BN_free (x); BN_free (y); return curve; - } + } static std::array, eGOSTR3410NumParamSets> g_GOSTR3410Curves; std::unique_ptr& GetGOSTR3410Curve (GOSTR3410ParamSet paramSet) { if (!g_GOSTR3410Curves[paramSet]) { - auto c = CreateGOSTR3410Curve (paramSet); + auto c = CreateGOSTR3410Curve (paramSet); if (!g_GOSTR3410Curves[paramSet]) // make sure it was not created already g_GOSTR3410Curves[paramSet].reset (c); else delete c; - } - return g_GOSTR3410Curves[paramSet]; + } + return g_GOSTR3410Curves[paramSet]; } } } @@ -193,7 +193,7 @@ namespace crypto * ==========================(LICENSE BEGIN)============================ * * Copyright (c) 2007-2010 Projet RNRT SAPHIR - * + * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including @@ -201,10 +201,10 @@ namespace crypto * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: - * + * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. diff --git a/src/Gost.h b/src/Gost.h index ec5235d..7733bba 100644 --- a/src/Gost.h +++ b/src/Gost.h @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013-2017, The PurpleI2P Project +* Copyright (c) 2013-2018, The PurpleI2P Project * * This file is part of Purple i2pd project and licensed under BSD3 * @@ -18,25 +18,25 @@ namespace crypto { // ГОСТ Р 34.10 - + enum GOSTR3410ParamSet { - eGOSTR3410CryptoProA = 0, // 1.2.643.2.2.35.1 + eGOSTR3410CryptoProA = 0, // 1.2.643.2.2.35.1 // XchA = A, XchB = C //eGOSTR3410CryptoProXchA, // 1.2.643.2.2.36.0 - //eGOSTR3410CryptoProXchB, // 1.2.643.2.2.36.1 - eGOSTR3410TC26A512, // 1.2.643.7.1.2.1.2.1 + //eGOSTR3410CryptoProXchB, // 1.2.643.2.2.36.1 + eGOSTR3410TC26A512, // 1.2.643.7.1.2.1.2.1 eGOSTR3410NumParamSets - }; - + }; + class GOSTR3410Curve { public: GOSTR3410Curve (BIGNUM * a, BIGNUM * b, BIGNUM * p, BIGNUM * q, BIGNUM * x, BIGNUM * y); - ~GOSTR3410Curve (); + ~GOSTR3410Curve (); - size_t GetKeyLen () const { return m_KeyLen; }; + size_t GetKeyLen () const { return m_KeyLen; }; const EC_GROUP * GetGroup () const { return m_Group; }; EC_POINT * MulP (const BIGNUM * n) const; bool GetXY (const EC_POINT * p, BIGNUM * x, BIGNUM * y) const; @@ -44,7 +44,7 @@ namespace crypto void Sign (const BIGNUM * priv, const BIGNUM * digest, BIGNUM * r, BIGNUM * s); bool Verify (const EC_POINT * pub, const BIGNUM * digest, const BIGNUM * r, const BIGNUM * s); EC_POINT * RecoverPublicKey (const BIGNUM * digest, const BIGNUM * r, const BIGNUM * s, bool isNegativeY = false) const; - + private: EC_GROUP * m_Group; @@ -55,7 +55,7 @@ namespace crypto // Big Endian void GOSTR3411_2012_256 (const uint8_t * buf, size_t len, uint8_t * digest); - void GOSTR3411_2012_512 (const uint8_t * buf, size_t len, uint8_t * digest); + void GOSTR3411_2012_512 (const uint8_t * buf, size_t len, uint8_t * digest); } } diff --git a/src/alert.h b/src/alert.h index 25e140f..2503dff 100644 --- a/src/alert.h +++ b/src/alert.h @@ -1,5 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/base58.h b/src/base58.h index 564354b..10f9edc 100644 --- a/src/base58.h +++ b/src/base58.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bignum.h b/src/bignum.h index 8cf1b92..b57cde6 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_BIGNUM_H diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 3f90f38..2061473 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index 28a4666..473be37 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat.h b/src/compat.h index e70d7ad..5b99103 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef _BITCOIN_COMPAT_H diff --git a/src/crypter.cpp b/src/crypter.cpp index a798942..3a1abb6 100644 --- a/src/crypter.cpp +++ b/src/crypter.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2009-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/db.cpp b/src/db.cpp index ce0a0c3..c44a738 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/hash.cpp b/src/hash.cpp index d3c877b..caed3c5 100644 --- a/src/hash.cpp +++ b/src/hash.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2017-2018 The Gostcoin developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include "hash.h" uint256 Hash (const uint256& left, const uint256& right) diff --git a/src/hash.h b/src/hash.h index dadb136..43aa3a9 100644 --- a/src/hash.h +++ b/src/hash.h @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers -// Copyright (c) 2017 The Gostcoin developers +// Copyright (c) 2017-2018 The Gostcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_HASH_H @@ -20,80 +20,80 @@ template inline uint256 Hash(const T1 pbegin, const T1 pend) { // GOST 34.11-256 (GOST 34.11-512 (...)) - static unsigned char pblank[1]; - uint8_t hash1[64]; - i2p::crypto::GOSTR3411_2012_512 ((pbegin == pend ? pblank : (unsigned char*)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), hash1); + static unsigned char pblank[1]; + uint8_t hash1[64]; + i2p::crypto::GOSTR3411_2012_512 ((pbegin == pend ? pblank : (unsigned char*)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), hash1); uint32_t digest[8]; - i2p::crypto::GOSTR3411_2012_256 (hash1, 64, (uint8_t *)digest); + i2p::crypto::GOSTR3411_2012_256 (hash1, 64, (uint8_t *)digest); // to little endian - uint256 hash2; + uint256 hash2; for (int i = 0; i < 8; i++) hash2.pn[i] = ByteReverse (digest[7-i]); - return hash2; + return hash2; } class CHashWriter { private: - std::stringstream ctx; + std::stringstream ctx; public: - int nType; - int nVersion; + int nType; + int nVersion; - void Init() { - ctx.str(""); - } + void Init() { + ctx.str(""); + } - CHashWriter(int nTypeIn, int nVersionIn) : nType(nTypeIn), nVersion(nVersionIn) { - Init(); - } + CHashWriter(int nTypeIn, int nVersionIn) : nType(nTypeIn), nVersion(nVersionIn) { + Init(); + } - CHashWriter& write(const char *pch, size_t size) { + CHashWriter& write(const char *pch, size_t size) { ctx.write (pch, size); - return (*this); - } + return (*this); + } - // invalidates the object - uint256 GetHash() { // shouldn't be called after hard fork 1 + // invalidates the object + uint256 GetHash() { // shouldn't be called after hard fork 1 uint8_t hash1[64]; - i2p::crypto::GOSTR3411_2012_512 ((uint8_t *)ctx.str ().c_str (), ctx.str ().length (), hash1); - uint256 hash2; - i2p::crypto::GOSTR3411_2012_256 (hash1, 64, (unsigned char*)&hash2); - return hash2; - } + i2p::crypto::GOSTR3411_2012_512 ((uint8_t *)ctx.str ().c_str (), ctx.str ().length (), hash1); + uint256 hash2; + i2p::crypto::GOSTR3411_2012_256 (hash1, 64, (unsigned char*)&hash2); + return hash2; + } uint256 GetHashHF1() { const uint8_t * buf = (const uint8_t *)ctx.str ().c_str (); return Hash (buf, buf + ctx.str ().length ()); - } - - template - CHashWriter& operator<<(const T& obj) { - // Serialize to this stream - ::Serialize(*this, obj, nType, nVersion); - return (*this); - } + } + + template + CHashWriter& operator<<(const T& obj) { + // Serialize to this stream + ::Serialize(*this, obj, nType, nVersion); + return (*this); + } }; template inline uint256 Hash(const T1 p1begin, const T1 p1end, - const T2 p2begin, const T2 p2end) // shouldn't be called after hard fork 1 + const T2 p2begin, const T2 p2end) // shouldn't be called after hard fork 1 { static unsigned char pblank[1]; size_t s1 = (p1end - p1begin) * sizeof(p1begin[0]), - s2 = (p2end - p2begin) * sizeof(p2begin[0]); + s2 = (p2end - p2begin) * sizeof(p2begin[0]); uint8_t * buf = new uint8_t[s1+s2]; memcpy (buf, (unsigned char*)&p1begin[0], s1); memcpy (buf + s1, (unsigned char*)&p1begin[0], s2); uint8_t hash1[64]; - i2p::crypto::GOSTR3411_2012_512 ((s1 + s2) ? buf : pblank, s1 + s2, hash1); - delete[] buf; + i2p::crypto::GOSTR3411_2012_512 ((s1 + s2) ? buf : pblank, s1 + s2, hash1); + delete[] buf; uint256 hash2; i2p::crypto::GOSTR3411_2012_256 (hash1, 64, (unsigned char*)&hash2); - return hash2; + return hash2; } uint256 Hash (const uint256& left, const uint256& right); // for Merkle tree @@ -102,33 +102,33 @@ template uint256 SerializeHash(const T& obj, int nType=SER_GETHASH, int nVersion=PROTOCOL_VERSION) // shouldn't be called after hard fork 1 { - CHashWriter ss(nType, nVersion); - ss << obj; - return ss.GetHash(); + CHashWriter ss(nType, nVersion); + ss << obj; + return ss.GetHash(); } template uint256 SerializeHashHF1(const T& obj, int nType=SER_GETHASH, int nVersion=PROTOCOL_VERSION) { - CHashWriter ss(nType, nVersion); - ss << obj; - return ss.GetHashHF1(); + CHashWriter ss(nType, nVersion); + ss << obj; + return ss.GetHashHF1(); } template inline uint160 Hash160(const T1 pbegin, const T1 pend) { - static unsigned char pblank[1]; - uint8_t hash1[64]; - i2p::crypto::GOSTR3411_2012_512((pbegin == pend ? pblank : (unsigned char*)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), hash1); - uint160 hash2; - RIPEMD160(hash1, 64, (unsigned char*)&hash2); - return hash2; + static unsigned char pblank[1]; + uint8_t hash1[64]; + i2p::crypto::GOSTR3411_2012_512((pbegin == pend ? pblank : (unsigned char*)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), hash1); + uint160 hash2; + RIPEMD160(hash1, 64, (unsigned char*)&hash2); + return hash2; } inline uint160 Hash160(const std::vector& vch) { - return Hash160(vch.begin(), vch.end()); + return Hash160(vch.begin(), vch.end()); } unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector& vDataToHash); diff --git a/src/i2p.cpp b/src/i2p.cpp index 18769ea..c2c62c6 100644 --- a/src/i2p.cpp +++ b/src/i2p.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2012-2013 giv -// Copyright (c) 2017 orignal +// Copyright (c) 2017-2018 orignal // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. //-------------------------------------------------------------------------------------------------- @@ -15,22 +15,22 @@ namespace SAM class StreamSessionAdapter::SessionHolder { public: - explicit SessionHolder(std::shared_ptr session); + explicit SessionHolder(std::shared_ptr session); ~SessionHolder(); - const SAM::StreamSession& getSession() const; - SAM::StreamSession& getSession(); + const SAM::StreamSession& getSession() const; + SAM::StreamSession& getSession(); private: - void heal() const; - void reborn() const; + void heal() const; + void reborn() const; - mutable std::shared_ptr session_; - typedef boost::shared_mutex mutex_type; - mutable mutex_type mtx_; + mutable std::shared_ptr session_; + typedef boost::shared_mutex mutex_type; + mutable mutex_type mtx_; }; StreamSessionAdapter::SessionHolder::SessionHolder(std::shared_ptr session) - : session_(session) + : session_(session) { } @@ -40,38 +40,38 @@ StreamSessionAdapter::SessionHolder::~SessionHolder() const SAM::StreamSession& StreamSessionAdapter::SessionHolder::getSession() const { - boost::upgrade_lock lock(mtx_); - if (session_->isSick()) - { - boost::upgrade_to_unique_lock ulock(lock); - heal(); - } - return *session_; + boost::upgrade_lock lock(mtx_); + if (session_->isSick()) + { + boost::upgrade_to_unique_lock ulock(lock); + heal(); + } + return *session_; } SAM::StreamSession& StreamSessionAdapter::SessionHolder::getSession() { - boost::upgrade_lock lock(mtx_); - if (session_->isSick()) - { - boost::upgrade_to_unique_lock ulock(lock); - heal(); - } - return *session_; + boost::upgrade_lock lock(mtx_); + if (session_->isSick()) + { + boost::upgrade_to_unique_lock ulock(lock); + heal(); + } + return *session_; } void StreamSessionAdapter::SessionHolder::heal() const { - reborn(); // if we don't know how to heal it just reborn it + reborn(); // if we don't know how to heal it just reborn it } void StreamSessionAdapter::SessionHolder::reborn() const { - if (!session_->isSick()) - return; - std::shared_ptr newSession(new SAM::StreamSession(*session_)); - if (!newSession->isSick() && session_->isSick()) - session_ = newSession; + if (!session_->isSick()) + return; + std::shared_ptr newSession(new SAM::StreamSession(*session_)); + if (!newSession->isSick() && session_->isSick()) + session_ = newSession; } //-------------------------------------------------------------------------------------------------- @@ -87,13 +87,13 @@ StreamSessionAdapter::~StreamSessionAdapter() } bool StreamSessionAdapter::StartSession ( - const std::string& nickname, - const std::string& SAMHost /*= SAM_DEFAULT_ADDRESS*/, - uint16_t SAMPort /*= SAM_DEFAULT_PORT*/, - const std::string& myDestination /*= SAM_GENERATE_MY_DESTINATION*/, - const std::string& i2pOptions /*= SAM_DEFAULT_I2P_OPTIONS*/, - const std::string& minVer /*= SAM_DEFAULT_MIN_VER*/, - const std::string& maxVer /*= SAM_DEFAULT_MAX_VER*/) + const std::string& nickname, + const std::string& SAMHost /*= SAM_DEFAULT_ADDRESS*/, + uint16_t SAMPort /*= SAM_DEFAULT_PORT*/, + const std::string& myDestination /*= SAM_GENERATE_MY_DESTINATION*/, + const std::string& i2pOptions /*= SAM_DEFAULT_I2P_OPTIONS*/, + const std::string& minVer /*= SAM_DEFAULT_MIN_VER*/, + const std::string& maxVer /*= SAM_DEFAULT_MAX_VER*/) { std::cout << "Creating SAM session..." << std::endl; auto s = std::make_shared(nickname, SAMHost, SAMPort, myDestination, i2pOptions, minVer, maxVer); @@ -116,11 +116,11 @@ void StreamSessionAdapter::StopSession () bool StreamSessionAdapter::Start () { return StartSession( - GetArg(I2P_SESSION_NAME_PARAM, I2P_SESSION_NAME_DEFAULT), - GetArg(I2P_SAM_HOST_PARAM, I2P_SAM_HOST_DEFAULT), - (uint16_t)GetArg(I2P_SAM_PORT_PARAM, I2P_SAM_PORT_DEFAULT), - GetArg(I2P_SAM_MY_DESTINATION_PARAM, I2P_SAM_MY_DESTINATION_DEFAULT), - GetArg(I2P_SAM_I2P_OPTIONS_PARAM, SAM_DEFAULT_I2P_OPTIONS)); + GetArg(I2P_SESSION_NAME_PARAM, I2P_SESSION_NAME_DEFAULT), + GetArg(I2P_SAM_HOST_PARAM, I2P_SAM_HOST_DEFAULT), + (uint16_t)GetArg(I2P_SAM_PORT_PARAM, I2P_SAM_PORT_DEFAULT), + GetArg(I2P_SAM_MY_DESTINATION_PARAM, I2P_SAM_MY_DESTINATION_DEFAULT), + GetArg(I2P_SAM_I2P_OPTIONS_PARAM, SAM_DEFAULT_I2P_OPTIONS)); } void StreamSessionAdapter::Stop () @@ -130,88 +130,88 @@ void StreamSessionAdapter::Stop () SAM::SOCKET StreamSessionAdapter::accept(bool silent) { - SAM::RequestResult > result = sessionHolder_->getSession().accept(silent); - // call Socket::release - return result.isOk ? result.value->release() : SAM_INVALID_SOCKET; + SAM::RequestResult > result = sessionHolder_->getSession().accept(silent); + // call Socket::release + return result.isOk ? result.value->release() : SAM_INVALID_SOCKET; } SAM::SOCKET StreamSessionAdapter::connect(const std::string& destination, bool silent) { - SAM::RequestResult > result = sessionHolder_->getSession().connect(destination, silent); - // call Socket::release - return result.isOk ? result.value->release() : SAM_INVALID_SOCKET; + SAM::RequestResult > result = sessionHolder_->getSession().connect(destination, silent); + // call Socket::release + return result.isOk ? result.value->release() : SAM_INVALID_SOCKET; } bool StreamSessionAdapter::forward(const std::string& host, uint16_t port, bool silent) { - return sessionHolder_->getSession().forward(host, port, silent).isOk; + return sessionHolder_->getSession().forward(host, port, silent).isOk; } std::string StreamSessionAdapter::namingLookup(const std::string& name) const { - SAM::RequestResult result = sessionHolder_->getSession().namingLookup(name); - return result.isOk ? result.value : std::string(); + SAM::RequestResult result = sessionHolder_->getSession().namingLookup(name); + return result.isOk ? result.value : std::string(); } SAM::FullDestination StreamSessionAdapter::destGenerate() const { - SAM::RequestResult result = sessionHolder_->getSession().destGenerate(); - return result.isOk ? result.value : SAM::FullDestination(); + SAM::RequestResult result = sessionHolder_->getSession().destGenerate(); + return result.isOk ? result.value : SAM::FullDestination(); } void StreamSessionAdapter::stopForwarding(const std::string& host, uint16_t port) { - sessionHolder_->getSession().stopForwarding(host, port); + sessionHolder_->getSession().stopForwarding(host, port); } void StreamSessionAdapter::stopForwardingAll() { - sessionHolder_->getSession().stopForwardingAll(); + sessionHolder_->getSession().stopForwardingAll(); } const SAM::FullDestination& StreamSessionAdapter::getMyDestination() const { - return sessionHolder_->getSession().getMyDestination(); + return sessionHolder_->getSession().getMyDestination(); } const sockaddr_in& StreamSessionAdapter::getSAMAddress() const { - return sessionHolder_->getSession().getSAMAddress(); + return sessionHolder_->getSession().getSAMAddress(); } const std::string& StreamSessionAdapter::getSAMHost() const { - return sessionHolder_->getSession().getSAMHost(); + return sessionHolder_->getSession().getSAMHost(); } uint16_t StreamSessionAdapter::getSAMPort() const { - return sessionHolder_->getSession().getSAMPort(); + return sessionHolder_->getSession().getSAMPort(); } const std::string& StreamSessionAdapter::getNickname() const { - return sessionHolder_->getSession().getNickname(); + return sessionHolder_->getSession().getNickname(); } const std::string& StreamSessionAdapter::getSAMMinVer() const { - return sessionHolder_->getSession().getSAMMinVer(); + return sessionHolder_->getSession().getSAMMinVer(); } const std::string& StreamSessionAdapter::getSAMMaxVer() const { - return sessionHolder_->getSession().getSAMMaxVer(); + return sessionHolder_->getSession().getSAMMaxVer(); } const std::string& StreamSessionAdapter::getSAMVersion() const { - return sessionHolder_->getSession().getSAMVersion(); + return sessionHolder_->getSession().getSAMVersion(); } const std::string& StreamSessionAdapter::getOptions() const { - return sessionHolder_->getSession().getOptions(); + return sessionHolder_->getSession().getOptions(); } } // namespace SAM @@ -228,16 +228,16 @@ I2PSession::~I2PSession() /*static*/ std::string I2PSession::GenerateB32AddressFromDestination(const std::string& destination) { - std::string canonicalDest = destination; - for (size_t pos = canonicalDest.find_first_of('-'); pos != std::string::npos; pos = canonicalDest.find_first_of('-', pos)) - canonicalDest[pos] = '+'; - for (size_t pos = canonicalDest.find_first_of('~'); pos != std::string::npos; pos = canonicalDest.find_first_of('~', pos)) - canonicalDest[pos] = '/'; - std::string rawHash = DecodeBase64(canonicalDest); - uint256 hash; - SHA256((const unsigned char*)rawHash.c_str(), rawHash.size(), (unsigned char*)&hash); - std::string result = EncodeBase32(hash.begin(), hash.end() - hash.begin()) + ".b32.i2p"; - for (size_t pos = result.find_first_of('='); pos != std::string::npos; pos = result.find_first_of('=', pos-1)) - result.erase(pos, 1); - return result; + std::string canonicalDest = destination; + for (size_t pos = canonicalDest.find_first_of('-'); pos != std::string::npos; pos = canonicalDest.find_first_of('-', pos)) + canonicalDest[pos] = '+'; + for (size_t pos = canonicalDest.find_first_of('~'); pos != std::string::npos; pos = canonicalDest.find_first_of('~', pos)) + canonicalDest[pos] = '/'; + std::string rawHash = DecodeBase64(canonicalDest); + uint256 hash; + SHA256((const unsigned char*)rawHash.c_str(), rawHash.size(), (unsigned char*)&hash); + std::string result = EncodeBase32(hash.begin(), hash.end() - hash.begin()) + ".b32.i2p"; + for (size_t pos = result.find_first_of('='); pos != std::string::npos; pos = result.find_first_of('=', pos-1)) + result.erase(pos, 1); + return result; } diff --git a/src/i2p.h b/src/i2p.h index 57fa115..671bb2e 100644 --- a/src/i2p.h +++ b/src/i2p.h @@ -1,4 +1,5 @@ // Copyright (c) 2012-2013 giv +// Copyright (c) 2017-2018 orignal // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. //-------------------------------------------------------------------------------------------------- diff --git a/src/i2psam/i2psam.cpp b/src/i2psam/i2psam.cpp index 626df87..4920966 100644 --- a/src/i2psam/i2psam.cpp +++ b/src/i2psam/i2psam.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2012-2013 giv -// Copyright (c) 2017 orignal +// Copyright (c) 2017-2018 orignal // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. //-------------------------------------------------------------------------------------------------- diff --git a/src/i2psam/i2psam.h b/src/i2psam/i2psam.h index e4a313f..aef15f2 100644 --- a/src/i2psam/i2psam.h +++ b/src/i2psam/i2psam.h @@ -1,5 +1,5 @@ // Copyright (c) 2012-2013 giv -// Copyright (c) 2017 orignal +// Copyright (c) 2017-2018 orignal // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. //-------------------------------------------------------------------------------------------------- diff --git a/src/init.cpp b/src/init.cpp index 7bf5350..677004e 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // I2P-patch diff --git a/src/init.h b/src/init.h index 5927670..a1e664c 100644 --- a/src/init.h +++ b/src/init.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_INIT_H diff --git a/src/key.cpp b/src/key.cpp index fa1e0d9..5e98477 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/key.h b/src/key.h index 4f7bd70..eefb60a 100644 --- a/src/key.h +++ b/src/key.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_KEY_H diff --git a/src/main.cpp b/src/main.cpp index 88d2556..b296d78 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/main.h b/src/main.h index ec73679..998fa14 100644 --- a/src/main.h +++ b/src/main.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_MAIN_H diff --git a/src/net.cpp b/src/net.cpp index cee6ec4..f76f317 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/net.h b/src/net.h index 5d955d8..fc65edd 100644 --- a/src/net.h +++ b/src/net.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NET_H diff --git a/src/netbase.cpp b/src/netbase.cpp index efad191..5647acc 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netbase.h b/src/netbase.h index f99e5ca..bc65691 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -1,4 +1,5 @@ // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NETBASE_H diff --git a/src/noui.cpp b/src/noui.cpp index 960c7b3..1127870 100644 --- a/src/noui.cpp +++ b/src/noui.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/aboutdialog.cpp b/src/qt/aboutdialog.cpp index 57bca66..23e5ff4 100644 --- a/src/qt/aboutdialog.cpp +++ b/src/qt/aboutdialog.cpp @@ -16,7 +16,7 @@ AboutDialog::AboutDialog(QWidget *parent) : tr("Copyright") + QString(" © 2011-%1 ").arg(COPYRIGHT_YEAR) + tr("The Litecoin developers") + QString("
") + tr("Copyright") + QString(" © 2013-%1 ").arg(COPYRIGHT_YEAR) + tr("The Anoncoin developers") + QString("
") + tr("Copyright") + QString(" © 2015-%1 ").arg(COPYRIGHT_YEAR) + tr("The i2pd developers") + QString("
") + - tr("Copyright") + QString(" © %1 ").arg(COPYRIGHT_YEAR) + tr("The Gostcoin developers") + tr("Copyright") + QString(" © 2017-%1 ").arg(COPYRIGHT_YEAR) + tr("The Gostcoin developers") ); } diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 3b724ea..a0940cf 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -1,12 +1,14 @@ -/* - * Qt4 bitcoin GUI. - * - * W.J. van der Laan 2011-2012 - * The Bitcoin Developers 2011-2012 - */ +// Qt bitcoin GUI. +// +// Copyright (c) 2011-2012 W.J. van der Laan +// Copyright (c) 2011-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. // // I2P-patch // Copyright (c) 2012-2013 giv +// #include diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 91e034f..c7234a6 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -1,6 +1,10 @@ +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. // // I2P-patch // Copyright (c) 2012-2013 giv + #include "clientmodel.h" #include "guiconstants.h" diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 6cd803b..6a60290 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. // // I2P-patch // Copyright (c) 2012-2013 giv diff --git a/src/qt/forms/signverifymessagedialog.ui b/src/qt/forms/signverifymessagedialog.ui index e0ea7ca..766c6f0 100644 --- a/src/qt/forms/signverifymessagedialog.ui +++ b/src/qt/forms/signverifymessagedialog.ui @@ -48,7 +48,7 @@ - The address to sign the message with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) + The address to sign the message with (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) 34 @@ -261,7 +261,7 @@ - The address the message was signed with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) + The address the message was signed with (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) 34 diff --git a/src/qt/gostcoin.cpp b/src/qt/gostcoin.cpp index 0427a2a..3920975 100644 --- a/src/qt/gostcoin.cpp +++ b/src/qt/gostcoin.cpp @@ -1,8 +1,10 @@ /* * W.J. van der Laan 2011-2012 */ -// Copyright 2013 The Anoncoin Developers -// Copyright 2017 The Gostcoin Developers +// Copyright (c) 2013 The Anoncoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. // // I2P-patch // Copyright (c) 2012-2013 giv diff --git a/src/qt/locale/gostcoin_en.ts b/src/qt/locale/gostcoin_en.ts index 5e740a9..062bbe1 100644 --- a/src/qt/locale/gostcoin_en.ts +++ b/src/qt/locale/gostcoin_en.ts @@ -1,2976 +1,3699 @@ - + AboutDialog - + About Gostcoin - About Gostcoin + - + <b>Gostcoin</b> version - <b>Gostcoin</b> version + - + -This is experimental software. - -Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. - -This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard. - -This is experimental software. - -Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. - -This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard. +<p>This is experimental software.</p> +<p>Distributed under the MIT/X11 software license, see the accompanying file COPYING or <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p> +<p>This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (<a href="http://www.openssl.org/">http://www.openssl.org/</a>) and cryptographic software written by Eric Young (eay@cryptsoft.com).</p> + - + + + + + Copyright - Copyright + + + + + The Bitcoin developers + + + + + The Litecoin developers + - + + The Anoncoin developers + + + + + The i2pd developers + + + + The Gostcoin developers - The Gostcoin developers + AddressBookPage - + Address Book - Address Book + - + Double-click to edit address or label - Double-click to edit address or label + - + Create a new address - Create a new address + - - Copy the currently selected address to the system clipboard - Copy the currently selected address to the system clipboard - - - + &New Address - &New Address + - - These are your Gostcoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you. - These are your Gostcoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you. + + Copy the currently selected address to the system clipboard + - + &Copy Address - &Copy Address + - + Show &QR Code - Show &QR Code + - + Sign a message to prove you own a Gostcoin address - Sign a message to prove you own a Gostcoin address + - + Sign &Message - Sign &Message + - - Delete the currently selected address from the list - Delete the currently selected address from the list + + Verify a message to ensure it was signed with a specified Gostcoin address + - - Export the data in the current tab to a file - Export the data in the current tab to a file + + &Verify Message + - - &Export - &Export + + Delete the currently selected address from the list + - - Verify a message to ensure it was signed with a specified Gostcoin address - Verify a message to ensure it was signed with a specified Gostcoin address + + &Delete + - - &Verify Message - &Verify Message + + Export the data in the current tab to a file + - - &Delete - &Delete + + &Export + - + These are your Gostcoin addresses for sending payments. Always check the amount and the receiving address before sending coins. - These are your Gostcoin addresses for sending payments. Always check the amount and the receiving address before sending coins. + + + + + These are your Gostcoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you. + - + Copy &Label - Copy &Label + - + &Edit - &Edit + - + Send &Coins - Send &Coins + - + Export Address Book Data - Export Address Book Data + - + Comma separated file (*.csv) - Comma separated file (*.csv) + - + Error exporting - Error exporting + - + Could not write to file %1. - Could not write to file %1. + AddressTableModel - + Label - Label + - + Address - Address + - + (no label) - (no label) + AskPassphraseDialog - + Passphrase Dialog - Passphrase Dialog + - + Enter passphrase - Enter passphrase + - + New passphrase - New passphrase + - + Repeat new passphrase - Repeat new passphrase + - + Enter the new passphrase to the wallet.<br/>Please use a passphrase of <b>10 or more random characters</b>, or <b>eight or more words</b>. - Enter the new passphrase to the wallet.<br/>Please use a passphrase of <b>10 or more random characters</b>, or <b>eight or more words</b>. + - + Encrypt wallet - Encrypt wallet + - + This operation needs your wallet passphrase to unlock the wallet. - This operation needs your wallet passphrase to unlock the wallet. + - + Unlock wallet - Unlock wallet + - + This operation needs your wallet passphrase to decrypt the wallet. - This operation needs your wallet passphrase to decrypt the wallet. + - + Decrypt wallet - Decrypt wallet + - + Change passphrase - Change passphrase + - + Enter the old and new passphrase to the wallet. - Enter the old and new passphrase to the wallet. + - + Confirm wallet encryption - Confirm wallet encryption + - - Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR LITECOINS</b>! - Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR LITECOINS</b>! + + Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR GOSTCOINS</b>! + - + Are you sure you wish to encrypt your wallet? - Are you sure you wish to encrypt your wallet? + - - IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet. - IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet. - - - - - Warning: The Caps Lock key is on! - Warning: The Caps Lock key is on! + + + Wallet encrypted + - - - Wallet encrypted - Wallet encrypted + + Gostcoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your gostcoins from being stolen by malware infecting your computer. + - - Gostcoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your anoncoins from being stolen by malware infecting your computer. - Gostcoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your anoncoins from being stolen by malware infecting your computer. + + IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet. + - - - - + + + + Wallet encryption failed - Wallet encryption failed + - + Wallet encryption failed due to an internal error. Your wallet was not encrypted. - Wallet encryption failed due to an internal error. Your wallet was not encrypted. + - - + + The supplied passphrases do not match. - The supplied passphrases do not match. + - + Wallet unlock failed - Wallet unlock failed + - - - + + + The passphrase entered for the wallet decryption was incorrect. - The passphrase entered for the wallet decryption was incorrect. + - + Wallet decryption failed - Wallet decryption failed + - + Wallet passphrase was successfully changed. - Wallet passphrase was successfully changed. + + + + + + Warning: The Caps Lock key is on! + BitcoinGUI - - Sign &message... - Sign &message... + + + Gostcoin + - - Synchronizing with network... - Synchronizing with network... + + Wallet + - + &Overview - &Overview + - + Show general overview of wallet - Show general overview of wallet + + + + + &Send + + + + + Send coins to a Gostcoin address + + + + + &Receive + + + + + Show the list of addresses for receiving payments + - + &Transactions - &Transactions + - + Browse transaction history - Browse transaction history + - - Edit the list of stored addresses and labels - Edit the list of stored addresses and labels + + &Addresses + - - Show the list of addresses for receiving payments - Show the list of addresses for receiving payments + + Edit the list of stored addresses and labels + - + E&xit - E&xit + - + Quit application - Quit application + + + + + &About Gostcoin + - + Show information about Gostcoin - Show information about Gostcoin + - + About &Qt - About &Qt + - + Show information about Qt - Show information about Qt + - + &Options... - &Options... + - - &Encrypt Wallet... - &Encrypt Wallet... + + Modify configuration options for Gostcoin + - - &Backup Wallet... - &Backup Wallet... + + &Show / Hide + - - &Change Passphrase... - &Change Passphrase... + + Show or hide the main Window + - - Importing blocks from disk... - Importing blocks from disk... + + &Encrypt Wallet... + - - Reindexing blocks on disk... - Reindexing blocks on disk... + + Encrypt the private keys that belong to your wallet + - - Send coins to a Gostcoin address - Send coins to a Gostcoin address + + &Backup Wallet... + - - Modify configuration options for Gostcoin - Modify configuration options for Gostcoin + + Backup wallet to another location + - - Backup wallet to another location - Backup wallet to another location + + &Change Passphrase... + - + Change the passphrase used for wallet encryption - Change the passphrase used for wallet encryption + - - &Debug window - &Debug window + + Sign &message... + - - Open debugging and diagnostic console - Open debugging and diagnostic console + + Sign messages with your Gostcoin addresses to prove you own them + - + &Verify message... - &Verify message... - - - - - Gostcoin - Gostcoin + - - Wallet - Wallet - - - - &Send - &Send + + Verify messages to ensure they were signed with specified Gostcoin addresses + - - &Receive - &Receive + + &Debug window + - - &Addresses - &Addresses + + Open debugging and diagnostic console + - - &About Gostcoin - &About Gostcoin + + &Print paper wallet... + - - &Show / Hide - &Show / Hide + + Generate new address and print + - - Show or hide the main Window - Show or hide the main Window + + &File + - - Encrypt the private keys that belong to your wallet - Encrypt the private keys that belong to your wallet + + &Settings + - - Sign messages with your Gostcoin addresses to prove you own them - Sign messages with your Gostcoin addresses to prove you own them + + &Help + - - Verify messages to ensure they were signed with specified Gostcoin addresses - Verify messages to ensure they were signed with specified Gostcoin addresses + + Tabs toolbar + - - &File - &File + + + [testnet] + - - &Settings - &Settings + + Wallet is using I2P-network only + - - &Help - &Help + + Wallet is using mixed or non-I2P (clear) network + - - Tabs toolbar - Tabs toolbar + + Wallet is running with a random generated I2P-address + - - - [testnet] - [testnet] + + Wallet is running with a static I2P-address + - + Gostcoin client - Gostcoin client + - + %n active connection(s) to Gostcoin network - - %n active connection to Gostcoin network - %n active connections to Gostcoin network + + + + + + + + %n active connection(s) to I2P-Gostcoin network + + + - + + Synchronizing with network... + + + + + Importing blocks from disk... + + + + + Reindexing blocks on disk... + + + + No block source available... - No block source available... + - + Processed %1 of %2 (estimated) blocks of transaction history. - Processed %1 of %2 (estimated) blocks of transaction history. + - + Processed %1 blocks of transaction history. - Processed %1 blocks of transaction history. + + + + + Up to date + - + %n hour(s) - - %n hour - %n hours + + + - + %n day(s) - - %n day - %n days + + + - + %n week(s) - - %n week - %n weeks + + + - + %1 behind - %1 behind + - + + Catching up... + + + + Last received block was generated %1 ago. - Last received block was generated %1 ago. + - + Transactions after this will not yet be visible. - Transactions after this will not yet be visible. + - + Error - Error + - + Warning - Warning + - + Information - Information + - + This transaction is over the size limit. You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee? - This transaction is over the size limit. You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee? - - - - Up to date - Up to date - - - - Catching up... - Catching up... + - + Confirm transaction fee - Confirm transaction fee + - + Sent transaction - Sent transaction + - + Incoming transaction - Incoming transaction + - + Date: %1 Amount: %2 Type: %3 Address: %4 - Date: %1 -Amount: %2 -Type: %3 -Address: %4 - + - - + + URI handling - URI handling + - - + + URI can not be parsed! This can be caused by an invalid Gostcoin address or malformed URI parameters. - URI can not be parsed! This can be caused by an invalid Gostcoin address or malformed URI parameters. + - + Wallet is <b>encrypted</b> and currently <b>unlocked</b> - Wallet is <b>encrypted</b> and currently <b>unlocked</b> + - + Wallet is <b>encrypted</b> and currently <b>locked</b> - Wallet is <b>encrypted</b> and currently <b>locked</b> + - + A fatal error occurred. Gostcoin can no longer continue safely and will quit. - A fatal error occurred. Gostcoin can no longer continue safely and will quit. - - - - ClientModel - - - Network Alert - Network Alert - - - - EditAddressDialog - - - Edit Address - Edit Address + - - &Label - &Label - - - - The label associated with this address book entry - The label associated with this address book entry + + Failed to load style! + - - &Address - &Address + + Failed to load the stylesheet provided. + - - The address associated with this address book entry. This can only be modified for sending addresses. - The address associated with this address book entry. This can only be modified for sending addresses. + + Do you run I2P on your computer? +If so, press yes to let Gostcoin configure it's connection to the I2P + - - New receiving address - New receiving address + + Gostcoin Wizard - Step #1 + - - New sending address - New sending address + + Do you want to install I2P, and continue I2P setup? +If you select yes Gostcoin will quit, so you can continue the wizard after installing I2P. +If you select no, Gostcoin will write a default clearnet (regular internet) config file for you. (unsafe mode) + + - - Edit receiving address - Edit receiving address + + Gostcoin Wizard - Step #2 + - - Edit sending address - Edit sending address + + Shared + - - The entered address "%1" is already in the address book. - The entered address "%1" is already in the address book. + + I2P only + - - The entered address "%1" is not a valid Gostcoin address. - The entered address "%1" is not a valid Gostcoin address. + + Ok, last question! +Do you want to run shared (which means you work as a bridge between the I2P and internet) or only I2P? + - - Could not unlock wallet. - Could not unlock wallet. + + Thanks! That was all. Enjoy your wallet :) + + + + ClientModel - - New key generation failed. - New key generation failed. + + Network Alert + - GUIUtil::HelpMessageBox + CoinControlDialog - - - Gostcoin-Qt - Gostcoin-Qt + + Coin Control + - - version - version + + Quantity: + - - Usage: - Usage: + + Bytes: + - - command-line options - command-line options + + Amount: + - - UI options - UI options + + Priority: + - - Set language, for example "de_DE" (default: system locale) - Set language, for example "de_DE" (default: system locale) + + Fee: + - - Start minimized - Start minimized + + Low Output: + - - Show splash screen on startup (default: 1) - Show splash screen on startup (default: 1) + + + no + - - - OptionsDialog - - Options - Options + + After Fee: + - - &Main - &Main + + Change: + - - Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB. - Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB. + + (un)select all + - - Pay transaction &fee - Pay transaction &fee + + Tree mode + - - Automatically start Gostcoin after logging in to the system. - Automatically start Gostcoin after logging in to the system. + + List mode + - - &Start Gostcoin on system login - &Start Gostcoin on system login + + + (%1 locked) + - - Reset all client options to default. - Reset all client options to default. + + Amount + - - &Reset Options - &Reset Options + + Label + - - &Network - &Network + + Address + - - Automatically open the Gostcoin client port on the router. This only works when your router supports UPnP and it is enabled. - Automatically open the Gostcoin client port on the router. This only works when your router supports UPnP and it is enabled. + + Date + - - Map port using &UPnP - Map port using &UPnP + + Confirmations + - - Connect to the Gostcoin network through a SOCKS proxy (e.g. when connecting through Tor). - Connect to the Gostcoin network through a SOCKS proxy (e.g. when connecting through Tor). + + Confirmed + - - &Connect through SOCKS proxy: - &Connect through SOCKS proxy: + + Priority + - - Proxy &IP: - Proxy &IP: + + Copy address + - - IP address of the proxy (e.g. 127.0.0.1) - IP address of the proxy (e.g. 127.0.0.1) + + Copy label + - - &Port: - &Port: + + + Copy amount + - - Port of the proxy (e.g. 9050) - Port of the proxy (e.g. 9050) + + Copy transaction ID + - - SOCKS &Version: - SOCKS &Version: + + Lock unspent + - - SOCKS version of the proxy (e.g. 5) - SOCKS version of the proxy (e.g. 5) + + Unlock unspent + - - &Window - &Window + + Copy quantity + - - Show only a tray icon after minimizing the window. - Show only a tray icon after minimizing the window. + + Copy fee + - - &Minimize to the tray instead of the taskbar - &Minimize to the tray instead of the taskbar + + Copy after fee + - - Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu. - Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu. + + Copy bytes + - - M&inimize on close - M&inimize on close + + Copy priority + - - Suppress notifications and tray animations. - Suppress notifications and tray animations. + + Copy low output + - - Silent mode - Silent mode + + Copy change + - - &Display - &Display + + highest + - - User Interface &language: - User Interface &language: + + high + - - The user interface language can be set here. This setting will take effect after restarting Gostcoin. - The user interface language can be set here. This setting will take effect after restarting Gostcoin. + + medium-high + - - &Unit to show amounts in: - &Unit to show amounts in: + + medium + - - Choose the default subdivision unit to show in the interface and when sending coins. - Choose the default subdivision unit to show in the interface and when sending coins. + + low-medium + - - Whether to show Gostcoin addresses in the transaction list or not. - Whether to show Gostcoin addresses in the transaction list or not. + + low + - - &Display addresses in transaction list - &Display addresses in transaction list + + lower + - - &OK - &OK + + lowest + - - &Cancel - &Cancel + + DUST + - - &Apply - &Apply + + yes + - - default - default + + This label turns red, if the transaction size is bigger than 10000 bytes. + +This means a fee of at least %1 per kb is required. + +Can vary +/- 1 Byte per input. + - - Confirm options reset - Confirm options reset + + Transactions with higher priority get more likely into a block. + +This label turns red, if the priority is smaller than "medium". + +This means a fee of at least %1 per kb is required. + - - Some settings may require a client restart to take effect. - Some settings may require a client restart to take effect. + + This label turns red, if any recipient receives an amount smaller than %1. + +This means a fee of at least %2 is required. + +Amounts below 0.546 times the minimum relay fee are shown as DUST. + - - Do you want to proceed? - Do you want to proceed? + + This label turns red, if the change is smaller than %1. + +This means a fee of at least %2 is required. + - - - Warning - Warning + + + (no label) + - - - This setting will take effect after restarting Gostcoin. - This setting will take effect after restarting Gostcoin. + + change from %1 (%2) + - - The supplied proxy address is invalid. - The supplied proxy address is invalid. + + (change) + - OverviewPage + EditAddressDialog - - Form - Form + + Edit Address + - - - The displayed information may be out of date. Your wallet automatically synchronizes with the Gostcoin network after a connection is established, but this process has not completed yet. - The displayed information may be out of date. Your wallet automatically synchronizes with the Gostcoin network after a connection is established, but this process has not completed yet. + + &Label + - - Balance: - Balance: + + The label associated with this address book entry + - - Unconfirmed: - Unconfirmed: + + &Address + - - Wallet - Wallet + + The address associated with this address book entry. This can only be modified for sending addresses. + - - Immature: - Immature: + + New receiving address + - - Mined balance that has not yet matured - Mined balance that has not yet matured + + New sending address + - - <b>Recent transactions</b> - <b>Recent transactions</b> + + Edit receiving address + + + + + Edit sending address + + + + + The entered address "%1" is not a valid Gostcoin address. + + + + + The entered address "%1" is already in the address book. + + + + + Could not unlock wallet. + + + + + New key generation failed. + + + + + GUIUtil::HelpMessageBox + + + + Gostcoin-Qt + + + + + version + + + + + Usage: + + + + + command-line options + + + + + UI options + + + + + Set language, for example "de_DE" (default: system locale) + + + + + Start minimized + + + + + Show splash screen on startup (default: 1) + + + + + OptionsDialog + + + Options + + + + + &Main + + + + + Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB. + + + + + Pay transaction &fee + + + + + Automatically start Gostcoin after logging in to the system. + + + + + &Start Gostcoin on system login + + + + + Reset all client options to default. + + + + + &Reset Options + + + + + &Network + + + + + Connect to the Gostcoin network through a SOCKS proxy (e.g. when connecting through Tor). + + + + + &Connect through SOCKS proxy: + + + + + Proxy &IP: + + + + + IP address of the proxy (e.g. 127.0.0.1) + + + + + &Port: + + + + + Port of the proxy (e.g. 9050) + + + + + SOCKS &Version: + + + + + SOCKS version of the proxy (e.g. 5) + + + + + &Window + + + + + Show only a tray icon after minimizing the window. + + + + + &Minimize to the tray instead of the taskbar + + + + + Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu. + + + + + M&inimize on close + + + + + Suppress notifications and tray animations. + + + + + Silent mode + + + + + &Display + + + + + User Interface &language: + + + + + The user interface language can be set here. This setting will take effect after restarting Gostcoin. + + + + + &Unit to show amounts in: + + + + + Choose the default subdivision unit to show in the interface and when sending coins. + + + + + Whether to show Gostcoin addresses in the transaction list or not. + + + + + &Display addresses in transaction list + + + + + Whether to show coin control features or not. + + + + + Display coin &control features (experts only!) + + + + + Use I2P only (-onlynet=i2p) + + + + + Current I2P-address... + + + + + Generate I2P-address... + + + + + SAM host + + + + + SAM port + + + + + Tunnel name + + + + + I2CP options of inbound tunnels + + + + + + quantity + + + + + + length + + + + + + lengthVariance + + + + + + backupQuantity + + + + + + allowZeroHop + + + + + + IPRestriction + + + + + I2CP options of outbound tunnels + + + + + priority + + + + + &OK + + + + + &Cancel + + + + + &Apply + + + + + default + + + + + Confirm options reset + + + + + Some settings may require a client restart to take effect. + + + + + Do you want to proceed? + + + + + + + Warning + + + + + + + This setting will take effect after restarting Gostcoin. + + + + + Your current I2P-address + + + + + Generated I2P address + + + + + The supplied proxy address is invalid. + + + + + OverviewPage + + + Form + + + + + Wallet + + + + + + The displayed information may be out of date. Your wallet automatically synchronizes with the Gostcoin network after a connection is established, but this process has not completed yet. + + + + + Balance: + - + Your current balance - Your current balance + + + + + Unconfirmed: + - + Total of transactions that have yet to be confirmed, and do not yet count toward the current balance - Total of transactions that have yet to be confirmed, and do not yet count toward the current balance + - - + + Immature: + + + + + Mined balance that has not yet matured + + + + + <b>Recent transactions</b> + + + + + out of sync - out of sync + PaymentServer - - Cannot start anoncoin: click-to-pay handler - Cannot start anoncoin: click-to-pay handler + + Cannot start gostcoin: click-to-pay handler + QRCodeDialog - + QR Code Dialog - QR Code Dialog + - + Request Payment - Request Payment - - - - Amount: - Amount: + - + Label: - Label: + - + Message: - Message: + + + + + Amount: + - + &Save As... - &Save As... + - + Error encoding URI into QR Code. - Error encoding URI into QR Code. + - + The entered amount is invalid, please check. - The entered amount is invalid, please check. + - + Resulting URI too long, try to reduce the text for label / message. - Resulting URI too long, try to reduce the text for label / message. + - + Save QR Code - Save QR Code + - + PNG Images (*.png) - PNG Images (*.png) + RPCConsole - + + Gostcoin - Debug window + + + + + &Information + + + + + Gostcoin Core + + + + Client name - Client name - - - - - - - - - - - - + + + + + + + + + + + + + N/A - N/A + - + Client version - Client version + - - &Information - &Information + + Using OpenSSL version + - - Using OpenSSL version - Using OpenSSL version + + Build date + - + Startup time - Startup time + - + Network - Network + - + Number of connections - Number of connections + - + On testnet - On testnet + - + Block chain - Block chain + - + Current number of blocks - Current number of blocks + - + Estimated total blocks - Estimated total blocks + - + Last block time - Last block time + + + + + Debug log file + + + + + Open the Gostcoin debug log file from the current data directory. This can take a few seconds for large log files. + - + &Open - &Open + - + Command-line options - Command-line options + - + Show the Gostcoin-Qt help message to get a list with possible Gostcoin command-line options. - Show the Gostcoin-Qt help message to get a list with possible Gostcoin command-line options. + - + &Show - &Show + - + &Console - &Console + - - Build date - Build date + + Clear console + - - Gostcoin - Debug window - Gostcoin - Debug window + + Welcome to the Gostcoin RPC console. + - - Gostcoin Core - Gostcoin Core + + Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen. + - - Debug log file - Debug log file + + Type <b>help</b> for an overview of available commands. + + + + SendCoinsDialog - - Open the Gostcoin debug log file from the current data directory. This can take a few seconds for large log files. - Open the Gostcoin debug log file from the current data directory. This can take a few seconds for large log files. + + + + + + + + + Send Coins + - - Clear console - Clear console + + Coin Control Features + - - Welcome to the Gostcoin RPC console. - Welcome to the Gostcoin RPC console. + + Inputs... + - - Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen. - Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen. + + automatically selected + - - Type <b>help</b> for an overview of available commands. - Type <b>help</b> for an overview of available commands. + + Insufficient funds! + - - - SendCoinsDialog - - - - - - - - - Send Coins - Send Coins + + Quantity: + + + + + Bytes: + - + + Amount: + + + + + Priority: + + + + + medium + + + + + Fee: + + + + + Low Output: + + + + + no + + + + + After Fee: + + + + + Change: + + + + + If this is activated, but the change address is empty or invalid, change will be sent to a newly generated address. + + + + + Custom change address + + + + Send to multiple recipients at once - Send to multiple recipients at once + - + Add &Recipient - Add &Recipient + - + Remove all transaction fields - Remove all transaction fields + - + Clear &All - Clear &All + - + Balance: - Balance: - - - - 123.456 BTC - 123.456 BTC + - + Confirm the send action - Confirm the send action + - + S&end - S&end + + + + + Enter a Gostcoin address (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) + + + + + Copy quantity + + + + + Copy amount + + + + + Copy fee + + + + + Copy after fee + + + + + Copy bytes + - + + Copy priority + + + + + Copy low output + + + + + Copy change + + + + + <b>%1</b> to %2 (%3) - <b>%1</b> to %2 (%3) + - + Confirm send coins - Confirm send coins + - + Are you sure you want to send %1? - Are you sure you want to send %1? + - + and - and + - + The recipient address is not valid, please recheck. - The recipient address is not valid, please recheck. + - + The amount to pay must be larger than 0. - The amount to pay must be larger than 0. + - + The amount exceeds your balance. - The amount exceeds your balance. + - + The total exceeds your balance when the %1 transaction fee is included. - The total exceeds your balance when the %1 transaction fee is included. + - + Duplicate address found, can only send to each address once per send operation. - Duplicate address found, can only send to each address once per send operation. + - + Error: Transaction creation failed! - Error: Transaction creation failed! + - + Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here. - Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here. + + + + + Warning: Invalid Gostcoin address + + + + + (no label) + + + + + Warning: Unknown change address + SendCoinsEntry - + Form - Form + - + A&mount: - A&mount: + - + Pay &To: - Pay &To: + - - The address to send the payment to (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) - The address to send the payment to (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) + + &Label: + - - + + The address to send the payment to (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) + + + + + Choose address from address book + + + + + Paste address from clipboard + + + + + Remove this recipient + + + + + Enter a label for this address to add it to your address book - Enter a label for this address to add it to your address book + - - &Label: - &Label: + + Enter a Gostcoin address (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) + + + + + ShowI2PAddresses + + + Dialog + - - Choose address from address book - Choose address from address book + + If you want to use a permanent I2P-address you have to set a 'mydestination' option in the configuration file: + - - Alt+A - Alt+A + + Ready to save parameter (If you want to use this address save this text in the configuration file and keep it secret): + - - Paste address from clipboard - Paste address from clipboard + + Address (you can publish it): + - - Alt+P - Alt+P + + Short base32-address: + - - Remove this recipient - Remove this recipient + + Copy "mydestination" parameter +to the clipboard + + + + + Copy public address +to the clipboard + - - Enter a Gostcoin address (e.g. Ger4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) - Enter a Gostcoin address (e.g. Ger4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) + + Copy b32-address +to the clipboard + SignVerifyMessageDialog - + Signatures - Sign / Verify a Message - Signatures - Sign / Verify a Message + - + &Sign Message - &Sign Message + - + You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to. - You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to. + - - The address to sign the message with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) - The address to sign the message with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) + + The address to sign the message with (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) + - - + + Choose an address from the address book - Choose an address from the address book - - - - - Alt+A - Alt+A + - + Paste address from clipboard - Paste address from clipboard + - - Alt+P - Alt+P - - - + Enter the message you want to sign here - Enter the message you want to sign here + - + Signature - Signature + - + Copy the current signature to the system clipboard - Copy the current signature to the system clipboard + - + Sign the message to prove you own this Gostcoin address - Sign the message to prove you own this Gostcoin address + - + Sign &Message - Sign &Message + - + Reset all sign message fields - Reset all sign message fields + - - + + Clear &All - Clear &All + - + &Verify Message - &Verify Message + - + Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack. - Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack. + - - The address the message was signed with (e.g. Ger4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) - The address the message was signed with (e.g. Ger4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) + + The address the message was signed with (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) + - + Verify the message to ensure it was signed with the specified Gostcoin address - Verify the message to ensure it was signed with the specified Gostcoin address + - + Verify &Message - Verify &Message + - + Reset all verify message fields - Reset all verify message fields + - - - Enter a Gostcoin address (e.g. Ger4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) - Enter a Gostcoin address (e.g. Ger4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2) + + + Enter a Gostcoin address (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) + - + Click "Sign Message" to generate signature - Click "Sign Message" to generate signature + - + Enter Gostcoin signature - Enter Gostcoin signature + - - + + The entered address is invalid. - The entered address is invalid. + - - - - + + + + Please check the address and try again. - Please check the address and try again. + - - + + The entered address does not refer to a key. - The entered address does not refer to a key. + - + Wallet unlock was cancelled. - Wallet unlock was cancelled. + - + Private key for the entered address is not available. - Private key for the entered address is not available. + - + Message signing failed. - Message signing failed. + - + Message signed. - Message signed. + - + The signature could not be decoded. - The signature could not be decoded. + - - + + Please check the signature and try again. - Please check the signature and try again. + - + The signature did not match the message digest. - The signature did not match the message digest. + - + Message verification failed. - Message verification failed. + - + Message verified. - Message verified. + SplashScreen - - The Gostcoin developers - The Gostcoin developers + + Version %1 + - - [testnet] - [testnet] + + The Bitcoin developers + + + + + The Litecoin developers + + + + + The Anoncoin developers + + + + + The i2pd developers + + + + + The Gostcoin developers + TransactionDesc + + + Open for %n more block(s) + + + + + - + Open until %1 - Open until %1 + - + %1/offline - %1/offline + - + %1/unconfirmed - %1/unconfirmed + - + %1 confirmations - %1 confirmations + - + Status - Status + + + + + , has not been successfully broadcast yet + - + , broadcast through %n node(s) - - , broadcast through %n node - , broadcast through %n nodes + + + - + Date - Date + - + Source - Source + - + Generated - Generated + - - + + From - From + - - - + + unknown + + + + + + To - To + - - + + own address - own address + - + label - label + - - - - - + + + + + Credit - Credit + - + matures in %n more block(s) - - matures in %n more block - matures in %n more blocks + + + - + not accepted - not accepted + - - - - + + + + Debit - Debit + - + Transaction fee - Transaction fee + - + Net amount - Net amount + - + Message - Message + - + Comment - Comment + - + Transaction ID - Transaction ID + - + Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours. - Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours. + - + Debug information - Debug information + - + Transaction - Transaction + - + Inputs - Inputs + - + Amount - Amount + - + true - true + - + false - false - - - - , has not been successfully broadcast yet - , has not been successfully broadcast yet - - - - Open for %n more block(s) - - Open for %n more block - Open for %n more blocks - - - - - unknown - unknown + TransactionDescDialog - + Transaction details - Transaction details + - + This pane shows a detailed description of the transaction - This pane shows a detailed description of the transaction + TransactionTableModel - + Date - Date + - + Type - Type + - + Address - Address + - + Amount - Amount + - + Open for %n more block(s) - - Open for %n more block - Open for %n more blocks + + + - + Open until %1 - Open until %1 + - - - Offline (%1 confirmations) - Offline (%1 confirmations) + + + Offline (%n confirmations) + + + + - + Unconfirmed (%1 of %2 confirmations) - Unconfirmed (%1 of %2 confirmations) + - - - Confirmed (%1 confirmations) - Confirmed (%1 confirmations) + + + Confirmed (%n confirmations) + + + + - + Mined balance will be available when it matures in %n more block(s) - - Mined balance will be available when it matures in %n more block - Mined balance will be available when it matures in %n more blocks + + + - + This block was not received by any other nodes and will probably not be accepted! - This block was not received by any other nodes and will probably not be accepted! + - + Generated but not accepted - Generated but not accepted + - + Received with - Received with + - + Received from - Received from + - + Sent to - Sent to + - + Payment to yourself - Payment to yourself + - + Mined - Mined + - + (n/a) - (n/a) + - + Transaction status. Hover over this field to show number of confirmations. - Transaction status. Hover over this field to show number of confirmations. + - + Date and time that the transaction was received. - Date and time that the transaction was received. + - + Type of transaction. - Type of transaction. + - + Destination address of transaction. - Destination address of transaction. + - + Amount removed from or added to balance. - Amount removed from or added to balance. + TransactionView - - + + All - All + - + Today - Today + - + This week - This week + - + This month - This month + - + Last month - Last month + - + This year - This year + - + Range... - Range... + - + Received with - Received with + - + Sent to - Sent to + - + To yourself - To yourself + - + Mined - Mined + - + Other - Other + - + Enter address or label to search - Enter address or label to search + - + Min amount - Min amount + - + Copy address - Copy address + - + Copy label - Copy label + - + Copy amount - Copy amount + - + Copy transaction ID - Copy transaction ID + - + Edit label - Edit label + - + Show transaction details - Show transaction details + - + Export Transaction Data - Export Transaction Data + - + Comma separated file (*.csv) - Comma separated file (*.csv) + - + Confirmed - Confirmed + - + Date - Date + - + Type - Type + - + Label - Label + - + Address - Address + - + Amount - Amount + - + ID - ID + - + Error exporting - Error exporting + - + Could not write to file %1. - Could not write to file %1. + - + Range: - Range: + - + to - to + + + + + WalletFrame + + + No wallet has been loaded. + WalletModel - + Send Coins - Send Coins + WalletView - + &Export - &Export + - + Export the data in the current tab to a file - Export the data in the current tab to a file + - + Backup Wallet - Backup Wallet + - + Wallet Data (*.dat) - Wallet Data (*.dat) + - + Backup Failed - Backup Failed + - + There was an error trying to save the wallet data to the new location. - There was an error trying to save the wallet data to the new location. + - + Backup Successful - Backup Successful + - + The wallet data was successfully saved to the new location. - The wallet data was successfully saved to the new location. + bitcoin-core - - Gostcoin version - Gostcoin version + + %s, you must set a rpcpassword in the configuration file: +%s +It is recommended you use the following random password: +rpcuser=gostcoinrpc +rpcpassword=%s +(you do not need to remember this password) +The username and password MUST NOT be the same. +If the file does not exist, create it with owner-readable-only file permissions. +It is also recommended to set alertnotify so you are notified of problems; +for example: alertnotify=echo %%s | mail -s "Gostcoin Alert" admin@foo.com + + - - Usage: - Usage: + + Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH) + + + + + An error occurred while setting up the RPC port %u for listening on IPv4: %s + + + + + An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s + + + + + Bind to given address and always listen on it. Use [host]:port notation for IPv6 + + + + + Cannot obtain a lock on data directory %s. Gostcoin is probably already running. + + + + + Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here. + - - Send command to -server or anoncoind - Send command to -server or anoncoind + + Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds! + - - List commands - List commands + + Execute command when a relevant alert is received (%s in cmd is replaced by message) + - - Get help for a command - Get help for a command + + Execute command when a wallet transaction changes (%s in cmd is replaced by TxID) + - - Options: - Options: + + Execute command when the best block changes (%s in cmd is replaced by block hash) + - - Specify configuration file (default: anoncoin.conf) - Specify configuration file (default: anoncoin.conf) + + Listen for JSON-RPC connections on <port> (default: 9376 or testnet: 19376) + - - Specify pid file (default: anoncoind.pid) - Specify pid file (default: anoncoind.pid) + + Number of seconds to keep misbehaving peers from reconnecting (default: 86400) + - - Specify data directory - Specify data directory + + Set maximum size of high-priority/low-fee transactions in bytes (default: 27000) + - - Set database cache size in megabytes (default: 25) - Set database cache size in megabytes (default: 25) + + Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0) + - - Listen for connections on <port> (default: 9333 or testnet: 19333) - Listen for connections on <port> (default: 9333 or testnet: 19333) + + This is a pre-release test build - use at your own risk - do not use for mining or merchant applications + - - Maintain at most <n> connections to peers (default: 125) - Maintain at most <n> connections to peers (default: 125) + + Unable to bind to %s on this computer. Gostcoin is probably already running. + - - Connect to a node to retrieve peer addresses, and disconnect - Connect to a node to retrieve peer addresses, and disconnect + + Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction. + - - Specify your own public address - Specify your own public address + + Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade. + - - Threshold for disconnecting misbehaving peers (default: 100) - Threshold for disconnecting misbehaving peers (default: 100) + + Warning: Please check that your computer's date and time are correct! If your clock is wrong Gostcoin will not work properly. + - - Number of seconds to keep misbehaving peers from reconnecting (default: 86400) - Number of seconds to keep misbehaving peers from reconnecting (default: 86400) + + Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect. + - - An error occurred while setting up the RPC port %u for listening on IPv4: %s - An error occurred while setting up the RPC port %u for listening on IPv4: %s + + Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup. + - - Listen for JSON-RPC connections on <port> (default: 9332 or testnet: 19332) - Listen for JSON-RPC connections on <port> (default: 9332 or testnet: 19332) + + You must set rpcpassword=<password> in the configuration file: +%s +If the file does not exist, create it with owner-readable-only file permissions. + - + Accept command line and JSON-RPC commands - Accept command line and JSON-RPC commands + - - Run in the background as a daemon and accept commands - Run in the background as a daemon and accept commands + + Accept connections from outside (default: 1 if no -proxy or -connect) + - - Use the test network - Use the test network + + Add a node to connect to and attempt to keep the connection open + - - Accept connections from outside (default: 1 if no -proxy or -connect) - Accept connections from outside (default: 1 if no -proxy or -connect) + + Allow DNS lookups for -addnode, -seednode and -connect + - - %s, you must set a rpcpassword in the configuration file: -%s -It is recommended you use the following random password: -rpcuser=anoncoinrpc -rpcpassword=%s -(you do not need to remember this password) -The username and password MUST NOT be the same. -If the file does not exist, create it with owner-readable-only file permissions. -It is also recommended to set alertnotify so you are notified of problems; -for example: alertnotify=echo %%s | mail -s "Gostcoin Alert" admin@foo.com - - %s, you must set a rpcpassword in the configuration file: -%s -It is recommended you use the following random password: -rpcuser=anoncoinrpc -rpcpassword=%s -(you do not need to remember this password) -The username and password MUST NOT be the same. -If the file does not exist, create it with owner-readable-only file permissions. -It is also recommended to set alertnotify so you are notified of problems; -for example: alertnotify=echo %%s | mail -s "Gostcoin Alert" admin@foo.com - + + Allow JSON-RPC connections from specified IP address + - - An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s - An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s + + Allow peers to set bloom filters (default: 1) + - - Bind to given address and always listen on it. Use [host]:port notation for IPv6 - Bind to given address and always listen on it. Use [host]:port notation for IPv6 + + Attempt to recover private keys from a corrupt wallet.dat + - - Cannot obtain a lock on data directory %s. Gostcoin is probably already running. - Cannot obtain a lock on data directory %s. Gostcoin is probably already running. + + Block creation options: + - - Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here. - Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here. + + Cannot downgrade wallet + - - Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds! - Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds! + + Cannot resolve -bind address: '%s' + - - Execute command when a relevant alert is received (%s in cmd is replaced by message) - Execute command when a relevant alert is received (%s in cmd is replaced by message) + + Cannot resolve -externalip address: '%s' + - - Execute command when a wallet transaction changes (%s in cmd is replaced by TxID) - Execute command when a wallet transaction changes (%s in cmd is replaced by TxID) + + Cannot write default address + - - Set maximum size of high-priority/low-fee transactions in bytes (default: 27000) - Set maximum size of high-priority/low-fee transactions in bytes (default: 27000) + + Connect only to the specified node(s) + - - This is a pre-release test build - use at your own risk - do not use for mining or merchant applications - This is a pre-release test build - use at your own risk - do not use for mining or merchant applications + + Connect through socks proxy + - - Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction. - Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction. + + Connect to a node to retrieve peer addresses, and disconnect + - - Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade. - Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade. + + Corrupted block database detected + - - Warning: Please check that your computer's date and time are correct! If your clock is wrong Gostcoin will not work properly. - Warning: Please check that your computer's date and time are correct! If your clock is wrong Gostcoin will not work properly. + + Creating SAM session... + - - Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect. - Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect. + + Discover own IP address (default: 1 when listening and no -externalip) + - - Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup. - Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup. + + Do you want to rebuild the block database now? + - - Attempt to recover private keys from a corrupt wallet.dat - Attempt to recover private keys from a corrupt wallet.dat + + Done loading + - - Block creation options: - Block creation options: + + Enable I2P (default: 1) + - - Connect only to the specified node(s) - Connect only to the specified node(s) + + Enable I2P-only mode + - - Corrupted block database detected - Corrupted block database detected + + Error initializing block database + - - Discover own IP address (default: 1 when listening and no -externalip) - Discover own IP address (default: 1 when listening and no -externalip) + + Error initializing wallet database environment %s! + - - Do you want to rebuild the block database now? - Do you want to rebuild the block database now? + + Error loading block database + - - Error initializing block database - Error initializing block database + + Error loading wallet.dat + - - Error initializing wallet database environment %s! - Error initializing wallet database environment %s! + + Error loading wallet.dat: Wallet corrupted + - - Error loading block database - Error loading block database + + Error loading wallet.dat: Wallet requires newer version of Gostcoin + - + Error opening block database - Error opening block database + - - Error: Disk space is low! - Error: Disk space is low! + + Error + - - Error: Wallet locked, unable to create transaction! - Error: Wallet locked, unable to create transaction! + + Error: Disk space is low! + - + Error: system error: - Error: system error: + + + + + Error: Wallet locked, unable to create transaction! + - + Failed to listen on any port. Use -listen=0 if you want this. - Failed to listen on any port. Use -listen=0 if you want this. + - + Failed to read block info - Failed to read block info + - + Failed to read block - Failed to read block + - + Failed to sync block index - Failed to sync block index + - + Failed to write block index - Failed to write block index + - + Failed to write block info - Failed to write block info + - + Failed to write block - Failed to write block + - + Failed to write file info - Failed to write file info + - + Failed to write to coin database - Failed to write to coin database + - + Failed to write transaction index - Failed to write transaction index + - + Failed to write undo data - Failed to write undo data + + + + + Fee per KB to add to transactions you send + - + Find peers using DNS lookup (default: 1 unless -connect) - Find peers using DNS lookup (default: 1 unless -connect) + + + + + Generate an I2P destination, print it and exit + - + Generate coins (default: 0) - Generate coins (default: 0) + + + + + Get help for a command + + + + + Gostcoin version + - + How many blocks to check at startup (default: 288, 0 = all) - How many blocks to check at startup (default: 288, 0 = all) + - + How thorough the block verification is (0-4, default: 3) - How thorough the block verification is (0-4, default: 3) + - - Not enough file descriptors available. - Not enough file descriptors available. + + I2P Options: + - - Rebuild block chain index from current blk000??.dat files - Rebuild block chain index from current blk000??.dat files + + Imports blocks from external blk000??.dat file + - - Set the number of threads to service RPC calls (default: 4) - Set the number of threads to service RPC calls (default: 4) + + Information + - - Verifying blocks... - Verifying blocks... + + Insufficient funds + - - Verifying wallet... - Verifying wallet... + + Invalid -proxy address: '%s' + - - Imports blocks from external blk000??.dat file - Imports blocks from external blk000??.dat file + + Invalid amount for -minrelaytxfee=<amount>: '%s' + - - Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0) - Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0) + + Invalid amount for -mintxfee=<amount>: '%s' + - - Information - Information + + Invalid amount for -paytxfee=<amount>: '%s' + - - Invalid -tor address: '%s' - Invalid -tor address: '%s' + + Invalid amount + - - Invalid amount for -minrelaytxfee=<amount>: '%s' - Invalid amount for -minrelaytxfee=<amount>: '%s' + + List commands + - - Invalid amount for -mintxfee=<amount>: '%s' - Invalid amount for -mintxfee=<amount>: '%s' + + Listen for connections on <port> (default: 9377 or testnet: 19377) + + + + + Loading addresses... + + + + + Loading block index... + + + + + Loading wallet... + - + Maintain a full transaction index (default: 0) - Maintain a full transaction index (default: 0) + + + + + Maintain at most <n> connections to peers (default: 200) + - + Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000) - Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000) + - + Maximum per-connection send buffer, <n>*1000 bytes (default: 1000) - Maximum per-connection send buffer, <n>*1000 bytes (default: 1000) + - - Only accept block chain matching built-in checkpoints (default: 1) - Only accept block chain matching built-in checkpoints (default: 1) + + Name of an I2P session (default: Gostcoin-client) + - - Only connect to nodes in network <net> (IPv4, IPv6 or Tor) - Only connect to nodes in network <net> (IPv4, IPv6 or Tor) + + Not enough file descriptors available. + - - Output extra debugging information. Implies all other -debug* options - Output extra debugging information. Implies all other -debug* options + + Only accept block chain matching built-in checkpoints (default: 1) + - - Output extra network debugging information - Output extra network debugging information + + Only connect to nodes in network <net> (IPv4, IPv6 or I2P) + - - Prepend debug output with timestamp - Prepend debug output with timestamp + + Options: + - - SSL options: (see the Gostcoin Wiki for SSL setup instructions) - SSL options: (see the Gostcoin Wiki for SSL setup instructions) + + Output extra debugging information. Implies all other -debug* options + - - Select the version of socks proxy to use (4-5, default: 5) - Select the version of socks proxy to use (4-5, default: 5) + + Output extra network debugging information + - - Send trace/debug info to console instead of debug.log file - Send trace/debug info to console instead of debug.log file + + Password for JSON-RPC connections + - - Send trace/debug info to debugger - Send trace/debug info to debugger + + Prepend debug output with timestamp (default: 1) + - - Set maximum block size in bytes (default: 250000) - Set maximum block size in bytes (default: 250000) + + Rebuild block chain index from current blk000??.dat files + - - Set minimum block size in bytes (default: 0) - Set minimum block size in bytes (default: 0) + + Rescan the block chain for missing wallet transactions + - - Shrink debug.log file on client startup (default: 1 when no -debug) - Shrink debug.log file on client startup (default: 1 when no -debug) + + Rescanning... + - - Signing transaction failed - Signing transaction failed + + Run in the background as a daemon and accept commands + - - Specify connection timeout in milliseconds (default: 5000) - Specify connection timeout in milliseconds (default: 5000) + + SAM session created + - - System error: - System error: + + SAM session failed + - - Transaction amount too small - Transaction amount too small + + SAM session terminated + - - Transaction amounts must be positive - Transaction amounts must be positive + + Select the version of socks proxy to use (4-5, default: 5) + - - Transaction too large - Transaction too large + + Send command to -server or gostcoind + - - Use UPnP to map the listening port (default: 0) - Use UPnP to map the listening port (default: 0) + + Send commands to node running on <ip> (default: 127.0.0.1) + - - Use UPnP to map the listening port (default: 1 when listening) - Use UPnP to map the listening port (default: 1 when listening) + + Send trace/debug info to console instead of debug.log file + - - Use proxy to reach tor hidden services (default: same as -proxy) - Use proxy to reach tor hidden services (default: same as -proxy) + + Send trace/debug info to debugger + - - Username for JSON-RPC connections - Username for JSON-RPC connections + + Server certificate file (default: server.cert) + - - Warning - Warning + + Server private key (default: server.pem) + - - Warning: This version is obsolete, upgrade required! - Warning: This version is obsolete, upgrade required! + + Set database cache size in megabytes (default: 25) + - - You need to rebuild the databases using -reindex to change -txindex - You need to rebuild the databases using -reindex to change -txindex + + Set host where SAM bridge is listening (default: 127.0.0.1) + - - wallet.dat corrupt, salvage failed - wallet.dat corrupt, salvage failed + + Set I2P session name to <name> (default: Gostcoin-client) + - - Password for JSON-RPC connections - Password for JSON-RPC connections + + Set key pool size to <n> (default: 100) + - - Allow JSON-RPC connections from specified IP address - Allow JSON-RPC connections from specified IP address + + Set maximum block size in bytes (default: 250000) + - - Send commands to node running on <ip> (default: 127.0.0.1) - Send commands to node running on <ip> (default: 127.0.0.1) + + Set minimum block size in bytes (default: 0) + - - Execute command when the best block changes (%s in cmd is replaced by block hash) - Execute command when the best block changes (%s in cmd is replaced by block hash) + + Set port number where SAM bridge is listening (default: 7656) + - - Upgrade wallet to latest format - Upgrade wallet to latest format + + Set the number of threads to service RPC calls (default: 4) + - - Set key pool size to <n> (default: 100) - Set key pool size to <n> (default: 100) + + Shrink debug.log file on client startup (default: 1 when no -debug) + - - Rescan the block chain for missing wallet transactions - Rescan the block chain for missing wallet transactions + + Signing transaction failed + - - Use OpenSSL (https) for JSON-RPC connections - Use OpenSSL (https) for JSON-RPC connections + + Specify configuration file (default: gostcoin.conf) + - - Server certificate file (default: server.cert) - Server certificate file (default: server.cert) + + Specify connection timeout in milliseconds (default: 5000) + - - Server private key (default: server.pem) - Server private key (default: server.pem) + + Specify data directory + - - Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH) - Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH) + + Specify pid file (default: gostcoind.pid) + - - This help message - This help message + + Specify your own public address + - - Unable to bind to %s on this computer (bind returned error %d, %s) - Unable to bind to %s on this computer (bind returned error %d, %s) + + SSL options: (see the Gostcoin Wiki for SSL setup instructions) + - - Connect through socks proxy - Connect through socks proxy + + System error: + - - Allow DNS lookups for -addnode, -seednode and -connect - Allow DNS lookups for -addnode, -seednode and -connect + + Terminating SAM session... + - - Loading addresses... - Loading addresses... + + This help message + - - Error loading wallet.dat: Wallet corrupted - Error loading wallet.dat: Wallet corrupted + + Threshold for disconnecting misbehaving peers (default: 100) + - - Error loading wallet.dat: Wallet requires newer version of Gostcoin - Error loading wallet.dat: Wallet requires newer version of Gostcoin + + To use the %s option + - - Wallet needed to be rewritten: restart Gostcoin to complete - Wallet needed to be rewritten: restart Gostcoin to complete + + Transaction amount too small + - - Error loading wallet.dat - Error loading wallet.dat + + Transaction amounts must be positive + - - Invalid -proxy address: '%s' - Invalid -proxy address: '%s' + + Transaction too large + - - Unknown network specified in -onlynet: '%s' - Unknown network specified in -onlynet: '%s' + + Unable to bind to %s on this computer (bind returned error %d, %s) + - + Unknown -socks proxy version requested: %i - Unknown -socks proxy version requested: %i - - - - Cannot resolve -bind address: '%s' - Cannot resolve -bind address: '%s' + - - Cannot resolve -externalip address: '%s' - Cannot resolve -externalip address: '%s' + + Unknown network specified in -onlynet: '%s' + - - Invalid amount for -paytxfee=<amount>: '%s' - Invalid amount for -paytxfee=<amount>: '%s' + + Upgrade wallet to latest format + - - Invalid amount - Invalid amount + + Usage: + - - Insufficient funds - Insufficient funds + + Use OpenSSL (https) for JSON-RPC connections + - - Loading block index... - Loading block index... + + Use proxy to reach tor hidden services (default: same as -proxy) + - - Add a node to connect to and attempt to keep the connection open - Add a node to connect to and attempt to keep the connection open + + Use the test network + - - Unable to bind to %s on this computer. Gostcoin is probably already running. - Unable to bind to %s on this computer. Gostcoin is probably already running. + + Username for JSON-RPC connections + - - Fee per KB to add to transactions you send - Fee per KB to add to transactions you send + + Verifying blocks... + - - Loading wallet... - Loading wallet... + + Verifying wallet... + - - Cannot downgrade wallet - Cannot downgrade wallet + + Wallet needed to be rewritten: restart Gostcoin to complete + - - Cannot write default address - Cannot write default address + + wallet.dat corrupt, salvage failed + - - Rescanning... - Rescanning... + + Warning + - - Done loading - Done loading + + Warning: This version is obsolete, upgrade required! + - - To use the %s option - To use the %s option + + When creating transactions, ignore inputs with value less than this (default: 0.0001) + - - Error - Error + + You need to rebuild the database using -reindex to change -txindex + - - You must set rpcpassword=<password> in the configuration file: -%s -If the file does not exist, create it with owner-readable-only file permissions. - You must set rpcpassword=<password> in the configuration file: -%s -If the file does not exist, create it with owner-readable-only file permissions. + + Your full destination (public+private keys) (if it is not specified, the client will geneterate a random destination for you) + diff --git a/src/qt/locale/gostcoin_ru.ts b/src/qt/locale/gostcoin_ru.ts index a6f5970..edaeac4 100644 --- a/src/qt/locale/gostcoin_ru.ts +++ b/src/qt/locale/gostcoin_ru.ts @@ -1,6 +1,6 @@ - - - + + + AboutDialog @@ -17,46 +17,48 @@ <p>This is experimental software.</p> -<p>Distributed under the MIT/X11 software license, see the accompanying file COPYING or <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p> -<p>This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (<a href="http://www.openssl.org/">http://www.openssl.org/</a>) and cryptographic software written by Eric Young (eay@cryptsoft.com).</p> +<p>Distributed under the MIT/X11 software license, see the accompanying file COPYING or <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p> +<p>This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (<a href="http://www.openssl.org/">http://www.openssl.org/</a>) and cryptographic software written by Eric Young (eay@cryptsoft.com).</p> <p>Это экспериментальная программа.</p> -<p>Распространяется на правах лицензии MIT/X11, см. файл COPYING или <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p> -<p>Этот продукт включает ПО, разработанное OpenSSL Project для использования в OpenSSL Toolkit (<a href="http://www.openssl.org/">http://www.openssl.org/</a>) и криптографическое ПО, написанное Eric Young (eay@cryptsoft.com).</p> +<p>Распространяется на правах лицензии MIT/X11, см. файл COPYING или <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p> +<p>Этот продукт включает ПО, разработанное OpenSSL Project для использования в OpenSSL Toolkit (<a href="http://www.openssl.org/">http://www.openssl.org/</a>) и криптографическое ПО, написанное Eric Young (eay@cryptsoft.com).</p> - + + + + + Copyright Все права защищены - + The Bitcoin developers Разработчики Bitcoin - + The Litecoin developers Разработчики Litecoin - + The Anoncoin developers Разработчики Anoncoin - + The i2pd developers Разработчики I2Pd - + The Gostcoin developers Разработчики Gostcoin - - AddressBookPage @@ -198,8 +200,6 @@ [нет метки] - - AskPassphraseDialog @@ -279,11 +279,12 @@ + Wallet encrypted Бумажник зашифрован - + Gostcoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your gostcoins from being stolen by malware infecting your computer. Сейчас программа закроется для завершения процесса шифрования. Помните, что шифрование вашего бумажника не может полностью защитить ваши ГОСТкойны от кражи инфицированием вашего компьютера вредоносным ПО. @@ -293,7 +294,7 @@ ВАЖНО: все предыдущие резервные копии вашего кошелька должны быть заменены новым зашифрованным файлом. В целях безопасности предыдущие резервные копии нешифрованного кошелька станут бесполезны, как только вы начнёте использовать новый шифрованный кошелёк. - + @@ -340,12 +341,10 @@ Внимание: Caps Lock включен! - - BitcoinGUI - + Gostcoin ГОСТкойн @@ -426,7 +425,7 @@ Показать информацию о ГОСТкойн'е - + About &Qt О &Qt @@ -552,17 +551,17 @@ [тестовая сеть] - + Wallet is using I2P-network only Кошелек работает только в I2P - + Wallet is using mixed or non-I2P (clear) network Кошелек работает смешанном режиме, или без I2P - + Wallet is running with a random generated I2P-address Кошелек работает со случайно сгенерированным I2P адресом @@ -579,12 +578,20 @@ %n active connection(s) to Gostcoin network - %n активное соединение с сетью%n активных соединения с сетью%n активных соединений с сетью + + %n активное соединение с сетью + %n активных соединения с сетью + %n активных соединений с сетью + %n active connection(s) to I2P-Gostcoin network - %n активное соединение с I2P сетью%n активных соединения с I2P сетью%n активных соединений с I2P сетью + + %n активное соединение с I2P сетью + %n активных соединения с I2P сетью + %n активных соединений с I2P сетью + @@ -624,17 +631,29 @@ %n hour(s) - %n час%n часа%n часов + + %n час + %n часа + %n часов + %n day(s) - %n день%n дня%n дней + + %n день + %n дня + %n дней + %n week(s) - %n неделя%n недели%n недель + + %n неделя + %n недели + %n недель + @@ -727,7 +746,7 @@ Address: %4 Бумажник <b>зашифрован</b> и в настоящее время <b>заблокирован</b> - + A fatal error occurred. Gostcoin can no longer continue safely and will quit. Произошла неисправимая ошибка. ГОСТкойн не может безопасно продолжать работу и будет закрыт. @@ -741,25 +760,71 @@ Address: %4 Failed to load the stylesheet provided. Не удалось загрузить указанный файл стиля. + + + Do you run I2P on your computer? +If so, press yes to let Gostcoin configure it's connection to the I2P + Используете ли вы I2P на своем компьютере? +Если это так, то нажмите "Да" чтобы ГОСТкойн сконфигурировал подключение через I2P + + + + Gostcoin Wizard - Step #1 + Конфигурирование ГОСТкойн - шаг #1 + + + + Do you want to install I2P, and continue I2P setup? +If you select yes Gostcoin will quit, so you can continue the wizard after installing I2P. +If you select no, Gostcoin will write a default clearnet (regular internet) config file for you. (unsafe mode) + + Вы хотите установить I2P и продолжить конфигурирование I2P? +Если вы выберете "Да", ГОСТкойн будет закрыт, и вы сможете продолжить настройку после установки I2P. +Если вы выберете "Нет", ГОСТкойн запишет стандатную конфигурацию работающую через интернет. (не безопасно) + + + + + Gostcoin Wizard - Step #2 + Конфигурирование ГОСТкойн - шаг #2 + + + + Shared + Смешанный + + + + I2P only + Только I2P + + + + Ok, last question! +Do you want to run shared (which means you work as a bridge between the I2P and internet) or only I2P? + Хорошо, последний вопрос! +Хотите ли вы запустить кошелек в смешанном (значит что вы будете работать в режиме моста между I2P и интернетом) или только-I2P режиме? + + + + Thanks! That was all. Enjoy your wallet :) + Спасибо, это всё. Наслаждайтесь вашим кошельком :) + - - ClientModel - + Network Alert Сетевое оповещение - - CoinControlDialog - Coin Control Address Selection - Выбор адреса контроля монет + Coin Control + Контроль монет @@ -922,13 +987,61 @@ Address: %4 highest самый высокий + + + DUST + ПЫЛЬ + + + + This label turns red, if the transaction size is bigger than 10000 bytes. + +This means a fee of at least %1 per kb is required. + +Can vary +/- 1 Byte per input. + Эта пометка становится красной, если размер транзакции больше 10000 байт. + +Это значит, что требуется комиссия как минимум %1 на КБ. + +Может отличаться на +/- 1 байт на вход. + - higher - выше + Transactions with higher priority get more likely into a block. + +This label turns red, if the priority is smaller than "medium". + +This means a fee of at least %1 per kb is required. + Транзакции с более высоким приоритетом будут вероятнее других включены в блок. + +Эта пометка становится красной, если приоритет ниже, чем "средний". + +Это значит, что требуется комиссия как минимум %1 на КБ. + This label turns red, if any recipient receives an amount smaller than %1. + +This means a fee of at least %2 is required. + +Amounts below 0.546 times the minimum relay fee are shown as DUST. + Эта пометка становится красной, если какой-либо из адресатов получает сумму менее %1. + +Это значит, что требуется комиссия как минимум %2. + +Суммы ниже, чем 0.546 минимальных комиссий ретрансляции, показаны как пыль. + + + + This label turns red, if the change is smaller than %1. + +This means a fee of at least %2 is required. + Эта пометка становится красной, если сдача меньше %1. + +Это значит, что требуется комиссия как минимум %2. + + + high высокий @@ -955,7 +1068,7 @@ Address: %4 lower - ниже + наинизший @@ -963,47 +1076,24 @@ Address: %4 самый низкий - + + (%1 locked) (%1 заблокировано) - - Dust - Пыль - - - + yes да - + + no нет - - This label turns red, if the transaction size is bigger than 10000 bytes.\n\nThis means a fee of at least %1 per kb is required.\n\nCan vary +/- 1 Byte per input. - Эта пометка становится красной, если размер транзакции больше 1000 байт.\n\nЭто значит, что требуется комиссия как минимум %1 на КБ.Может отличаться на +/- 1 байт на вход. - - - - Transactions with higher priority get more likely into a block.\n\nThis label turns red, if the priority is smaller than \"medium\".\n\nThis means a fee of at least %1 per kb is required. - Транзакции с более высоким приоритетом будут вероятнее других включены в блок.\n\nЭта пометка становится красной, если приоритет ниже, чем "средний".\n\nЭто значит, что требуется комиссия как минимум %1 на КБ. - - - - This label turns red, if any recipient receives an amount smaller than %1.\n\nThis means a fee of at least %2 is required. \n\nAmounts below 0.546 times the minimum relay fee are shown as DUST. - Эта пометка становится красной, если какой-либо из адресатов получает сумму менее %1.\n\nЭто значит, что требуется комиссия как минимум %2.\n\nСуммы ниже, чем 0.546 минимальных комиссий ретрансляции, показаны как пыль. - - - - This label turns red, if the change is smaller than %1.\n\nThis means a fee of at least %2 is required. - Эта пометка становится красной, если сдача меньше %1.\n\nЭто значит, что требуется комиссия как минимум %2. - - - + (no label) [нет метки] @@ -1019,8 +1109,6 @@ Address: %4 (размен) - - EditAddressDialog @@ -1089,8 +1177,6 @@ Address: %4 Генерация нового ключа не удалась. - - GUIUtil::HelpMessageBox @@ -1135,8 +1221,6 @@ Address: %4 Показывать сплэш при запуске (по умолчанию: 1) - - OptionsDialog @@ -1145,7 +1229,7 @@ Address: %4 Настройки - + &Main &Главная @@ -1275,7 +1359,7 @@ Address: %4 Здесь можно выбрать язык интерфейса. Настройки вступят в силу после перезапуска ГОСТкойн. - + &Unit to show amounts in: &Отображать суммы в единицах: @@ -1450,59 +1534,6 @@ Address: %4 Адрес прокси неверен. - - - - ShowI2PAddresses - - - Dialog - Диалог - - - - If you want to use a permanent I2P-address you have to set a 'mydestination' option in the configuration file: - Если вы хотите использовать постоянный I2P адрес, добавьте параметр 'mydestination' в конфигурационный файл: - - - - Ready to save parameter (If you want to use this address save this text in the configuration file and keep it secret): - Сохраните этот параметр (если вы хотите использовать данный адрес, сохраните этот текст в конфигурационный файл и держите его в сектрете): - - - - Address (you can publish it): - Адрес (вы можете публиковать его): - - - - Short base32-address: - Короткий base32 адрес: - - - - Copy "mydestination" parameter -to the clipboard - Скопировать параметр "mydestination" -в буфер обмена - - - - Copy public address -to the clipboard - Скопировать публичный адрес -в буфер обмена - - - - Copy b32-address -to the clipboard - Скопировать b32 адрес -в буфер обмена - - - - OverviewPage @@ -1537,7 +1568,7 @@ to the clipboard Не подтверждено: - + Total of transactions that have yet to be confirmed, and do not yet count toward the current balance Общая сумма всех транзакций, которые до сих пор не подтверждены, и до сих пор не учитываются в текущем балансе @@ -1563,18 +1594,14 @@ to the clipboard не синхронизировано - - PaymentServer - + Cannot start gostcoin: click-to-pay handler Не удаётся запустить gostcoin: обработчик click-to-pay - - QRCodeDialog @@ -1633,8 +1660,6 @@ to the clipboard PNG Изображения (*.png) - - RPCConsole @@ -1660,7 +1685,7 @@ to the clipboard - + @@ -1672,7 +1697,7 @@ to the clipboard Н/Д - + Client version Версия клиента @@ -1686,7 +1711,7 @@ to the clipboard Build date Дата сборки - + Startup time Время запуска @@ -1726,17 +1751,17 @@ to the clipboard Last block time Время последнего блока - + Debug log file Отладочный лог-файл - + Open the Gostcoin debug log file from the current data directory. This can take a few seconds for large log files. Открыть отладочный лог-файл ГОСТкойн из текущего каталога данных. Это может занять несколько секунд для больших лог-файлов. - + &Open &Открыть @@ -1782,8 +1807,6 @@ to the clipboard Напишите <b>help</b> для просмотра доступных команд. - - SendCoinsDialog @@ -1798,7 +1821,6 @@ to the clipboard Send Coins Отправка - Coin Control Features @@ -1840,7 +1862,12 @@ to the clipboard Приоритет: - + + medium + средний + + + Fee: Комиссия: @@ -1850,7 +1877,12 @@ to the clipboard Малый выход: - + + no + нет + + + After Fee: После комиссии: @@ -1905,12 +1937,12 @@ to the clipboard &Отправить - + Enter a Gostcoin address (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) Введите адрес Gostcoin (напр. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) - + Copy quantity Копировать количество @@ -1950,12 +1982,13 @@ to the clipboard Копировать размен - + + <b>%1</b> to %2 (%3) <b>%1</b> адресату %2 (%3) - + Confirm send coins Подтвердите отправку монет @@ -2020,8 +2053,6 @@ to the clipboard Внимание: неизвестный адрес для сдачи - - SendCoinsEntry @@ -2076,8 +2107,55 @@ to the clipboard Введите ГОСТкойн-адрес (например GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) - - + + ShowI2PAddresses + + + Dialog + Диалог + + + + If you want to use a permanent I2P-address you have to set a 'mydestination' option in the configuration file: + Если вы хотите использовать постоянный I2P адрес, добавьте параметр 'mydestination' в конфигурационный файл: + + + + Ready to save parameter (If you want to use this address save this text in the configuration file and keep it secret): + Сохраните этот параметр (если вы хотите использовать данный адрес, сохраните этот текст в конфигурационный файл и держите его в сектрете): + + + + Address (you can publish it): + Адрес (вы можете публиковать его): + + + + Short base32-address: + Короткий base32 адрес: + + + + Copy "mydestination" parameter +to the clipboard + Скопировать параметр "mydestination" +в буфер обмена + + + + Copy public address +to the clipboard + Скопировать публичный адрес +в буфер обмена + + + + Copy b32-address +to the clipboard + Скопировать b32 адрес +в буфер обмена + + SignVerifyMessageDialog @@ -2098,7 +2176,7 @@ to the clipboard The address to sign the message with (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) - Адрес, которым вы хотите подписать сообщение (напр. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) + Адрес, которым вы хотите подписать сообщение (напр. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG) @@ -2107,7 +2185,7 @@ to the clipboard Выберите адрес из адресной книги - + Paste address from clipboard Вставить адрес из буфера обмена @@ -2260,12 +2338,10 @@ to the clipboard Сообщение проверено. - - SplashScreen - + Version %1 Версия %1 @@ -2295,14 +2371,16 @@ to the clipboard Разработчики Gostcoin - - TransactionDesc Open for %n more block(s) - Открыто для ещё %n блокаОткрыто для ещё %n блоковОткрыто для ещё %n блоков + + Открыто для ещё %n блока + Открыто для ещё %n блоков + Открыто для ещё %n блоков + @@ -2337,7 +2415,11 @@ to the clipboard , broadcast through %n node(s) - , разослано через %n узел, разослано через %n узла, разослано через %n узлов + + , разослано через %n узел + , разослано через %n узла + , разослано через %n узлов + @@ -2395,7 +2477,11 @@ to the clipboard matures in %n more block(s) - будет доступно через %n блокбудет доступно через %n блокабудет доступно через %n блоков + + будет доступно через %n блок + будет доступно через %n блока + будет доступно через %n блоков + @@ -2471,8 +2557,6 @@ to the clipboard ложь - - TransactionDescDialog @@ -2486,8 +2570,6 @@ to the clipboard Данный диалог показывает детализированную статистику по выбранной транзакции - - TransactionTableModel @@ -2513,7 +2595,11 @@ to the clipboard Open for %n more block(s) - Открыто для ещё %n блокаОткрыто для ещё %n блоковОткрыто для ещё %n блоков + + Открыто для ещё %n блока + Открыто для ещё %n блоков + Открыто для ещё %n блоков + @@ -2523,7 +2609,11 @@ to the clipboard Offline (%n confirmations) - Оффлайн (%n подтверждение)Оффлайн (%n подтверждения)Оффлайн (%n подтверждений) + + Оффлайн (%n подтверждение) + Оффлайн (%n подтверждения) + Оффлайн (%n подтверждений) + @@ -2533,12 +2623,20 @@ to the clipboard Confirmed (%n confirmations) - Подтверждено (%n подтверждение)Подтверждено (%n подтверждения)Подтверждено (%n подтверждений) + + Подтверждено (%n подтверждение) + Подтверждено (%n подтверждения) + Подтверждено (%n подтверждений) + Mined balance will be available when it matures in %n more block(s) - Добытыми монетами можно будет воспользоваться через %n блокДобытыми монетами можно будет воспользоваться через %n блокаДобытыми монетами можно будет воспользоваться через %n блоков + + Добытыми монетами можно будет воспользоваться через %n блок + Добытыми монетами можно будет воспользоваться через %n блока + Добытыми монетами можно будет воспользоваться через %n блоков + @@ -2606,8 +2704,6 @@ to the clipboard Сумма, добавленная, или снятая с баланса. - - TransactionView @@ -2712,7 +2808,7 @@ to the clipboard Показать подробности транзакции - + Export Transaction Data Экспортировать данные транзакций @@ -2777,22 +2873,26 @@ to the clipboard до - - + + WalletFrame + + + No wallet has been loaded. + Кошелек не был загружен. + + WalletModel - + Send Coins Отправка - - WalletView - + &Export &Экспорт @@ -2832,8 +2932,6 @@ to the clipboard Данные бумажника успешно сохранены в новое место. - - bitcoin-core @@ -3083,7 +3181,7 @@ If the file does not exist, create it with owner-readable-only file permissions. Enable I2P-only mode - Включить режим работы "только в I2P" + Включить режим работы "только в I2P" @@ -3642,7 +3740,7 @@ If the file does not exist, create it with owner-readable-only file permissions. - You need to rebuild the databases using -reindex to change -txindex + You need to rebuild the database using -reindex to change -txindex Вам необходимо пересобрать базы данных с помощью -reindex, чтобы изменить -txindex diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index 6f5aa7d..cbb1f44 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 6ced74b..1b20af1 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -32,7 +32,7 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent) : #endif #if QT_VERSION >= 0x040700 /* Do not move this to the XML file, Qt before 4.7 will choke on it */ - ui->lineEditCoinControlChange->setPlaceholderText(tr("Enter a Gostcoin address (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG")); + ui->lineEditCoinControlChange->setPlaceholderText(tr("Enter a Gostcoin address (e.g. GbD2JSQHBHCKLa9WTHmigJRpyFgmBj4woG)")); #endif addEntry(); diff --git a/src/qt/setupdarknet.cpp b/src/qt/setupdarknet.cpp index 2546c5c..3df7812 100644 --- a/src/qt/setupdarknet.cpp +++ b/src/qt/setupdarknet.cpp @@ -1,5 +1,5 @@ // Copyright 2013 The Anoncoin Developers -// Copyright 2017 The Gostcoin Developers +// Copyright 2017-2018 The Gostcoin Developers #include #include diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index d0ab46c..cb906f9 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -1,9 +1,11 @@ -/* - * Qt4 bitcoin GUI. - * - * W.J. van der Laan 2011-2012 - * The Bitcoin Developers 2011-2013 - */ +// Qt bitcoin GUI. +// +// Copyright (c) 2011-2012 W.J. van der Laan +// Copyright (c) 2011-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include "walletframe.h" #include "bitcoingui.h" #include "walletstack.h" diff --git a/src/qt/walletframe.h b/src/qt/walletframe.h index 40d17df..a5f4064 100644 --- a/src/qt/walletframe.h +++ b/src/qt/walletframe.h @@ -1,9 +1,11 @@ -/* - * Qt4 bitcoin GUI. - * - * W.J. van der Laan 2011-2012 - * The Bitcoin Developers 2011-2013 - */ +// Qt bitcoin GUI. +// +// Copyright (c) 2011-2012 W.J. van der Laan +// Copyright (c) 2011-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef WALLETFRAME_H #define WALLETFRAME_H diff --git a/src/qt/walletstack.cpp b/src/qt/walletstack.cpp index 9e3060e..3b9a669 100644 --- a/src/qt/walletstack.cpp +++ b/src/qt/walletstack.cpp @@ -1,9 +1,11 @@ -/* - * Qt4 bitcoin GUI. - * - * W.J. van der Laan 2011-2012 - * The Bitcoin Developers 2011-2013 - */ +// Qt bitcoin GUI. +// +// Copyright (c) 2011-2012 W.J. van der Laan +// Copyright (c) 2011-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include "walletstack.h" #include "walletview.h" #include "bitcoingui.h" diff --git a/src/qt/walletstack.h b/src/qt/walletstack.h index 506d595..dce760a 100644 --- a/src/qt/walletstack.h +++ b/src/qt/walletstack.h @@ -1,9 +1,11 @@ -/* - * Qt4 bitcoin GUI. - * - * W.J. van der Laan 2011-2012 - * The Bitcoin Developers 2011-2013 - */ +// Qt bitcoin GUI. +// +// Copyright (c) 2011-2012 W.J. van der Laan +// Copyright (c) 2011-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef WALLETSTACK_H #define WALLETSTACK_H diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp index adaa1c6..87a1a4b 100644 --- a/src/qt/walletview.cpp +++ b/src/qt/walletview.cpp @@ -1,9 +1,11 @@ -/* - * Qt4 bitcoin GUI. - * - * W.J. van der Laan 2011-2012 - * The Bitcoin Developers 2011-2013 - */ +// Qt bitcoin GUI. +// +// Copyright (c) 2011-2012 W.J. van der Laan +// Copyright (c) 2011-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include "walletview.h" #include "bitcoingui.h" #include "transactiontablemodel.h" diff --git a/src/qt/walletview.h b/src/qt/walletview.h index eb30152..5ee25e9 100644 --- a/src/qt/walletview.h +++ b/src/qt/walletview.h @@ -1,9 +1,11 @@ -/* - * Qt4 bitcoin GUI. - * - * W.J. van der Laan 2011-2012 - * The Bitcoin Developers 2011-2013 - */ +// Qt bitcoin GUI. +// +// Copyright (c) 2011-2012 W.J. van der Laan +// Copyright (c) 2011-2012 The Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef WALLETVIEW_H #define WALLETVIEW_H diff --git a/src/rpcdump.cpp b/src/rpcdump.cpp index 89c1ecd..fde7e39 100644 --- a/src/rpcdump.cpp +++ b/src/rpcdump.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2009-2012 Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 034046b..40d0cfa 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index 97b7b01..be2d0a9 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2009-2012 Bitcoin Developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 7791b5e..cfb470d 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 6ada37c..e78180c 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script.cpp b/src/script.cpp index 2201cd7..61b4036 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/script.h b/src/script.h index 2b0cf2a..40929a3 100644 --- a/src/script.h +++ b/src/script.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef H_BITCOIN_SCRIPT diff --git a/src/uint256.h b/src/uint256.h index 5b420cc..e26af08 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_UINT256_H diff --git a/src/util.cpp b/src/util.cpp index 17ffa83..202e72b 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -143,13 +144,6 @@ public: } instance_of_cinit; - - - - - - - void RandAddSeed() { // Seed with CPU performance counter @@ -212,12 +206,6 @@ uint256 GetRandHash() return hash; } - - - - - - // // OutputDebugStringF (aka printf -- there is a #define that we really // should get rid of one day) has been broken a couple of times now @@ -398,7 +386,6 @@ void ParseString(const string& str, char c, vector& v) } } - string FormatMoney(int64 n, bool fPlus) { // Note: not using straight sprintf here because we do NOT want @@ -422,7 +409,6 @@ string FormatMoney(int64 n, bool fPlus) return str; } - bool ParseMoney(const string& str, int64& nRet) { return ParseMoney(str.c_str(), nRet); @@ -468,7 +454,6 @@ bool ParseMoney(const char* pszIn, int64& nRet) return true; } - static const signed char phexdigit[256] = { -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, @@ -624,7 +609,6 @@ bool SoftSetBoolArg(const std::string& strArg, bool fValue) return SoftSetArg(strArg, std::string("0")); } - string EncodeBase64(const unsigned char* pch, size_t len) { static const char *pbase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; @@ -952,7 +936,6 @@ string DecodeBase32(const string& str) return string((const char*)&vchRet[0], vchRet.size()); } - bool WildcardMatch(const char* psz, const char* mask) { loop @@ -982,7 +965,6 @@ bool WildcardMatch(const string& str, const string& mask) return WildcardMatch(str.c_str(), mask.c_str()); } - // Anoncoin // Write config file @@ -1022,12 +1004,6 @@ bool writeFirstConfig(bool i2pOnlyEnabled, bool i2pEnabled) return writeConfig(GetConfigFile().string().c_str(), pt); } - - - - - - static std::string FormatException(std::exception* pex, const char* pszThread) { #ifdef WIN32 @@ -1259,7 +1235,6 @@ bool TruncateFile(FILE *file, unsigned int length) { #endif } - // this function tries to raise the file descriptor limit to the requested number. // It returns the actual file descriptor limit (which may be more or less than nMinFD) int RaiseFileDescriptorLimit(int nMinFD) { @@ -1347,16 +1322,9 @@ void ShrinkDebugFile() } } else if(file != NULL) - fclose(file); + fclose(file); } - - - - - - - // // "Never go to sea with two chronometers; take one or three." // Our three time sources are: diff --git a/src/util.h b/src/util.h index c534095..8385b25 100644 --- a/src/util.h +++ b/src/util.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_UTIL_H diff --git a/src/version.cpp b/src/version.cpp index 12ce2d0..812cee2 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -1,4 +1,5 @@ // Copyright (c) 2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/wallet.cpp b/src/wallet.cpp index 5f1c0ef..e9a214d 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet.h b/src/wallet.h index cd1fb34..83e587e 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_WALLET_H diff --git a/src/walletdb.cpp b/src/walletdb.cpp index 8bba65e..1dce489 100644 --- a/src/walletdb.cpp +++ b/src/walletdb.cpp @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/walletdb.h b/src/walletdb.h index 8ae6c3f..23e7c56 100644 --- a/src/walletdb.h +++ b/src/walletdb.h @@ -1,5 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2017-2018 The Gostcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_WALLETDB_H