Cory Fields
775cf54d0e
prevector: assert successful allocation
...
Github-Pull: #9856
Rebased-From: d4ee7baef7
2017-02-28 11:40:50 +01:00
Cory Fields
69832aaad5
don't throw std::bad_alloc when out of memory. Instead, terminate immediately
...
Github-Pull: #9856
Rebased-From: c5f008a416
2017-02-28 11:40:50 +01:00
Wladimir J. van der Laan
50953c2aad
tests: Fix dangling pwalletMain pointer in wallet tests
...
Github-Pull: #9875
Rebased-From: 75a109338f
2017-02-28 11:40:50 +01:00
Russell Yanofsky
eddaa6b35d
[qa] Make import-rescan.py watchonly check reliable
...
Send payments during the test from a different node than the node generating
keys to be imported, so the spending node doesn't create transactions that
inadvertently involve (spend funds from) the imported keys.
Fixes #9826
Github-Pull: #9839
Rebased-From: 864890adf5
2017-02-27 09:03:57 +01:00
Wladimir J. van der Laan
3584902eae
Merge #9846 : doc: Small release notes fixups in the list of pulls
...
fa230fd
doc: Small release notes fixups in the list of pulls (MarcoFalke)
2017-02-24 11:02:59 +01:00
MarcoFalke
fa230fde64
doc: Small release notes fixups in the list of pulls
2017-02-24 01:35:58 +01:00
Wladimir J. van der Laan
f00429666c
Merge #9787 : release: add a few performance-related notes
...
95e68df
release: add a few performance-related notes (Cory Fields)
2017-02-23 21:47:32 +01:00
Cory Fields
95e68dfe35
release: add a few performance-related notes
2017-02-23 15:45:42 -05:00
Wladimir J. van der Laan
3b2f7fdcae
doc: Add authors and changes since rc1 to release notes
2017-02-23 21:38:29 +01:00
Wladimir J. van der Laan
847e3753a6
qt: pre-rc2 translations update
2017-02-23 20:31:57 +01:00
Cory Fields
99fd85cb44
build: force a c++ standard to be specified
...
Newer compilers may switch to newer standards by default. For example, gcc6
uses std=gnu++14 by default.
Github-Pull: #9831
Rebased-From: 9829c54de2
2017-02-23 19:06:57 +01:00
Cory Fields
05e906dbc6
build: add --enable-werror option
...
This turns some compiler warnings into errors. Useful for c-i.
Github-Pull: #9789
Rebased-From: 205830a37b
2017-02-23 10:49:07 +01:00
Cory Fields
749fe95fdc
build: warn about variable length arrays
...
Github-Pull: #9789
Rebased-From: b602fe0f73
2017-02-23 10:49:07 +01:00
MarcoFalke
260c71cbb8
qa: Check return code when stopping nodes
...
This includes work by jnewbery
Github-Pull: #9824
Rebased-From: fa4cd2e998
2017-02-23 10:40:55 +01:00
Russell Yanofsky
599c69abe3
Fix pruning test broken by 2 hour manual prune window
...
Regression happened in 91fb506
Add two hour buffer to manual pruning.
Github-Pull: #9820
Rebased-From: 874c7363d7
2017-02-23 10:39:20 +01:00
John Newbery
9d3f9d2a59
[Trivial] Remove incorrect help message from gettxoutproof()
...
Github-Pull: #9711
Rebased-From: 9949ebfa6a
2017-02-22 13:03:55 +01:00
Russell Yanofsky
9072395e5f
Return errors from importmulti if complete rescans are not successful
...
Github-Pull: #9773
Rebased-From: e2e2f4c856
2017-02-22 12:45:43 +01:00
Jonas Schnelli
7d75a5a93c
Fix segfault crash when shutdown the GUI in disablewallet mode
...
Github-Pull: #9817
Rebased-From: 312c4f1057
2017-02-21 15:14:17 +01:00
kirit93
e22c0671c7
Fix for issue #9775 . Added check for open() returning a NULL pointer.
...
Github-Pull: #9798
Rebased-From: 40f11f8872
2017-02-21 14:33:34 +01:00
Chris Moore
ae1c4e24a6
Fix typo in release notes.
2017-02-21 14:20:18 +01:00
Pavel Janík
3972a8efb2
Read/write mempool.dat as a binary.
...
mempool.dat is a binary file and thus it should be read/written as such.
Fixes #9810 .
Github-Pull: #9813
Rebased-From: 171fc91f06
2017-02-21 12:35:38 +01:00
Luke Dashjr
861cb0c83d
QA: Test GBT size/weight limit values
...
Github-Pull: #9619
Rebased-From: 279f944e8d
2017-02-20 17:32:59 +01:00
Luke Dashjr
6552729f38
Bugfix: RPC/Mining: GBT should return 1 MB sizelimit before segwit activates
...
Github-Pull: #9619
Rebased-From: 9fc7f0bce9
2017-02-20 17:32:59 +01:00
Russell Yanofsky
40c754cb38
[wallet] Remove importmulti always-true check
...
Remove "nLowestTimestamp <= chainActive.Tip()->GetBlockTimeMax()" check from
importmulti, which is always true because nLowestTimestamp is set to the
minimum of the most recent block time and all the imported key timestamps,
which is necessarily lower than the maximum block time.
Github-Pull: #9760
Rebased-From: ec1267f13b
2017-02-20 17:30:26 +01:00
Cory Fields
2afefeade6
boost: remove iostreams includes
...
They're unused and produce nasty deprecation warnings
Github-Pull: #9786
Rebased-From: 3301587dc5
2017-02-17 21:50:30 +01:00
Pieter Wuille
973e345f7f
Move BIP70_MAX_PAYMENTREQUEST_SIZE to header
...
Github-Pull: #9785
Rebased-From: c801c82e25
2017-02-17 21:50:22 +01:00
Pieter Wuille
f873564231
Make KEY_SIZE a compile-time constant
...
Github-Pull: #9785
Rebased-From: 914fad155d
2017-02-17 21:50:14 +01:00
Wladimir J. van der Laan
04396bcc05
Merge #9784 : Restore removed release notes.
...
1577f07
Restore removed release notes. (Gregory Maxwell)
2017-02-17 21:46:44 +01:00
Wladimir J. van der Laan
6187091411
doc: Add changelog for 0.14.0 to release notes
2017-02-17 21:44:05 +01:00
Gregory Maxwell
1577f0731a
Restore removed release notes.
2017-02-17 18:54:36 +00:00
Wladimir J. van der Laan
871e19ac84
doc: Add list of authors to release notes
...
Generated from git, so there may be duplicate authors
if someone used multiple mail addresses.
2017-02-17 19:28:27 +01:00
Wladimir J. van der Laan
6d61a2b8c5
Merge #9783 : release: bump gitian descriptors for a new 0.14 package cache
...
42f5f21
release: bump gitian descriptors for a new 0.14 package cache (Cory Fields)
2017-02-17 19:14:34 +01:00
Cory Fields
42f5f21287
release: bump gitian descriptors for a new 0.14 package cache
2017-02-17 12:48:04 -05:00
Wladimir J. van der Laan
268c390d02
doc: Update manpages for 0.14.0
2017-02-17 18:21:51 +01:00
Wladimir J. van der Laan
1a02ecc73a
doc: Update release notes from wiki
2017-02-17 17:48:30 +01:00
Wladimir J. van der Laan
f68e4414d7
qt: pre-rc1 translations update
2017-02-17 17:43:06 +01:00
Wladimir J. van der Laan
bc69f34b35
build: bump version to 0.14.0
2017-02-17 17:24:00 +01:00
Wladimir J. van der Laan
9828f9a996
Merge #9761 : Use 2 hour grace period for key timestamps in importmulti rescans
...
e662af3
Use 2 hour grace period for key timestamps in importmulti rescans (Russell Yanofsky)
38d3e9e
[qa] Extend import-rescan.py to test imports on pruned nodes. (Russell Yanofsky)
c28583d
[qa] Extend import-rescan.py to test specific key timestamps (Russell Yanofsky)
8be0866
[qa] Simplify import-rescan.py (Russell Yanofsky)
2017-02-17 12:53:41 +01:00
Wladimir J. van der Laan
ad168ef4e3
Merge #9778 : Add two hour buffer to manual pruning
...
91fb506
Add two hour buffer to manual pruning (Alex Morcos)
2017-02-17 12:51:08 +01:00
Wladimir J. van der Laan
3c02b95740
Merge #9779 : Update nMinimumChainWork and defaultAssumeValid.
...
3f78e46
Update nMinimumChainWork and defaultAssumeValid. (Gregory Maxwell)
2017-02-17 12:41:49 +01:00
Wladimir J. van der Laan
8dee822177
Merge #9777 : Handle unusual maxsigcachesize gracefully
...
55c403b
Ensure `-maxsigcachesize` is in valid range (John Newbery)
2017-02-17 09:05:48 +01:00
John Newbery
55c403b8fe
Ensure -maxsigcachesize
is in valid range
...
- If the -maxsigcachesize parameter is set to zero, setup a minimum sized
sigcache (2 elements) rather than segfaulting.
- Handle maxsigcachesize being negative
- Handle maxsigcachesize being too large
2017-02-17 09:04:37 +01:00
Alex Morcos
91fb506e0a
Add two hour buffer to manual pruning
2017-02-16 17:47:56 -05:00
Gregory Maxwell
3f78e460ba
Update nMinimumChainWork and defaultAssumeValid.
2017-02-16 19:31:03 +00:00
Russell Yanofsky
e662af3583
Use 2 hour grace period for key timestamps in importmulti rescans
...
Gregory Maxwell <greg@xiph.org> pointed out the lack of grace period in
https://github.com/bitcoin/bitcoin/pull/9490#issue-199407998 .
The importwallet RPC which uses key timestamps in a similar way already has a 2
hour grace period.
2017-02-16 09:05:55 -05:00
Wladimir J. van der Laan
afae75fd3d
Merge #9675 : Fix typo and spelling inconsistency in CONTRIBUTING.md
...
36164fa
Fix typo and spelling inconsistency in CONTRIBUTING.md (Koki Takahashi)
2017-02-16 15:05:55 +01:00
Russell Yanofsky
38d3e9ee59
[qa] Extend import-rescan.py to test imports on pruned nodes.
2017-02-16 09:05:55 -05:00
Russell Yanofsky
c28583d062
[qa] Extend import-rescan.py to test specific key timestamps
2017-02-16 09:05:55 -05:00
Russell Yanofsky
8be0866883
[qa] Simplify import-rescan.py
...
Get rid of partial functions so the test can be more easily extended to add
more variants of imports with options that affect rescanning (e.g. different
key timestamps).
Also change the second half of the test to send /to/ the imported addresses,
instead of /from/ the imported addresses. The goal of this part of the test was
to confirm that the wallet would pick up new transactions after an import
regardless of whether or not a rescan happened during the import. But because
the wallet can only do this reliably for incoming transactions and not outgoing
transactions (which require the wallet to look up transaction inputs) the test
previously was less meaningful than it should have been.
2017-02-16 09:05:55 -05:00
Wladimir J. van der Laan
8743320d6c
Merge #9763 : [Trivial] Update comments referencing main.cpp
...
00e623d
[Trivial] Update comments referencing main.cpp (CryptAxe)
2017-02-16 14:01:14 +01:00