Go to file
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
.tx
build-aux/m4
contrib Adds libgomp1 to Debian package depends 2016-10-24 16:41:10 -07:00
depends Auto merge of #1577 - radix42:v1.0.0-rc1-gitian, r=daira 2016-10-20 17:40:27 -04:00
doc Add release notes and Debian changelog entry. 2016-10-23 03:03:00 +01:00
qa Disable metrics screen in performance-measurements.sh 2016-10-23 20:41:18 -05:00
share
src Auto merge of #1615 - arithmetric:1612.fix-floating-point-exception, r=daira 2016-10-25 11:43:28 -04:00
zcutil Prefer sha256sum but fall back to shasum if not available 2016-10-24 14:39:52 -07:00
.gitattributes
.gitignore Auto merge of #1567 - str4d:rename-binaries, r=daira 2016-10-21 20:48:11 -04:00
.travis.yml
COPYING
INSTALL
Makefile.am Rename libbitcoinconsensus to libzcashconsensus 2016-10-18 16:45:37 -05:00
README.md Add link to protocol specification. 2016-10-18 15:24:05 +01:00
autogen.sh
code_of_conduct.md
configure.ac Bump version numbers to 1.0.0-rc2. 2016-10-23 02:22:08 +01:00
libzcashconsensus.pc.in Rename libbitcoinconsensus to libzcashconsensus 2016-10-18 16:45:37 -05:00

README.md

Zcash

https://z.cash/

Where do I begin?

We have a guide for joining the public testnet: https://github.com/zcash/zcash/wiki/Beta-Guide

What is Zcash?

Zcash is an implementation of the "Zerocash" protocol. Based on Bitcoin's code, it intends to offer a far higher standard of privacy and anonymity through a sophisticiated zero-knowledge proving scheme which preserves confidentiality of transaction metadata. Technical details are available in our Protocol Specification.

Zcash is unfinished and highly experimental. Use at your own risk.

Participation in the Zcash project is subject to a Code of Conduct.

Security Warnings

See important security warnings in doc/security-warnings.md.

License

Zcash is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.