Commit Graph

12669 Commits

Author SHA1 Message Date
Ariel Gabizon
fcf824e9f1 make-release.py: Versioning changes for 1.0.11-rc1. 2017-08-01 17:11:57 +02:00
Homu
10acd8a1fb Auto merge of #2484 - str4d:block-download-completion, r=daira
Add block download progress to metrics UI
2017-07-28 21:57:19 -07:00
Jack Grigg
92bfde0edf Improve network height estimation 2017-07-28 10:50:07 +00:00
Jack Grigg
4a651837be Correct and extend EstimateNetHeightInner tests
Corrections are to the median block times, which were generated by subtracting
CBlockIndex::nMedianTimeSpan / 2 from the block height and then multiplying by
the target spacing. GetMedianTimePast() takes an array sorted by std::sort() and
returns element CBlockIndex::nMedianTimeSpan / 2, meaning that if
CBlockIndex::nMedianTimeSpan is odd (which it is), there is an out-by-one error
in the subtraction.
2017-07-28 10:45:44 +00:00
Homu
d6e6f51724 Auto merge of #2526 - bitcartel:2480_segfault_zeroconf_from_zaddr, r=daira
Fixes #2480 where missing map entry would cause a segfault.

`wtxHeight = mapBlockIndex[wtx.hashBlock]->nHeight;` results in undefined behaviour when the block hash is not present in the map, returning a null value which is dereferenced via `->nHeight`.  This error is triggered by a zero-conf wallet transaction which has not been mined yet.  As discussed in #2480, on some systems there is a segfault whilst on others there is a silent exit.  This makes it difficult to write a test, but the fix has been tested empirically to confirm an exception is thrown.  This PR fixes the segfault and complements #2525 which prevents a user from sending from a zaddr with minconf 0.
2017-07-27 22:42:59 -07:00
Jack Grigg
047aec1e0e Add block download progress to metrics UI 2017-07-26 00:51:12 +00:00
Homu
e88ab1a920 Auto merge of #2529 - str4d:2444-rpc-www-authenticate, r=daira
[rpc] Add WWW-Authenticate header to 401 response

Fix cherry-picked from upstream PR bitcoin/bitcoin#7472.

Closes #2444.
2017-07-25 15:36:33 -07:00
Homu
a698116b28 Auto merge of #2478 - bitcartel:2477_send_alert_1.0.10, r=daira
Alert for 2017-06-23.a degraded networking (fixed in 1.0.10-1)

Alert 1004 (version 1.0.10 only) Issue #2477
2017-07-25 13:03:53 -07:00
Homu
95d18784ec Auto merge of #2525 - bitcartel:2519_no_zero_minconf_from_zaddr_zsendmany, r=daira
When sending from a zaddr, minconf cannot be zero.

Closes #2519.
2017-07-20 08:24:54 -07:00
Bjorn Hjortsberg
ecd04e914f Remove deprecated exception specification
Warns on a newer compiler that these are deprecated in C++11
2017-07-20 13:58:39 +02:00
Homu
d2627bc65d Auto merge of #2504 - daira:2501.remove-upnp, r=daira
Remove UPnP support. fixes #2500

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-07-16 03:43:54 -07:00
jl777
5101611f24 Test 2017-07-15 12:05:04 +02:00
jl777
4bfb533b13 Test 2017-07-15 11:24:57 +02:00
jl777
88de65bead Test 2017-07-14 10:26:03 +02:00
jl777
fd9256e865 Test 2017-07-14 10:25:23 +02:00
jl777
ae85ad79db Test 2017-07-14 10:22:19 +02:00
Simon
9b5da42745 Fixes #2480. Null entry in map was dereferenced leading to a segfault. 2017-07-14 00:10:54 -07:00
jl777
a039c62d97 Test 2017-07-14 00:16:20 +02:00
jl777
78408e6beb Test 2017-07-13 23:41:02 +02:00
jl777
90da8c911f Test 2017-07-13 23:26:20 +02:00
jl777
db53f4bfe2 Test 2017-07-13 23:01:17 +02:00
jl777
6ba30dbb3f Test 2017-07-13 22:46:55 +02:00
jl777
4fa92f993a Test 2017-07-13 22:34:18 +02:00
jl777
233f077b2a Test 2017-07-13 22:33:03 +02:00
jl777
ceb639e0e8 Test 2017-07-13 22:32:19 +02:00
jl777
a99362fad8 Test 2017-07-13 22:17:33 +02:00
jl777
3d0387c984 Test 2017-07-13 22:15:17 +02:00
jl777
f33d372c76 Test 2017-07-13 22:15:05 +02:00
jl777
08952acd8f Test 2017-07-13 21:43:55 +02:00
jl777
255e8e6932 Test 2017-07-13 15:28:10 +02:00
jl777
b8623323cd Test 2017-07-13 15:27:07 +02:00
jl777
e0befed083 Test 2017-07-13 15:22:37 +02:00
jl777
92330f839a Test 2017-07-13 15:20:26 +02:00
jl777
6a1b24527e Test 2017-07-13 15:13:05 +02:00
jl777
3db947b84e Test 2017-07-13 14:33:26 +02:00
jl777
4e45c04103 Test 2017-07-13 14:24:22 +02:00
jl777
1cacba6a84 Test 2017-07-13 14:21:52 +02:00
jl777
eb23a64220 Test 2017-07-13 14:09:52 +02:00
jl777
231bcedcf1 Test 2017-07-13 13:58:12 +02:00
jl777
c4818fd41e Test 2017-07-13 13:51:30 +02:00
jl777
ad74c1a37e Test 2017-07-13 13:45:34 +02:00
jl777
afae290a42 Test 2017-07-13 13:38:29 +02:00
jl777
e5dfb297da Test 2017-07-13 13:28:42 +02:00
jl777
d506468b2c Test 2017-07-13 13:27:27 +02:00
jl777
bbd64789fc Test 2017-07-13 13:26:33 +02:00
jl777
a78fe44798 Test 2017-07-13 13:19:25 +02:00
jl777
61c2e3f5bf Test 2017-07-13 13:16:01 +02:00
jl777
f3f124e1ab Test 2017-07-13 13:14:56 +02:00
jl777
c45ec669c1 Test 2017-07-13 12:40:50 +02:00
jl777
007d1a8657 Test 2017-07-13 12:32:02 +02:00