]> Git Repo - VerusCoin.git/log
VerusCoin.git
5 years agoAdd migration options to conf file
Eirik0 [Mon, 29 Apr 2019 15:36:26 +0000 (09:36 -0600)]
Add migration options to conf file

Co-authored-by: Simon <[email protected]>
5 years agoAuto merge of #3888 - Eirik0:3873-sapling-migration, r=Eirik0
Homu [Sat, 27 Apr 2019 19:29:29 +0000 (12:29 -0700)]
Auto merge of #3888 - Eirik0:3873-sapling-migration, r=Eirik0

Sapling migration RPC

Closes #3873

5 years agoCheck for full failure message in test case
Eirik0 [Sat, 27 Apr 2019 01:01:23 +0000 (19:01 -0600)]
Check for full failure message in test case

5 years agoAuto merge of #3857 - LarryRuane:3708-timestampindex, r=bitcartel
Homu [Fri, 26 Apr 2019 18:05:25 +0000 (11:05 -0700)]
Auto merge of #3857 - LarryRuane:3708-timestampindex, r=bitcartel

add TimestampIndex changes needed for bitcore block explorer

Addresses #3708, follow-on to #3849, no tests yet. This is the third of 3 indices that we're adding.

5 years agoadd -timestampindex for bitcore insight block explorer
Larry Ruane [Thu, 21 Feb 2019 21:01:12 +0000 (14:01 -0700)]
add -timestampindex for bitcore insight block explorer

5 years agoAuto merge of #3849 - LarryRuane:3708-spentindex, r=daira
Homu [Thu, 25 Apr 2019 23:32:22 +0000 (16:32 -0700)]
Auto merge of #3849 - LarryRuane:3708-spentindex, r=daira

add SpentIndex changes needed for bitcore block explorer

Addresses #3708, follow-on to #3837, note there are no tests yet (will come later with RPC interfaces).

5 years agoAuto merge of #3940 - str4d:3607-init-encrypted-wallet-without-hd-seed, r=bitcartel
Homu [Thu, 25 Apr 2019 20:15:51 +0000 (13:15 -0700)]
Auto merge of #3940 - str4d:3607-init-encrypted-wallet-without-hd-seed, r=bitcartel

init: Fix new HD seed generation for previously-encrypted wallets

Closes #3607.

How to verify (with `zcashd` flags `-testnet -wallet=wallet.3607.dat -experimentalfeatures -developerencryptwallet`):
- Start `zcashd` 2.0.0, encrypt the wallet, and stop the node.
- Start `zcashd` 2.0.1+ (before this branch), and see that it crashes during startup.
- Start `zcashd` built from this branch, and see that it does not crash during startup. Unlock the wallet, then stop.
- Start `zcashd` 2.0.1+ (before this branch), and see that it no longer crashes during startup.

5 years agoSet min depth when selecting notes to migrate
Eirik0 [Thu, 25 Apr 2019 19:43:23 +0000 (13:43 -0600)]
Set min depth when selecting notes to migrate

5 years agoRefactor wait_and_assert_operationid_status to allow returning the result
Eirik0 [Thu, 18 Apr 2019 21:41:27 +0000 (15:41 -0600)]
Refactor wait_and_assert_operationid_status to allow returning the result

5 years agoAdditional locking and race condition prevention
Eirik0 [Wed, 17 Apr 2019 01:35:04 +0000 (19:35 -0600)]
Additional locking and race condition prevention

5 years agoDocumentation cleanup
Eirik0 [Wed, 17 Apr 2019 01:12:53 +0000 (19:12 -0600)]
Documentation cleanup

5 years agoMove migration logic to ChainTip
Eirik0 [Wed, 17 Apr 2019 01:05:15 +0000 (19:05 -0600)]
Move migration logic to ChainTip

5 years agoAdd rpc to enable and disable Sprout to Sapling migration
Eirik0 [Tue, 19 Mar 2019 02:33:02 +0000 (20:33 -0600)]
Add rpc to enable and disable Sprout to Sapling migration

5 years agoAuto merge of #3951 - LarryRuane:3947-integer-log2-warn, r=ebfull
Homu [Wed, 24 Apr 2019 12:00:33 +0000 (05:00 -0700)]
Auto merge of #3951 - LarryRuane:3947-integer-log2-warn, r=ebfull

Update boost to v1.70.0 to eliminate build warning

Closes #3947.

5 years agoAuto merge of #3964 - bitcartel:test_turnstile_violation, r=bitcartel
Homu [Tue, 23 Apr 2019 22:07:43 +0000 (15:07 -0700)]
Auto merge of #3964 - bitcartel:test_turnstile_violation, r=bitcartel

Test turnstile violation

Adds experimental feature -developersetpoolsizezero to enable developers to test Sprout and Sapling turnstile violations on testnet and in regtest mode.

5 years agoAdd qa test for experimental feature: -developersetpoolsizezero
Simon [Fri, 19 Apr 2019 17:57:12 +0000 (10:57 -0700)]
Add qa test for experimental feature: -developersetpoolsizezero

5 years agoAuto merge of #3948 - mms710:pr-checklist-2, r=ebfull
Homu [Tue, 23 Apr 2019 17:48:18 +0000 (10:48 -0700)]
Auto merge of #3948 - mms710:pr-checklist-2, r=ebfull

Create a checklist for all zcash PRs

All items in the checklist must be done before a PR can be merged.

5 years agoUpdate boost from v1.69.0 to v1.70.0. #3947
Larry Ruane [Fri, 12 Apr 2019 18:25:13 +0000 (12:25 -0600)]
Update boost from v1.69.0 to v1.70.0. #3947

5 years agoadd -spentindex changes for bitcore insight block explorer
Larry Ruane [Tue, 23 Apr 2019 17:06:23 +0000 (11:06 -0600)]
add -spentindex changes for bitcore insight block explorer

5 years agoAuto merge of #3505 - str4d:rust-targets, r=str4d
Homu [Tue, 23 Apr 2019 15:33:40 +0000 (08:33 -0700)]
Auto merge of #3505 - str4d:rust-targets, r=str4d

depends: Support additional cross-compilation targets in Rust

This will make it easier for third parties to cross-compile `zcashd` for other platforms. The third commit in this PR shows how to add a new target to the Rust dependency builder.

The default Rust target during cross-compilation is the canonical host, which is derived from `HOST` using `depends/config.sub`. If the canonical host differs from the required Rust target, add the necessary mapping in addition to the target itself.

Also includes fixes for cross-compiling aarch64 targets.

5 years agoAdd testnet and regtest experimental feature: -developersetpoolsizezero
Simon [Fri, 19 Apr 2019 17:54:51 +0000 (10:54 -0700)]
Add testnet and regtest experimental feature: -developersetpoolsizezero

5 years agoAuto merge of #3966 - garethtdavies:3962-fix-gitian-build, r=daira
Homu [Mon, 22 Apr 2019 18:56:44 +0000 (11:56 -0700)]
Auto merge of #3966 - garethtdavies:3962-fix-gitian-build, r=daira

Adding addressindex.h to Makefile.am

Co-authored by: Daira Hopwood <[email protected]>

Closes #3962

5 years agoAdding addressindex.h to Makefile.am
Gareth Davies [Sun, 21 Apr 2019 13:56:08 +0000 (06:56 -0700)]
Adding addressindex.h to Makefile.am

Co-authored by: Daira Hopwood <[email protected]>

5 years agoAuto merge of #3901 - rex4539:electric-coin-company, r=str4d
Homu [Tue, 16 Apr 2019 17:23:59 +0000 (10:23 -0700)]
Auto merge of #3901 - rex4539:electric-coin-company, r=str4d

Update "Zcash Company" to "Electric Coin Company"

5 years agoAuto merge of #3935 - str4d:blossom-activation-logic, r=str4d
Homu [Tue, 9 Apr 2019 17:39:07 +0000 (10:39 -0700)]
Auto merge of #3935 - str4d:blossom-activation-logic, r=str4d

Add Blossom to upgrade list

5 years agoCreates checklist template for new PRs being opened and addresses Str4d's suggestion...
Mary Moore-Simmons [Tue, 9 Apr 2019 15:57:17 +0000 (09:57 -0600)]
Creates checklist template for new PRs being opened and addresses Str4d's suggestion for using GitHub handles

5 years agoAuto merge of #3906 - sandakersmann:patch-1, r=str4d
Homu [Tue, 9 Apr 2019 15:45:30 +0000 (08:45 -0700)]
Auto merge of #3906 - sandakersmann:patch-1, r=str4d

Update _COPYRIGHT_YEAR in configure.ac to 2019

Update _COPYRIGHT_YEAR in configure.ac to 2019

5 years agoAuto merge of #3907 - LarryRuane:3860-enable-debug-build, r=daira
Homu [Tue, 9 Apr 2019 10:45:07 +0000 (03:45 -0700)]
Auto merge of #3907 - LarryRuane:3860-enable-debug-build, r=daira

fix enable-debug build DB_COINS undefined

Fixes #3860. The way `DB_COINS` is defined in this PR is the same as in `src/txdb.cpp` (static "global" instead of class member).

5 years agoAuto merge of #3837 - LarryRuane:3708-addressindex, r=bitcartel
Homu [Fri, 5 Apr 2019 00:36:56 +0000 (17:36 -0700)]
Auto merge of #3837 - LarryRuane:3708-addressindex, r=bitcartel

add AddressIndex changes needed for bitcore block explorer

Addresses #3708, note there are no tests yet (will come later with RPC interfaces).

5 years agoinit: Fix new HD seed generation for previously-encrypted wallets
Jack Grigg [Thu, 4 Apr 2019 17:27:46 +0000 (18:27 +0100)]
init: Fix new HD seed generation for previously-encrypted wallets

Closes #3607.

5 years agoAuto merge of #3848 - str4d:transaction-builder-sprout, r=Eirik0
Homu [Thu, 4 Apr 2019 17:19:46 +0000 (10:19 -0700)]
Auto merge of #3848 - str4d:transaction-builder-sprout, r=Eirik0

Add Sprout support to TransactionBuilder

The logic in `TransactionBuilder::CreateJSDescriptions()` is a combination of the logic used by `z_sendmany`, `z_mergetoaddress` and `z_shieldcoinbase`, in order to support arbitrary numbers of Sprout inputs or outputs.

5 years agoAdd Blossom to upgrade list
Jack Grigg [Tue, 2 Apr 2019 06:39:36 +0000 (07:39 +0100)]
Add Blossom to upgrade list

5 years agotests: adds unit test for IsPayToPublicKeyHash method
Braydon Fuller [Tue, 4 Oct 2016 19:03:13 +0000 (15:03 -0400)]
tests: adds unit test for IsPayToPublicKeyHash method

5 years agoadd -addressindex changes for bitcore insight block explorer
Larry Ruane [Tue, 19 Mar 2019 19:28:02 +0000 (13:28 -0600)]
add -addressindex changes for bitcore insight block explorer

5 years agoAuto merge of #3902 - zebambam:fix_speling_on_rd_adoption_statement, r=daira
Homu [Thu, 28 Mar 2019 15:08:47 +0000 (08:08 -0700)]
Auto merge of #3902 - zebambam:fix_speling_on_rd_adoption_statement, r=daira

Minor spelling changes

Speling fix for #3869

5 years agoAuto merge of #3922 - bitcartel:release-v2.0.4, r=bitcartel
Homu [Tue, 26 Mar 2019 20:02:51 +0000 (13:02 -0700)]
Auto merge of #3922 - bitcartel:release-v2.0.4, r=bitcartel

Release v2.0.4

5 years agoUpdate company name.
Simon [Tue, 26 Mar 2019 19:11:30 +0000 (12:11 -0700)]
Update company name.

5 years agomake-release.py: Updated release notes and changelog for 2.0.4.
Simon [Tue, 26 Mar 2019 18:29:21 +0000 (11:29 -0700)]
make-release.py: Updated release notes and changelog for 2.0.4.

5 years agomake-release.py: Updated manpages for 2.0.4.
Simon [Tue, 26 Mar 2019 18:29:21 +0000 (11:29 -0700)]
make-release.py: Updated manpages for 2.0.4.

5 years agomake-release.py: Versioning changes for 2.0.4.
Simon [Tue, 26 Mar 2019 18:25:19 +0000 (11:25 -0700)]
make-release.py: Versioning changes for 2.0.4.

5 years agoAuto merge of #3919 - defuse:openssl-regression, r=bitcartel
Homu [Tue, 26 Mar 2019 07:02:32 +0000 (00:02 -0700)]
Auto merge of #3919 - defuse:openssl-regression, r=bitcartel

Fix OpenSSL reproducible build regression

5 years agoAuto merge of #3918 - defuse:fix-proton-patch, r=bitcartel
Homu [Tue, 26 Mar 2019 05:16:13 +0000 (22:16 -0700)]
Auto merge of #3918 - defuse:fix-proton-patch, r=bitcartel

Fix proton patch regression.

Closes #3916.  Fixes a regression introduced in #3809.

Co-authored-by: Daira Hopwood <[email protected]>
5 years agoPatch out proton::url deprecation as workaround for build warnings
Taylor Hornby [Mon, 25 Mar 2019 23:38:07 +0000 (17:38 -0600)]
Patch out proton::url deprecation as workaround for build warnings

5 years agoFix OpenSSL reproducible build regression
Taylor Hornby [Mon, 25 Mar 2019 20:27:14 +0000 (14:27 -0600)]
Fix OpenSSL reproducible build regression

5 years agoFix proton patch regression. #3916
Taylor Hornby [Mon, 25 Mar 2019 17:46:37 +0000 (11:46 -0600)]
Fix proton patch regression. #3916

5 years agofix enable-debug build DB_COINS undefined
Larry Ruane [Wed, 20 Mar 2019 22:29:06 +0000 (16:29 -0600)]
fix enable-debug build DB_COINS undefined

5 years agoUpdate _COPYRIGHT_YEAR in configure.ac to 2019
Marius Kjærstad [Wed, 20 Mar 2019 20:09:51 +0000 (21:09 +0100)]
Update _COPYRIGHT_YEAR in configure.ac to 2019

Update _COPYRIGHT_YEAR in configure.ac to 2019

5 years agoAuto merge of #3903 - bitcartel:release-v2.0.4-rc1, r=bitcartel
Homu [Wed, 20 Mar 2019 17:58:26 +0000 (10:58 -0700)]
Auto merge of #3903 - bitcartel:release-v2.0.4-rc1, r=bitcartel

Release v2.0.4 rc1

5 years agoFix typo in release notes.
Simon [Wed, 20 Mar 2019 17:20:51 +0000 (10:20 -0700)]
Fix typo in release notes.

5 years agomake-release.py: Updated release notes and changelog for 2.0.4-rc1.
Simon [Wed, 20 Mar 2019 16:39:43 +0000 (09:39 -0700)]
make-release.py: Updated release notes and changelog for 2.0.4-rc1.

5 years agomake-release.py: Updated manpages for 2.0.4-rc1.
Simon [Wed, 20 Mar 2019 16:39:43 +0000 (09:39 -0700)]
make-release.py: Updated manpages for 2.0.4-rc1.

5 years agomake-release.py: Versioning changes for 2.0.4-rc1.
Simon [Wed, 20 Mar 2019 16:29:06 +0000 (09:29 -0700)]
make-release.py: Versioning changes for 2.0.4-rc1.

5 years agoMinor speling changes
zebambam [Wed, 20 Mar 2019 15:55:58 +0000 (08:55 -0700)]
Minor speling changes

5 years agoAuto merge of #3898 - sandakersmann:patch-1, r=bitcartel
Homu [Wed, 20 Mar 2019 14:36:25 +0000 (07:36 -0700)]
Auto merge of #3898 - sandakersmann:patch-1, r=bitcartel

Update COPYRIGHT_YEAR in clientversion.h to 2019

Update COPYRIGHT_YEAR in clientversion.h to 2019

5 years agoElectric Coin Company
Dimitris Apostolou [Wed, 20 Mar 2019 07:04:32 +0000 (09:04 +0200)]
Electric Coin Company

5 years agoAuto merge of #3900 - bitcartel:2.0.4_release_notes, r=bitcartel
Homu [Wed, 20 Mar 2019 06:05:39 +0000 (23:05 -0700)]
Auto merge of #3900 - bitcartel:2.0.4_release_notes, r=bitcartel

Update release notes for 2.0.4

5 years agoAuto merge of #3897 - ebfull:wallet-sprout-check-commitment, r=ebfull
Homu [Wed, 20 Mar 2019 04:21:54 +0000 (21:21 -0700)]
Auto merge of #3897 - ebfull:wallet-sprout-check-commitment, r=ebfull

Check consistency of note commitment and ciphertext in wallet

Fixes #3896.

5 years agoUpdate release notes for 2.0.4
Simon [Wed, 20 Mar 2019 02:43:37 +0000 (19:43 -0700)]
Update release notes for 2.0.4

Co-authored-by: Jack Grigg <[email protected]>
5 years agoAuto merge of #3890 - zebambam:add_dns_rebinding_warnings_security_3841, r=mdr0id
Homu [Tue, 19 Mar 2019 22:50:34 +0000 (15:50 -0700)]
Auto merge of #3890 - zebambam:add_dns_rebinding_warnings_security_3841, r=mdr0id

Added documentation warnings about DNS rebinding attacks, issue #3841

For AMQP and ZMQP.

5 years ago(wallet) Check that the commitment matches the note plaintext provided by the sender.
Sean Bowe [Tue, 19 Mar 2019 07:46:27 +0000 (01:46 -0600)]
(wallet) Check that the commitment matches the note plaintext provided by the sender.

5 years agoAuto merge of #3885 - ebfull:turnstile, r=bitcartel
Homu [Tue, 19 Mar 2019 19:10:17 +0000 (12:10 -0700)]
Auto merge of #3885 - ebfull:turnstile, r=bitcartel

Reject blocks that violate turnstile

This is an implementation of a consensus rule which marks blocks as invalid if they would lead to a turnstile violation in the Sprout or Shielded value pools. The motivations and deployment details can be found in the [accompanying ZIP draft](https://github.com/zcash/zips/pull/210).

**This PR only introduces the rule for testnet at the moment.**

We achieve the institution of this rule in three ways:

1. Nodes prior to #2795 did not record the "delta" in the Sprout value pool balance as part of the on-disk block index. This was a long time ago, though, and all nodes that are consensus-compatible with the network today have been recording this value for newer blocks. However, the value is absent from older block indexes unless the node has reindexed or synchronized from scratch in the time since. We shouldn't need to require nodes to reindex in order to enforce this consensus rule. We avoid this problem by falling back on a hardcoded Sprout shielded value pool balance in a very recent block.
2. If during `ConnectBlock` we observe that the resulting shielded value pool balance of Sprout or Sapling is negative, we reject the block.
3. During the miner's block assembly process the miner will skip over transactions if adding them to the assembled block might violate the turnstile, since the resulting block would be invalid. This means that theoretical transactions violating the turnstile would still be relayed in the network (and made available in users' memory pools) and so a turnstile violation would have some visibility outside of block relay.

## Smoke Testing

It's really tricky to test the behavior that automatically falls back to hardcoded shielded value pool balances in our architecture because it's very testnet-specific and node-version-specific. However, we can do some smoke tests to see that everything is working.

I modified the serialization of `CDiskBlockIndex` to serialize `boost::none` for `nSproutValue`

```
if ((s.GetType() & SER_DISK) && (nVersion >= SPROUT_VALUE_VERSION)) {
    boost::optional<CAmount> nSproutValueFake = boost::none;
    READWRITE(nSproutValueFake);
}
```

and then began a reindex of my node which I interruped around height 130k on testnet. I then restored the original serialization and resumed the reindex; I have thus _roughly_ simulated a older node "upgrading" to a newer node that records the deltas when processing new blocks. My node showed pool monitoring was disabled, as expected, for Sprout. I confirmed that some blocks following the reindex had nonzero Sprout `valueDelta` from `getblock`, as expected. I finished the reindex, restarted the node, and confirmed that the serialization worked for newer blocks but not older blocks by querying `getblock`, simply as a reassurance.

Finally, I introduced the code in this PR and reloaded the node. The desired behavior (that the chain began to be "monitored" again) worked, and the values were consistent with the hardcoded constant. I then made a payment to a Sprout z-addr from the transparent pool and the pool value increased as expected, as reported by `getblockchaininfo`. I reindexed the node again to exercise the remaining logic and check for turnstile violations throughout the history of testnet; there were none.

5 years agoRename and update comment
Eirik0 [Tue, 19 Mar 2019 18:55:55 +0000 (12:55 -0600)]
Rename and update comment

5 years ago(minor) Remove added newline.
Sean Bowe [Tue, 19 Mar 2019 18:45:21 +0000 (12:45 -0600)]
(minor) Remove added newline.

5 years agoDo not enable ZIP209 on regtest right now.
Sean Bowe [Tue, 19 Mar 2019 18:44:53 +0000 (12:44 -0600)]
Do not enable ZIP209 on regtest right now.

5 years agoUpdate COPYRIGHT_YEAR in clientversion.h to 2019
Marius Kjærstad [Tue, 19 Mar 2019 16:42:52 +0000 (17:42 +0100)]
Update COPYRIGHT_YEAR in clientversion.h to 2019

Update COPYRIGHT_YEAR in clientversion.h to 2019

5 years agoAuto merge of #3839 - sandakersmann:master, r=bitcartel
Homu [Tue, 19 Mar 2019 06:04:26 +0000 (23:04 -0700)]
Auto merge of #3839 - sandakersmann:master, r=bitcartel

Update of copyright year to 2019

Update of copyright year to 2019

5 years agoAuto merge of #3846 - garethtdavies:updated-logo, r=bitcartel
Homu [Tue, 19 Mar 2019 04:19:22 +0000 (21:19 -0700)]
Auto merge of #3846 - garethtdavies:updated-logo, r=bitcartel

Correcting logo on README

As a follow up to https://github.com/zcash/zcash/pull/3509 which I closed due to the updated branding. The logo [still has the wrong aspect ratio]. This corrects it with the logo taken from https://z.cash/press/ while preserving the original image dimensions and aspect ratio. I added it at 2x for retina displays.

5 years agoAuto merge of #3892 - zebambam:add_responsible_disclosure_statement_security_3869...
Homu [Tue, 19 Mar 2019 01:29:43 +0000 (18:29 -0700)]
Auto merge of #3892 - zebambam:add_responsible_disclosure_statement_security_3869, r=bitcartel

Added responsible disclosure statement for issue #3869

5 years agoAuto merge of #3887 - bitcartel:2.0.4_pre_release, r=bitcartel
Homu [Mon, 18 Mar 2019 21:53:09 +0000 (14:53 -0700)]
Auto merge of #3887 - bitcartel:2.0.4_pre_release, r=bitcartel

Update chain work and checkpoint for 2.0.4

Closes #3886

5 years agoOnly enforce Sapling turnstile if balance values have been populated.
Sean Bowe [Mon, 18 Mar 2019 20:09:32 +0000 (14:09 -0600)]
Only enforce Sapling turnstile if balance values have been populated.

5 years agoChange SproutValuePoolCheckpointEnabled to ZIP209Activated
Sean Bowe [Mon, 18 Mar 2019 17:32:26 +0000 (11:32 -0600)]
Change SproutValuePoolCheckpointEnabled to ZIP209Activated

5 years agoAdded responsible disclosure statement for issue #3869
zebambam [Fri, 15 Mar 2019 23:08:57 +0000 (16:08 -0700)]
Added responsible disclosure statement for issue #3869

5 years agoAdded documentation warnings about DNS rebinding attacks, issue #3841
zebambam [Fri, 15 Mar 2019 23:00:27 +0000 (16:00 -0700)]
Added documentation warnings about DNS rebinding attacks, issue #3841

5 years agoCheck blockhash of fallback block for Sprout value pool balance
Sean Bowe [Thu, 14 Mar 2019 21:39:11 +0000 (15:39 -0600)]
Check blockhash of fallback block for Sprout value pool balance

5 years agoAdd newlines to turntile log messages for miner
Sean Bowe [Thu, 14 Mar 2019 21:25:31 +0000 (15:25 -0600)]
Add newlines to turntile log messages for miner

5 years agoUse existing chainparams variable
Sean Bowe [Thu, 14 Mar 2019 21:25:10 +0000 (15:25 -0600)]
Use existing chainparams variable

5 years agoConsolidate logic to enable turnstile auditing for testnet/regtest/mainnet.
Sean Bowe [Thu, 14 Mar 2019 20:20:51 +0000 (14:20 -0600)]
Consolidate logic to enable turnstile auditing for testnet/regtest/mainnet.

5 years agoFix tallying for Sprout/Sapling value pools.
Sean Bowe [Thu, 14 Mar 2019 20:08:12 +0000 (14:08 -0600)]
Fix tallying for Sprout/Sapling value pools.

5 years agoAdd checkpoint for block 497000.
Simon [Thu, 14 Mar 2019 00:31:49 +0000 (17:31 -0700)]
Add checkpoint for block 497000.

5 years agoUpdate nMinimumChainWork using block 497000.
Simon [Thu, 14 Mar 2019 00:24:43 +0000 (17:24 -0700)]
Update nMinimumChainWork using block 497000.

5 years ago(testnet/regtest) Avoid mining transactions that would violate the turnstile.
Sean Bowe [Wed, 13 Mar 2019 07:13:59 +0000 (01:13 -0600)]
(testnet/regtest) Avoid mining transactions that would violate the turnstile.

5 years agoconfigure: Guess -march for libsnark OPTFLAGS instead of hard-coding
Jack Grigg [Wed, 13 Mar 2019 07:34:31 +0000 (07:34 +0000)]
configure: Guess -march for libsnark OPTFLAGS instead of hard-coding

When cross-compiling, this will remove the -march flag entirely unless
the user specifies CONFIGURE_FLAGS="--with-gcc-arch=<arch>".

5 years agodepends: Update .gitignore
Jack Grigg [Wed, 13 Mar 2019 06:41:23 +0000 (06:41 +0000)]
depends: Update .gitignore

5 years ago(testnet) Reject blocks that result in turnstile violations
Sean Bowe [Wed, 13 Mar 2019 06:54:29 +0000 (00:54 -0600)]
(testnet) Reject blocks that result in turnstile violations

5 years ago(testnet) Fall back to hardcoded shielded pool balance to avoid reorgs.
Sean Bowe [Wed, 13 Mar 2019 06:43:54 +0000 (00:43 -0600)]
(testnet) Fall back to hardcoded shielded pool balance to avoid reorgs.

5 years agodepends: Compile bdb with --disable-atomics on aarch64
Jack Grigg [Wed, 13 Mar 2019 06:39:12 +0000 (06:39 +0000)]
depends: Compile bdb with --disable-atomics on aarch64

This sidesteps the problem where the atomics check tries to run a test
binary, which cannot be performed during cross compilation. We should
replace this with a better solution in future.

Part of #3710.

5 years agodepends: Add rust-std hash for aarch64-unknown-linux-gnu
Jack Grigg [Mon, 25 Jun 2018 18:12:44 +0000 (14:12 -0400)]
depends: Add rust-std hash for aarch64-unknown-linux-gnu

Usage on Debian / Ubuntu:

> $ sudo apt install g++-aarch64-linux-gnu
> $ HOST=aarch64-linux-gnu ./zcutil/build.sh

Currently fails to cross-compile due to later configuration issues in
the depends system that need to be worked around.

5 years agodepends: Generalise the rust package cross-compilation functions
Jack Grigg [Mon, 25 Jun 2018 17:43:46 +0000 (13:43 -0400)]
depends: Generalise the rust package cross-compilation functions

5 years agodepends: Use full path to cargo binary
Jack Grigg [Sun, 24 Jun 2018 20:03:43 +0000 (16:03 -0400)]
depends: Use full path to cargo binary

The native binaries generated in the depends system are available on the path,
but system binaries are still visible. This change ensures we use cargo from
the depends system rather than whatever might be installed locally.

5 years agoAuto merge of #3762 - str4d:2074-detach-wallet-from-miner, r=Eirik0
Homu [Tue, 12 Mar 2019 20:01:31 +0000 (13:01 -0700)]
Auto merge of #3762 - str4d:2074-detach-wallet-from-miner, r=Eirik0

Detach wallet from miner

Cherry-picked from upstream PR bitcoin/bitcoin#5994.

Part of #2074.

5 years agoMove payment disclosure code and tests into wallet
Jack Grigg [Tue, 5 Mar 2019 21:04:23 +0000 (10:04 +1300)]
Move payment disclosure code and tests into wallet

The code was already compiled as part of the wallet, but the tests were
not, meaning that the tests would fail to compile when the wallet was
disabled.

5 years agoMove utiltest.cpp from wallet to common
Jack Grigg [Tue, 5 Mar 2019 20:41:39 +0000 (09:41 +1300)]
Move utiltest.cpp from wallet to common

This ensures it is accessible by the test suite when the wallet is
disabled.

5 years agoAdd comments
Jack Grigg [Mon, 28 Jan 2019 18:46:08 +0000 (18:46 +0000)]
Add comments

5 years agotest: Make expected_utxos optional in get_coinbase_address()
Jack Grigg [Mon, 28 Jan 2019 18:45:48 +0000 (18:45 +0000)]
test: Make expected_utxos optional in get_coinbase_address()

5 years agotest: Fetch coinbase address from coinbase UTXOs
Jack Grigg [Sat, 10 Mar 2018 10:19:44 +0000 (10:19 +0000)]
test: Fetch coinbase address from coinbase UTXOs

After upstream PR bitcoin/bitcoin#5994, the first call to getnewaddress after
startup does not return the address being used by the miner.

5 years agominer: rename UpdateRequestCount signal to ResetRequestCount
Jonas Schnelli [Wed, 1 Jul 2015 14:06:49 +0000 (16:06 +0200)]
miner: rename UpdateRequestCount signal to ResetRequestCount

5 years agoadd CReserveScript to allow modular script keeping/returning
Jonas Schnelli [Wed, 1 Jul 2015 06:32:30 +0000 (08:32 +0200)]
add CReserveScript to allow modular script keeping/returning

- use one CReserveScript per mining thread

5 years agofix GetScriptForMining() CReserveKey::keepKey() issue
Jonas Schnelli [Wed, 24 Jun 2015 19:51:47 +0000 (21:51 +0200)]
fix GetScriptForMining() CReserveKey::keepKey() issue

5 years agodetach wallet from miner
Jonas Schnelli [Fri, 10 Apr 2015 10:49:01 +0000 (12:49 +0200)]
detach wallet from miner

5 years agoUse a custom error type if creating joinsplit descriptions fails
Eirik0 [Thu, 28 Feb 2019 18:19:36 +0000 (11:19 -0700)]
Use a custom error type if creating joinsplit descriptions fails

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