dogecoin/gui/src/bitcoin.cpp

29 lines
541 B
C++
Raw Normal View History

2011-05-07 22:13:39 +02:00
/*
* W.J. van der Laan 2011
*/
2011-05-12 14:49:42 +02:00
#include "bitcoingui.h"
2011-05-22 14:54:13 +02:00
#include "util.h"
2011-05-07 22:13:39 +02:00
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
2011-05-22 14:54:13 +02:00
/* Testing on testnet */
fTestNet = true;
2011-05-07 22:13:39 +02:00
BitcoinGUI window;
window.setBalance(1234.567890);
window.setNumConnections(4);
window.setNumTransactions(4);
window.setNumBlocks(33);
2011-05-13 08:30:20 +02:00
window.setAddress("123456789");
2011-05-07 22:13:39 +02:00
window.show();
2011-05-12 20:16:42 +02:00
/* Depending on settings: QApplication::setQuitOnLastWindowClosed(false); */
2011-05-07 22:13:39 +02:00
return app.exec();
}