lbrycrd/src/qt
Wladimir J. van der Laan aa624b61c9
Merge #11167: Full BIP173 (Bech32) support
8213838 [Qt] tolerate BIP173/bech32 addresses during input validation (Jonas Schnelli)
06eaca6 [RPC] Wallet: test importing of native witness scripts (NicolasDorier)
fd0041a Use BIP173 addresses in segwit.py test (Pieter Wuille)
e278f12 Support BIP173 in addwitnessaddress (Pieter Wuille)
c091b99 Implement BIP173 addresses and tests (Pieter Wuille)
bd355b8 Add regtest testing to base58_tests (Pieter Wuille)
6565c55 Convert base58_tests from type/payload to scriptPubKey comparison (Pieter Wuille)
8fd2267 Import Bech32 C++ reference code & tests (Pieter Wuille)
1e46ebd Implement {Encode,Decode}Destination without CBitcoinAddress (Pieter Wuille)

Pull request description:

  Builds on top of #11117.

  This adds support for:
  * Creating BIP173 addresses for testing (through `addwitnessaddress`, though by default it still produces P2SH versions)
  * Sending to BIP173 addresses (including non-v0 ones)
  * Analysing BIP173 addresses (through `validateaddress`)

  It includes a reformatted version of the [C++ Bech32 reference code](https://github.com/sipa/bech32/tree/master/ref/c%2B%2B) and an independent implementation of the address encoding/decoding logic (integrated with CTxDestination). All BIP173 test vectors are included.

  Not included (and intended for other PRs):
  * Full wallet support for SegWit (which would include automatically adding witness scripts to the wallet during automatic keypool topup, SegWit change outputs, ...) [see #11403]
  * Splitting base58.cpp and tests/base58_tests.cpp up into base58-specific code, and "address encoding"-code [see #11372]
  * Error locating in UI for BIP173 addresses.

Tree-SHA512: 238031185fd07f3ac873c586043970cc2db91bf7735c3c168cb33a3db39a7bda81d4891b649685bb17ef90dc63af0328e7705d8cd3e8dafd6c4d3c08fb230341
2017-09-29 10:18:45 +02:00
..
forms Remove custom fee radio group 2017-09-15 09:47:12 -04:00
locale qt: Periodic translations update 2017-08-09 12:04:41 +02:00
res [qt] Make network disabled icon 50% opaque 2016-11-13 22:06:35 +01:00
test Merge #10793: Changing &var[0] to var.data() 2017-09-08 01:16:54 +02:00
addressbookpage.cpp scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
addressbookpage.h Remove unnecessary forward class declarations in header files 2017-06-12 20:37:43 +02:00
addresstablemodel.cpp Introduce wrappers around CBitcoinAddress 2017-09-06 13:07:45 -07:00
addresstablemodel.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
askpassphrasedialog.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
askpassphrasedialog.h qt: askpassphrasedialog: Clear pass fields on accept 2016-05-19 14:52:08 +03:00
bantablemodel.cpp Remove excess logic. 2017-04-10 10:24:49 +02:00
bantablemodel.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
bitcoin.cpp Merge #9964: Add const to methods that do not modify the object for which it is called 2017-08-16 02:09:49 +02:00
bitcoin.qrc Overhaul network activity toggle 2016-10-24 10:23:58 +00:00
bitcoin_locale.qrc qt: periodic translations update 2017-01-10 12:52:02 +01:00
bitcoinaddressvalidator.cpp [Qt] tolerate BIP173/bech32 addresses during input validation 2017-09-28 17:29:04 -07:00
bitcoinaddressvalidator.h Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
bitcoinamountfield.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
bitcoinamountfield.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
bitcoingui.cpp Replace save|restoreWindowGeometry with Qt functions 2017-09-21 22:34:58 +12:00
bitcoingui.h scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
bitcoinstrings.cpp qt: Periodic translations update 2017-07-31 12:19:05 +02:00
bitcoinunits.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
bitcoinunits.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
callback.h Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
clientmodel.cpp Avoid redundant redeclaration of GetWarnings(const string&) 2017-07-18 15:54:38 +02:00
clientmodel.h Remove unnecessary forward class declarations in header files 2017-06-12 20:37:43 +02:00
coincontroldialog.cpp Introduce wrappers around CBitcoinAddress 2017-09-06 13:07:45 -07:00
coincontroldialog.h Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
coincontroltreewidget.cpp Limit variable scope 2017-06-05 00:52:36 +02:00
coincontroltreewidget.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
csvmodelwriter.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
csvmodelwriter.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
editaddressdialog.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
editaddressdialog.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
guiconstants.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
guiutil.cpp Replace save|restoreWindowGeometry with Qt functions 2017-09-21 22:34:58 +12:00
guiutil.h Replace save|restoreWindowGeometry with Qt functions 2017-09-21 22:34:58 +12:00
intro.cpp Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
intro.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
macdockiconhandler.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
macdockiconhandler.mm Document the preference of nullptr over NULL or (void*)0 2017-08-18 09:51:00 +02:00
macnotificationhandler.h [macOS] remove Growl support, remove unused code 2017-09-07 10:11:44 -07:00
macnotificationhandler.mm [macOS] remove Growl support, remove unused code 2017-09-07 10:11:44 -07:00
Makefile
modaloverlay.cpp Refactor tipUpdate as per style guide 2017-09-06 10:50:05 +12:00
modaloverlay.h Add const to methods that do not modify the object for which it is called 2017-07-25 13:46:52 +02:00
networkstyle.cpp doc: spelling fixes 2017-08-16 00:24:39 +02:00
networkstyle.h Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
notificator.cpp [macOS] remove Growl support, remove unused code 2017-09-07 10:11:44 -07:00
notificator.h [macOS] remove Growl support, remove unused code 2017-09-07 10:11:44 -07:00
openuridialog.cpp scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
openuridialog.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
optionsdialog.cpp Merge #11198: [Qt] Fix display of package name on 'open config file' tooltip 2017-09-02 11:38:51 +02:00
optionsdialog.h Add a button to open the config file in a text editor 2017-03-23 12:54:36 -04:00
optionsmodel.cpp qt: Backup former GUI settings on -resetguisettings 2017-09-23 09:34:53 +02:00
optionsmodel.h Add const to methods that do not modify the object for which it is called 2017-07-25 13:46:52 +02:00
overviewpage.cpp Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
overviewpage.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
paymentrequest.proto Specify Protobuf version 2 in paymentrequest.proto 2016-09-16 11:45:08 +08:00
paymentrequestplus.cpp Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
paymentrequestplus.h Selectively suppress deprecation warnings 2017-02-14 13:50:57 +01:00
paymentserver.cpp Introduce wrappers around CBitcoinAddress 2017-09-06 13:07:45 -07:00
paymentserver.h Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
peertablemodel.cpp scripted-diff: Remove Q_FOREACH 2017-06-05 20:11:01 +02:00
peertablemodel.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
platformstyle.cpp scripted-diff: Remove Q_FOREACH 2017-06-05 20:11:01 +02:00
platformstyle.h qt: Introduce PlatformStyle 2015-07-31 09:35:18 +02:00
qvalidatedlineedit.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
qvalidatedlineedit.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
qvaluecombobox.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
qvaluecombobox.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
receivecoinsdialog.cpp scripted-diff: Remove Q_FOREACH 2017-06-05 20:11:01 +02:00
receivecoinsdialog.h Remove unnecessary forward class declarations in header files 2017-06-12 20:37:43 +02:00
receiverequestdialog.cpp scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
receiverequestdialog.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
recentrequeststablemodel.cpp scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
recentrequeststablemodel.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
rpcconsole.cpp Replace save|restoreWindowGeometry with Qt functions 2017-09-21 22:34:58 +12:00
rpcconsole.h scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
sendcoinsdialog.cpp Remove custom fee radio group 2017-09-15 09:47:12 -04:00
sendcoinsdialog.h Use CoinControl to pass custom fee setting from QT. 2017-07-14 23:40:33 -04:00
sendcoinsentry.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sendcoinsentry.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
signverifymessagedialog.cpp Merge #10793: Changing &var[0] to var.data() 2017-09-08 01:16:54 +02:00
signverifymessagedialog.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
splashscreen.cpp Drop upgrade-cancel callback registration for a generic "resumeable" 2017-08-20 20:04:15 -04:00
splashscreen.h Drop upgrade-cancel callback registration for a generic "resumeable" 2017-08-20 20:04:15 -04:00
trafficgraphwidget.cpp Merge #10502: scripted-diff: Remove BOOST_FOREACH, Q_FOREACH and PAIRTYPE 2017-06-13 18:05:58 -07:00
trafficgraphwidget.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
transactiondesc.cpp Remove duplicate destination decoding 2017-09-06 23:48:35 +01:00
transactiondesc.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
transactiondescdialog.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
transactiondescdialog.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
transactionfilterproxy.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
transactionfilterproxy.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
transactionrecord.cpp Introduce wrappers around CBitcoinAddress 2017-09-06 13:07:45 -07:00
transactionrecord.h Add const to methods that do not modify the object for which it is called 2017-07-25 13:46:52 +02:00
transactiontablemodel.cpp Merge #10502: scripted-diff: Remove BOOST_FOREACH, Q_FOREACH and PAIRTYPE 2017-06-13 18:05:58 -07:00
transactiontablemodel.h Add const to methods that do not modify the object for which it is called 2017-07-25 13:46:52 +02:00
transactionview.cpp [Qt] Add delay before filtering transactions 2017-09-18 10:54:26 +02:00
transactionview.h [Qt] Add delay before filtering transactions 2017-09-18 10:54:26 +02:00
utilitydialog.cpp scripted-diff: stop using the gArgs wrappers 2017-08-14 17:02:10 +02:00
utilitydialog.h Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
walletframe.cpp Document assumptions that are being made to avoid NULL pointer dereferences 2017-09-06 10:45:37 +02:00
walletframe.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
walletmodel.cpp Introduce wrappers around CBitcoinAddress 2017-09-06 13:07:45 -07:00
walletmodel.h qt: Use IsMine to validate custom change address 2017-09-05 15:22:28 -07:00
walletmodeltransaction.cpp Add const to methods that do not modify the object for which it is called 2017-07-25 13:46:52 +02:00
walletmodeltransaction.h Add const to methods that do not modify the object for which it is called 2017-07-25 13:46:52 +02:00
walletview.cpp scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
walletview.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
winshutdownmonitor.cpp scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
winshutdownmonitor.h Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00