Skip to content

Commit c10c120

Browse files
committed
TestNet First release
TestNet First Release
1 parent b37ef82 commit c10c120

3,243 files changed

Lines changed: 877446 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/clientversion.cpp export-subst

.github/ISSUE_TEMPLATE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!--- Remove sections that do not apply -->
2+
3+
This issue tracker is only for technical issues related to bitcoin-core.
4+
5+
General bitcoin questions and/or support requests and are best directed to the [Bitcoin StackExchange](https://bitcoin.stackexchange.com).
6+
7+
For reporting security issues, please read instructions at [https://bitcoincore.org/en/contact/](https://bitcoincore.org/en/contact/).
8+
9+
### Describe the issue
10+
11+
### Can you reliably reproduce the issue?
12+
#### If so, please list the steps to reproduce below:
13+
1.
14+
2.
15+
3.
16+
17+
### Expected behaviour
18+
Tell us what should happen
19+
20+
### Actual behaviour
21+
Tell us what happens instead
22+
23+
### Screenshots.
24+
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
25+
26+
### What version of bitcoin-core are you using?
27+
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.
28+
29+
### Machine specs:
30+
- OS:
31+
- CPU:
32+
- RAM:
33+
- Disk size:
34+
- Disk Type (HD/SDD):
35+
36+
### Any extra information that might be useful in the debugging process.
37+
This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred.

.gitignore

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
*.tar.gz
2+
3+
*.exe
4+
src/bitcoin
5+
src/bitcoind
6+
src/bitcoin-cli
7+
src/bitcoin-tx
8+
src/test/test_bitcoin
9+
src/test/test_bitcoin_fuzzy
10+
src/qt/test/test_bitcoin-qt
11+
12+
# autoreconf
13+
Makefile.in
14+
aclocal.m4
15+
autom4te.cache/
16+
build-aux/config.guess
17+
build-aux/config.sub
18+
build-aux/depcomp
19+
build-aux/install-sh
20+
build-aux/ltmain.sh
21+
build-aux/m4/libtool.m4
22+
build-aux/m4/lt~obsolete.m4
23+
build-aux/m4/ltoptions.m4
24+
build-aux/m4/ltsugar.m4
25+
build-aux/m4/ltversion.m4
26+
build-aux/missing
27+
build-aux/compile
28+
build-aux/test-driver
29+
config.log
30+
config.status
31+
configure
32+
libtool
33+
src/config/bitcoin-config.h
34+
src/config/bitcoin-config.h.in
35+
src/config/stamp-h1
36+
share/setup.nsi
37+
share/qt/Info.plist
38+
39+
src/univalue/gen
40+
41+
src/qt/*.moc
42+
src/qt/moc_*.cpp
43+
src/qt/forms/ui_*.h
44+
45+
src/qt/test/moc*.cpp
46+
47+
.deps
48+
.dirstamp
49+
.libs
50+
.*.swp
51+
*.*~*
52+
*.bak
53+
*.rej
54+
*.orig
55+
*.pyc
56+
*.o
57+
*.o-*
58+
*.patch
59+
*.a
60+
*.pb.cc
61+
*.pb.h
62+
63+
*.log
64+
*.trs
65+
*.dmg
66+
67+
*.json.h
68+
*.raw.h
69+
70+
#libtool object files
71+
*.lo
72+
*.la
73+
74+
# Compilation and Qt preprocessor part
75+
*.qm
76+
Makefile
77+
bitcoin-qt
78+
Bitcoin-Qt.app
79+
80+
# Unit-tests
81+
Makefile.test
82+
bitcoin-qt_test
83+
src/test/buildenv.py
84+
85+
# Resources cpp
86+
qrc_*.cpp
87+
88+
# Mac specific
89+
.DS_Store
90+
build
91+
92+
#lcov
93+
*.gcno
94+
*.gcda
95+
/*.info
96+
test_bitcoin.coverage/
97+
total.coverage/
98+
coverage_percent.txt
99+
100+
#build tests
101+
linux-coverage-build
102+
linux-build
103+
win32-build
104+
qa/pull-tester/tests_config.py
105+
qa/cache/*
106+
107+
!src/leveldb*/Makefile
108+
109+
/doc/doxygen/
110+
111+
libbitcoinconsensus.pc
112+
contrib/devtools/split-debug.sh

.svn/entries

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12

.svn/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
// Copyright (c) 2011-2016 The Bitcoin Core developers
2+
// Distributed under the MIT software license, see the accompanying
3+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4+
5+
#ifndef BITCOIN_QT_INTRO_H
6+
#define BITCOIN_QT_INTRO_H
7+
8+
#include <QDialog>
9+
#include <QMutex>
10+
#include <QThread>
11+
12+
static const bool DEFAULT_CHOOSE_DATADIR = false;
13+
14+
class FreespaceChecker;
15+
class logondlg;
16+
namespace Ui {
17+
class Intro;
18+
}
19+
20+
/** Introduction screen (pre-GUI startup).
21+
Allows the user to choose a data directory,
22+
in which the wallet and block chain will be stored.
23+
*/
24+
class Intro : public QDialog
25+
{
26+
Q_OBJECT
27+
28+
public:
29+
explicit Intro(QWidget *parent = 0);
30+
~Intro();
31+
void setIsRecover(bool IsRecover);
32+
33+
bool getIsRecover();
34+
35+
QString getDataDirectory();
36+
void setDataDirectory(const QString &dataDir);
37+
38+
/**
39+
* Determine data directory. Let the user choose if the current one doesn't exist.
40+
*
41+
* @returns true if a data directory was selected, false if the user cancelled the selection
42+
* dialog.
43+
*
44+
* @note do NOT call global GetDataDir() before calling this function, this
45+
* will cause the wrong path to be cached.
46+
*/
47+
static bool pickDataDirectory(logondlg*,std::string clienttype);
48+
49+
/**
50+
* Determine default data directory for operating system.
51+
*/
52+
static QString getDefaultDataDirectory();
53+
54+
static std::string m_datapath;
55+
56+
static std::string m_clienttype;
57+
58+
59+
static bool m_IsRecover;// = false;
60+
61+
62+
Q_SIGNALS:
63+
void requestCheck();
64+
void stopThread();
65+
66+
public Q_SLOTS:
67+
void setStatus(int status, const QString &message, quint64 bytesAvailable);
68+
69+
private Q_SLOTS:
70+
void on_dataDirectory_textChanged(const QString &arg1);
71+
void on_ellipsisButton_clicked();
72+
void on_dataDirDefault_clicked();
73+
void on_dataDirCustom_clicked();
74+
75+
private:
76+
Ui::Intro *ui;
77+
QThread *thread;
78+
QMutex mutex;
79+
bool signalled;
80+
QString pathToCheck;
81+
82+
83+
void startThread();
84+
void checkPath(const QString &dataDir);
85+
QString getPathToCheck();
86+
87+
friend class FreespaceChecker;
88+
};
89+
90+
#endif // BITCOIN_QT_INTRO_H

0 commit comments

Comments
 (0)