Commit Graph

11360 Commits

Author SHA1 Message Date
jl777
7637aa7fb7 test 2016-10-25 12:44:59 -03:00
zkbot
511c5ec1d0 Auto merge of #1615 - arithmetric:1612.fix-floating-point-exception, r=daira
Fixing floating point exception in non-TTY environments

As reported in #1612, a floating point exception occurs when zcashd is started with `showmetrics` enabled in environments without a TTY, such as when started as a service or piped to a file.

The root cause is that the metrics code attempts to get the screen width and uses this as a divisor in calculations. For non-TTY environments, this value is 0, leading to a division by zero error.

This PR adds a default screen width of 80 and uses the actual screen width only if the width can be fetched (and in a TTY environment).
2016-10-25 11:43:28 -04:00
jl777
ba8f30436f test 2016-10-25 12:36:22 -03:00
jl777
6fbbb4cd5f test 2016-10-25 12:35:06 -03:00
jl777
09cc09abcb test 2016-10-25 12:26:15 -03:00
jl777
8859397696 test 2016-10-25 12:24:14 -03:00
Daira Hopwood
9cb7abafb5 Changes to upgrade bdb to 6.2.23
ref #1255
2016-10-25 16:18:19 +01:00
jl777
e9595d76d6 test 2016-10-25 12:18:07 -03:00
Daira Hopwood
86b671eae0 Fix licensing to comply with OpenSSL and Berkeley DB licenses.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-25 16:18:06 +01:00
Daira Hopwood
666a401f42 Refactor README docs to avoid duplication.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-25 16:14:38 +01:00
jl777
cc686fe52d test 2016-10-25 12:08:22 -03:00
jl777
05d3d5ff31 test 2016-10-25 12:02:16 -03:00
jl777
b858fa74b4 test 2016-10-25 12:01:19 -03:00
jl777
9b0e1808f3 test 2016-10-25 11:59:33 -03:00
jl777
4aa2c64e7b test 2016-10-25 10:51:04 -03:00
jl777
e30a267f36 test 2016-10-25 10:42:43 -03:00
jl777
cf9538e02b test 2016-10-25 10:33:49 -03:00
jl777
9632af31d2 test 2016-10-25 10:24:25 -03:00
jl777
353edf5d61 test 2016-10-25 10:18:32 -03:00
jl777
9415da7f1f test 2016-10-25 10:16:45 -03:00
jl777
d9d3a941ff test 2016-10-25 10:13:48 -03:00
jl777
b62d7030ef prepare for assetchains 2016-10-25 10:11:37 -03:00
zkbot
11ce636a9d Auto merge of #1634 - bitcartel:upstream_8123_race_condition_std_atomic, r=daira
Upstream 8123 race condition

This backports a fix from upstream, with commits applied in sequence:
https://github.com/bitcoin/bitcoin/pull/8004
https://github.com/bitcoin/bitcoin/pull/8112
https://github.com/bitcoin/bitcoin/pull/8123
2016-10-25 08:30:59 -04:00
jl777
beafd76b02 test 2016-10-25 08:23:55 -03:00
Pieter Wuille
bf673640e3 Use std::atomic for fRequestShutdown and fReopenDebugLog 2016-10-24 21:55:52 -07:00
Pieter Wuille
3f97a535ee Revert "Include signal.h for sig_atomic_t in WIN32"
This reverts commit 88f14b999cb70f6c556633f2889e698a05305158.
2016-10-24 21:55:40 -07:00
Pieter Wuille
bf3905fe8f Include signal.h for sig_atomic_t in WIN32 2016-10-24 21:55:26 -07:00
Chirag Davé
7a4e0e0932 fReopenDebugLog and fRequestShutdown should be type sig_atomic_t
This allows access as an atomic variable in the presence
of async interrupts.

See issue #7433 for more details
fixes: #7433
2016-10-24 21:54:50 -07:00
Simon
db026807b8 Add z_sendmany rule that when sending coinbase utxos to a zaddr
they must be consumed entirely, without any change, since there
is currently no way to specify a change address in z_sendmany.
2016-10-24 21:34:16 -07:00
zkbot
ede2ebff4e Auto merge of #1617 - str4d:fix-performance-measurements, r=daira
Disable metrics screen in performance-measurements.sh
2016-10-24 22:05:30 -04:00
zkbot
6c26e7c618 Auto merge of #1613 - ageis:fix-1610, r=daira
Adds libgomp1 to Debian package depends

Fixes #1610.
2016-10-24 21:27:55 -04:00
Kevin Gallagher
e07471634b Adds libgomp1 to Debian package depends
Fixes #1610.
2016-10-24 16:41:10 -07:00
Kevin Gallagher
a885ee4668 Prefer sha256sum but fall back to shasum if not available
One is provided by coreutils, the other is a Perl module.
2016-10-24 14:39:52 -07:00
jl777
cbee4d6b16 test 2016-10-24 18:09:36 -03:00
jl777
303f5c1bf1 test 2016-10-24 17:58:09 -03:00
jl777
b68920a15b test 2016-10-24 17:26:09 -03:00
jl777
30e79ca6e4 test 2016-10-24 17:24:06 -03:00
jl777
3ba8f9236e test 2016-10-24 17:20:51 -03:00
jl777
46e78b7f5e test 2016-10-24 17:06:33 -03:00
jl777
74fcb54054 test 2016-10-24 17:00:24 -03:00
jl777
24bc7aa19b test 2016-10-24 16:49:34 -03:00
jl777
2e4514cef8 test 2016-10-24 16:44:41 -03:00
jl777
6ea0c7db0b test 2016-10-24 16:38:44 -03:00
jl777
048ae85284 test 2016-10-24 16:34:06 -03:00
jl777
2aed870c9f test 2016-10-24 16:28:25 -03:00
jl777
2033116321 test 2016-10-24 16:21:40 -03:00
jl777
0a6fabc41a test 2016-10-24 16:16:45 -03:00
jl777
ad4b8e79ab test 2016-10-24 16:04:50 -03:00
jl777
6cb47b0737 test 2016-10-24 15:57:05 -03:00
jl777
fe5cd202e4 test 2016-10-24 15:53:00 -03:00