Commit Graph

10083 Commits

Author SHA1 Message Date
zkbot 970c87e14e Auto merge of #2016 - ioptio:issue-template, r=str4d
Create ISSUE_TEMPLATE.md
2017-01-17 13:37:29 +00:00
zkbot fe9259542d Auto merge of #2023 - str4d:create-config-file-in-perf-tests, r=str4d
Create empty zcash.conf during performance measurements

Fixes benchmarking regression caused by #2013.
2017-01-17 12:23:49 +00:00
Jack Grigg 336fa63020
Create empty zcash.conf during performance measurements 2017-01-17 13:19:49 +01:00
zkbot 9cd91833a5 Auto merge of #2015 - bitcartel:1780_sort_getoperationstatus, r=ebfull
Closes #1780. Result of z_getoperationstatus now sorted by operation's creation time.
2017-01-17 04:06:28 +00:00
Jack Grigg b50b4d5c38
Generate Debian control file to fix shlibs lint 2017-01-17 01:55:50 +01:00
Jack Grigg 6a62bff3e0
Debian package lint
- Tweak description synopsis to make Debian happy
- Put bash completion files in correct directory
- Add a manpage for zcash-fetch-params
2017-01-17 01:55:50 +01:00
Simon 8aa7937d44 Fixes #1960: z_getoperationstatus/result now includes operation details. 2017-01-16 16:45:27 -08:00
zkbot 6abf7adc14 Auto merge of #2013 - str4d:2002-require-zcash-conf, r=ebfull
Require zcash.conf to start zcashd

Closes #2002.
2017-01-16 23:09:38 +00:00
zkbot 600650c94c Auto merge of #2021 - str4d:1539-fix-test-ordering-again, r=ebfull
Fix gtest ordering broken by #1949

Part of #1539
2017-01-16 20:30:22 +00:00
Jack Grigg 5ae347827f
Fix gtest ordering broken by #1949
Part of #1539
2017-01-16 20:16:29 +01:00
Simon f32cade8fd Closes #1957 by adding tx serialization size to listtransactions output. 2017-01-16 11:07:16 -08:00
Simon 9064d73bf8 Fixes #1497 ZCA-009 by restricting data exporting to user defined folder.
Previously the RPC interface allowed z_exportwallet, backupwallet and
dumpwallet to write data to an arbitrary filename.  ZCA-009 demonstrates
how this is vulnerable.  The resolution is to only allow data to
written when the -exportdir has been configured.  Also filenames are
restricted to alphanumeric characters.
2017-01-16 10:56:06 -08:00
Simon af02114469 Closes #1097 so zcash-cli now displays license info like zcashd.
LicenseInfo is refactored from init.cpp to util.cpp so that the
bitcoin-cli makefile target does not need to be modified.
2017-01-16 09:38:09 -08:00
zkbot 35c9272866 Auto merge of #2019 - bitcartel:remove-bom, r=ebfull
Remove UTF-8 BOM 0xefbbbf from zcash.conf to avoid problems with command line tools

Closes #2018
2017-01-16 17:02:35 +00:00
Simon f1498d5829 Remove UTF-8 BOM efbbbf from zcash.conf to avoid problems with command line tools 2017-01-12 18:26:20 -08:00
Paige Peterson 80f3db55d8 move template to subdirectory, fix typo, include prompt under describing issue section, include uploading file directly to github ticket as option for sharing logs 2017-01-12 16:42:19 -05:00
Paige Peterson 56a033219c Create ISSUE_TEMPLATE.md 2017-01-11 16:55:29 -05:00
Simon 2d2f3d1806 Closes #1780. Result of z_getoperationstatus now sorted by creation time of operation 2017-01-11 11:49:10 -08:00
Jack Grigg 24f4e3365b
Show a friendly message explaining why zcashd needs a zcash.conf 2017-01-11 12:55:35 +01:00
Jack Grigg d87f00c4d5
Throw an error if zcash.conf is missing
An empty zcash.conf is sufficient to bypass this error.
2017-01-10 16:33:41 +01:00
zkbot f3a4dae63a Auto merge of #2009 - bitcartel:2008_update_copyright_to_2017, r=str4d
Bump COPYRIGHT_YEAR from 2016 to 2017.

Closes #2008
2017-01-10 11:17:13 +00:00
Simon e466df9369 Bump COPYRIGHT_YEAR from 2016 to 2017. 2017-01-09 23:23:36 -08:00
Jack Grigg 1c76501909
Rename build-aux/m4/bitcoin_find_bdb48.m4 to remove version
Closes #1622.
2017-01-09 18:54:08 +01:00
zkbot a6ba873aa8 Auto merge of #1949 - str4d:1810-fix-disablewallet, r=str4d
Fix --disablewallet

Closes #1810.
2017-01-09 17:36:41 +00:00
Wladimir J. van der Laan e957192c54
rpc: Implement random-cookie based authentication
When no `-rpcpassword` is specified, use a special 'cookie' file for
authentication. This file is generated with random content when the
daemon starts, and deleted when it exits. Read access to this file
controls who can access through RPC. By default this file is stored in
the data directory but it be overriden with `-rpccookiefile`.

This is similar to Tor CookieAuthentication: see
https://www.torproject.org/docs/tor-manual.html.en

Alternative to #6258. Like that pull, this allows running bitcoind
without any manual configuration. However, daemons should ideally never write to
their configuration files, so I prefer this solution.
2017-01-09 17:57:05 +01:00
zkbot 06ffa210ee Auto merge of #1986 - tromer:createjoinsplit-startprofiling, r=ebfull
CreateJoinSplit: add start_profiling() call

This solves the problem of profiling output from the CreteJoinSplit benchmarking binary displaying nonsensical large time values.
2017-01-05 18:07:53 +00:00
Eran Tromer 894a0b3295 CreateJoinSplit: add start_profiling() call
This solves the problem of profiling output displaying nonsensical large time values.
2017-01-05 11:30:23 -05:00
Jack Grigg 53e9a6a0e2
Update debug categories
Closes #1954.
2017-01-05 11:56:42 +01:00
Jack Grigg 0b0a48c881
Suggest ./zcutil/fetch-params.sh as well
Once we improve the from-source installation docs to use 'make install', we can
revert this commit.
2017-01-05 11:38:38 +01:00
zkbot 258b0a7552 Auto merge of #1981 - ebfull:fixing-homu-merge, r=ebfull
Add 'CreateJoinSplit' standalone utility to gitignore.

Closes #1926 (I'm going to use this little change to test the homu code change.)
2017-01-05 07:42:12 +00:00
Jack Grigg b6e439b261
Handle newlines in UI messages 2017-01-05 08:38:35 +01:00
Sean Bowe fc31ea8739 Add 'CreateJoinSplit' standalone utility to gitignore. 2017-01-05 00:31:22 -07:00
Jack Grigg e698459ec8
Strip out the SECURE flag in metrics UI so message style is detected 2017-01-05 08:19:15 +01:00
Jack Grigg 83561c9cb3
Trigger metrics UI refresh on new messages 2017-01-05 08:18:29 +01:00
Simon 4c1cd287be Fixes a bug where the unsigned transaction was logged by z_sendmany
after a successful sign and send, meaning that the logged hash fragment
would be different from the txid logged by "AddToWallet".  This issue
occured when sending from transparent addresses, as utxo inputs must be
signed.  It did not occur when sending from shielded addresses.
2017-01-04 12:26:23 -08:00
Jack Grigg bddf4079fd
Instruct users to run zcash-fetch-params if network params aren't available
Closes #1786.
2017-01-04 17:58:07 +01:00
Jack Grigg 7e3a20f235
Scan the whole chain whenever a z-key is imported
Closes #1941.
2017-01-04 15:40:35 +01:00
Simon 01f6c5dbee Fixes #1967 by adding age of note to z_sendmany logging. 2017-01-03 23:57:11 -08:00
Simon fce7260811 Fixes #1964 to catch general exception in z_sendmany and catch
exceptions as reference-to-const.
2017-01-03 12:50:19 -08:00
Jack Grigg 8e0fc39097
Exclude test binaries from make install
Closes #1943.
2017-01-03 11:23:21 +01:00
zkbot 57a0725ae1 Auto merge of #1946 - str4d:blockchain-stats-num-commitments, r=ebfull
Add total number of commitments to getblockchaininfo
2016-12-16 21:47:53 +00:00
Sean Bowe fc538ec2ea Add test for IncrementalMerkleTree::size(). 2016-12-16 13:50:55 -07:00
Jack Grigg d0ce704abe
Add a tool for profiling the creation of JoinSplits 2016-12-17 02:43:43 +13:00
Jack Grigg 6daab5b4fc
Only run wallet tests when wallet is enabled 2016-12-16 10:52:37 +13:00
Jack Grigg f3e4968626
Only enable getblocktemplate when wallet is enabled 2016-12-16 10:44:04 +13:00
Jack Grigg 611f25b604
Release notes, authors, changelog 2016-12-15 16:47:49 +13:00
Jack Grigg 196df30d72
Update man pages 2016-12-15 16:45:18 +13:00
Jack Grigg 83ce8a4d7c
Update version to 1.0.4 2016-12-15 16:33:09 +13:00
Jack Grigg 5d6e1aa60f
Add total number of commitments to getblockchaininfo 2016-12-15 15:50:26 +13:00
zkbot a530e9582f Auto merge of #1939 - str4d:1933-fix-bug, r=str4d
Only increment new notes on reindex

Addresses another issue in #1904.

When an existing one of our notes was found again, its cache was reset and it was re-witnessed. This would cause encountered notes to get out-of-sync with the otherwise-ignored newer notes, which could be a problem if the wallet data happens to be written out during a reindex.
2016-12-15 01:32:30 +00:00