Merge pull request #433 from dogecoin/develop

Merge develop into master
This commit is contained in:
langerhans 2014-04-08 22:14:46 +02:00
commit a7efb99c87
18 changed files with 197 additions and 220 deletions

View file

@ -1,61 +1,63 @@
# Dogecoin [DOGE, Ð] Integration/Staging Tree
http://dogecoin.com/
# Dogecoin [DOGE, Ð]
dogecoin is an open source peer-to-peer cryptocurrency, favored by Shiba Inus worldwide.
![DogeCoin](http://static.tumblr.com/ppdj5y9/Ae9mxmxtp/300coin.png)
## What is DogeCoin? - Such coin
## Such coin (What is DogeCoin?)
Dogecoin is like Bitcoin, but based on Litecoin, and also much more wow.
http://dogecoin.com/
## License - Much license
## Much license (License)
DogeCoin is released under the terms of the MIT license. See [COPYING](COPYING)
for more information or see http://opensource.org/licenses/MIT.
## Development and contributions - omg developers
## Omg developers (Development and contributions)
Developers work in their own trees, then submit pull requests when they think
their feature or bug fix is ready.
## Very Much Frequently Asked Questions
## Very Much Asked Questions (FAQ)
### How much doge can exist?
### How much coin? (Release of new DogeCoins)
Early 2015 (approximately a year and a half after release) there will be approximately 100,000,000,000 coins.
Each subsequent block will grant 10,000 coins to encourage miners to continue to secure the network and make up for lost wallets on hard drives/phones/lost encryption passwords/etc.
For the block schedule, see http://en.wikipedia.org/wiki/Dogecoin#Block_schedule
### How get doge?
### How get many doge? (How to mine)
Scrypt Proof of Work
1 Minute Block Targets, 4 Hour Diff Readjustments
Special reward system: Random block rewards before block 145,000. Static block reward of 250,00 afterwards.
Special reward system: Random block rewards before block 145,000. Static block reward afterwards according to chart:
1-100,000: 0-1,000,000 Dogecoin Reward
1-100,000: 0-1,000,000 Dogecoin Reward (random)
100,001 — 200,000: 0-500,000 Dogecoin Reward
100,001 —144,999: 0-500,000 Dogecoin Reward (random)
200,001 — 300,000: 0-250,000 Dogecoin Reward
145,000 — 200,000: 250,000 Dogecoin Reward (flat)
300,001 — 400,000: 0-125,000 Dogecoin Reward
200,001 — 300,000: 125,000 Dogecoin Reward (flat)
400,001 — 500,000: 0-62,500 Dogecoin Reward
300,001 — 400,000: 62,500 Dogecoin Reward (flat)
500,001 - 600,000: 0-31,250 Dogecoin Reward
400,001 - 500,000: 31,250 Dogecoin Reward (flat)
600,000+ — 10,000 Reward (flat)
500,001 - 600,000: 15,625 Dogecoin Reward (flat)
### Wow plz make dogecoind
600,001+ — 10,000 Reward (flat)
sudo apt-get install build-essential \
libssl-dev \
libdb5.1++-dev \
libboost-all-dev \
libqrencode-dev \
libminiupnpc-dev
### Wow - Plz make dogecoind (How to build `dogecoind`)
```bash
sudo apt-get install build-essential \
libssl-dev \
libdb5.1++-dev \
libboost-all-dev \
libqrencode-dev \
libminiupnpc-dev
cd src/
make -f makefile.unix USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1
### Such ports
cd src/
make -f makefile.unix USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1
```
### Such ports (Ports)
RPC 22555
P2P 22556

View file

@ -22,7 +22,7 @@ Dependencies
Libraries you need to download separately and build:
default path download
OpenSSL \openssl-1.0.1c-mgw http://www.openssl.org/source/
OpenSSL \openssl-1.0.1g-mgw http://www.openssl.org/source/
Berkeley DB \db-4.8.30.NC-mgw http://www.oracle.com/technology/software/products/berkeley-db/index.html
Boost \boost-1.50.0-mgw http://www.boost.org/users/download/
miniupnpc \miniupnpc-1.6-mgw http://miniupnp.tuxfamily.org/files/
@ -36,7 +36,7 @@ Their licenses:
Versions used in this release:
OpenSSL 1.0.1c
OpenSSL 1.0.1g
Berkeley DB 4.8.30.NC
Boost 1.50.0
miniupnpc 1.6
@ -49,7 +49,7 @@ MSYS shell:
un-tar sources with MSYS 'tar xfz' to avoid issue with symlinks (OpenSSL ticket 2377)
change 'MAKE' env. variable from 'C:\MinGW32\bin\mingw32-make.exe' to '/c/MinGW32/bin/mingw32-make.exe'
cd /c/openssl-1.0.1c-mgw
cd /c/openssl-1.0.1g-mgw
./config
make

View file

@ -102,7 +102,7 @@ Note: After you have installed the dependencies, you should check that the Brew
openssl version
into Terminal. You should see OpenSSL 1.0.1e 11 Feb 2013.
into Terminal. You should see OpenSSL 1.0.1g 7 Apr 2014.
If not, you can ensure that the Brew OpenSSL is correctly linked by running

View file

@ -46,7 +46,7 @@ Licenses of statically linked libraries:
- Versions used in this release:
- GCC 4.3.3
- OpenSSL 1.0.1c
- OpenSSL 1.0.1g
- Berkeley DB 4.8.30.NC
- Boost 1.37
- miniupnpc 1.6

View file

@ -34,7 +34,7 @@ Release Process
mkdir -p inputs; cd inputs/
wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.6.tar.gz' -O miniupnpc-1.6.tar.gz
wget 'http://www.openssl.org/source/openssl-1.0.1c.tar.gz'
wget 'http://www.openssl.org/source/openssl-1.0.1g.tar.gz'
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
wget 'http://zlib.net/zlib-1.2.6.tar.gz'
wget 'ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.9.tar.gz'

View file

@ -1,7 +1,7 @@
TEMPLATE = app
TARGET = dogecoin-qt
macx:TARGET = "Dogecoin-Qt"
VERSION = 1.6.0
VERSION = 1.6.1
INCLUDEPATH += src src/json src/qt
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

View file

@ -5,7 +5,7 @@ SetCompressor /SOLID lzma
# General Symbol Definitions
!define REGKEY "SOFTWARE\$(^Name)"
!define VERSION "1.6.0.0"
!define VERSION "1.6.1.0"
!define COMPANY "Dogecoin"
!define URL http://dogecoin.com

View file

@ -5,7 +5,7 @@ SetCompressor /SOLID lzma
# General Symbol Definitions
!define REGKEY "SOFTWARE\$(^Name)"
!define VERSION 1.6.0
!define VERSION 1.6.1
!define COMPANY "Dogecoin project"
!define URL http://www.dogecoin.com/

View file

@ -10,7 +10,7 @@
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 6
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_REVISION 1
#define CLIENT_VERSION_BUILD 0
// Set to true for release, false for prerelease or test build

View file

@ -14,9 +14,9 @@
</dict>
</array>
<key>CFBundleShortVersionString</key>
<string>1.6.0</string>
<string>1.6.1</string>
<key>CFBundleVersion</key>
<string>1.6.0</string>
<string>1.6.1</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>

View file

@ -145,10 +145,10 @@ void AddressBookPage::setModel(AddressTableModel *model)
// Set column widths
#if QT_VERSION < 0x050000
ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Label, QHeaderView::Stretch);
ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents);
ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Address, QHeaderView::Interactive);
#else
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Label, QHeaderView::Stretch);
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents);
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Label, QHeaderView::Interactive);
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Address, QHeaderView::Stretch);
#endif
connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),

View file

@ -5,12 +5,12 @@
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Dogecoin</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+39"/>
<source>&lt;b&gt;Dogecoin&lt;/b&gt; version</source>
<translation>&lt;b&gt;&lt;/b&gt;</translation>
<translation>&lt;b&gt;&lt;/b&gt;</translation>
</message>
<message>
<location line="+57"/>
@ -45,7 +45,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+0"/>
<source>2013-%1 The Dogecoin developers</source>
<translation>2013-%1 </translation>
<translation>2013-%1 </translation>
</message>
</context>
<context>
@ -53,37 +53,37 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>Address Book</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="+19"/>
<source>Double-click to edit address or label</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+27"/>
<source>Create a new address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+14"/>
<source>Copy the currently selected address to the system clipboard</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="-11"/>
<source>&amp;New Address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="../addressbookpage.cpp" line="+63"/>
<source>These are your Dogecoin 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.</source>
<translation>. , .</translation>
<translation>. , .</translation>
</message>
<message>
<location filename="../forms/addressbookpage.ui" line="+14"/>
<source>&amp;Copy Address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+11"/>
@ -93,7 +93,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+11"/>
<source>Sign a message to prove you own a Dogecoin address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+3"/>
@ -103,7 +103,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+25"/>
<source>Delete the currently selected address from the list</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+27"/>
@ -118,7 +118,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="-44"/>
<source>Verify a message to ensure it was signed with a specified Dogecoin address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+3"/>
@ -133,12 +133,12 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location filename="../addressbookpage.cpp" line="-5"/>
<source>These are your Dogecoin addresses for sending payments. Always check the amount and the receiving address before sending coins.</source>
<translation>. , .</translation>
<translation>. , .</translation>
</message>
<message>
<location line="+13"/>
<source>Copy &amp;Label</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
@ -153,7 +153,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+260"/>
<source>Export Address Book Data</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="+1"/>
@ -176,17 +176,17 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location filename="../addresstablemodel.cpp" line="+144"/>
<source>Label</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+36"/>
<source>(no label)</source>
<translation>()</translation>
<translation>()</translation>
</message>
</context>
<context>
@ -259,7 +259,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+1"/>
<source>Warning: If you encrypt your wallet and lose your passphrase, you will &lt;b&gt;LOSE ALL OF YOUR DOGECOINS&lt;/b&gt;!</source>
<translation>警告: 如果將錢包加密後忘記密碼, &lt;b&gt;&lt;/b&gt;!</translation>
<translation>警告: 如果將錢包加密後忘記密碼, &lt;b&gt;&lt;/b&gt;!</translation>
</message>
<message>
<location line="+0"/>
@ -286,7 +286,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="-56"/>
<source>Dogecoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your dogecoins from being stolen by malware infecting your computer.</source>
<translation>. , .</translation>
<translation>. , .</translation>
</message>
<message>
<location line="+13"/>
@ -365,12 +365,12 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+7"/>
<source>Edit the list of stored addresses and labels for sending</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="-14"/>
<source>Show the list of addresses for receiving payments</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+31"/>
@ -385,7 +385,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+4"/>
<source>Show information about Dogecoin</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+2"/>
@ -430,12 +430,12 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="-347"/>
<source>Send coins to a Dogecoin address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+49"/>
<source>Modify configuration options for Dogecoin</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+9"/>
@ -466,7 +466,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<location line="-165"/>
<location line="+530"/>
<source>Dogecoin</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="-530"/>
@ -486,12 +486,12 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+14"/>
<source>&amp;Addresses</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+22"/>
<source>&amp;About Dogecoin</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+9"/>
@ -511,12 +511,12 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+7"/>
<source>Sign messages with your Dogecoin addresses to prove you own them</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+2"/>
<source>Verify messages to ensure they were signed with specified Dogecoin addresses</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+28"/>
@ -547,12 +547,12 @@ This product includes software developed by the OpenSSL Project for use in the O
<message>
<location line="+47"/>
<source>Dogecoin client</source>
<translation></translation>
<translation></translation>
</message>
<message numerus="yes">
<location line="+141"/>
<source>%n active connection(s) to Dogecoin network</source>
<translation><numerusform> %n 使</numerusform></translation>
<translation><numerusform> %n 使</numerusform></translation>
</message>
<message>
<location line="+22"/>
@ -654,7 +654,7 @@ Address: %4
<translation>: %1
: %2
: %3
: %4</translation>
: %4</translation>
</message>
<message>
<location line="+33"/>
@ -666,7 +666,7 @@ Address: %4
<location line="-23"/>
<location line="+23"/>
<source>URI can not be parsed! This can be caused by an invalid Dogecoin address or malformed URI parameters.</source>
<translation> URI! URI .</translation>
<translation> URI! URI .</translation>
</message>
<message>
<location line="+17"/>
@ -681,7 +681,7 @@ Address: %4
<message>
<location filename="../bitcoin.cpp" line="+111"/>
<source>A fatal error occurred. Dogecoin can no longer continue safely and will quit.</source>
<translation>. , .</translation>
<translation>. , .</translation>
</message>
</context>
<context>
@ -697,57 +697,57 @@ Address: %4
<message>
<location filename="../forms/editaddressdialog.ui" line="+14"/>
<source>Edit Address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+11"/>
<source>&amp;Label</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+10"/>
<source>The label associated with this address book entry</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="+7"/>
<source>&amp;Address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+10"/>
<source>The address associated with this address book entry. This can only be modified for sending addresses.</source>
<translation>簿. .</translation>
<translation>簿. .</translation>
</message>
<message>
<location filename="../editaddressdialog.cpp" line="+21"/>
<source>New receiving address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+4"/>
<source>New sending address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+3"/>
<source>Edit receiving address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+4"/>
<source>Edit sending address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+76"/>
<source>The entered address &quot;%1&quot; is already in the address book.</source>
<translation>&quot;%1&quot;簿.</translation>
<translation>&quot;%1&quot;簿.</translation>
</message>
<message>
<location line="-5"/>
<source>The entered address &quot;%1&quot; is not a valid Dogecoin address.</source>
<translation> &quot;%1&quot; .</translation>
<translation> &quot;%1&quot; .</translation>
</message>
<message>
<location line="+10"/>
@ -766,7 +766,7 @@ Address: %4
<location filename="../guiutil.cpp" line="+424"/>
<location line="+12"/>
<source>Dogecoin-Qt</source>
<translation>-Qt</translation>
<translation>-Qt</translation>
</message>
<message>
<location line="-12"/>
@ -830,12 +830,12 @@ Address: %4
<message>
<location line="+31"/>
<source>Automatically start Dogecoin after logging in to the system.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="+3"/>
<source>&amp;Start Dogecoin on system login</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+35"/>
@ -865,7 +865,7 @@ Address: %4
<message>
<location line="+7"/>
<source>Connect to the Dogecoin network through a SOCKS proxy (e.g. when connecting through Tor).</source>
<translation> SOCKS ( Tor ).</translation>
<translation> SOCKS ( Tor ).</translation>
</message>
<message>
<location line="+3"/>
@ -875,12 +875,12 @@ Address: %4
<message>
<location line="+9"/>
<source>Proxy &amp;IP:</source>
<translation>:</translation>
<translation>:</translation>
</message>
<message>
<location line="+19"/>
<source>IP address of the proxy (e.g. 127.0.0.1)</source>
<translation> ( 127.0.0.1)</translation>
<translation> ( 127.0.0.1)</translation>
</message>
<message>
<location line="+7"/>
@ -940,7 +940,7 @@ Address: %4
<message>
<location line="+13"/>
<source>The user interface language can be set here. This setting will take effect after restarting Dogecoin.</source>
<translation>使. .</translation>
<translation>使. .</translation>
</message>
<message>
<location line="+11"/>
@ -955,17 +955,17 @@ Address: %4
<message>
<location line="+9"/>
<source>Whether to show Dogecoin addresses in the transaction list or not.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="+3"/>
<source>&amp;Display addresses in transaction list</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+71"/>
<source>&amp;OK</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+7"/>
@ -995,7 +995,7 @@ Address: %4
<message>
<location line="+0"/>
<source>Do you want to proceed?</source>
<translation>?</translation>
<translation>?</translation>
</message>
<message>
<location line="+42"/>
@ -1007,12 +1007,12 @@ Address: %4
<location line="-9"/>
<location line="+9"/>
<source>This setting will take effect after restarting Dogecoin.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="+29"/>
<source>The supplied proxy address is invalid.</source>
<translation></translation>
<translation></translation>
</message>
</context>
<context>
@ -1026,7 +1026,7 @@ Address: %4
<location line="+50"/>
<location line="+166"/>
<source>The displayed information may be out of date. Your wallet automatically synchronizes with the Dogecoin network after a connection is established, but this process has not completed yet.</source>
<translation>. , , .</translation>
<translation>. , , .</translation>
</message>
<message>
<location line="-124"/>
@ -1103,7 +1103,7 @@ Address: %4
<message>
<location line="-44"/>
<source>Label:</source>
<translation>:</translation>
<translation>:</translation>
</message>
<message>
<location line="+19"/>
@ -1230,7 +1230,7 @@ Address: %4
<message>
<location line="+7"/>
<source>Show the Dogecoin-Qt help message to get a list with possible Dogecoin command-line options.</source>
<translation>-Qt的求助訊息, .</translation>
<translation>-Qt的求助訊息, .</translation>
</message>
<message>
<location line="+3"/>
@ -1250,12 +1250,12 @@ Address: %4
<message>
<location line="-104"/>
<source>Dogecoin - Debug window</source>
<translation> - </translation>
<translation> - </translation>
</message>
<message>
<location line="+25"/>
<source>Dogecoin Core</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+279"/>
@ -1265,7 +1265,7 @@ Address: %4
<message>
<location line="+7"/>
<source>Open the Dogecoin debug log file from the current data directory. This can take a few seconds for large log files.</source>
<translation>. .</translation>
<translation>. .</translation>
</message>
<message>
<location line="+102"/>
@ -1275,7 +1275,7 @@ Address: %4
<message>
<location filename="../rpcconsole.cpp" line="-30"/>
<source>Welcome to the Dogecoin RPC console.</source>
<translation>使 RPC .</translation>
<translation>使 RPC .</translation>
</message>
<message>
<location line="+1"/>
@ -1365,7 +1365,7 @@ Address: %4
<message>
<location line="+23"/>
<source>The recipient address is not valid, please recheck.</source>
<translation>, .</translation>
<translation>, .</translation>
</message>
<message>
<location line="+5"/>
@ -1385,7 +1385,7 @@ Address: %4
<message>
<location line="+6"/>
<source>Duplicate address found, can only send to each address once per send operation.</source>
<translation>. , .</translation>
<translation>. , .</translation>
</message>
<message>
<location line="+5"/>
@ -1418,23 +1418,23 @@ Address: %4
<message>
<location line="+34"/>
<source>The address to send the payment to (e.g. DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</source>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
</message>
<message>
<location line="+60"/>
<location filename="../sendcoinsentry.cpp" line="+26"/>
<source>Enter a label for this address to add it to your address book</source>
<translation>, 簿</translation>
<translation>, 簿</translation>
</message>
<message>
<location line="-78"/>
<source>&amp;Label:</source>
<translation>:</translation>
<translation>:</translation>
</message>
<message>
<location line="+28"/>
<source>Choose address from address book</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="+10"/>
@ -1444,7 +1444,7 @@ Address: %4
<message>
<location line="+7"/>
<source>Paste address from clipboard</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="+10"/>
@ -1459,7 +1459,7 @@ Address: %4
<message>
<location filename="../sendcoinsentry.cpp" line="+1"/>
<source>Enter a Dogecoin address (e.g. DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</source>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
</message>
</context>
<context>
@ -1477,18 +1477,18 @@ Address: %4
<message>
<location line="+6"/>
<source>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.</source>
<translation>, . , , . .</translation>
<translation>, . , , . .</translation>
</message>
<message>
<location line="+18"/>
<source>The address to sign the message with (e.g. DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</source>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
</message>
<message>
<location line="+10"/>
<location line="+213"/>
<source>Choose an address from the address book</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="-203"/>
@ -1499,7 +1499,7 @@ Address: %4
<message>
<location line="-203"/>
<source>Paste address from clipboard</source>
<translation>簿</translation>
<translation>簿</translation>
</message>
<message>
<location line="+10"/>
@ -1524,7 +1524,7 @@ Address: %4
<message>
<location line="+21"/>
<source>Sign the message to prove you own this Dogecoin address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+3"/>
@ -1550,17 +1550,17 @@ Address: %4
<message>
<location line="+6"/>
<source>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.</source>
<translation>, (, , ), , . , , , &quot;&quot;.</translation>
<translation>, (, , ), , . , , , &quot;&quot;.</translation>
</message>
<message>
<location line="+21"/>
<source>The address the message was signed with (e.g. DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</source>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
</message>
<message>
<location line="+40"/>
<source>Verify the message to ensure it was signed with the specified Dogecoin address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+3"/>
@ -1576,7 +1576,7 @@ Address: %4
<location filename="../signverifymessagedialog.cpp" line="+27"/>
<location line="+3"/>
<source>Enter a Dogecoin address (e.g. DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</source>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
<translation> ( DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM)</translation>
</message>
<message>
<location line="-2"/>
@ -1586,13 +1586,13 @@ Address: %4
<message>
<location line="+3"/>
<source>Enter Dogecoin signature</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+82"/>
<location line="+81"/>
<source>The entered address is invalid.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="-81"/>
@ -1600,13 +1600,13 @@ Address: %4
<location line="+73"/>
<location line="+8"/>
<source>Please check the address and try again.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="-81"/>
<location line="+81"/>
<source>The entered address does not refer to a key.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="-73"/>
@ -1616,7 +1616,7 @@ Address: %4
<message>
<location line="+8"/>
<source>Private key for the entered address is not available.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="+12"/>
@ -1660,7 +1660,7 @@ Address: %4
<message>
<location filename="../splashscreen.cpp" line="+22"/>
<source>The Dogecoin developers</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
@ -1732,7 +1732,7 @@ Address: %4
<location line="-77"/>
<location line="+2"/>
<source>own address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="-2"/>
@ -1870,7 +1870,7 @@ Address: %4
<message>
<location line="+0"/>
<source>Address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+0"/>
@ -1965,7 +1965,7 @@ Address: %4
<message>
<location line="+2"/>
<source>Destination address of transaction.</source>
<translation>.</translation>
<translation>.</translation>
</message>
<message>
<location line="+2"/>
@ -2039,7 +2039,7 @@ Address: %4
<message>
<location line="+7"/>
<source>Enter address or label to search</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+7"/>
@ -2049,12 +2049,12 @@ Address: %4
<message>
<location line="+34"/>
<source>Copy address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
@ -2069,7 +2069,7 @@ Address: %4
<message>
<location line="+1"/>
<source>Edit label</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
@ -2104,12 +2104,12 @@ Address: %4
<message>
<location line="+1"/>
<source>Label</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
@ -2198,7 +2198,7 @@ Address: %4
<message>
<location filename="../bitcoinstrings.cpp" line="+94"/>
<source>Dogecoin version</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+102"/>
@ -2265,12 +2265,12 @@ Address: %4
<message>
<location line="-48"/>
<source>Connect to a node to retrieve peer addresses, and disconnect</source>
<translation>, </translation>
<translation>, </translation>
</message>
<message>
<location line="+82"/>
<source>Specify your own public address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+3"/>
@ -2348,12 +2348,12 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+3"/>
<source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source>
<translation>, . IPv6 &quot;[]:&quot; </translation>
<translation>, . IPv6 &quot;[]:&quot; </translation>
</message>
<message>
<location line="+3"/>
<source>Cannot obtain a lock on data directory %s. Dogecoin is probably already running.</source>
<translation> %s. .</translation>
<translation> %s. .</translation>
</message>
<message>
<location line="+3"/>
@ -2398,12 +2398,12 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+3"/>
<source>Warning: Please check that your computer&apos;s date and time are correct! If your clock is wrong Dogecoin will not work properly.</source>
<translation>警告: 請檢查電腦時間與日期是否正確! .</translation>
<translation>警告: 請檢查電腦時間與日期是否正確! .</translation>
</message>
<message>
<location line="+3"/>
<source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source>
<translation>警告: 讀取錢包檔 wallet.dat ! , 簿.</translation>
<translation>警告: 讀取錢包檔 wallet.dat ! , 簿.</translation>
</message>
<message>
<location line="+3"/>
@ -2433,7 +2433,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+1"/>
<source>Discover own IP address (default: 1 when listening and no -externalip)</source>
<translation> (預設: 當有聽候連線且沒有 -externalip 1)</translation>
<translation> (預設: 當有聽候連線且沒有 -externalip 1)</translation>
</message>
<message>
<location line="+1"/>
@ -2518,7 +2518,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+1"/>
<source>Failed to write to coin database</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+1"/>
@ -2538,7 +2538,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+1"/>
<source>Generate coins (default: 0)</source>
<translation> (預設值: 0)</translation>
<translation> (預設值: 0)</translation>
</message>
<message>
<location line="+2"/>
@ -2593,7 +2593,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+3"/>
<source>Invalid -tor address: &apos;%s&apos;</source>
<translation> -tor : &apos;%s&apos;</translation>
<translation> -tor : &apos;%s&apos;</translation>
</message>
<message>
<location line="+1"/>
@ -2758,7 +2758,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="-67"/>
<source>Allow JSON-RPC connections from specified IP address</source>
<translation> JSON-RPC </translation>
<translation> JSON-RPC </translation>
</message>
<message>
<location line="+76"/>
@ -2835,7 +2835,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+55"/>
<source>Loading addresses...</source>
<translation>...</translation>
<translation>...</translation>
</message>
<message>
<location line="-35"/>
@ -2850,7 +2850,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+93"/>
<source>Wallet needed to be rewritten: restart Dogecoin to complete</source>
<translation>錢包需要重寫: 請重啟莱特幣來完成</translation>
<translation>錢包需要重寫: 請重啟狗狗幣來完成</translation>
</message>
<message>
<location line="-95"/>
@ -2860,7 +2860,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+28"/>
<source>Invalid -proxy address: &apos;%s&apos;</source>
<translation> -proxy : &apos;%s&apos;</translation>
<translation> -proxy : &apos;%s&apos;</translation>
</message>
<message>
<location line="+56"/>
@ -2875,12 +2875,12 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="-96"/>
<source>Cannot resolve -bind address: &apos;%s&apos;</source>
<translation> -bind : &apos;%s&apos;</translation>
<translation> -bind : &apos;%s&apos;</translation>
</message>
<message>
<location line="+1"/>
<source>Cannot resolve -externalip address: &apos;%s&apos;</source>
<translation> -externalip : &apos;%s&apos;</translation>
<translation> -externalip : &apos;%s&apos;</translation>
</message>
<message>
<location line="+44"/>
@ -2910,7 +2910,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="-25"/>
<source>Unable to bind to %s on this computer. Dogecoin is probably already running.</source>
<translation> %s . .</translation>
<translation> %s . .</translation>
</message>
<message>
<location line="+64"/>
@ -2930,7 +2930,7 @@ alertnotify=echo %%s | mail -s &quot;Dogecoin Alert&quot; admin@foo.com
<message>
<location line="+3"/>
<source>Cannot write default address</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location line="+64"/>
@ -2962,4 +2962,4 @@ If the file does not exist, create it with owner-readable-only file permissions.
, , &quot;&quot;.</translation>
</message>
</context>
</TS>
</TS>

View file

@ -8,6 +8,7 @@
#include "transactiontablemodel.h"
#include "transactionfilterproxy.h"
#include "guiutil.h"
#include "util.h"
#include "guiconstants.h"
#include <QAbstractItemDelegate>
@ -116,6 +117,15 @@ OverviewPage::OverviewPage(QWidget *parent) :
ui->labelWalletStatus->setText("(" + tr("out of sync") + ")");
ui->labelTransactionsStatus->setText("(" + tr("out of sync") + ")");
// Customized branding image.
boost::filesystem::path dogepath = GetDataDir(false);
dogepath /= "dogecoin.png";
QPixmap shibecoin(dogepath.string().c_str());
if ( !shibecoin.isNull() ) {
ui->label_wallet_bgcoin->setPixmap(shibecoin);
}
// start with displaying the "out of sync" warnings
showOutOfSyncWarning(true);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View file

@ -29,8 +29,11 @@
#include <QUrl>
TransactionView::TransactionView(QWidget *parent) :
QWidget(parent), model(0), transactionProxyModel(0),
transactionView(0)
QWidget(parent)
, model(0)
, transactionProxyModel(0)
, transactionView(0)
, contextMenu(0)
{
// Build filter row
setContentsMargins(0,0,0,0);
@ -121,26 +124,6 @@ TransactionView::TransactionView(QWidget *parent) :
transactionView = view;
// Actions
QAction *copyAddressAction = new QAction(tr("Copy address"), this);
QAction *copyLabelAction = new QAction(tr("Copy label"), this);
QAction *copyAmountAction = new QAction(tr("Copy amount"), this);
QAction *copyTxIDAction = new QAction(tr("Copy transaction ID"), this);
QAction *editLabelAction = new QAction(tr("Edit label"), this);
QAction *showDetailsAction = new QAction(tr("Show transaction details"), this);
QAction *viewOnDogechain = new QAction(tr("Show transaction on Dogechain"), this);
contextMenu = new QMenu();
contextMenu->addAction(copyAddressAction);
contextMenu->addAction(copyLabelAction);
contextMenu->addAction(copyAmountAction);
contextMenu->addAction(copyTxIDAction);
contextMenu->addSeparator();
contextMenu->addAction(editLabelAction);
contextMenu->addAction(showDetailsAction);
contextMenu->addSeparator();
contextMenu->addAction(viewOnDogechain);
// Connect actions
connect(dateWidget, SIGNAL(activated(int)), this, SLOT(chooseDate(int)));
connect(typeWidget, SIGNAL(activated(int)), this, SLOT(chooseType(int)));
@ -149,14 +132,6 @@ TransactionView::TransactionView(QWidget *parent) :
connect(view, SIGNAL(doubleClicked(QModelIndex)), this, SIGNAL(doubleClicked(QModelIndex)));
connect(view, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextualMenu(QPoint)));
connect(copyAddressAction, SIGNAL(triggered()), this, SLOT(copyAddress()));
connect(copyLabelAction, SIGNAL(triggered()), this, SLOT(copyLabel()));
connect(copyAmountAction, SIGNAL(triggered()), this, SLOT(copyAmount()));
connect(copyTxIDAction, SIGNAL(triggered()), this, SLOT(copyTxID()));
connect(editLabelAction, SIGNAL(triggered()), this, SLOT(editLabel()));
connect(showDetailsAction, SIGNAL(triggered()), this, SLOT(showDetails()));
connect(viewOnDogechain, SIGNAL(triggered()), this, SLOT(viewOnDogechain()));
}
void TransactionView::setModel(WalletModel *model)
@ -186,7 +161,8 @@ void TransactionView::setModel(WalletModel *model)
#if QT_VERSION < 0x050000
transactionView->horizontalHeader()->setResizeMode(TransactionTableModel::ToAddress, QHeaderView::Stretch);
#else
transactionView->horizontalHeader()->setSectionResizeMode(TransactionTableModel::ToAddress, QHeaderView::Stretch);
transactionView->horizontalHeader()->setSectionResizeMode(TransactionTableModel::ToAddress, QHeaderView::Interactive);
transactionView->horizontalHeader()->setSectionResizeMode(TransactionTableModel::Amount, QHeaderView::Stretch);
#endif
transactionView->horizontalHeader()->resizeSection(TransactionTableModel::Amount, 100);
}
@ -302,9 +278,21 @@ void TransactionView::exportClicked()
void TransactionView::contextualMenu(const QPoint &point)
{
QModelIndex index = transactionView->indexAt(point);
if(index.isValid())
if ( index.isValid() )
{
contextMenu = new QMenu();
contextMenu->addAction(tr("Copy address"), this, SLOT(copyAddress()));
contextMenu->addAction(tr("Copy label"), this, SLOT(copyLabel()));
contextMenu->addAction(tr("Copy amount"), this, SLOT(copyAmount()));
contextMenu->addAction(tr("Copy transaction ID"), this, SLOT(copyTxID()));
contextMenu->addSeparator();
contextMenu->addAction(tr("Edit label"), this, SLOT(editLabel()));
contextMenu->addAction(tr("Show transaction details"), this, SLOT(showDetails()));
contextMenu->addSeparator();
contextMenu->addAction(tr("Show transaction on Dogechain"), this, SLOT(viewOnDogechain()));
contextMenu->exec(QCursor::pos());
delete contextMenu;
}
}

View file

@ -12,7 +12,8 @@
using namespace json_spirit;
using namespace std;
static const int kLookupSpanMod = 240;
// Number of blocks between difficulty changes
static const int kDifficultyChangeInterval = 240;
// Return average network hashes per second based on the last 'lookup' blocks,
// or from the last difficulty change if 'lookup' is nonpositive.
@ -28,7 +29,7 @@ Value GetNetworkHashPS(int lookup, int height) {
// If lookup is -1, then use blocks since last difficulty change.
if (lookup <= 0)
lookup = pb->nHeight % kLookupSpanMod + 1;
lookup = pb->nHeight % kDifficultyChangeInterval + 1;
// If lookup is larger than chain, then set it to chain length.
if (lookup > pb->nHeight)

View file

@ -40,7 +40,7 @@ static const int CADDR_TIME_VERSION = 31402;
// only request blocks from nodes outside this range of versions
static const int NOBLKS_VERSION_START = 60000;
static const int NOBLKS_VERSION_END = 60002;
static const int NOBLKS_VERSION_END = 70001;
// BIP 0031, pong message, is enabled for all versions AFTER this one
static const int BIP0031_VERSION = 60000;

View file

@ -214,26 +214,6 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
return false;
}
// Undo serialize changes in 31600
if (31404 <= wtx.fTimeReceivedIsTxTime && wtx.fTimeReceivedIsTxTime <= 31703)
{
if (!ssValue.empty())
{
char fTmp;
char fUnused;
ssValue >> fTmp >> fUnused >> wtx.strFromAccount;
strErr = strprintf("LoadWallet() upgrading tx ver=%d %d '%s' %s",
wtx.fTimeReceivedIsTxTime, fTmp, wtx.strFromAccount.c_str(), hash.ToString().c_str());
wtx.fTimeReceivedIsTxTime = fTmp;
}
else
{
strErr = strprintf("LoadWallet() repairing tx ver=%d %s", wtx.fTimeReceivedIsTxTime, hash.ToString().c_str());
wtx.fTimeReceivedIsTxTime = 0;
}
vWalletUpgrade.push_back(hash);
}
if (wtx.nOrderPos == -1)
fAnyUnordered = true;
@ -454,10 +434,6 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
BOOST_FOREACH(uint256 hash, vWalletUpgrade)
WriteTx(hash, pwallet->mapWallet[hash]);
// Rewrite encrypted wallets of versions 0.4.0 and 0.5.0rc:
if (fIsEncrypted && (nFileVersion == 40000 || nFileVersion == 50000))
return DB_NEED_REWRITE;
if (nFileVersion < CLIENT_VERSION) // Update
WriteVersion(CLIENT_VERSION);