Pieter Wuille
a0fa20a12b
Move CCoins-related logic to coins.{cpp.h}
2013-11-10 19:37:56 +01:00
Pieter Wuille
84674082b0
Make CCoinsView use block hashes instead of indices
2013-11-10 19:22:53 +01:00
Pieter Wuille
f76c122e2e
Merge pull request #2767
...
51ed9ec
Cleanup code using forward declarations. (Brandon Dahler)
2013-11-10 19:21:03 +01:00
Brandon Dahler
51ed9ec971
Cleanup code using forward declarations.
...
Use misc methods of avoiding unnecesary header includes.
Replace int typedefs with int##_t from stdint.h.
Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h.
Normalize QT_VERSION ifs where possible.
Resolve some indirect dependencies as direct ones.
Remove extern declarations from .cpp files.
2013-11-10 09:36:28 -06:00
Pieter Wuille
7c4c207be8
Merge pull request #3211
...
b64187d
Rename leveldb.{h,cpp} to leveldbwrapper.{h,cpp}. (Brandon Dahler)
2013-11-09 18:46:32 +01:00
Brandon Dahler
b64187d05f
Rename leveldb.{h,cpp} to leveldbwrapper.{h,cpp}.
2013-11-08 18:03:46 -06:00
Wladimir J. van der Laan
995cb284cf
Merge pull request #3223 from TheBlueMatt/master
...
Test changes
2013-11-08 09:48:30 -08:00
Matt Corallo
eacc6f4a26
Add a few more basic script/tx test-cases.
2013-11-08 12:34:12 -05:00
Wladimir J. van der Laan
9a165e5714
Merge pull request #3155 from wtogami/split_proto_var
...
Split MIN_PROTO_VERSION into INIT_PROTO_VERSION and MIN_PEER_PROTO_VERSION
2013-11-08 01:03:11 -08:00
Wladimir J. van der Laan
7f0ccea768
Merge pull request #3222 from Diapolo/debug-window
...
[Qt] rename rpcconsole window
2013-11-08 00:32:43 -08:00
Philip Kaufmann
91163c15f6
[Qt] rename rpcconsole window
...
- rework window title to not include Bitcoin - in front, as no other
dialog does this
- favor a connect() call over an own function for clearing the traffic
graph
- write monospace lowercase (seems to be correct after some web search)
and add a comment that we should avoid / remove fixed font sizes
2013-11-08 09:18:32 +01:00
Wladimir J. van der Laan
b744fdbf52
Merge pull request #3209
...
a80b1a0
[Qt] make event() and eventFilter() in askpassphrasedialog protected (Philip Kaufmann)
2013-11-07 13:53:26 +01:00
Wladimir J. van der Laan
182e9090a5
Merge pull request #3191 from wtogami/integrity_check
...
Check integrity of gitian input source tarballs
2013-11-07 04:03:35 -08:00
Wladimir J. van der Laan
65d0fc4b73
Merge pull request #3145
...
395d0d5
rework an ugly hack in processPaymentRequest() (Philip Kaufmann)
952d2cd
make processPaymentRequest() use a single SendCoinsRecipient (Philip Kaufmann)
983cef4
payment-request UI: use SendCoinsRecipient.message for memo (Philip Kaufmann)
c6c97e0
[Qt] Rework of payment request UI (mainly for insecure pr) (Philip Kaufmann)
2013-11-06 16:43:18 +01:00
Philip Kaufmann
a80b1a0312
[Qt] make event() and eventFilter() in askpassphrasedialog protected
2013-11-05 19:18:40 +01:00
Wladimir J. van der Laan
04f5286096
Merge pull request #3206 from Diapolo/addressbookpage_model
...
[Qt] remove unused optionsmodel from addressbookpage
2013-11-05 09:02:52 -08:00
Wladimir J. van der Laan
07131220f3
Merge pull request #3205 from Diapolo/intro
...
[Qt] use tr() instead of QObject::tr() in intro.cpp
2013-11-05 09:02:13 -08:00
Philip Kaufmann
5cd85c4228
[Qt] remove unused optionsmodel from addressbookpage
2013-11-05 17:37:17 +01:00
Philip Kaufmann
011e1c060a
[Qt] use tr() instead of QObject::tr() in intro.cpp
2013-11-05 17:29:16 +01:00
Wladimir J. van der Laan
c82cddcc55
qt: remove unused signal from addresstablemodel
2013-11-05 14:48:21 +01:00
Wladimir J. van der Laan
25d056a58f
Merge pull request #3196 from laanwj/2013_11_nohavegui
...
No more fHaveGUI
2013-11-05 04:06:08 -08:00
Gavin Andresen
63bea1d2e6
Merge pull request #3198 from nvmd/compile_on_mavericks
...
Make time facet non-constant
2013-11-04 16:50:55 -08:00
Wladimir J. van der Laan
e304dbd3f8
Merge pull request #3197 from laanwj/2013_11_qt_license
...
qt: add license header to source files
2013-11-04 16:00:50 -08:00
Sergey Kazenyuk
e5a2c9794c
Make time facet non-constant
2013-11-05 00:22:41 +04:00
Wladimir J. van der Laan
e592d43f51
qt: add license header to source files
...
Closes #839
2013-11-04 16:27:09 +01:00
Wladimir J. van der Laan
c4f2a002ca
Merge pull request #3188 from Diapolo/logtimestamp_def
...
make -logtimestamps default on and rework help-message
2013-11-04 06:18:23 -08:00
Wladimir J. van der Laan
bac72640ee
Merge pull request #3076 from lano1106/uint256_util
...
Make util phexdigit array reusable
2013-11-04 05:55:37 -08:00
Wladimir J. van der Laan
e30bd78f81
No more fHaveGUI
...
No more specific handling of GUI in bitcoin core.
Replace the last usage of fHaveGUI with a fForceServer
parameter on AppInit2.
2013-11-04 14:36:49 +01:00
Gavin Andresen
97f844dd95
Merge pull request #3180 from pstratem/processgetdata
...
Reduce latency in network processing
2013-11-03 21:52:25 -08:00
Matt Corallo
338d24bb00
Skip comparison tool on win32 since Wine breaks it
2013-11-04 00:40:39 -05:00
Patrick Strateman
75ef87dd93
process received messages one at a time without sleeping between messages
2013-11-03 20:25:50 -08:00
Gavin Andresen
a95a1c06b1
Merge pull request #3154 from gavinandresen/mempool_refactor
...
Mempool refactor
2013-11-03 20:07:36 -08:00
Gavin Andresen
319b11607f
Refactor: CTxMempool class to its own txmempool.{cpp,h}
2013-11-04 11:27:02 +10:00
Gavin Andresen
39b4f0d7dd
Merge pull request #3193 from joshtriplett/patch-1
...
.gitignore: Simplify references to the same file in different directories
2013-11-02 19:36:42 -07:00
Philip Kaufmann
959e62f0c8
make -logtimestamps default on and rework help-message
2013-11-02 22:43:50 +01:00
Josh Triplett
edd6c8f94f
.gitignore: Simplify references to the same file in different directories
...
Unless a .gitignore pattern is anchored, it'll match in any directory, not juts at the top level. Simplify .gitignore accordingly.
2013-11-02 08:29:31 -07:00
Pieter Wuille
694c7c8161
Merge pull request #3087
...
caca6aa
Make some globals in main non-public. (Pieter Wuille)
85eb2ce
Do not use the redundant BestInvalidWork record in the block database. (Pieter Wuille)
2013-11-02 15:12:07 +01:00
Warren Togami
b31482844b
Check integrity of gitian input source tarballs
2013-10-31 17:56:55 -10:00
Gavin Andresen
837369806a
Merge pull request #3128
...
0056095
Show short scriptPubKeys correctly (Peter Todd)
22de68d
Relay OP_RETURN TxOut as standard transaction type (Peter Todd)
Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
2013-11-01 12:13:38 +10:00
Pieter Wuille
1dffbf0060
Merge pull request #3114
...
a616206
Give peer time-adjustment data an own lock (Pieter Wuille)
2013-11-01 01:07:49 +01:00
Pieter Wuille
caca6aa4eb
Make some globals in main non-public.
...
This means they are declared static, and their extern definition in
main.h is removed. Also moved CBlockIndexWorkComparator to the .cpp
file.
2013-11-01 00:54:28 +01:00
Pieter Wuille
85eb2cef33
Do not use the redundant BestInvalidWork record in the block database.
...
As block index entries have a flag for marking invalid blocks, the
'best invalid work' information can be derived from there. In addition,
remove the global from main.h
2013-11-01 00:54:28 +01:00
Philip Kaufmann
395d0d5af0
rework an ugly hack in processPaymentRequest()
...
- use a QStringList to store valid addresses and format them for GUI and
debug.log usage via .join()
2013-10-31 17:51:40 +01:00
Philip Kaufmann
952d2cdb56
make processPaymentRequest() use a single SendCoinsRecipient
...
- as one this pulls main purpose is to change a payment request to
be displayed as a single sendcoins entry
2013-10-31 17:51:39 +01:00
Philip Kaufmann
983cef4802
payment-request UI: use SendCoinsRecipient.message for memo
2013-10-31 17:51:13 +01:00
Philip Kaufmann
c6c97e0f4e
[Qt] Rework of payment request UI (mainly for insecure pr)
...
- this shows insecure (unsecured) payment requests in a new yellowish
colored UI (based on the secure payment request UI) instead of our
normal payment UI
- allows us to receive paymentACK messages for insecure payment requests
- allows us to handle expirations for insecure payment request
- changed walletmodel, so that all types of payment requests don't touch
the addressbook
2013-10-31 17:51:12 +01:00
Wladimir J. van der Laan
ede3ee3348
Merge pull request #3159
...
9eb4ab6
transactionview: make exportClicked() use message() (Philip Kaufmann)
868d3ee
transactionview: add message() signal (Philip Kaufmann)
2013-10-31 17:42:56 +01:00
Wladimir J. van der Laan
cd6426ec72
Merge pull request #3189
...
71ba467
[Qt] sendcoinsdialog: convert QMessageBox usage to message() (Philip Kaufmann)
2013-10-31 08:15:09 +01:00
Gavin Andresen
ef4b518aea
Merge pull request #3067 from Diapolo/debug-switch
...
re-work -debug switch handling
2013-10-30 15:42:31 -07:00
Philip Kaufmann
71ba4670fc
[Qt] sendcoinsdialog: convert QMessageBox usage to message()
...
- add new processSendCoinsReturn() function, which parses the
status of WalletModel::SendCoinsReturn and generates a pair consisting
of a message and message flags
- result is we only need one emit message() call
- this change ensures that the GUI is shown for warnings/errors in
sendcoinsdialog, because of message() taking care of that for modal
messages
- changes 2 warning message into error messages and removed "Error:"
in front of the actual error message string
2013-10-30 22:47:51 +01:00