]> Git Repo - VerusCoin.git/log
VerusCoin.git
8 years agoAuto merge of #1094 - ThisIsNotOfficialCodeItsJustForks:t488-document-side-channel...
zkbot [Tue, 19 Jul 2016 17:39:27 +0000 (17:39 +0000)]
Auto merge of #1094 - ThisIsNotOfficialCodeItsJustForks:t488-document-side-channel-attacks, r=ebfull

Add security warnings doc with warning about side channels.

Closes #5. Closes #785. Closes #488. Closes #784.

Let's only merge this once we're sure the warning is at least as strong as it needs to be (and thus sufficient to close those tickets).

8 years agoAuto merge of #1105 - bitcartel:zc.v0.11.2.z6_issue_424, r=ebfull
zkbot [Mon, 18 Jul 2016 21:09:46 +0000 (21:09 +0000)]
Auto merge of #1105 - bitcartel:zc.v0.11.2.z6_issue_424, r=ebfull

New private/public key pairs for broadcasting alert messages

Implements #424

Fixes and integrates method of sending alerts as described by upstream here:
- https://gist.github.com/laanwj/0e689cfa37b52bcbbb44

To send an alert:
- Copy private keys into alertkeys.h.
- Modify alert parameters and message found in sendalert.cpp
- Build and run to send the alert e.g. ./zcashd -printtoconsole -sendalert

Tested and verified with local nodes on alpha 6 testnet.

8 years agoMention physical access / close proximity
Taylor Hornby [Mon, 18 Jul 2016 20:54:22 +0000 (14:54 -0600)]
Mention physical access / close proximity

8 years agoNote that the actual secret spending key may be leaked.
Taylor Hornby [Mon, 18 Jul 2016 20:50:07 +0000 (14:50 -0600)]
Note that the actual secret spending key may be leaked.

8 years agoAuto merge of #1090 - ebfull:rename-pour-and-serial, r=ebfull
zkbot [Mon, 18 Jul 2016 19:58:25 +0000 (19:58 +0000)]
Auto merge of #1090 - ebfull:rename-pour-and-serial, r=ebfull

Rename things to match protocol specification

This is a pass through the code to eliminate usage of "pour" and "serial" and any other outdated terminology.

Closes #602

8 years agoAuto merge of #1104 - ebfull:libsnark-updates, r=ebfull
zkbot [Mon, 18 Jul 2016 18:04:56 +0000 (18:04 +0000)]
Auto merge of #1104 - ebfull:libsnark-updates, r=ebfull

Update libsnark

We have now forked libsnark's current master and applied the following patches:

* [`9216072`: Remove code that we don't use.](https://github.com/zcash/libsnark/commit/9216072c3b20d65359f4d5f3982c8270dab422b6) (unblocks #69)
* [`dcb78b2`: Modify makefile to stop compiling things we removed.](https://github.com/zcash/libsnark/commit/dcb78b24d9de86522f7f976741111e9e66804889)
* [`a6b0ad0`: Use libsodium's PRNG](https://github.com/zcash/libsnark/commit/a6b0ad0c801fe96d0e12e5961279cdf306a412fa) (closes #780)
* [`4036716`: Don't (de)serialize the constraint system in the proving key.](https://github.com/zcash/libsnark/commit/403671675ada05caf7446f9676fa3c54d5830325) (closes #491)
* [`a703148`: Taylor's compilation patch](https://github.com/zcash/libsnark/commit/a7031481fd8d2360337321401fe8e24f0359317a) (@defuse can you submit this to upstream?)

This PR adopts those changes, and makes the requisite changes to Zcash to support them. I have decided to not bring libsnark in tree for the time being, though it should be incredibly easy to do later if we're *absolutely* sure we should.

8 years agoRename `pour` in RPC tests.
Sean Bowe [Mon, 18 Jul 2016 16:43:17 +0000 (10:43 -0600)]
Rename `pour` in RPC tests.

8 years agoChange `serial` to `nf` in txdb.
Sean Bowe [Sat, 16 Jul 2016 22:46:49 +0000 (16:46 -0600)]
Change `serial` to `nf` in txdb.

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 agoNew alert test data generated for new alert key pair.
Simon [Sun, 17 Jul 2016 19:36:26 +0000 (12:36 -0700)]
New alert test data generated for new alert key pair.
Added test fixture to create new test data.
Added instructions for developer.

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 agoRemove QT alert message box.
Simon [Sat, 16 Jul 2016 20:18:42 +0000 (13:18 -0700)]
Remove QT alert message box.

8 years agoUpdate URL for zcash alert IDs.
Simon [Sat, 16 Jul 2016 20:17:47 +0000 (13:17 -0700)]
Update URL for zcash alert IDs.

8 years agoUpdate alert protocol version comment.
Simon [Sat, 16 Jul 2016 15:18:58 +0000 (08:18 -0700)]
Update alert protocol version comment.

8 years agoUpdate alert ID start value and URL in comment.
Simon [Sat, 16 Jul 2016 15:17:56 +0000 (08:17 -0700)]
Update alert ID start value and URL in comment.

8 years agoUpdate comments.
Simon [Sat, 16 Jul 2016 15:12:19 +0000 (08:12 -0700)]
Update comments.

8 years agoDisable QT alert message.
Simon [Sat, 16 Jul 2016 15:03:36 +0000 (08:03 -0700)]
Disable QT alert message.

8 years agoFixes to integrate sendalert.cpp.
Simon [Sat, 16 Jul 2016 02:57:55 +0000 (19:57 -0700)]
Fixes to integrate sendalert.cpp.
Add sendalert.cpp to build process.
Add alertkeys.h as a placeholder for private keys.

8 years agoAdd sendalert.cpp to repo.
Simon [Sat, 16 Jul 2016 01:05:42 +0000 (18:05 -0700)]
Add sendalert.cpp to repo.

8 years agoUse new public/private key pairs for alert system.
Simon [Fri, 15 Jul 2016 05:38:41 +0000 (22:38 -0700)]
Use new public/private key pairs for alert system.

8 years agoPass our constraint system to libsnark, so that it doesn't need to (de)serialize...
Sean Bowe [Fri, 15 Jul 2016 16:45:59 +0000 (10:45 -0600)]
Pass our constraint system to libsnark, so that it doesn't need to (de)serialize it in the proving key.

8 years agoInitialize libsodium in this routine, which is now necessary because libsnark uses...
Sean Bowe [Fri, 15 Jul 2016 16:45:22 +0000 (10:45 -0600)]
Initialize libsodium in this routine, which is now necessary because libsnark uses its PRNG.

8 years agoUpdate libsnark to our fork.
Sean Bowe [Fri, 15 Jul 2016 16:45:09 +0000 (10:45 -0600)]
Update libsnark to our fork.

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 agoAdd the results of #784 to security warnings.
Taylor Hornby [Thu, 14 Jul 2016 00:23:11 +0000 (18:23 -0600)]
Add the results of #784 to security warnings.

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 agoAdd another security warning
Taylor Hornby [Tue, 12 Jul 2016 21:22:17 +0000 (15:22 -0600)]
Add another security warning

8 years agoAdd security warnings doc with warning about side channels.
Taylor Hornby [Tue, 12 Jul 2016 19:34:34 +0000 (13:34 -0600)]
Add security warnings doc with warning about side channels.

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

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