Wladimir J. van der Laan
9003c7cdd8
Add function to convert CValidationState to a human-readable message
...
It is necessary to be able to concisely log a validation state.
Convert CValidationState to a human-readable message for logging.
2015-08-11 17:29:33 +02:00
Wladimir J. van der Laan
dc58258adf
Introduce REJECT_INTERNAL codes for local AcceptToMempool errors
...
Add status codes specific to AcceptToMempool procession of transactions.
These can never happen due to block validation, and must never be sent
over the P2P network. Add assertions where appropriate.
2015-08-11 17:29:33 +02:00
Pavel Janík
8be371db34
Do not store more than 200 timedata samples.
2015-08-11 15:57:52 +02:00
Mark Friedenbach
c5c1edfe60
Fix spelling mistake in -> if.
2015-08-10 18:09:59 -07:00
Mark Friedenbach
e846b2a1e9
Correct a possibly intentional pun that is nevertheless hard to read: "two times of nLockTime." What is meant is that there are two kinds, or categories of nLockTime.
2015-08-10 18:08:30 -07:00
Veres Lajos
9f68ed6b6d
typofixes (found by misspell_fixer)
2015-08-10 22:06:27 +01:00
Pavel Janík
e0862c0933
Reformat validateaddress help, add missing iswatchonly description.
2015-08-10 20:10:56 +02:00
Tom Harding
212bcca920
Add optional locktime to createrawtransaction
...
A non-zero locktime also causes input sequences to be set to
non-max, activating the locktime.
2015-08-10 10:23:59 -07:00
Wladimir J. van der Laan
3eaaf71fe7
Merge pull request #6532
...
8778471
Update init doc to mention cookie authentication (fanquake)
2015-08-10 18:02:10 +02:00
fanquake
8778471dce
Update init doc to mention cookie authentication
2015-08-10 23:56:37 +08:00
Wladimir J. van der Laan
6bb28058d3
Merge pull request #6346
...
627468d
Add support for data-based outputs (OP_RETURN) to bitcoin-tx. (Pavel Janík)
d707853
Add OP_RETURN support in createrawtransaction RPC call, add tests. (Pavel Janík)
2015-08-10 17:53:07 +02:00
Wladimir J. van der Laan
0201a79299
Merge pull request #6512
...
fc25a87
Add note on relative paths, improve formatting (unsystemizer)
2015-08-10 17:46:49 +02:00
Wladimir J. van der Laan
6c1c7fdfd6
Merge pull request #6534
...
9493803
Revert "Revert "Assert on probable deadlocks if the second lock isnt try_lock"" (Cory Fields)
605433f
locks: don't lock cs_wallet before making rpc calls (Cory Fields)
2015-08-10 17:38:25 +02:00
Wladimir J. van der Laan
ce37a04ee0
Merge pull request #6538
...
69c3bde
Add some const declarations where they are appropriate. (Daniel Kraft)
2015-08-10 17:34:58 +02:00
Philip Kaufmann
be942def4b
[Qt] add verifySize() function to PaymentServer
...
- add static verifySize() function to PaymentServer and move the logging
on error into the function
- also use the new function in the unit test
- the function checks if the size is allowed as per BIP70
2015-08-10 14:12:15 +02:00
Philip Kaufmann
92684bb872
[Qt] minor optimisations in peertablemodel
...
- remove an unneeded include of net.h in peertablemodel.cpp
- add const after size() in PeerTablePriv
- remove 2x unneeded else in functions
- replace a (int) typecast by (QVariant) to use Qt style
- remove unneeded include of peertablemodel.h from rpcconsole.cpp
2015-08-10 14:11:25 +02:00
Matt Corallo
d04285430d
SQUASH "Implement watchonly support in fundrawtransaction"
2015-08-08 09:30:53 -07:00
Matt Corallo
428a898acd
SQUASH "Add have-pubkey distinction to ISMINE flags"
2015-08-08 09:30:53 -07:00
Daniel Kraft
69c3bde448
Add some const declarations where they are appropriate.
...
Declare some arguments of functions as "const" pointers where they are
not meant to be modified.
2015-08-08 18:18:41 +02:00
Cory Fields
9493803f4a
Revert "Revert "Assert on probable deadlocks if the second lock isnt try_lock""
...
This reverts commit a4fe57da62
.
The issue here should be fixed by the previous commit.
2015-08-07 16:18:16 -04:00
Cory Fields
605433ffb5
locks: don't lock cs_wallet before making rpc calls
2015-08-07 16:17:57 -04:00
Wladimir J. van der Laan
c0f66ce44a
Merge pull request #6529
...
54bd28f
[Qt] show client user agent in debug window (Philip Kaufmann)
2015-08-07 17:37:09 +02:00
Philip Kaufmann
54bd28fa75
[Qt] show client user agent in debug window
2015-08-07 14:01:49 +02:00
Wladimir J. van der Laan
0c465f5e60
Merge pull request #4587
...
ed166df
[Qt] allow users to set -onion via GUI (Philip Kaufmann)
2015-08-07 13:43:13 +02:00
Wladimir J. van der Laan
100c9d3994
Merge pull request #6505
...
df9c2ee
[Qt] replace wifi icon with network symbol (Marco)
9142867
[QT] cleanup icons (Marco)
2015-08-07 12:57:17 +02:00
Wladimir J. van der Laan
e545371b77
Merge pull request #6377
...
c433828
Handle no chain tip available in InvalidChainFound() (Ross Nicoll)
2015-08-07 09:14:53 +02:00
Wladimir J. van der Laan
41d650ff92
Merge pull request #6527
...
231c560
Use unique name for AlertNotify tempfile (Casey Rodarmor)
2015-08-07 08:22:11 +02:00
Pavel Janík
627468d2ea
Add support for data-based outputs (OP_RETURN) to bitcoin-tx.
2015-08-06 20:27:52 +02:00
Pavel Janík
d7078533eb
Add OP_RETURN support in createrawtransaction RPC call, add tests.
2015-08-06 20:27:52 +02:00
Wladimir J. van der Laan
a4fe57da62
Revert "Assert on probable deadlocks if the second lock isnt try_lock"
...
Disabling this for now - too many intermittent Travis issues.
This reverts commit 0fcc4e1e04
(pull #5515 ).
2015-08-06 14:15:54 +02:00
Wladimir J. van der Laan
2f746c6e8a
Merge pull request #6177
...
ef8dfe4
Prevent block.nTime from decreasing (Mark Friedenbach)
2015-08-06 12:01:21 +02:00
Wladimir J. van der Laan
fbf44e6f3e
Add debug message to CValidationState for optional extra information
...
Add a field `strDebugMessage` which can be passed to DoS or Invalid,
and queried using GetDebugMessage() to add extra troubleshooting
information to the validation state.
2015-08-06 09:47:01 +02:00
Casey Rodarmor
231c5601a1
Use unique name for AlertNotify tempfile
2015-08-05 23:12:26 -04:00
Wladimir J. van der Laan
149f96c9b0
Merge pull request #6521
...
75a8803
Add v0.11.0 release notes (Casey Rodarmor)
2015-08-05 19:15:50 +02:00
Wladimir J. van der Laan
a0625b8085
Merge pull request #5913
...
5922b67
Add assertion and cast before sending reject code (Wladimir J. van der Laan)
a651403
Add absurdly high fee message to validation state (for RPC propagation) (Shaul Kfir)
2015-08-05 19:12:48 +02:00
Wladimir J. van der Laan
5922b6774e
Add assertion and cast before sending reject code
...
This gets rid of a warning. Add an assertion to make sure that the
reject code is in the correct range for the network protocol
(if it is outside the range it must be a bug)
2015-08-05 19:02:19 +02:00
Casey Rodarmor
75a8803901
Add v0.11.0 release notes
2015-08-05 11:22:14 -04:00
Wladimir J. van der Laan
c384800027
Merge pull request #6462
...
7b79cbd
limit total length of user agent comments (Pavol Rusnak)
557f8ea
implement uacomment config parameter which can add comments to user agent as per BIP-0014 (Pavol Rusnak)
2015-08-05 15:43:10 +02:00
Wladimir J. van der Laan
c9c017adf6
Merge pull request #6489
...
f261f19
Give a better error message if system clock is bad (Casey Rodarmor)
2015-08-05 10:23:01 +02:00
Wladimir J. van der Laan
9bb4dd850f
Merge pull request #6507
...
9f5edb9
Removed contrib/bitrpc (Casey Rodarmor)
2015-08-05 10:21:16 +02:00
Pavol Rusnak
7b79cbd722
limit total length of user agent comments
...
Reworked-By: Wladimir J. van der Laan <laanwj@gmail.com>
2015-08-05 09:38:20 +02:00
Pieter Wuille
586a29253d
Merge pull request #6503
...
19dd40a
Consolidate individual references to the current maximum peer connection value of 125 into a single constant declaration. (Matt Quinn)
2015-08-04 19:43:30 +02:00
Marco
df9c2ee1c9
[Qt] replace wifi icon with network symbol
2015-08-04 16:53:30 +02:00
Marco
9142867572
[QT] cleanup icons
...
* Cleanup SVG code
* Unify design ("Typicons" seem to have round edges)
* Fix transparency issue with clock5.png
2015-08-04 12:06:12 +02:00
unsystemizer
fc25a8748e
Add note on relative paths, improve formatting
...
Added "conf, pid, and wallet accept relative paths which are interpreted as relative to the data directory. wallet only supports relative paths."
2015-08-04 14:10:51 +08:00
Wladimir J. van der Laan
b6fee6b7c7
Merge pull request #6504
...
9ca7857
Rationalize currency unit to "BTC" (Ross Nicoll)
2015-08-04 01:24:19 +02:00
Ross Nicoll
9ca7857df7
Rationalize currency unit to "BTC"
...
Previously various user-facing strings have used inconsistent currency units "BTC",
"btc" and "bitcoins". This adds a single constant and uses it for each reference to
the currency unit.
Also adds a description of the unit for --maxtxfee, and adds the missing "amount"
field description to the (deprecated) move RPC command.
2015-08-03 22:58:30 +01:00
Matt Quinn
19dd40a25f
Consolidate individual references to the current maximum peer connection
...
value of 125 into a single constant declaration.
2015-08-03 14:37:00 -07:00
Casey Rodarmor
2d8c49d126
Clean up tx prioritization when conflict mined
2015-08-03 15:49:01 -04:00
Casey Rodarmor
f261f19b4b
Give a better error message if system clock is bad
...
Fixes #2007
This checks to see if the system clock appears to be bad and gives a
helpful error message. If the user's clock is set incorrectly, hopefully
they'll abort, fix it, and then save themselves a fruitless resync.
2015-08-03 15:11:52 -04:00