Simon
5e9b555fed
Fixes #1762 segfault when miner is interrupted.
...
Running ./zcash-cli setgenerate false would result in a segfault.
The miner thread's boost::signals2::connection was not disconnected
when the miner thread was interrupted and shutdown. Subsequently, when
a new block arrived, the UpdateTip callback would still be invoked on
a now invalid object, resulting in a segfault.
2016-11-03 21:53:56 -07:00
Sean Bowe
eb2e2b7043
1.0.1 release.
2016-11-03 22:26:15 -06:00
zkbot
9752e57739
Auto merge of #1772 - str4d:temporary-gtest-bug-workaround, r=ebfull
...
Temporary gtest bug workaround
Replaces the previous partial fix from #1771 with a temporary workaround that prevents all issues.
2016-11-03 23:19:51 +00:00
Jack Grigg
b7f3640dda
Change execution order of gtests to avoid bug
...
This is only a workaround; we still need to isolate and fix the root cause.
2016-11-03 18:09:34 -05:00
Jack Grigg
d873bd1d58
Revert "Initialise walletdb system in a temp dir for all gtests"
...
This reverts commit 74372eaa4c
.
2016-11-03 18:04:28 -05:00
zkbot
231d2ccaf9
Auto merge of #1759 - ageis:more-fetch-params-stuff, r=ebfull
...
Improves usability of fetch-params.sh
Remove the lockfile at the end (fixes #1731 )
Makes it clearer what happens in the script output if params already exist.
2016-11-03 21:44:23 +00:00
Jack Grigg
74372eaa4c
Initialise walletdb system in a temp dir for all gtests
2016-11-03 15:42:44 -05:00
zkbot
a2d8669f84
Auto merge of #1758 - str4d:1728-install-and-dist-scripts, r=str4d
...
Add build scripts and fetch-params.sh to "make install" and "make dist"
Closes #1728
2016-11-03 17:07:33 +00:00
zkbot
11c9be9eff
Auto merge of #1735 - str4d:metrics-screen-improvements, r=str4d
...
Metrics screen improvements
Closes #1656 , #1685 , #1688 and #1716
2016-11-03 14:55:04 +00:00
ITH4Coinomia
df22af008d
Update init.cpp
...
Reformatted Text
2016-11-03 18:34:12 +05:30
ITH4Coinomia
c6ad4f2245
Update security-warnings.md
...
Linked Bitcoin URL
2016-11-03 16:51:41 +05:30
zkbot
9eb852edd0
Auto merge of #1718 - ebfull:valid-fee-selection, r=nathan-at-least
...
Properly account for JoinSplit value when deciding if a transaction should be placed in a mined block.
Closes #1705 .
The transaction selection logic in miner.cpp was not updated to account for JoinSplit value. This caused issues that include, but are not limited to, miners not including pure JoinSplit transactions in their blocks.
2016-11-03 04:38:54 +00:00
Jack Grigg
6b820113e9
Fix whitespace in Makefile.gtest.include
2016-11-02 17:43:37 -05:00
Jack Grigg
e80490f5ff
Fix gtest issue introduced into master
2016-11-02 16:45:38 -05:00
Sean Bowe
52676958d1
Test that a pure joinsplit will mine if other transactions are in the mempool.
2016-11-02 14:25:07 -06:00
Jack Grigg
3bddaf632e
Use uint64_t for AtomicCounter
2016-11-02 14:50:00 -05:00
zkbot
51a5737950
Auto merge of #1754 - str4d:1753-genesis-block-coinbase-height-exception, r=str4d
...
Adjust consensus rule to accept genesis block without height in coinbase
Closes #1753
2016-11-02 18:15:39 +00:00
Kevin Gallagher
4bc627b6a3
Improves usability of fetch-params.sh
...
Remove the lockfile at the end (fixes #1731 )
Makes it clearer what happens in the script output if params already exist.
2016-11-02 11:06:55 -07:00
zkbot
624b5f390a
Auto merge of #1752 - ebfull:diagnostics-of-constraint-system-violations, r=ebfull
...
Throw more descriptive exceptions when the constraint system is violated
Closes #1668 .
2016-11-02 17:30:31 +00:00
Jack Grigg
33efd816ec
Add build scripts and fetch-params.sh to "make install" and "make dist"
...
Closes #1728
2016-11-02 12:13:47 -05:00
Jack Grigg
73a439185d
Ensure that no tracked blocks are skipped during orphan detection
2016-11-02 09:20:35 -05:00
Jack Grigg
22ee0efe25
Fix previous commit
2016-11-01 20:37:59 -05:00
Jack Grigg
548bbd95f0
Adjust consensus rule to accept genesis block without height in coinbase
...
Closes #1753
2016-11-01 19:58:56 -05:00
zkbot
77dcb00d0e
Auto merge of #1748 - bitcartel:master_1746_add_z_validateaddress, r=ebfull
...
Add rpc call z_validateaddress to validate zaddrs.
Closes #1746 .
2016-11-01 20:56:26 +00:00
Sean Bowe
c4643bd949
Throw more descriptive exceptions when the constraint system is violated.
2016-11-01 14:52:03 -06:00
zkbot
ae3e69c6b2
Auto merge of #1750 - ebfull:add-checkpoint, r=ebfull
...
Add checkpoint at block 2500.
2016-11-01 20:01:07 +00:00
Jack Grigg
cb7098317d
Improve locking in metrics
2016-11-01 11:59:40 -05:00
Sean Bowe
73363c3d9a
Add checkpoint at block 2500.
2016-11-01 09:16:51 -06:00
Simon
4e16a7249c
Closes #1746 . Add rpc call z_validateaddress to validate zaddrs.
2016-10-31 20:05:48 -07:00
Jack Grigg
24f1026689
Show mining info once the node has finished loading
...
Closes #1685
2016-10-30 16:54:05 -07:00
Jack Grigg
eb5b582e1f
Add network stats to metrics screen
...
Closes #1688
2016-10-30 16:38:09 -07:00
Jack Grigg
848c89cd67
Refresh mining status to detect setgenerate changes
...
Closes #1656
2016-10-30 16:38:07 -07:00
Jack Grigg
d793f94b8a
Track mined blocks to detect and report orphans and mining revenue
...
Part of #1713
Closes #1716
2016-10-30 16:37:44 -07:00
Sean Bowe
2b2bc69e8c
Properly account for joinsplit value when deciding if a transaction should be placed in a mined block.
2016-10-29 11:53:16 -06:00
Cameron Boehmer
473ed95199
point "where do i begin?" readme link to 1.0 guide
2016-10-28 17:30:10 -07:00
Zcash Company
1feaefac51
Update network magics for 1.0.0 ⓩ❤
2016-10-28 14:32:25 +00:00
Jack Grigg
ff5f66b847
Update Debian manpages and buildscript
2016-10-28 04:39:00 -07:00
Jack Grigg
409dcb7e1d
Update Debian changelog
2016-10-28 04:12:29 -07:00
Jack Grigg
7232f2f787
Add release notes for 1.0.0
...
The Debian build script has been modified to account for the version
discrepancy.
2016-10-28 04:12:27 -07:00
Jack Grigg
998202ba20
Update version strings to 1.0.0
...
Debian uses 1.0.0-sprout to ensure correct ordering.
2016-10-28 04:12:20 -07:00
Jack Grigg
657bde55ef
Update tests for new genesis blocks
...
Miner tests have been commented out, and will be regenerated after launch.
2016-10-28 02:56:15 -07:00
Jack Grigg
30ed379109
Add the Zcash genesis blocks
...
Closes #1554
2016-10-28 02:55:43 -07:00
zkbot
2787ea686c
Auto merge of #1673 - str4d:fix-libsnark-indeterminism, r=str4d
...
Build libsnark with -march=x86-64 instead of -march=native
Fixes the remaining libsnark indeterminacy.
Thanks to @tromer for the fix!
Closes #1645
2016-10-28 03:32:13 +00:00
Jack Grigg
d35172fb67
Disable the metrics screen on regtest
2016-10-27 19:41:10 -07:00
Jack Grigg
da7bcff4fe
Build libsnark with -march=x86-64 instead of -march=native
2016-10-27 16:32:27 -07:00
zkbot
ab5c175744
Auto merge of #1661 - ageis:deb-pkg-enhancements, r=arcalinea
...
Debian packaging fixes
* Updates maintainer scripts from latest version of `dh_make`
* Includes `rules` file
* Use `fakeroot` to build the package.
We use currently `dpkg-deb --build` instead of `debuild` or `dpkg-buildpackage`, so I don't know if the package is well-formatted for the latter. (one difference, the former works with uppercase `DEBIAN`, the latter lowercase `debian` -- that's why the directory was renamed)
2016-10-27 19:13:35 +00:00
Kevin Gallagher
fa7261bd44
Run Lintian after built package is copied to $SRC_PATH
...
Because of `set -e`, if there are any warnings, then the package won't be
copied back to the source directory. For now, there are definitely going to
remain some Lintian warnings which we'll want to ignore.
Also updates comments to make them more descriptive.
2016-10-27 09:08:38 -07:00
Jack Grigg
31cc0d0861
Fix DEBIAN/control errors raised by lintian
2016-10-27 08:45:16 -07:00
Jack Grigg
acb8bbe4fe
Add lintian check to zcutil/build-debian-package.sh
2016-10-27 08:44:44 -07:00
Jack Grigg
b7f7def877
Rework zcutil/build-debian-package.sh to place files correctly
...
See http://www.tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/
for a guide on how to prepare a distribution for using dpkg-deb.
2016-10-27 08:44:24 -07:00