]> Git Repo - VerusCoin.git/log
VerusCoin.git
7 years agoAllow changing network upgrade parameters on regtest
Jack Grigg [Wed, 31 Jan 2018 20:11:18 +0000 (20:11 +0000)]
Allow changing network upgrade parameters on regtest

Derived from upstream commit 56c87e92110f05d7452f1e85bf755246ffc77206:
    Allow changing BIP9 parameters on regtest

7 years agoNetwork upgrade activation mechanism
Jack Grigg [Wed, 17 Jan 2018 11:25:28 +0000 (11:25 +0000)]
Network upgrade activation mechanism

7 years agoAuto merge of #2902 - bitcartel:2901_remove_unused_noblks_constants, r=daira
Homu [Thu, 25 Jan 2018 12:37:33 +0000 (04:37 -0800)]
Auto merge of #2902 - bitcartel:2901_remove_unused_noblks_constants, r=daira

Remove unused NOBLKS_VERSION_{START,END} constants from version.h

Closes #2901. Backport from upstream PR https://github.com/bitcoin/bitcoin/pull/7662.

7 years agoremove unused NOBLKS_VERSION_{START,END} constants
Pavel Vasin [Wed, 9 Mar 2016 16:29:23 +0000 (19:29 +0300)]
remove unused NOBLKS_VERSION_{START,END} constants

7 years agoAuto merge of #2217 - str4d:2074-chainparams, r=str4d
Homu [Mon, 22 Jan 2018 23:22:24 +0000 (15:22 -0800)]
Auto merge of #2217 - str4d:2074-chainparams, r=str4d

Bitcoin 0.12 chainparams cleanups

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6222
- bitcoin/bitcoin#6381
- bitcoin/bitcoin#6473
- bitcoin/bitcoin#6242

Part of #2074.

7 years agoAuto merge of #2897 - str4d:2892-zkey-rpc-bugfix, r=str4d
Homu [Mon, 22 Jan 2018 22:11:50 +0000 (14:11 -0800)]
Auto merge of #2897 - str4d:2892-zkey-rpc-bugfix, r=str4d

zkey_import_export: Synchronize mempools before mining

Resolves a race condition that caused the RPC test to intermittently fail.

Closes #2892.

7 years agozkey_import_export: Synchronize mempools before mining
Jack Grigg [Mon, 22 Jan 2018 21:08:15 +0000 (21:08 +0000)]
zkey_import_export: Synchronize mempools before mining

Resolves a race condition that caused the RPC test to intermittently fail.

Closes #2892.

7 years agoAuto merge of #2886 - bitcartel:2885_cleanup_node_getutxo, r=str4d
Homu [Mon, 22 Jan 2018 16:38:49 +0000 (08:38 -0800)]
Auto merge of #2886 - bitcartel:2885_cleanup_node_getutxo, r=str4d

Remove redundant service flag NODE_GETUTXO meant for Bitcoin XT.

For #2885. This frees up a service bit.  Zcash has never used this flag
and upstream Bitcoin Core does not support this flag, although
it did reserve it for compatibility with Bitcoin XT.

7 years agoAdd viewing key prefix to regtest parameters
Jack Grigg [Mon, 22 Jan 2018 15:32:52 +0000 (15:32 +0000)]
Add viewing key prefix to regtest parameters

7 years agoAdd missing namespace for boost::get
Jack Grigg [Thu, 9 Nov 2017 17:03:07 +0000 (17:03 +0000)]
Add missing namespace for boost::get

7 years agochainparams: don't use std namespace
Cory Fields [Fri, 5 Jun 2015 20:01:44 +0000 (16:01 -0400)]
chainparams: don't use std namespace

7 years agochainparams: move CCheckpointData into chainparams.h
Cory Fields [Fri, 5 Jun 2015 19:36:34 +0000 (15:36 -0400)]
chainparams: move CCheckpointData into chainparams.h

This unties CChainParams from its dependency on checkpoints. Instead, now it
only depends on the raw checkpoint data.

7 years agoClean up chainparams some more.
Daniel Kraft [Wed, 29 Jul 2015 19:13:36 +0000 (21:13 +0200)]
Clean up chainparams some more.

Clean up the code in chainparams a bit more after the recent
refactorings.  In particular, make sure the structure of the "RegTest"
params matches the structure of the other classes.  This makes the code
clearer to read.

Also remove redundant values of the genesis block in always-specified
optional arguments and mark variable/argument as "const".

7 years agoChainparams: CTestNetParams and CRegTestParams extend directly from CChainParams
Jorge Timón [Fri, 3 Jul 2015 12:30:18 +0000 (14:30 +0200)]
Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams

...instead of CMainParams and CTestNetParams respectively

Do the same for CBaseChainParams.
The inheritance was only reducing readibility in this case

7 years agoChainparams: Introduce CreateGenesisBlock() static function
Jorge Timón [Fri, 3 Jul 2015 12:29:57 +0000 (14:29 +0200)]
Chainparams: Introduce CreateGenesisBlock() static function

7 years agoExplicitly set tx.nVersion for the genesis block and mining tests
Mark Friedenbach [Tue, 2 Jun 2015 23:25:34 +0000 (16:25 -0700)]
Explicitly set tx.nVersion for the genesis block and mining tests

If/when CTransaction::CURRENT_VERSION is incremented, this will break CChainParams and the miner tests. This fix sets the transaction version explicitly where we depend on the hash value (genesis block, proof of work checks).

7 years agoRemove redundant service flag NODE_GETUTXO meant for Bitcoin XT.
Simon [Sat, 20 Jan 2018 01:18:41 +0000 (17:18 -0800)]
Remove redundant service flag NODE_GETUTXO meant for Bitcoin XT.

This frees up a service bit.  Zcash has never used this flag
and upstream Bitcoin Core does not support this flag, although
it did reserve it for compatibility with Bitcoin XT.

7 years agoAuto merge of #2873 - bitcartel:2793_dbcache, r=bitcartel
Homu [Sat, 20 Jan 2018 00:53:21 +0000 (16:53 -0800)]
Auto merge of #2873 - bitcartel:2793_dbcache, r=bitcartel

Closes #2793 to improve sync performance by increasing default value of dbcache.

7 years agoAdd note about dbcache to 1.0.15 release notes.
Simon [Sat, 20 Jan 2018 00:52:25 +0000 (16:52 -0800)]
Add note about dbcache to 1.0.15 release notes.

Adapted from upstream release notes here:
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.14.1.md#utxo-memory-accounting

7 years agoAdd documentation about dbcache.
Simon [Thu, 18 Jan 2018 00:55:26 +0000 (16:55 -0800)]
Add documentation about dbcache.

Adapted from documentation 'Reducing bitcoind memory usage' by @laanwj
https://gist.github.com/laanwj/efe29c7661ce9b6620a7

7 years agoAuto merge of #2848 - str4d:2795-rpc-test-chainValueZat, r=str4d
Homu [Wed, 17 Jan 2018 18:17:46 +0000 (10:17 -0800)]
Auto merge of #2848 - str4d:2795-rpc-test-chainValueZat, r=str4d

Check chainValueZat when checking value pool monitoring

Addresses https://github.com/zcash/zcash/pull/2795#discussion_r157343660

7 years agoAuto merge of #2845 - str4d:exportdir-completion, r=str4d
Homu [Tue, 16 Jan 2018 23:30:22 +0000 (15:30 -0800)]
Auto merge of #2845 - str4d:exportdir-completion, r=str4d

Enable Bash completion for -exportdir

7 years agoFixes #2793. Backport commit f33afd3 to increase dbcache default.
Simon [Fri, 31 Mar 2017 14:25:39 +0000 (10:25 -0400)]
Fixes #2793. Backport commit f33afd3 to increase dbcache default.

7 years agoAuto merge of #2858 - sandakersmann:patch-1, r=daira
Homu [Sun, 14 Jan 2018 08:37:05 +0000 (00:37 -0800)]
Auto merge of #2858 - sandakersmann:patch-1, r=daira

Changed http:// to https:// on some links

Changed http:// to https:// on some links in code_of_conduct.md

7 years agoChanged http:// to https:// on some links
Marius Kjærstad [Mon, 8 Jan 2018 04:13:11 +0000 (05:13 +0100)]
Changed http:// to https:// on some links

Changed http:// to https:// on some links in code_of_conduct.md

7 years agoAuto merge of #2771 - syd0:fix-snark-dep-build, r=str4d
Homu [Fri, 5 Jan 2018 01:06:33 +0000 (17:06 -0800)]
Auto merge of #2771 - syd0:fix-snark-dep-build, r=str4d

Fix libsnark dependency build.

This changes libsnark to build in-place, instead of copying first to
a build directory. Previously, modifications made to the original
sources wouldn't get rebuilt without a 'make clean' because users
would be pointing to the copies.

This closes #2689.

7 years agoAuto merge of #2770 - syd0:remove-some-cruft, r=str4d
Homu [Fri, 5 Jan 2018 00:02:27 +0000 (16:02 -0800)]
Auto merge of #2770 - syd0:remove-some-cruft, r=str4d

Remove OSX and Windows files from Makefile + share directory.

These are stale holdovers from bitcoin.

This closes #2169.

7 years agoRemove OSX and Windows files from Makefile + share directory.
syd [Fri, 24 Nov 2017 17:09:27 +0000 (12:09 -0500)]
Remove OSX and Windows files from Makefile + share directory.

These are stale holdovers from bitcoin.

This closes #2169.

7 years agoAuto merge of #2821 - str4d:2335-scope-ecdsa-constants, r=str4d
Homu [Thu, 4 Jan 2018 22:47:50 +0000 (14:47 -0800)]
Auto merge of #2821 - str4d:2335-scope-ecdsa-constants, r=str4d

Scope the ECDSA constant sizes to CPubKey / CKey classes

Cherry-picked from https://github.com/bitcoin/bitcoin/pull/10657, upstreaming our patches from #2335.

7 years agoAuto merge of #2849 - str4d:release-v1.0.14, r=str4d
Homu [Thu, 4 Jan 2018 00:39:43 +0000 (16:39 -0800)]
Auto merge of #2849 - str4d:release-v1.0.14, r=str4d

Release v1.0.14

7 years agomake-release.py: Updated release notes and changelog for 1.0.14.
Jack Grigg [Wed, 3 Jan 2018 22:54:16 +0000 (23:54 +0100)]
make-release.py: Updated release notes and changelog for 1.0.14.

7 years agomake-release.py: Updated manpages for 1.0.14.
Jack Grigg [Wed, 3 Jan 2018 22:54:00 +0000 (23:54 +0100)]
make-release.py: Updated manpages for 1.0.14.

7 years agomake-release.py: Versioning changes for 1.0.14.
Jack Grigg [Wed, 3 Jan 2018 22:44:51 +0000 (23:44 +0100)]
make-release.py: Versioning changes for 1.0.14.

7 years agoCheck chainValueZat when checking value pool monitoring
Jack Grigg [Wed, 3 Jan 2018 22:41:53 +0000 (23:41 +0100)]
Check chainValueZat when checking value pool monitoring

7 years agoEnable Bash completion for -exportdir
Jack Grigg [Tue, 2 Jan 2018 15:41:41 +0000 (16:41 +0100)]
Enable Bash completion for -exportdir

7 years agoAuto merge of #2830 - str4d:release-v1.0.14-rc1, r=str4d
Homu [Fri, 22 Dec 2017 14:21:17 +0000 (06:21 -0800)]
Auto merge of #2830 - str4d:release-v1.0.14-rc1, r=str4d

Release v1.0.14-rc1

7 years agoUpdate release process
Jack Grigg [Fri, 22 Dec 2017 10:13:40 +0000 (10:13 +0000)]
Update release process

7 years agomake-release.py: Updated release notes and changelog for 1.0.14-rc1.
Jack Grigg [Fri, 22 Dec 2017 10:12:41 +0000 (10:12 +0000)]
make-release.py: Updated release notes and changelog for 1.0.14-rc1.

7 years agomake-release.py: Updated manpages for 1.0.14-rc1.
Jack Grigg [Fri, 22 Dec 2017 10:12:30 +0000 (10:12 +0000)]
make-release.py: Updated manpages for 1.0.14-rc1.

7 years agomake-release.py: Versioning changes for 1.0.14-rc1.
Jack Grigg [Fri, 22 Dec 2017 09:59:01 +0000 (09:59 +0000)]
make-release.py: Versioning changes for 1.0.14-rc1.

7 years agoAuto merge of #2826 - str4d:pyflakes-warnings, r=str4d
Homu [Thu, 21 Dec 2017 18:53:32 +0000 (10:53 -0800)]
Auto merge of #2826 - str4d:pyflakes-warnings, r=str4d

Fix pyflakes warnings in zkey_import_export RPC test

7 years agoFix pyflakes warnings in zkey_import_export RPC test
Jack Grigg [Thu, 21 Dec 2017 18:19:42 +0000 (18:19 +0000)]
Fix pyflakes warnings in zkey_import_export RPC test

7 years agoAuto merge of #2823 - str4d:2755-release-notes, r=str4d
Homu [Thu, 21 Dec 2017 08:29:31 +0000 (00:29 -0800)]
Auto merge of #2823 - str4d:2755-release-notes, r=str4d

List all commits in final release notes

This alters the release notes to display the following commit ranges:

Version | Diff
------- | ---
`X-rc1` | `(X-1)..X-rc1`
`X-rc2` | `(X-1)..X-rc2`
`X`     | `(X-1)..X`

Closes #2755.

7 years agoExclude beta and RC release notes from author tallies
Jack Grigg [Thu, 21 Dec 2017 00:25:29 +0000 (00:25 +0000)]
Exclude beta and RC release notes from author tallies

(except for pre-1.0.0, per previous commit)

7 years agoRegenerate previous release notes to conform to new format
Jack Grigg [Thu, 21 Dec 2017 00:24:43 +0000 (00:24 +0000)]
Regenerate previous release notes to conform to new format

Pre-1.0.0 release notes are excluded, as they were operating under a different
RC timeline, and make more sense separated.

7 years agorelease-notes.py: Remove unnecessary parameter
Jack Grigg [Wed, 20 Dec 2017 23:41:08 +0000 (23:41 +0000)]
release-notes.py: Remove unnecessary parameter

7 years agoCreate release notes starting from the previous non-beta non-RC release
Jack Grigg [Wed, 20 Dec 2017 23:39:39 +0000 (23:39 +0000)]
Create release notes starting from the previous non-beta non-RC release

7 years agoAuto merge of #2143 - str4d:1997-viewing-keys, r=str4d
Homu [Wed, 20 Dec 2017 22:11:05 +0000 (14:11 -0800)]
Auto merge of #2143 - str4d:1997-viewing-keys, r=str4d

Implement incoming viewing keys

Closes #1997.

7 years agoAdd release notes for incoming viewing keys
Jack Grigg [Wed, 20 Dec 2017 18:14:40 +0000 (18:14 +0000)]
Add release notes for incoming viewing keys

7 years agoScope the ECDSA constant sizes to CPubKey / CKey classes
Jack Grigg [Wed, 4 Oct 2017 13:41:40 +0000 (14:41 +0100)]
Scope the ECDSA constant sizes to CPubKey / CKey classes

7 years agoAdd cautions to z_getbalance and z_gettotalbalance help text about viewing keys
Jack Grigg [Wed, 20 Dec 2017 11:24:51 +0000 (11:24 +0000)]
Add cautions to z_getbalance and z_gettotalbalance help text about viewing keys

7 years agoCleanup: Add braces for clarity
Jack Grigg [Wed, 20 Dec 2017 11:18:59 +0000 (11:18 +0000)]
Cleanup: Add braces for clarity

7 years agoModify zcrawkeygen RPC method to set "zcviewingkey" to the viewing key
Jack Grigg [Mon, 18 Dec 2017 16:09:43 +0000 (16:09 +0000)]
Modify zcrawkeygen RPC method to set "zcviewingkey" to the viewing key

The "zcviewingkey" field has never been documented before, and the method itself
is deprecated; this just ensures it is consistent with the rest of the RPC.

7 years agoAdd watch-only support to Zcash RPC methods
Jack Grigg [Thu, 20 Apr 2017 12:59:54 +0000 (00:59 +1200)]
Add watch-only support to Zcash RPC methods

Balance totals do not include spends linked to viewing key addresses, as
nullifiers cannot be calculated and therefore spends cannot be detected.

7 years agoUpdate wallet logic to account for viewing keys
Jack Grigg [Wed, 8 Mar 2017 03:31:59 +0000 (16:31 +1300)]
Update wallet logic to account for viewing keys

The wallet code previously assumed that an unlocked wallet would always
have a spending key associated with a note decryptor. Viewing keys break
this assumption.

7 years agoAdd RPC methods for exporting/importing viewing keys
Jack Grigg [Wed, 8 Mar 2017 03:13:39 +0000 (16:13 +1300)]
Add RPC methods for exporting/importing viewing keys

7 years agoImplement viewing key storage in the wallet
Jack Grigg [Thu, 2 Mar 2017 00:10:34 +0000 (16:10 -0800)]
Implement viewing key storage in the wallet

7 years agoAdd Base58 encoding of viewing keys
Jack Grigg [Wed, 1 Mar 2017 19:20:42 +0000 (11:20 -0800)]
Add Base58 encoding of viewing keys

7 years agoAuto merge of #2779 - arcalinea:2515_test_zimportkey, r=str4d
Homu [Mon, 18 Dec 2017 16:32:28 +0000 (08:32 -0800)]
Auto merge of #2779 - arcalinea:2515_test_zimportkey, r=str4d

Add RPC test that exercises z_importkey

Part of #2515.

7 years agoAuto merge of #2796 - per-gron:less-verbose-tests, r=daira
Homu [Sun, 17 Dec 2017 08:22:38 +0000 (00:22 -0800)]
Auto merge of #2796 - per-gron:less-verbose-tests, r=daira

Less verbose tests

Fixes #2453 and deduplicates some related code.

7 years agoFix libsnark dependency build.
syd [Fri, 24 Nov 2017 18:54:17 +0000 (13:54 -0500)]
Fix libsnark dependency build.

This changes libsnark to build in-place, instead of copying first to
a build directory. Previously, modifications made to the original
sources wouldn't get rebuilt without a 'make clean' because users
would be pointing to the copies.

This closes #2689.

7 years agoPrint result of RPC call in test only when PYTHON_DEBUG is set
Per Grön [Wed, 13 Dec 2017 07:42:10 +0000 (07:42 +0000)]
Print result of RPC call in test only when PYTHON_DEBUG is set

7 years agoDeduplicate test utility method wait_and_assert_operationid_status
Per Grön [Wed, 13 Dec 2017 07:38:46 +0000 (07:38 +0000)]
Deduplicate test utility method wait_and_assert_operationid_status

Strictly speaking this is not a true deduplication; the test output will be
slightly different (due to inconsistent print statements) but I think this is
close enough.

7 years agoAuto merge of #2795 - str4d:2351-sprout-circuit-value, r=str4d
Homu [Sat, 16 Dec 2017 10:09:40 +0000 (02:09 -0800)]
Auto merge of #2795 - str4d:2351-sprout-circuit-value, r=str4d

Track net value entering and exiting the Sprout circuit

Delta values will be stored for new blocks; old blocks can be filled in by
re-indexing. The net value currently in the Sprout circuit is only calculated
when delta values for all previous blocks are present.

Part of #2351.

7 years agoRemove nSproutValue TODO from CDiskBlockIndex
Jack Grigg [Sat, 16 Dec 2017 10:01:26 +0000 (10:01 +0000)]
Remove nSproutValue TODO from CDiskBlockIndex

Block indices are flushed to disk when they are marked as dirty, and this
happens via enough distinct pathways that it would be sufficiently complex to
update nSproutValue via all of them. Thus it is necessary to be able to
serialize "no value" for writes by upgraded clients.

7 years agoAuto merge of #2780 - str4d:1272-secp256k1, r=daira
Homu [Fri, 15 Dec 2017 20:35:13 +0000 (12:35 -0800)]
Auto merge of #2780 - str4d:1272-secp256k1, r=daira

Merge current secp256k1 subtree

Part of #1272.

7 years agoAuto merge of #2700 - kozyilmaz:emptyspaces, r=str4d
Homu [Fri, 15 Dec 2017 19:35:05 +0000 (11:35 -0800)]
Auto merge of #2700 - kozyilmaz:emptyspaces, r=str4d

PATH variable containing spaces cause build failure

Spaces in PATH variable is creating build issues (observed on macOS). For example "VMware Fusion" adds itself to PATH like `/Applications/VMware Fusion.app/Contents/Public`.

7 years agoClarify operator precedence in serialization of nSproutValue
Jack Grigg [Fri, 15 Dec 2017 18:36:05 +0000 (18:36 +0000)]
Clarify operator precedence in serialization of nSproutValue

7 years agoAuto merge of #2790 - bitcartel:2746_payment_disclosure_prefix, r=str4d
Homu [Fri, 15 Dec 2017 18:31:58 +0000 (10:31 -0800)]
Auto merge of #2790 - bitcartel:2746_payment_disclosure_prefix, r=str4d

Closes #2746. Payment disclosure blobs now use 'zpd:' prefix.

7 years agoAdd rpc test that exercises z_importkey
Jay Graber [Tue, 28 Nov 2017 03:55:38 +0000 (19:55 -0800)]
Add rpc test that exercises z_importkey

7 years agoAuto merge of #2800 - str4d:2788-libsnark-test-hardening, r=str4d
Homu [Fri, 15 Dec 2017 15:32:41 +0000 (07:32 -0800)]
Auto merge of #2800 - str4d:2788-libsnark-test-hardening, r=str4d

Fix buffer overflow in libsnark

Applies `-fstack-protector-all` to libsnark, and fixes an underlying bug. This bug was not triggerable in `zcashd` because the function in question was being inlined by the compiler.

Closes #2788.

7 years agoAuto merge of #2786 - str4d:2074-build, r=str4d
Homu [Fri, 15 Dec 2017 13:04:44 +0000 (05:04 -0800)]
Auto merge of #2786 - str4d:2074-build, r=str4d

Build system improvements

Includes commits cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6978
  - Only the first commit (second is for QT)
- bitcoin/bitcoin#7059
- bitcoin/bitcoin#7603
  - Only the first commit (without the `BITCOIN_QT_BIN` variable; the rest are for QT)
- bitcoin/bitcoin#7954
- bitcoin/bitcoin#8314
  - Only the second commit (first is for QT)
- bitcoin/bitcoin#8504
  - Only the first commit (second was undoing something we didn't have)
- bitcoin/bitcoin#8520
- bitcoin/bitcoin#8563
- bitcoin/bitcoin#8249
- bitcoin/bitcoin#9156
- bitcoin/bitcoin#9831
- bitcoin/bitcoin#9789
- bitcoin/bitcoin#10766

Part of #2074.

7 years agoAdd Rust and Proton to configure options printout
Jack Grigg [Fri, 15 Dec 2017 13:03:33 +0000 (13:03 +0000)]
Add Rust and Proton to configure options printout

7 years agoFix libsnark test failure.
syd [Tue, 21 Nov 2017 00:26:34 +0000 (19:26 -0500)]
Fix libsnark test failure.

The shorten() method was copying too much into the destination
buffer, overflowing it and affecting neighboring data.

7 years agoApply -fstack-protector-all to libsnark
Jack Grigg [Fri, 15 Dec 2017 10:02:54 +0000 (10:02 +0000)]
Apply -fstack-protector-all to libsnark

7 years agoAdd Sprout value pool to getblock and getblockchaininfo
Jack Grigg [Thu, 14 Dec 2017 15:18:08 +0000 (15:18 +0000)]
Add Sprout value pool to getblock and getblockchaininfo

7 years agoTrack net value entering and exiting the Sprout circuit
Jack Grigg [Thu, 9 Nov 2017 22:09:54 +0000 (22:09 +0000)]
Track net value entering and exiting the Sprout circuit

Delta values will be stored for new blocks; old blocks can be filled in by
re-indexing. The net value currently in the Sprout circuit is only calculated
when delta values for all previous blocks are present.

7 years agoCloses #2746. Payment disclosure blobs now use 'zpd:' prefix.
Simon [Thu, 7 Dec 2017 18:11:43 +0000 (10:11 -0800)]
Closes #2746. Payment disclosure blobs now use 'zpd:' prefix.

7 years agoAuto merge of #2741 - bitcartel:stop_dumpwallet_overwriting, r=str4d
Homu [Mon, 4 Dec 2017 17:41:52 +0000 (09:41 -0800)]
Auto merge of #2741 - bitcartel:stop_dumpwallet_overwriting, r=str4d

Prevent RPC calls dumpwallet and z_exportwallet from overwriting an existing file

Closes #2740

7 years agoFactor out common logic from CZCPaymentAddress and CZCSpendingKey
Jack Grigg [Wed, 1 Mar 2017 19:09:41 +0000 (11:09 -0800)]
Factor out common logic from CZCPaymentAddress and CZCSpendingKey

7 years agoImplement viewing key storage in the keystore
Jack Grigg [Fri, 24 Feb 2017 03:01:00 +0000 (03:01 +0000)]
Implement viewing key storage in the keystore

7 years agoViewingKey -> ReceivingKey per zcash/zips#117
Jack Grigg [Thu, 23 Feb 2017 18:27:41 +0000 (18:27 +0000)]
ViewingKey -> ReceivingKey per zcash/zips#117

7 years agoAuto merge of #2724 - arcalinea:1020-add-examples-for-zrpc, r=str4d
Homu [Mon, 4 Dec 2017 16:39:20 +0000 (08:39 -0800)]
Auto merge of #2724 - arcalinea:1020-add-examples-for-zrpc, r=str4d

Add examples for z_rpc calls

Adds missing cli and json-rpc examples for `z_` rpc calls

Closes #2723
(Accidentally named the branch being merged in with wrong issue number)

7 years agoAuto merge of #2769 - syd0:rename-bitcoin-bash-completion, r=str4d
Homu [Mon, 4 Dec 2017 12:58:19 +0000 (04:58 -0800)]
Auto merge of #2769 - syd0:rename-bitcoin-bash-completion, r=str4d

Rename bitcoin bash completion files so that they refer to zcash and not bitcoin.

This closes #2167

7 years agoMove Zcash flags into configure.ac
Jack Grigg [Thu, 30 Nov 2017 23:00:43 +0000 (23:00 +0000)]
Move Zcash flags into configure.ac

7 years agoChange --enable-werror to apply to all warnings, use it in build.sh
Jack Grigg [Thu, 30 Nov 2017 22:51:15 +0000 (22:51 +0000)]
Change --enable-werror to apply to all warnings, use it in build.sh

7 years agoUse AC_ARG_VAR to set ARFLAGS.
René Nyffenegger [Fri, 7 Jul 2017 14:54:11 +0000 (16:54 +0200)]
Use AC_ARG_VAR to set ARFLAGS.

The user can set ARFLAGS in the ./configure step with
  ./configure ARFLAGS=...
If he chooses not to do so, ARFLAGS will be set to cr.

7 years agobuild: add --enable-werror option
Cory Fields [Tue, 21 Feb 2017 16:56:26 +0000 (11:56 -0500)]
build: add --enable-werror option

This turns some compiler warnings into errors. Useful for c-i.

7 years agobuild: warn about variable length arrays
Cory Fields [Tue, 21 Feb 2017 16:56:07 +0000 (11:56 -0500)]
build: warn about variable length arrays

7 years agobuild: force a c++ standard to be specified
Cory Fields [Wed, 22 Feb 2017 18:33:22 +0000 (13:33 -0500)]
build: force a c++ standard to be specified

Newer compilers may switch to newer standards by default. For example, gcc6
uses std=gnu++14 by default.

7 years agoAdd compile and link options echo to configure
Jonas Schnelli [Mon, 14 Nov 2016 09:55:56 +0000 (10:55 +0100)]
Add compile and link options echo to configure

7 years agobuild: supply `-Wl,--high-entropy-va`
Wladimir J. van der Laan [Thu, 23 Jun 2016 14:54:28 +0000 (16:54 +0200)]
build: supply `-Wl,--high-entropy-va`

This should enable high-entropy ASLR on 64-bit targets, for better
mitigation of exploits.

7 years agodevtools: Check for high-entropy ASLR in 64-bit PE executables
Wladimir J. van der Laan [Thu, 23 Jun 2016 14:52:12 +0000 (16:52 +0200)]
devtools: Check for high-entropy ASLR in 64-bit PE executables

check_PE_PIE only checked for DYNAMIC_BASE, this is not enough
for (secure) ASLR on 64-bit.

7 years agoAdd configure check for -latomic
Anthony Towns [Tue, 23 Aug 2016 06:55:15 +0000 (16:55 +1000)]
Add configure check for -latomic

7 years agobuild: Remove check for `openssl/ec.h`
Wladimir J. van der Laan [Tue, 16 Aug 2016 09:16:21 +0000 (11:16 +0200)]
build: Remove check for `openssl/ec.h`

We don't use any elliptic curves from OpenSSL anymore, nor include this
header anywhere but optionally in the tests of secp256k1 (which has
its own autoconf setup).

Reported by sinetek on IRC.

7 years agotest: Remove java comparison tool
Wladimir J. van der Laan [Sat, 13 Aug 2016 14:03:44 +0000 (16:03 +0200)]
test: Remove java comparison tool

7 years agobuild: fix Windows builds without pkg-config
Cory Fields [Thu, 7 Jul 2016 17:47:54 +0000 (13:47 -0400)]
build: fix Windows builds without pkg-config

- guard PKG_PROG_PKG_CONFIG with an m4_ifdef. If not building for windows,
  require it
- add nops as necessary in case the ifdef reduces the if/then to nothing
- AC_SUBST some missing _LIBS. These were split out over time, but not all were
  properly substituted. They continued to work if pkg-config is installed
  because it does the AC_SUBST itself

7 years agobuild: quiet annoying warnings without adding new ones
Cory Fields [Wed, 9 Mar 2016 21:45:58 +0000 (16:45 -0500)]
build: quiet annoying warnings without adding new ones

Disabling warnings can be tricky, because doing so can cause a different
compiler to create new warnings about unsupported disable flags. Also, some
warnings don't surface until they're paired with another warning (gcc). For
example, adding "-Wno-foo" won't cause any trouble, but if there's a legitimate
warning emitted, the "unknown option -Wno-foo" will show up as well.

Work around this in 2 ways:

1. When checking to see if -Wno-foo is supported, check for "-Wfoo" instead.
2. Enable -Werror while checking 1.

If "-Werror -Wfoo" compiles, "-Wno-foo" is almost guaranteed to be supported.

-Werror itself is also checked. If that fails to compile by itself, it likely
means that the user added a flag that adds a warning. In that case, -Werror
won't be used while checking, and the build may be extra noisy. The user would
need to fix the bad input flag.

Also, silence 2 more additional warnings that can show up post-c++11.

7 years agobuild: define base filenames for use elsewhere in the buildsystem
Cory Fields [Fri, 1 Apr 2016 16:19:28 +0000 (12:19 -0400)]
build: define base filenames for use elsewhere in the buildsystem

Unfortunately, the target namees defined at the Makefile.am level can't be used
for *.in substitution. So these new defines will have to stay synced up with
those targets.

Using the new variables for the deploy targets in the main Makefile.am will
ensure that they stay in sync, otherwise build tests will fail.

7 years agoadd powerpc build support for openssl lib
daniel [Thu, 19 Nov 2015 05:28:22 +0000 (13:28 +0800)]
add powerpc build support for openssl lib

This page took 0.068376 seconds and 4 git commands to generate.