Bitcoin Forum
November 19, 2024, 04:41:09 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 »  All
  Print  
Author Topic: Bitcoin-Qt, the future Bitcoin client GUI [user input needed]  (Read 57160 times)
Bitsky
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
July 02, 2011, 08:45:36 PM
 #81

Can't wait to see an installer for Windows for this GUI. It looks great.

Some suggestions:
- Add sendmany support
- Make it possible to select the sender address.
- Import/Export single addresses (for merging wallets)
- Require a password to open a wallet (encrypted wallet)
- Require a password to make a transaction
- Add a button that converts the balance to a pre-selected currency
- Option to delete an address (for the sake of overview, or don't auto-create them)
- Make it a light client (download headers only, not the complete chain)
- Display the label instead of the address in the main list

I'm aware that some suggestions belong more to the core development; but if at some point those two projects are merged, the GUI would have already taken care for that.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
tschaboo
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
July 03, 2011, 12:27:58 AM
 #82

Hello John,

thanks for your comments.

Quote
10.) You are giving instructions in your readme how to compile it in ubuntu. On a fresh install of Ubuntu 10.04 I needed the following not mentioned packages to get it building: build-essential, libboost-dev, [libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev | libboost-all-dev], libssl-dev and libdb4.8++-dev. Actually it didn't build, because setPlaceholderText in QLineEdit was introduced in Qt4.7 and Ubuntu 10.04 comes with Qt4.6. I commented them out.
I'll update the instructions... I've also changed the placeholders to only be compiled for Qt 4.7+.

Regarding the build instructions: you can remove "libboost-all-dev" as it was meant as an alternative to installing the smaller packages. -all-dev includes them.

I pulled your changes but it doesn't compile because of another occurence of setPlaceholderText in the file ui_sendcoinsdialog.h generated from sendcoinsdialog.ui (addAsLabel).
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 03, 2011, 05:45:16 AM
 #83

I pulled your changes but it doesn't compile because of another occurence of setPlaceholderText in the file ui_sendcoinsdialog.h generated from sendcoinsdialog.ui (addAsLabel).
This doesn't make sense. Why is that code generated in a Qt version that doesn't support it?

I cannot put #ifdefs in generated code, obviously, so I don't see a way to solve this :/

Seems the problem is more common, it results from a mixup between uic version and Qt header version:
http://permalink.gmane.org/gmane.comp.kde.users.kdevelop/6629

Edit: I'll move all setPlaceholderText to application code instead of .ui scripts so I can guard them with #ifdef...


Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 03, 2011, 08:17:52 AM
 #84

Started working on windows version, by popular request.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 03, 2011, 10:41:13 PM
Last edit: July 04, 2011, 05:19:15 AM by John Smith
 #85

Windows build instructions:


Please help testing!

* GPG signature signed with the key in my undersign can be found here: http://download.visucore.com/bitcoin/qtgui_deps_1.zip.sig . You can of course also build the dependencies (openssl, boost, dbcxx) yourself.



Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
July 04, 2011, 10:43:35 AM
 #86

Started working on windows version, by popular request.


AWESOME!

Thank you.

Gorgeous work by the way, keep it up!
Bitsky
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
July 04, 2011, 06:34:15 PM
 #87

Windows build instructions:

Please help testing!

* GPG signature signed with the key in my undersign can be found here: http://download.visucore.com/bitcoin/qtgui_deps_1.zip.sig . You can of course also build the dependencies (openssl, boost, dbcxx) yourself.
Sadly the QT SDK cannot be installed on a Windows prior to XP, and in XP I don't have the 8GB free which it needs.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
kwukduck
Legendary
*
Offline Offline

Activity: 1937
Merit: 1001


View Profile
July 05, 2011, 01:26:52 PM
 #88

Looking really good.

14b8PdeWLqK3yi3PrNHMmCvSmvDEKEBh3E
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 05, 2011, 03:24:03 PM
Last edit: July 05, 2011, 08:36:38 PM by John Smith
 #89

Thanks everyone!

Sadly the QT SDK cannot be installed on a Windows prior to XP, and in XP I don't have the 8GB free which it needs.
You can also use MinGW+MSys on more limited systems (do qmake && make). In addition to the deps that I provide, you'll also need to get the Qt libraries/includes.

Or cross-compile from Linux but that's more involved.

I might eventually upload an executable installer directly, but this is better for now as the state of the code is still very much in flux and there are no official releases.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 05, 2011, 08:18:16 PM
Last edit: July 05, 2011, 08:36:54 PM by John Smith
 #90

Tab-ification of the UI, phase 1





The overview tab should have:

  • Balance (confirmed and unconfirmed)
  • Last N received transactions
  • Last N sent transactions

Also, the address book, list of received addresses etc might be better as tabs instead of dialogs as well.


Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
drawoc
Full Member
***
Offline Offline

Activity: 168
Merit: 100

Firstbits: 175wn


View Profile
July 05, 2011, 08:48:01 PM
 #91

Shouldn't the Generate transactions that haven't matured yet still display the clock symbol?

Anyway, the tabs are nice. Keep up the good work!

Donate: 175WNXmJ1WVhFgVGKUqEhYtAQGRYAvqPA
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 05, 2011, 09:35:48 PM
Last edit: July 07, 2011, 08:32:42 AM by John Smith
 #92

Shouldn't the Generate transactions that haven't matured yet still display the clock symbol?
Hm I agree that'd make sense... I was thinking of using different icons for that (confirmed but not matured), but that isn't really needed and probably overcomplicated Smiley

Done;

- Generated transactions don't have spam in the "Address" column anymore and show a clock depending on their maturity.

- Also I call them "mined" now instead of "generated", as that's the going word for it now:



Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1181


View Profile WWW
July 07, 2011, 08:58:26 AM
 #93

Quote
3.) I'm not that experienced with build-systems but my colleages advised me to only use autotools if it's really necessary or you are already fluent in using them, otherwise there are less frustrating options, cmake was mentioned explicitly; autotools was called obsolete. Maybe we should ask the core developers, why they want to use autotools and if they considered alternatives.
I've pitched CMake in the mailing list. I wonder what the reply will be \o/ Some people might be annoyed though because they went through all the trouble to port it to autotools which is no small feat. On the other hand, Mac/Windows was problematic with autotools.
The discussion seems to have died out. I've bumped the thread.

Quote
Quote
I'd like to have the delete button activated with a tooltip "Delete the selected address from the address book. You will still be able to receive coins to this address". It's clear to me that this new workflow will need a change in the backend, namely having the possibility to set an address record as "hidden" in the database. But IMHO this is worth the change.
The "hidden address" thing using a flag is a good idea, both for receiving and sending addresse (for the reasons that you mention). We'd have to be really sure that this is safe, though. I'll have to think about it a bit.
Currently, it's possible for (receiving) addresses to not be in the address book at all. Those are considered change addresses by the wallet interface. I don't think that's exactly what you need, since deleting an address on which you've received money would confuse the user interface.

Quote
Quote
6.) I think the "Set as default receiving address" is obsolete now? If not, please tell me what it does. (And it probably should be disabled by default).
I think so. I don't really understand the default receiving address stuff either. I don't think it's used anywhere in the Bitcoin core code. I need to check this and if that's the case, completely nuke it.
The current proposed wallet encryption patch will use the default address for generations, if no fresh pool key is available. I doubt it's necessary to show this in the user interface, though. It seems like a legacy way of showing people "this is the address you should use".

Quote
Quote
  b.) If you add a new entry without giving the address (just the label) it says: "The address is already in the address book.". I think it should not even allow an entry without a valid address.
It should indeed check addresses for validity before adding to address book.
See pull request 358.

I do Bitcoin stuff.
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 07, 2011, 12:28:09 PM
Last edit: July 07, 2011, 12:39:00 PM by John Smith
 #94

The discussion seems to have died out. I've bumped the thread.
Thanks!
Quote
Currently, it's possible for (receiving) addresses to not be in the address book at all. Those are considered change addresses by the wallet interface. I don't think that's exactly what you need, since deleting an address on which you've received money would confuse the user interface.
It's close, but not exactly what is needed.

Effectively, the only thing it has to do is hide the address in the UI. Internally, nothing special has to happen, and the address should still be in the address book for lookup purposes.
Quote
The current proposed wallet encryption patch will use the default address for generations, if no fresh pool key is available. I doubt it's necessary to show this in the user interface, though. It seems like a legacy way of showing people "this is the address you should use".
OK, seems it was a good idea to hide it from the user interface then.

Update:
  • CSV export of the transaction history has been implemented. Up next: address book export.


Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
July 08, 2011, 03:54:15 AM
 #95

Quote
make
/usr/bin/uic-qt4 src/qt/forms/sendcoinsdialog.ui -o ui_sendcoinsdialog.h
/usr/bin/uic-qt4 src/qt/forms/addressbookpage.ui -o ui_addressbookpage.h
/usr/bin/uic-qt4 src/qt/forms/aboutdialog.ui -o ui_aboutdialog.h
/usr/bin/uic-qt4 src/qt/forms/editaddressdialog.ui -o ui_editaddressdialog.h
/usr/bin/uic-qt4 src/qt/forms/transactiondescdialog.ui -o ui_transactiondescdialog.h
/usr/bin/uic-qt4 src/qt/forms/overviewpage.ui -o ui_overviewpage.h
g++ -c -pipe -O2 -fdiagnostics-show-option -Wall -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -D_REENTRANT -DQT_GUI -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/cryptopp -Isrc/qt -I. -I. -o bitcoin.o src/qt/bitcoin.cpp
In file included from src/qt/bitcoin.cpp:8:0:
src/headers.h:43:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [bitcoin.o] Error 1

How to fix? Currently running debian wheezy.

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 08, 2011, 03:55:33 AM
 #96

Quote
make
/usr/bin/uic-qt4 src/qt/forms/sendcoinsdialog.ui -o ui_sendcoinsdialog.h
/usr/bin/uic-qt4 src/qt/forms/addressbookpage.ui -o ui_addressbookpage.h
/usr/bin/uic-qt4 src/qt/forms/aboutdialog.ui -o ui_aboutdialog.h
/usr/bin/uic-qt4 src/qt/forms/editaddressdialog.ui -o ui_editaddressdialog.h
/usr/bin/uic-qt4 src/qt/forms/transactiondescdialog.ui -o ui_transactiondescdialog.h
/usr/bin/uic-qt4 src/qt/forms/overviewpage.ui -o ui_overviewpage.h
g++ -c -pipe -O2 -fdiagnostics-show-option -Wall -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -D_REENTRANT -DQT_GUI -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/cryptopp -Isrc/qt -I. -I. -o bitcoin.o src/qt/bitcoin.cpp
In file included from src/qt/bitcoin.cpp:8:0:
src/headers.h:43:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [bitcoin.o] Error 1

How to fix? Currently running debian wheezy.

apt-get install libdb4.8++-dev

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
July 08, 2011, 04:02:39 AM
 #97

Had to install older versions from squeeze

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 08, 2011, 04:08:01 AM
 #98

I'm guessing it's this http://packages.debian.org/wheezy/libdb4.8-dev because qheezy doesnt have libdb4.8++-dev

No, it is definitely libdb4.8++-dev. No idea why it isn't in testing yet.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
kripz
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
July 08, 2011, 04:08:24 AM
 #99

I grabbed the versions from squeeze manually, compiling now, lets see if it works.

EDIT: Doesnt work. Installed libdb4.8* from squeeze. compiled and now it doesnt run.

Quote
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in Runaway exception       

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
Aborted

Deleted my wallet and still doesnt run.

 Merged mining, free SMS notifications, PayPal payout and much more.
http://btcstats.net/sig/JZCODg2
wumpus (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
July 08, 2011, 08:27:57 AM
 #100

Deleted my wallet and still doesnt run.
There should be no need to delete anything!

Can you try pointing it at a completely new directory using -datadir=<dir>?

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!