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
Jack Grigg
74372eaa4c
Initialise walletdb system in a temp dir for all gtests
2016-11-03 15:42:44 -05: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
Jack Grigg
3bddaf632e
Use uint64_t for AtomicCounter
2016-11-02 14:50:00 -05: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
Jack Grigg
cb7098317d
Improve locking in metrics
2016-11-01 11:59:40 -05: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
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
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
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
Jack Grigg
ab32254909
Update tests for new genesis blocks
2016-10-27 02:45:21 -07:00
Jack Grigg
2360dd6449
Regenerate mainnet and testnet genesis blocks for nMaxTipAge change
...
The regtest genesis block is unchanged because the RPC test framework has an
unspecified dependency on its specific value of nTime.
2016-10-27 02:43:16 -07:00
Jack Grigg
2f5d62fe32
Remove Founders' Reward override from #1398
2016-10-26 21:05:17 -07:00
Jack Grigg
9f15b823ac
Integrate production Founders' Reward keys
...
Closes #870
2016-10-26 21:05:17 -07:00
Jack Grigg
9e044e509e
Link to #826 in doc/security-warnings.md, link to new Security website page
...
Closes #826
2016-10-25 15:41:36 -07:00
Jack Grigg
dfe29d5988
Disable metrics screen in performance-measurements.sh
2016-10-23 20:41:18 -05:00
Jack Grigg
dccc140bf1
Comment out print statements in tromp's solver
...
This prevents the solver interfering with the metrics screen.
2016-10-22 15:59:44 -05:00
Jack Grigg
199b3aafd3
Use solutions per second (Sol/s)
...
Part of #1422
2016-10-22 15:50:23 -05:00
Jack Grigg
f8ada2435b
Be excited about validating transactions!
2016-10-22 15:50:21 -05:00
Jack Grigg
e7d59bbc12
Add average hash rate to metrics
2016-10-22 15:50:20 -05:00
Jack Grigg
db853f8a46
Handle wrapping of potentially long lines
2016-10-22 15:50:18 -05:00
Jack Grigg
0ddd6d1cd8
Tag metrics strings for translation
2016-10-22 15:50:17 -05:00
Jack Grigg
d30273f919
Split out screen sections into separate functions
2016-10-22 15:50:16 -05:00
Jack Grigg
4482bd8fd7
Adjust copy
2016-10-22 15:50:14 -05:00
Jack Grigg
d934e68967
Fit metrics screen into an 80-column terminal without wrapping
2016-10-22 15:50:13 -05:00
Jack Grigg
4ace963c80
Show important console messages on metrics screen
2016-10-22 15:50:11 -05:00
Jack Grigg
a6df7ab567
Add a persistent screen showing basic node metrics
...
The screen is implemented using ANSI Escape sequences.
Closes #1331
2016-10-22 15:50:06 -05:00
Jack Grigg
bc54cf06cc
Fix RPC test
2016-10-22 15:36:38 -05:00
Jack Grigg
f4f1b4b097
Update sighash tests for new consensus rule
2016-10-22 11:09:07 -05:00
Jack Grigg
77175766f4
Enforce standard transaction rules on testnet
...
Closes #1582
2016-10-22 09:03:09 -05:00
Jack Grigg
86d2c90468
Update tests for new genesis blocks
2016-10-22 00:52:58 -05:00
Jack Grigg
8c54e34a68
Use tromp's solver to regenerate miner tests
...
When using, comment out tromp's solver in miner.cpp to avoid linker errors.
2016-10-22 00:52:56 -05:00
Jack Grigg
6be6762237
Regenerate genesis blocks with nVersion = 4
...
Includes parts of #1554
2016-10-22 00:52:45 -05:00
Jack Grigg
80f4cdcf8f
Reject block versions lower than 4
...
Closes #1556
2016-10-22 00:43:26 -05:00
Jack Grigg
7ac924cdb7
Disallow v0 transactions as a consensus rule
...
Closes #1557
2016-10-22 00:40:50 -05:00
Jack Grigg
07064ea2d1
GBT: Add RPC tests
2016-10-21 23:38:37 -05:00
Jack Grigg
1628efedaf
GBT: Correct block header in proposals RPC test
2016-10-21 23:36:35 -05:00
Jack Grigg
89aa746ca1
GBT: Add informational founders' reward value to coinbasetxn
2016-10-21 23:36:04 -05:00
Jack Grigg
53ddbaed16
GBT: Support coinbasetxn instead of coinbasevalue
...
Once a Zcash GBT spec has been written, we can re-enable coinbasevalue.
2016-10-21 23:32:24 -05:00
Jack Grigg
09864abc55
Revert "Revert "Avoid boost::posix_time functions that have potential out-of-bounds read bugs. ref #1459 ""
...
This reverts commit f19cb7b7ee .
2016-10-21 23:14:00 -05:00
Jack Grigg
d8e06e3f58
Add test that encryptwallet is disabled
2016-10-20 14:45:44 -05:00
Jack Grigg
2b499f4386
Fix RPC tests that require wallet encryption
2016-10-20 14:35:41 -05:00
Jack Grigg
8ecf6ccfef
Improve security documentation
2016-10-20 13:41:00 -05:00
Jack Grigg
35cf6ee26d
Document another wallet encryption concern
2016-10-20 13:33:58 -05:00
Jack Grigg
750d4e07dd
Document that wallet encryption is disabled
2016-10-20 12:58:51 -05:00
Jack Grigg
1532cb75f3
Throw an error when encryptwallet is disabled
2016-10-20 12:58:20 -05:00
Jack Grigg
1b407cba2b
Add heights to log output
2016-10-20 11:02:15 -05:00
Jack Grigg
878c4b1b50
Clear witness cache when re-witnessing notes
...
Closes #1378
2016-10-20 10:32:20 -05:00
Jack Grigg
aa36398b27
Add more assertions, throw if find_output params are invalid
2016-10-19 08:49:08 -05:00
Jack Grigg
62c0aa9e58
Disable wallet encryption
...
Closes #1552
2016-10-18 17:47:17 -05:00
Jack Grigg
d9d59f5176
Remove the RC 1 block index error message
...
Reverts 85457ddec1
Closes #1548
2016-10-18 17:19:54 -05:00
Jack Grigg
66a89c08df
Rename bitcoin-tx to zcash-tx
...
Closes #1565
2016-10-18 16:45:43 -05:00
Jack Grigg
08d6b02d5e
Rename libbitcoinconsensus to libzcashconsensus
...
Closes #1563
2016-10-18 16:45:37 -05:00
Jack Grigg
328d39d29c
Remove stale comment
2016-10-18 13:10:20 -05:00
Jack Grigg
3774c944f8
Refactor test code to better test JSDescription::Randomized()
2016-10-18 12:44:56 -05:00
Jack Grigg
2eeb6bebde
Randomize JoinSplits in z_sendmany
2016-10-18 10:41:30 -05:00
Jack Grigg
7f0aa74666
Implement static method for creating a randomized JSDescription
2016-10-18 10:41:00 -05:00
Jack Grigg
0382417fee
Implement MappedShuffle for tracking the permutation of an array
2016-10-18 00:20:47 -05:00
Jack Grigg
6a7acc29a1
Set CBlockIndex.hashAnchor correctly in ConnectBlock
2016-10-17 11:09:24 -05:00
Jack Grigg
85457ddec1
Add clear error message for upgrading users
2016-10-17 09:55:02 -05:00
Jack Grigg
b6961fc112
Increment witnesses for new transactions on rescan
...
Closes #1400
2016-10-17 09:55:02 -05:00
Jack Grigg
83d7b5b67b
Add more asserts to track down the bug
2016-10-17 05:09:27 +01:00
Jack Grigg
6e263a5fd3
Address review comments
2016-10-16 16:26:51 -05:00
Jack Grigg
de064bab95
Update libsnark to include determinism fix
2016-10-16 12:27:01 -05:00
Jack Grigg
6fe11af7b5
Render full version correctly in configure.ac
...
Required in order for "make dist" to generate the correct filename
2016-10-15 15:57:11 -05:00
Jack Grigg
c06664fb8f
Fix Makefiles so "make dist" will run
2016-10-15 15:57:11 -05:00
Jack Grigg
7d1c2d0b72
[gitian] Don't call "make check-symbols"
...
Currently it does not recognise any of the C++11 symbols. We can re-enable this
when either we update it, or upstream migrates to C++11 and does so.
2016-10-15 15:55:28 -05:00
Jack Grigg
85fe644139
Remaining changes from bitcoin/bitcoin#6854
...
Add a check to symbol-check.py that checks that only the subset of
allowed libraries is imported (to avoid incompatibilities).
See 56734f4b27 for the earlier changes.
2016-10-15 13:47:10 -05:00
Jack Grigg
a581fe2aae
Only ignore runtime errors caused by failed note decryption
2016-10-14 17:16:09 -05:00
Jack Grigg
ddea44a27e
Update comments
2016-10-14 17:16:09 -05:00
Jack Grigg
1a62587e9a
Delay caching of nullifiers when wallet is locked
...
Closes #1502
2016-10-14 17:16:09 -05:00
Jack Grigg
8f445ee774
Break the RPC test by encrypting the mirroring wallet
2016-10-14 17:14:13 -05:00
Jack Grigg
52fdce985f
Add RPC test showing correct handling of JS txns from blockchain
...
For unencrypted wallets, the wallet correctly tracks JoinSplits made for their
zkey in a different wallet.
2016-10-14 17:14:13 -05:00
Jack Grigg
fb2653ed0e
Add unit test that fails when calling FindMyNotes on a locked wallet
2016-10-14 17:14:13 -05:00
Jack Grigg
6da46b692a
Refactor test to clarify expectations
2016-10-14 09:31:26 -05:00
Jack Grigg
e492d98632
Document CWalletTx::FindMyNotes
...
Part of #1447
2016-10-13 18:27:58 -05:00
Jack Grigg
82c2d97c60
Add unit tests for WriteWitnessCache
...
Requires moving implementation into header
2016-10-11 09:33:47 -05:00
Jack Grigg
715e5bbefd
Correct docstring
2016-10-10 10:47:38 -05:00
Jack Grigg
7b3351ff0e
Deprecated -> Unsupported in RPC error
2016-10-10 10:47:36 -05:00
Jack Grigg
b6f100cf86
Update tests for account deprecation
2016-10-10 10:47:30 -05:00
Jack Grigg
3c31eb24d3
Throw an RPC error for all accounts except the default
2016-10-05 15:16:47 -05:00
Jack Grigg
6216b4b2dc
WriteWitnessCache: Catch errors and abort transaction
...
Closes #1456
2016-10-05 09:49:43 -05:00
Jack Grigg
ece30654a8
Update release process to sign release tags
2016-10-04 23:07:13 -05:00
Jack Grigg
17b23ffe20
v1.0.0-beta2
2016-10-04 21:55:26 -05:00