begin integration with bitcoin upstream
This commit is contained in:
24
gui/src/bitcoin.cpp
Normal file
24
gui/src/bitcoin.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* W.J. van der Laan 2011
|
||||
*/
|
||||
#include "bitcoingui.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
|
||||
BitcoinGUI window;
|
||||
window.setBalance(1234.567890);
|
||||
window.setNumConnections(4);
|
||||
window.setNumTransactions(4);
|
||||
window.setNumBlocks(33);
|
||||
window.setAddress("123456789");
|
||||
|
||||
window.show();
|
||||
|
||||
/* Depending on settings: QApplication::setQuitOnLastWindowClosed(false); */
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
Reference in New Issue
Block a user