]> Git Repo - VerusCoin.git/log
VerusCoin.git
8 years agoFixes for indentation and local variable names.
Sean Bowe [Sat, 16 Jul 2016 22:45:41 +0000 (16:45 -0600)]
Fixes for indentation and local variable names.

8 years agoRemove more usage of `serial`.
Sean Bowe [Fri, 15 Jul 2016 01:19:13 +0000 (19:19 -0600)]
Remove more usage of `serial`.

8 years agoFix tests
Sean Bowe [Fri, 15 Jul 2016 00:58:55 +0000 (18:58 -0600)]
Fix tests

8 years agoRename pour RPC tests
Sean Bowe [Fri, 15 Jul 2016 00:04:38 +0000 (18:04 -0600)]
Rename pour RPC tests

8 years agoChange encryptedbucket1 to encryptednote1.
Sean Bowe [Thu, 14 Jul 2016 23:27:54 +0000 (17:27 -0600)]
Change encryptedbucket1 to encryptednote1.

8 years agoRename CSerialsCacheEntry.
Sean Bowe [Thu, 14 Jul 2016 23:02:39 +0000 (17:02 -0600)]
Rename CSerialsCacheEntry.

8 years agoRename cacheSerials to cacheNullifiers and fix tests.
Sean Bowe [Thu, 14 Jul 2016 22:51:36 +0000 (16:51 -0600)]
Rename cacheSerials to cacheNullifiers and fix tests.

8 years agoBucket -> note.
Daira Hopwood [Thu, 14 Jul 2016 22:22:27 +0000 (23:22 +0100)]
Bucket -> note.

Signed-off-by: Daira Hopwood <[email protected]>
8 years agoRename more usage of `serial`.
Sean Bowe [Thu, 14 Jul 2016 22:32:34 +0000 (16:32 -0600)]
Rename more usage of `serial`.

8 years agoRename some usage of 'pour'.
Sean Bowe [Thu, 14 Jul 2016 22:10:41 +0000 (16:10 -0600)]
Rename some usage of 'pour'.

8 years agoRename mapSerials to mapNullifiers.
Sean Bowe [Thu, 14 Jul 2016 22:02:42 +0000 (16:02 -0600)]
Rename mapSerials to mapNullifiers.

8 years agoRename CSerialsMap to CNullifiersMap.
Sean Bowe [Thu, 14 Jul 2016 21:57:00 +0000 (15:57 -0600)]
Rename CSerialsMap to CNullifiersMap.

8 years agoRenaming SetSerial to SetNullifier.
Sean Bowe [Thu, 14 Jul 2016 21:51:53 +0000 (15:51 -0600)]
Renaming SetSerial to SetNullifier.

8 years agoRename GetSerial to GetNullifier.
Sean Bowe [Thu, 14 Jul 2016 21:47:54 +0000 (15:47 -0600)]
Rename GetSerial to GetNullifier.

8 years agoRename HavePourRequirements to HaveJoinSplitRequirements.
Sean Bowe [Thu, 14 Jul 2016 21:23:01 +0000 (15:23 -0600)]
Rename HavePourRequirements to HaveJoinSplitRequirements.

8 years agoRename GetPourValueIn to GetJoinSplitValueIn
Sean Bowe [Thu, 14 Jul 2016 21:16:57 +0000 (15:16 -0600)]
Rename GetPourValueIn to GetJoinSplitValueIn

8 years agoTest fixes.
Sean Bowe [Thu, 14 Jul 2016 20:16:59 +0000 (14:16 -0600)]
Test fixes.

8 years agoRename JSDescription's `serials` to `nullifiers`.
Sean Bowe [Mon, 11 Jul 2016 05:18:53 +0000 (23:18 -0600)]
Rename JSDescription's `serials` to `nullifiers`.

8 years agoRename vpour to vjoinsplit.
Sean Bowe [Mon, 11 Jul 2016 05:08:20 +0000 (23:08 -0600)]
Rename vpour to vjoinsplit.

8 years agoRename CPourTx to JSDescription.
Sean Bowe [Mon, 11 Jul 2016 05:02:10 +0000 (23:02 -0600)]
Rename CPourTx to JSDescription.

8 years agoAuto merge of #1059 - bitcartel:zc.v0.11.2.z5_getblocksubsidy, r=ebfull
zkbot [Sun, 17 Jul 2016 16:19:39 +0000 (16:19 +0000)]
Auto merge of #1059 - bitcartel:zc.v0.11.2.z5_getblocksubsidy, r=ebfull

Add getblocksubsidy RPC command to return block reward taking into account mining slow start

This PR adds a new RPC command to return the block reward as defined by function `GetBlockSubsidy`.

Usage:
`zcash-cli getblocksubsidy blockheight
`

The basis for this PR is that some users have been unaware of the mining slow start and they subsequently sought help to clarify if they were mining blocks correctly or if there was a bug in the reward schedule.

8 years agoAdd founders reward to output.
Simon [Thu, 14 Jul 2016 20:05:32 +0000 (13:05 -0700)]
Add founders reward to output.

8 years agoAuto merge of #1051 - ThisIsNotOfficialCodeItsJustForks:t863-mock-coverage-of-checktr...
zkbot [Thu, 14 Jul 2016 18:43:07 +0000 (18:43 +0000)]
Auto merge of #1051 - ThisIsNotOfficialCodeItsJustForks:t863-mock-coverage-of-checktransaction, r=ebfull

Add mock test coverage of CheckTransaction

Closes #863.

8 years agoFix bad_txns_oversize test for increased block size.
Taylor Hornby [Thu, 14 Jul 2016 18:17:01 +0000 (12:17 -0600)]
Fix bad_txns_oversize test for increased block size.

8 years agoAuto merge of #1047 - aniemerg:fix/get-difficulty-fix2, r=ebfull
zkbot [Thu, 14 Jul 2016 04:18:56 +0000 (04:18 +0000)]
Auto merge of #1047 - aniemerg:fix/get-difficulty-fix2, r=ebfull

Update GetDifficulty() to use consensus.powLimit from consensus parameters.

Fixes #1032.

8 years agoAuto merge of #1085 - zcash:daira-clang-cpp11, r=ebfull
zkbot [Thu, 14 Jul 2016 03:08:55 +0000 (03:08 +0000)]
Auto merge of #1085 - zcash:daira-clang-cpp11, r=ebfull

.clang-format: change standard to C++11

A nitpick for folks who want to test with clang.

8 years agoAuto merge of #979 - nathan-at-least:nathan.cleanup-nonofficial-tags, r=ebfull
zkbot [Wed, 13 Jul 2016 02:23:14 +0000 (02:23 +0000)]
Auto merge of #979 - nathan-at-least:nathan.cleanup-nonofficial-tags, r=ebfull

A script to remove "unofficial" tags from a remote, such as github.

Officialness is determined by a regular expression. ;-)

This is handy because we often want upstream Bitcoin tags for local
diffs, but sometimes we accidentally upload them to github which then
claims they are our releases, which is confusing and misleading.

8 years agoAuto merge of #1089 - ThisIsNotOfficialCodeItsJustForks:t960-rename-zerocash-zcash...
zkbot [Wed, 13 Jul 2016 01:51:22 +0000 (01:51 +0000)]
Auto merge of #1089 - ThisIsNotOfficialCodeItsJustForks:t960-rename-zerocash-zcash, r=ebfull

Rename zerocash to zcash in places

Closes #960.

8 years agoNarrow scope of lock.
Simon [Tue, 12 Jul 2016 05:01:15 +0000 (22:01 -0700)]
Narrow scope of lock.

8 years agoReplace index with height in help message for getblocksubsidy RPC call.
Simon [Tue, 12 Jul 2016 04:53:09 +0000 (21:53 -0700)]
Replace index with height in help message for getblocksubsidy RPC call.

8 years agoAuto merge of #1082 - ebfull:reorder-logs, r=ebfull
zkbot [Tue, 12 Jul 2016 04:41:10 +0000 (04:41 +0000)]
Auto merge of #1082 - ebfull:reorder-logs, r=ebfull

Reorder initialization routines to ensure verifying key log messages appear in debug.log.

Closes #721

8 years agoRename zerocash_packages to zcash_packages in packages.mk
Taylor Hornby [Tue, 12 Jul 2016 01:30:18 +0000 (19:30 -0600)]
Rename zerocash_packages to zcash_packages in packages.mk

8 years agoRename qa/zerocash to qa/zcash in Makefile.am
Taylor Hornby [Tue, 12 Jul 2016 01:29:41 +0000 (19:29 -0600)]
Rename qa/zerocash to qa/zcash in Makefile.am

8 years agoRemove references to libzerocash in .gitignore
Taylor Hornby [Tue, 12 Jul 2016 01:29:11 +0000 (19:29 -0600)]
Remove references to libzerocash in .gitignore

8 years agoRename zerocash to zcash in some places.
Taylor Hornby [Tue, 12 Jul 2016 01:27:52 +0000 (19:27 -0600)]
Rename zerocash to zcash in some places.

8 years agoAuto merge of #1080 - ebfull:performance-check-valid-pour, r=ebfull
zkbot [Mon, 11 Jul 2016 22:38:25 +0000 (22:38 +0000)]
Auto merge of #1080 - ebfull:performance-check-valid-pour, r=ebfull

Always check valid joinsplits during performance tests

This will generate a valid joinsplit instead of using one from an environment variable.

8 years agoRename samplepour to samplejoinsplit
Sean Bowe [Mon, 11 Jul 2016 17:33:14 +0000 (11:33 -0600)]
Rename samplepour to samplejoinsplit

8 years agoAuto merge of #1058 - ebfull:coin-cache, r=ebfull
zkbot [Mon, 11 Jul 2016 17:23:19 +0000 (17:23 +0000)]
Auto merge of #1058 - ebfull:coin-cache, r=ebfull

Flush to disk more consistently by accounting memory usage of serials/anchors in cache.

Closes #626.

It's important that this at least *approximates* the memory usage, so that we flush the cache to disk as expected. It's okay that we overestimate. The serials are stored in keys in the `boost::unordered_map`, so we can simply use that map's `DynamicMemoryUsage`. The anchors are another story.

8 years agoAuto merge of #1061 - ebfull:remove-libzerocash-completely, r=ebfull
zkbot [Mon, 11 Jul 2016 16:17:35 +0000 (16:17 +0000)]
Auto merge of #1061 - ebfull:remove-libzerocash-completely, r=ebfull

Remove the rest of libzerocash.

Closes #510.

8 years agoRemove zerocash tests from full-test-suite.
Sean Bowe [Mon, 11 Jul 2016 16:05:55 +0000 (10:05 -0600)]
Remove zerocash tests from full-test-suite.

8 years ago.clang-format: change standard to C++11
Daira Hopwood [Mon, 11 Jul 2016 12:22:20 +0000 (13:22 +0100)]
.clang-format: change standard to C++11

8 years agoReorder initialization routines to ensure verifying key log messages appear in debug...
Sean Bowe [Mon, 11 Jul 2016 03:10:02 +0000 (21:10 -0600)]
Reorder initialization routines to ensure verifying key log messages appear in debug.log.

8 years agoUpdate tests with cache usage computations
Sean Bowe [Mon, 11 Jul 2016 02:53:33 +0000 (20:53 -0600)]
Update tests with cache usage computations

8 years agoRemove the rest of libzerocash.
Sean Bowe [Tue, 28 Jun 2016 16:08:50 +0000 (10:08 -0600)]
Remove the rest of libzerocash.

8 years agoAlways check valid joinsplits during performance tests, and avoid recomputing them...
Sean Bowe [Sat, 9 Jul 2016 20:31:43 +0000 (14:31 -0600)]
Always check valid joinsplits during performance tests, and avoid recomputing them every time we change the circuit.

8 years agoAuto merge of #1044 - bitcartel:zc.v0.11.2.z5_issue_932, r=ebfull
zkbot [Sat, 9 Jul 2016 17:36:19 +0000 (17:36 +0000)]
Auto merge of #1044 - bitcartel:zc.v0.11.2.z5_issue_932, r=ebfull

Disable USE_ASM when building libsnark

For #932.

8 years agoz6 release notes and version update. v0.11.2.z6
Daira Hopwood [Fri, 8 Jul 2016 21:57:37 +0000 (22:57 +0100)]
z6 release notes and version update.

Signed-off-by: Daira Hopwood <[email protected]>
8 years agoIncrease block size to 2MB and update performance test.
Sean Bowe [Thu, 7 Jul 2016 22:53:16 +0000 (16:53 -0600)]
Increase block size to 2MB and update performance test.

8 years agoAuto merge of #1049 - str4d:equihash-faster-sort-comparison, r=bitcartel
zkbot [Thu, 7 Jul 2016 20:43:42 +0000 (20:43 +0000)]
Auto merge of #1049 - str4d:equihash-faster-sort-comparison, r=bitcartel

Only compare the first n/(k+1) bits when sorting

We only need to sort based on the bits we are colliding. In earlier solver rounds, this speeds up the comparison considerably (calling `memcmp()` on 3 bytes instead of 12 in the first round for the current parameters).

8 years agoMake `validatelargetx` test more accurate, reduce block size limit to 1MB for now.
Sean Bowe [Wed, 6 Jul 2016 18:07:50 +0000 (12:07 -0600)]
Make `validatelargetx` test more accurate, reduce block size limit to 1MB for now.

8 years agoFix performance test for block verification.
Sean Bowe [Tue, 5 Jul 2016 13:55:35 +0000 (07:55 -0600)]
Fix performance test for block verification.

8 years agoAuto merge of #1062 - ebfull:remove-mainnet-checkpoints, r=ebfull
zkbot [Thu, 30 Jun 2016 17:56:28 +0000 (17:56 +0000)]
Auto merge of #1062 - ebfull:remove-mainnet-checkpoints, r=ebfull

Remove the mainnet checkpoints.

This removes the checkpoints from mainnet (just as we have with the other chain parameters).

Closes #695.

8 years agoRemove the mainnet checkpoints.
Sean Bowe [Wed, 29 Jun 2016 20:21:03 +0000 (14:21 -0600)]
Remove the mainnet checkpoints.

8 years agoAuto merge of #1060 - str4d:1033-randomise-nonce, r=ebfull
zkbot [Wed, 29 Jun 2016 19:15:23 +0000 (19:15 +0000)]
Auto merge of #1060 - str4d:1033-randomise-nonce, r=ebfull

Randomise the nonce in the block header

The top and bottom 16 bits of the nonce are left clear for local use as thread
flags and counters. This does not leak any more local information about the
miner than is currently exposed.

The cleared bits should not be considered a consensus rule, as miners are free
to set all bits of the nonce however they wish.

Closes #1033

8 years agoAuto merge of #1046 - str4d:971-large-tx-benchmark, r=ebfull
zkbot [Wed, 29 Jun 2016 07:54:28 +0000 (07:54 +0000)]
Auto merge of #1046 - str4d:971-large-tx-benchmark, r=ebfull

Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction

Closes #971.

8 years agoFix memory leak in large tx benchmark
Jack Grigg [Tue, 28 Jun 2016 23:45:47 +0000 (11:45 +1200)]
Fix memory leak in large tx benchmark

8 years agoClear mempool before using it for benchmark test, fix parameter name
Jack Grigg [Tue, 28 Jun 2016 23:19:41 +0000 (11:19 +1200)]
Clear mempool before using it for benchmark test, fix parameter name

8 years agoAuto merge of #962 - ebfull:2mb-blocks, r=ebfull
zkbot [Tue, 28 Jun 2016 17:46:47 +0000 (17:46 +0000)]
Auto merge of #962 - ebfull:2mb-blocks, r=ebfull

Increase block size limit to 2MB.

http://gavinandresen.ninja/a-guided-tour-of-the-2mb-fork

Closes #765.

8 years agoRandomise the nonce in the block header
Jack Grigg [Mon, 27 Jun 2016 23:26:19 +0000 (11:26 +1200)]
Randomise the nonce in the block header

The top and bottom 16 bits of the nonce are left clear for local use as thread
flags and counters. This does not leak any more local information about the
miner than is currently exposed.

The cleared bits should not be considered a consensus rule, as miners are free
to set all bits of the nonce however they wish.

Closes #1033

8 years agoAdd getblocksubsidy RPC command to return the block reward for a given
Simon [Mon, 27 Jun 2016 20:04:33 +0000 (13:04 -0700)]
Add getblocksubsidy RPC command to return the block reward for a given
block, taking into account the mining slow start.

8 years agoFlush to disk more consistently by accounting memory usage of serials/anchors in...
Sean Bowe [Mon, 27 Jun 2016 16:52:34 +0000 (10:52 -0600)]
Flush to disk more consistently by accounting memory usage of serials/anchors in cache.

8 years agoTest non-canonical ed25519 signature check
Taylor Hornby [Fri, 24 Jun 2016 00:22:20 +0000 (18:22 -0600)]
Test non-canonical ed25519 signature check

8 years agoMore testing of CheckTransaction
Taylor Hornby [Thu, 23 Jun 2016 22:59:00 +0000 (16:59 -0600)]
More testing of CheckTransaction

8 years agoSplit JoinSplit proof verification out of CheckTransaction.
Taylor Hornby [Thu, 23 Jun 2016 22:35:31 +0000 (16:35 -0600)]
Split JoinSplit proof verification out of CheckTransaction.

8 years agoWIP: Add mock test coverage of CheckTransaction
Taylor Hornby [Wed, 22 Jun 2016 23:25:35 +0000 (17:25 -0600)]
WIP: Add mock test coverage of CheckTransaction

8 years agoAuto merge of #1027 - ThisIsNotOfficialCodeItsJustForks:t862-trivial-mock-test-exampl...
zkbot [Wed, 22 Jun 2016 14:30:12 +0000 (14:30 +0000)]
Auto merge of #1027 - ThisIsNotOfficialCodeItsJustForks:t862-trivial-mock-test-example, r=ebfull

Add example mock test of CheckTransaction

Closes #862.

8 years agoOnly compare the first n/(k+1) bits when sorting
Jack Grigg [Tue, 21 Jun 2016 03:53:47 +0000 (15:53 +1200)]
Only compare the first n/(k+1) bits when sorting

8 years agoUpdate GetDifficulty() to use consensus.powLimit from consensus parameters. Fixes...
aniemerg [Tue, 21 Jun 2016 02:21:42 +0000 (22:21 -0400)]
Update GetDifficulty() to use consensus.powLimit from consensus parameters. Fixes #1032.

8 years agoAdd performance tests for creating and validating a MAX_BLOCK_SIZE transaction
Jack Grigg [Tue, 7 Jun 2016 23:28:12 +0000 (11:28 +1200)]
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction

8 years agoDisable USE_ASM when building libsnark (issue 932).
Simon [Mon, 20 Jun 2016 22:18:15 +0000 (15:18 -0700)]
Disable USE_ASM when building libsnark (issue 932).

8 years agoSuppress Libsnark Debugging Info
aniemerg [Sun, 19 Jun 2016 13:54:54 +0000 (09:54 -0400)]
Suppress Libsnark Debugging Info

Suppress the Libsnark debugging information displayed on launch

8 years agoChange the network magic numbers. v0.11.2.z5
Taylor Hornby [Fri, 17 Jun 2016 01:46:43 +0000 (19:46 -0600)]
Change the network magic numbers.

8 years agoz5 release
Taylor Hornby [Fri, 17 Jun 2016 01:32:55 +0000 (19:32 -0600)]
z5 release

8 years agoMerge remote-tracking branch 'jack/990-default-ports' into zc.v0.11.2.latest
Taylor Hornby [Fri, 17 Jun 2016 01:28:24 +0000 (19:28 -0600)]
Merge remote-tracking branch 'jack/990-default-ports' into zc.v0.11.2.latest

8 years agoMerge remote-tracking branch 'jack/fix-version' into zc.v0.11.2.latest
Taylor Hornby [Fri, 17 Jun 2016 01:25:41 +0000 (19:25 -0600)]
Merge remote-tracking branch 'jack/fix-version' into zc.v0.11.2.latest

8 years agoAuto merge of #1026 - ebfull:address-serialization, r=ebfull
zkbot [Thu, 16 Jun 2016 18:52:30 +0000 (18:52 +0000)]
Auto merge of #1026 - ebfull:address-serialization, r=ebfull

Zcash address encoding

We need to encode Zcash addresses so they aren't as large and unweildy. We're using Base58Check just like upstream does, and to ensure the first character is "z" in our addresses we must use two bytes for the version string. Two bytes gives us an extra character for free, so this PR targets the beginning of addresses to have "zc".

```
$ ./src/zcash-cli zcrawkeygen
{
    "zcaddress" : "tnvaj4ZbZG83tj4RwZcFeLgJoSt8nw1ZvSCG8EMyowAsXTQgJPat77Y43BVdVCrwrbLy7GG9msJDYdn5hmreHmkXAkX17hb",
    "zcsecretkey" : "SKzkxCRWvscKnroSFyhCqhY332KcDMH4LLNdK2TsSvbmr3CGAB8B",
    "zcviewingkey" : "10aa74046f31cbe5eaa8965d1e104853234c3d6c6e45f9c497ca3a025d159755"
}
```

This PR also encodes the spending keys with a prefix that targets "SK". The spec needs to be updated with these changes.

Testnet addresses will start with "tn".

Closes #572

8 years agoTestnet spending keys should start with 'TK'.
Sean Bowe [Thu, 16 Jun 2016 18:16:49 +0000 (12:16 -0600)]
Testnet spending keys should start with 'TK'.

8 years agoChange default ports
Jack Grigg [Thu, 16 Jun 2016 02:14:27 +0000 (14:14 +1200)]
Change default ports

8 years agoFix bug in network hashrate lookup window configuration
Jack Grigg [Thu, 16 Jun 2016 09:26:49 +0000 (21:26 +1200)]
Fix bug in network hashrate lookup window configuration

8 years agoHandle full Zcash version string in AC_INIT
Jack Grigg [Wed, 15 Jun 2016 01:59:25 +0000 (13:59 +1200)]
Handle full Zcash version string in AC_INIT

8 years agoAuto merge of #1004 - str4d:931-difficulty-algorithm, r=ebfull
zkbot [Wed, 15 Jun 2016 23:26:49 +0000 (23:26 +0000)]
Auto merge of #1004 - str4d:931-difficulty-algorithm, r=ebfull

Implement new difficulty algorithm

Closes #931. Closes #696.

8 years agoAdd example mock test of CheckTransaction
Taylor Hornby [Wed, 15 Jun 2016 23:01:55 +0000 (17:01 -0600)]
Add example mock test of CheckTransaction

8 years agoImprove comments per review
Jack Grigg [Wed, 15 Jun 2016 22:45:19 +0000 (10:45 +1200)]
Improve comments per review

8 years agoAdd test to ensure spending keys always encode with 'SK' at beginning.
Sean Bowe [Wed, 15 Jun 2016 22:25:21 +0000 (16:25 -0600)]
Add test to ensure spending keys always encode with 'SK' at beginning.

8 years agoMake testnet addresses always start with 'tn'.
Sean Bowe [Wed, 15 Jun 2016 22:22:36 +0000 (16:22 -0600)]
Make testnet addresses always start with 'tn'.

8 years agoGuarantee first two bytes of spending key are SK
Sean Bowe [Wed, 15 Jun 2016 22:15:54 +0000 (16:15 -0600)]
Guarantee first two bytes of spending key are SK

8 years agoAdded encoding for Zcash spending keys.
Sean Bowe [Wed, 15 Jun 2016 22:03:57 +0000 (16:03 -0600)]
Added encoding for Zcash spending keys.

8 years agoAuto merge of #994 - ebfull:remove-redundant-constraints, r=ebfull
zkbot [Wed, 15 Jun 2016 21:39:32 +0000 (21:39 +0000)]
Auto merge of #994 - ebfull:remove-redundant-constraints, r=ebfull

Final changes to the circuit

* Remove [redundant](https://github.com/scipr-lab/libsnark/issues/37) bitness constraints that I pointed out in #908.
* The depth is increased from 20 to 29. I chose 29 because the QAP degree ends up being a power of two, which is probably going to be useful for the FFT in our MPC. (Closes #16)

If we're happy with depth 29 (over 268 million possible joinsplits), this will probably be the final change to the constraint system before 1.0.

8 years agoFix test against merkle tree root.
Sean Bowe [Wed, 15 Jun 2016 21:31:14 +0000 (15:31 -0600)]
Fix test against merkle tree root.

8 years agoAdd tests for `CZCPaymentAddress`.
Sean Bowe [Wed, 15 Jun 2016 21:06:07 +0000 (15:06 -0600)]
Add tests for `CZCPaymentAddress`.

8 years agoUse base58check to encode Zcash payment addresses, such that the first two bytes...
Sean Bowe [Wed, 15 Jun 2016 20:59:05 +0000 (14:59 -0600)]
Use base58check to encode Zcash payment addresses, such that the first two bytes are "zc".

8 years agoDo not encode leading bytes in `PaymentAddress` serialization; this is a task for...
Sean Bowe [Wed, 15 Jun 2016 20:58:30 +0000 (14:58 -0600)]
Do not encode leading bytes in `PaymentAddress` serialization; this is a task for a higher-level API.

8 years agoAuto merge of #1017 - ebfull:coinbase-must-be-protected, r=ebfull
zkbot [Wed, 15 Jun 2016 03:06:23 +0000 (03:06 +0000)]
Auto merge of #1017 - ebfull:coinbase-must-be-protected, r=ebfull

Enforce that coinbases must be protected

This PR forces miners to place their funds in the private value transfer system, making "transparent coins" opt-in for users, and increasing privacy for all participants on a systemic level.

Closes #101.

8 years agoUpdate tests for new difficulty algorithm
Jack Grigg [Wed, 8 Jun 2016 02:21:04 +0000 (14:21 +1200)]
Update tests for new difficulty algorithm

8 years agoImplement new difficulty algorithm (#931)
Jack Grigg [Wed, 8 Jun 2016 00:30:32 +0000 (12:30 +1200)]
Implement new difficulty algorithm (#931)

The algorithm is based on DigiShield v3/v4.

8 years agoDisable enforced coinbase protection in miner_tests.
Sean Bowe [Tue, 14 Jun 2016 21:18:52 +0000 (15:18 -0600)]
Disable enforced coinbase protection in miner_tests.

8 years agoRename to `fCoinbaseMustBeProtected`.
Sean Bowe [Tue, 14 Jun 2016 21:16:34 +0000 (15:16 -0600)]
Rename to `fCoinbaseMustBeProtected`.

8 years agoEnsure NonContextualCheckInputs runs before routines in ContextualCheckInputs.
Sean Bowe [Tue, 14 Jun 2016 18:41:32 +0000 (12:41 -0600)]
Ensure NonContextualCheckInputs runs before routines in ContextualCheckInputs.

8 years agoEnforce remaining softfork activation rules unconditionally.
Sean Bowe [Tue, 14 Jun 2016 15:48:02 +0000 (09:48 -0600)]
Enforce remaining softfork activation rules unconditionally.

8 years agoEnforce BIP16 and BIP30 unconditionally to all blocks.
Sean Bowe [Fri, 10 Jun 2016 22:04:15 +0000 (16:04 -0600)]
Enforce BIP16 and BIP30 unconditionally to all blocks.

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