Commit Graph

9566 Commits

Author SHA1 Message Date
Wladimir J. van der Laan bf5b79510a
gitian: Add --disable-bench to config flags for windows
Forgot to do this in #7776.
2016-10-15 14:13:16 -05:00
Cory Fields 2e43dcec21
gitian: create debug packages for linux/windows
The -debug tarballs/zips contain detached debugging symbols. To use them, place
in the same dir as the target binary, and invoke gdb as usual.

Also, because the debug symbols add a substantial space requirement, the build
dirs are now deleted when they're no longer needed.
2016-10-15 14:12:55 -05:00
Cory Fields acfb4cf7c5
gitian: use CONFIG_SITE rather than hijacking the prefix 2016-10-15 14:12:53 -05:00
Cory Fields e6fa787a62
depends: allow for CONFIG_SITE to be used rather than stealing prefix
This does not break any existing prefix behavior, only makes new behavior work.

For example:
CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure --prefix=/
2016-10-15 14:12:41 -05:00
Wladimir J. van der Laan 2762638a01
build: Remove unnecessary executables from gitian release
This removes the following executables from the binary gitian release:

- test_bitcoin-qt[.exe]
- bench_bitcoin[.exe]

@jonasschnelli and me discussed this on IRC a few days ago - unlike the
normal `bitcoin_tests` which is useful to see if it is safe to run
bitcoin on a certain OS/environment combination, there is no good reason
to include these. Better to leave them out to reduce the download
size.

Sizes from the 0.12 release:
```
2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe
 22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe
```
2016-10-15 14:09:44 -05:00
Cory Fields 8ef3b1b934
release: add security/symbol checks to gitian 2016-10-15 14:05:04 -05:00
Cory Fields d68e211173
release: always link librt for glibc back-compat builds
glibc absorbed clock_gettime in 2.17. librt (its previous location) is safe to
link in anyway for back-compat.

Fixes #7420
2016-10-15 14:03:23 -05:00
Cory Fields a5e918a07f
release: add check-symbols and check-security make targets
These are not added to the default checks because some of them depend on
release-build configs.

[Zcash: See 56734f4b27 for check-security]
2016-10-15 14:02:29 -05:00
Cory Fields 3797182d51
release: add _IO_stdin_used to ignored exports
For details see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#109
2016-10-15 13:57:41 -05:00
Wladimir J. van der Laan 5494f303a4
gitian: Need `ca-certificates` and `python` for LXC builds
[Zcash: removed doc/gitian-building.md]
2016-10-15 13:54:52 -05:00
MarcoFalke 752a0848f2
[gitian] Set reference date to something more recent 2016-10-15 13:49:49 -05:00
Wladimir J. van der Laan db57ce9d3f
gitian: make windows build deterministic 2016-10-15 13:48:59 -05:00
Wladimir J. van der Laan bdb3f2ce3e
gitian: use trusty for building 2016-10-15 13:48:58 -05:00
Wladimir J. van der Laan 3599031edc
devtools: add libraries for bitcoin-qt to symbol check
Forgot to add these.
Also add a short description for each required library.
2016-10-15 13:48:56 -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
zkbot cc10005247 Auto merge of #1486 - str4d:1456-writewitnesscache-exception-safety, r=bitcartel
WriteWitnessCache: Catch errors and abort transaction

Closes #1452
2016-10-14 17:37:53 -04:00
zkbot 3fceaca3a1 Auto merge of #1506 - bitcartel:master_1478_fix_testnet3_test_issue, r=bitcartel
Stop some wallet tests creating ~/.zcash/testnet3 folder by setting -datadir environment

Closes #1478
2016-10-14 17:03:11 -04:00
Simon b13a87c6d7 Reorder gtests in zcash-gtest.
There is an issue where checktransaction_tests will output errors to ~/.zcash/testnet3/debug.log
because other tests which run before it select the testnet chain parameters.
2016-10-14 13:36:53 -07:00
Simon 6be367ea6d Fix test so that the encrypted wallet is output to the test_bitcoin -datadir folder. 2016-10-14 12:44:22 -07:00
4ZEC cc6c9ec05e Correct line swap
Pretty clear the author wanted these two lines in other order.
2016-10-14 13:35:22 -04:00
zkbot 27bc01a05b Auto merge of #1523 - bitcartel:master_1504_z_logging, r=bitcartel
Refine LogPrint debugging for z_* rpc calls

For #1504 ZCA011
2016-10-14 11:11:26 -04:00
Jack Grigg 6da46b692a
Refactor test to clarify expectations 2016-10-14 09:31:26 -05:00
zkbot 6432b8c453 Auto merge of #1499 - arcalinea:document-coinbase-maturity-security, r=bitcartel
Note that Coinbase maturity interval does not protect JoinSplits

Changed wording of Block Chain Reorganization section in security-warnings.md to note that we did not change Coinbase maturity #1387, but that this also does not protect JoinSplits from becoming invalidated in the case of a block chain reorg #953
2016-10-13 23:52:37 -04:00
zkbot bb25bd4bc1 Auto merge of #1533 - bitcartel:master_1447_document_getfilterednotes, r=bitcartel
Document CWallet::GetFilteredNotes

Also fixes return type of method which should be void.

Part of #1447
2016-10-13 20:25:19 -04:00
Simon cb0d208f6b Document CWallet::GetFilteredNotes and fix return type which should be
void.
2016-10-13 17:01:54 -07:00
zkbot 2b29970e28 Auto merge of #1531 - str4d:1447-document-findmynotes, r=bitcartel
Document CWalletTx::FindMyNotes

Part of #1447
2016-10-13 19:51:06 -04:00
Jay Graber 4f61aa6a6a Reword joinsplit anchor paragraph 2016-10-13 16:33:26 -07:00
Jack Grigg e492d98632
Document CWalletTx::FindMyNotes
Part of #1447
2016-10-13 18:27:58 -05:00
zkbot 8eb672251b Auto merge of #1513 - bitcartel:master_1491_fix_help_message_rpc_z_importkey, r=daira
Fixes #1491 by updating help message for rpc call z_importkey
2016-10-13 19:05:08 -04:00
zkbot a9243e4f15 Auto merge of #1512 - arcalinea:cleanup-documentation, r=daira
Cleanup documentation

Start cleaning up unused/obsolete documentation. ref #1500
2016-10-13 18:24:57 -04:00
zkbot 49fc58b782 Auto merge of #1514 - bitcartel:master_1481_client_identifier, r=bitcartel
Rename client identifier from Satoshi to MagicBean (closes #1481)

@ageis seeder will have be to updated too.
2016-10-13 02:02:58 -04:00
Jay Graber 6ca68f6745 Mv btc release notes to doc/bitcoin-release-notes 2016-10-12 16:43:45 -07:00
Jay Graber b54c195ab4 Revert "Rm Bitcoin-specific documentation"
This reverts commit 4902350d32.
2016-10-12 16:33:44 -07:00
Simon 438d1e45be Use -debug=zrpc for z_* rpc calls (#1504) 2016-10-12 15:46:24 -07:00
zkbot 3fdca8a8ed Auto merge of #1511 - arcalinea:document-hidden-service-in-tor.md, r=bitcartel
Tor.md: change alpha to beta testnet, add new zcash hidden service address

Note: When @ageis and I checked this the other day, we were getting multiple peer connections. Think we said we'd change this before launch, so I opened issue #1510. Leaving documentation to expect a single peer.
2016-10-12 14:55:03 -04:00
Jay Graber 1f48a3403b Distinguish between connecting to 1 vs multiple tor nodes 2016-10-12 11:37:49 -07:00
Simon 5bd677f5c6 Rename client identifier from Satoshi to MagicBean (closes #1481) 2016-10-12 10:50:05 -07:00
Simon e346a0b3f8 Add tests to verify that all z_* rpc calls return an error if there are too many input parameters. 2016-10-12 10:15:12 -07:00
Simon 49e591eb89 Fix incorrect check of number of parameters for z_getnewaddress. 2016-10-12 10:14:32 -07:00
zkbot 137d1f14eb Auto merge of #1507 - ageis:wget-retry, r=bitcartel
Set wget retry options for fetching parameters

This will retry upon refused connections and similar errors, wait 1 second before the next retry, time out after 10 seconds if no data is received or the connection times out, plus try an infinite number of times.

Resolves #1196.
2016-10-11 21:57:39 -04:00
Simon 950f8ffdb6 Fixes #1491 by updating help message for rpc call z_importkey 2016-10-11 16:52:38 -07:00
Jay Graber 59f9305432 Merge branch 'document-hidden-service-in-tor.md' of github.com:arcalinea/zcash into document-hidden-service-in-tor.md 2016-10-11 15:48:42 -07:00
Jay Graber 18a96c7977 Update tor.md 2016-10-11 15:48:09 -07:00
Jay Graber 8908b299c4 Improve documentation on connecting to zcash hidden server 2016-10-11 15:47:05 -07:00
Jay Graber 856b92faa1 Improve documentation on connecting to zcash hidden server 2016-10-11 15:44:38 -07:00
Jay Graber 5b07ee597c Change alpha to beta testnet, add zcash hidden service 2016-10-11 12:06:24 -07:00
Kevin Gallagher e3320f4f0f Increases timeout to 30s, wait before retry to 3s
Default: 20 tries
2016-10-11 10:56:01 -07:00
Jack Grigg 82c2d97c60
Add unit tests for WriteWitnessCache
Requires moving implementation into header
2016-10-11 09:33:47 -05:00
zkbot 7dc49cbc6a Auto merge of #1490 - str4d:1454-deprecate-accounts, r=bitcartel
Throw an RPC error for all accounts except the default

Closes #1454
2016-10-10 23:55:02 -04:00
Kevin Gallagher f964718c83 Set wget retry options for fetching parameters
This will retry upon refused connections and similar errors, wait 1 second
before the next retry, time out after 10 seconds if no data is received or
the connection times out, plus try an infinite number of times.
2016-10-10 20:34:55 -07:00