Nathan Wilcox
6d9975e19b
Ignore certificate errors when fetching params. We already have sha256 integrity, no need for confidentiality/DNS authentication.
2016-01-20 14:45:18 -08:00
ebfull
fc0ae34c58
Merge pull request #640 from ebfull/remove-type-ck
...
Remove type check on zcrawpour which is not necessary and causes errors with the RPC.
2016-01-20 15:05:48 -07:00
Sean Bowe
9ce86bec59
Remove type check on zcrawpour which is not necessary and causes errors with the RPC.
2016-01-20 14:53:27 -07:00
Sean Bowe
559ab22589
Added link to alpha guide in the README.
2016-01-20 09:15:36 -07:00
Sean Bowe
293e4f015b
Updated README and COPYING.
2016-01-20 00:38:40 -07:00
Nathan Wilcox
6e7c969903
Merge pull request #633 from nathan-at-least/t622.nice-working-fallback-urls
...
Append the preferred local filename to fallback url, rather than upstream filename.
2016-01-19 18:38:46 -08:00
Nathan Wilcox
ad71899e5f
Append the preferred local filename to fallback url, rather than upstream filename.
...
In some cases, such as for github revision tarballs, the upstream
filename is just ``$HASH.tar.gz``, but the local filename is
``${PACKAGE_NAME}-${HASH}.tar.gz``. With this patch, it's clear which
packages each URLs provides *and* it makes the process of updating
http://z.cash/depends/sources a simple scp rather than involving some
kind of name translation.
Closes #622 .
2016-01-19 18:24:45 -08:00
Nathan Wilcox
6f466aea69
Merge pull request #625 from Electric-Coin-Company/zc.v0.11.2.ticketXXX-calgary-implementation.2
...
Calgary Design Foundations
2016-01-19 17:33:19 -08:00
Sean Bowe
d488e75ea8
Fix comment.
2016-01-19 16:29:44 -07:00
Nathan Wilcox
8cb250885c
Replace magic 2s in rpcwallet and change > to != for arity checks. Replace magic 2's with named constants in test cases.
2016-01-19 14:36:18 -07:00
Nathan Wilcox
24f54da4f2
Add symlinks to the params files for testnet3.
2016-01-19 14:36:18 -07:00
Nathan Wilcox
f15b9549dc
Implement online help for zcraw* commands.
2016-01-19 14:36:18 -07:00
Sean Bowe
cf47198370
Fixed a couple incremental merkle tree bugs breaking consistency checks.
2016-01-19 14:36:10 -07:00
Sean Bowe
2c2dd2305e
Update fallback path.
2016-01-19 14:36:10 -07:00
Sean Bowe
8505fd548a
Prevent testnet from connecting to Bitcoin and getting people marked as DoS.
2016-01-19 14:36:10 -07:00
Sean Bowe
9144ea8c2b
Testnet modifications -- just take the parameters from regtest. Also, move loading ZC params to _before_ verification.
2016-01-19 14:36:10 -07:00
Sean Bowe
d66877afb3
Added mapSerials consensus rules to prohibit double-spending.
2016-01-19 14:36:09 -07:00
Sean Bowe
03bff15fe2
Enforce zk-SNARK validity during consensus.
2016-01-19 14:36:09 -07:00
Sean Bowe
0a87fc4ad0
Increase timeouts for comparison utility.
2016-01-19 14:36:09 -07:00
Sean Bowe
6674f41c1a
Fixed system test.
2016-01-19 14:36:09 -07:00
Sean Bowe
a8ac403db0
Added mapAnchors consensus rules, finished zcrawpour/zcrawreceive.
...
Some specifics on consensus changes:
* Transactions must be anchored to a real anchor in the chain.
* Anchors are pushed and popped during ConnectBlock/DisconnectBlock as appropriate.
* DisconnectTip triggers evictions, under some circumstances, of transactions in the
mempool which are anchored to roots that are no longer valid.
* Commitments append to the tree at the current best root during ConnectBlock.
2016-01-19 14:36:04 -07:00
Sean Bowe
e934af2404
Update libzerocash ref
2016-01-19 14:36:04 -07:00
Sean Bowe
730790f7a4
Added primitive zcrawkeygen/zcrawpour implementations
2016-01-19 14:36:04 -07:00
Sean Bowe
4f1c37980e
Load proving/verifying keys at startup from the public alpha parameters file.
2016-01-19 14:36:04 -07:00
Sean Bowe
f512cf7c7b
Added value balance consensus enforcement for pours.
2016-01-19 14:36:04 -07:00
Sean Bowe
45d6bee945
Add mapSerials infrastructure to CCoinsView.
...
This adds the TXDB/CCoinsViewCache primitives necessary for
writing consensus rules for mapSerials later.
2016-01-19 14:36:04 -07:00
Sean Bowe
9f25631d50
Add mapAnchors infrastructure to CCoinsView.
...
This adds the TXDB/CCoinsViewCache primitives necessary for
writing consensus rules for mapAnchors later.
2016-01-19 14:36:04 -07:00
Sean Bowe
96c31d163f
Added CPourTx verification and construction routines.
2016-01-19 14:36:04 -07:00
Sean Bowe
69761d8269
Primitive, context-free consensus changes for CPourTx
...
* PourTxs cannot appear in coinbase transactions.
* Transactions can only contain empty vin/vouts if they contain a PourTx.
* PourTx public values must be well-formed (not negative or too large).
* Transactions cannot have the same serial twice throughout all PourTxs.
2016-01-19 14:36:04 -07:00
Sean Bowe
5884044ba9
Introduce vpour to CTransaction.
...
Transactions of version 2 and above contain a `vpour` field which is a vector of `CPourTx`
objects that embody our protocol. We introduce serialization primitives for boost::array
(we intend for changing the amount of inputs and outputs in the circuit to be simple).
SIGHASH_* operations hash this field like any other for now.
2016-01-19 14:35:59 -07:00
Taylor Hornby
74e519aa2d
Update the SHA256 hashes for the new parameters.
2016-01-05 13:32:46 -07:00
Sean Bowe
4cc1a6b2b6
Added calgary design doc with updated references to design.
2015-12-22 13:36:24 -07:00
Nathan Wilcox
108650a55a
Include a dubious "bug-fix" which allows exceptions to be thrown in reverselock destructor, which is required in reverselock_tests. ref #480
2015-12-22 09:20:42 -08:00
Nathan Wilcox
5b7a710ea3
Show test-suite.sh log on errors in full-test-suite.sh.
2015-12-22 09:20:42 -08:00
Nathan Wilcox
d7ad5f3c45
Upgrade libzerocash to a recent version without bitcoin serialization; also remove cut'n'paste error.
2015-12-22 09:20:42 -08:00
Nathan Wilcox
c4da097069
Pull over depends and build changes from zc.v0.10.0.latest. Fails to build due to new ./configure dependency for serialization stuff.
2015-12-22 09:20:42 -08:00
Taylor Hornby
9d69acabed
Rename zerocash to Zcash.
2015-12-22 00:49:17 -07:00
Daira Hopwood
2d342d39dd
Merge pull request #507 from Electric-Coin-Company/zc.v0.11.2.ticket490.copy-fetch-params-from-alpha.0
...
zc.v0.11.2.ticket490.copy-fetch-params-from-alpha.0
2015-12-15 22:47:02 +00:00
Taylor Hornby
0c5b41f0ce
Copy zcutil/fetch-params.sh from the private alpha branch, changing the file names.
2015-12-15 01:26:04 -07:00
Taylor Hornby
8a18333567
Rename .bitcoin (DataDir), bitcoind, and bitcoin-cli.
2015-11-30 13:03:21 -07:00
Taylor Hornby
e3524c66b2
Add zerocash-specific tests.
2015-11-24 14:36:46 -07:00
Taylor Hornby
168519e2b1
Add zcutil/build.sh script.
2015-11-24 12:23:36 -07:00
Wladimir J. van der Laan
7e278929df
Merge pull request #6975
...
ab6ff12 [doc] 0.11.2 release notes: use original pull numbers (David A. Harding)
2015-11-10 14:46:18 +01:00
David A. Harding
ab6ff126e2
[doc] 0.11.2 release notes: use original pull numbers
...
[ci skip]
2015-11-09 13:20:54 -05:00
Wladimir J. van der Laan
3dcb390fe9
Merge pull request #6968
...
9149589 [docs] 0.11.2 release notes: add sipa graphs & leveldb note (David A. Harding)
929b2c7 [docs] Minor revisions to 0.11.2RC1 release notes (David A. Harding)
40941d9 [Docs] First-draft release notes for 0.11.2RC1 (David A. Harding)
2015-11-09 11:27:24 +01:00
David A. Harding
9149589632
[docs] 0.11.2 release notes: add sipa graphs & leveldb note
...
[ci skip]
2015-11-08 19:15:12 -05:00
David A. Harding
929b2c73df
[docs] Minor revisions to 0.11.2RC1 release notes
...
- Revisions to text as proposed by Greg Maxwell
- Add Btcdrak to contributors for backporting #6884
- Fix spelling mistake
[ci skip]
2015-11-08 14:21:18 -05:00
David A. Harding
40941d999d
[Docs] First-draft release notes for 0.11.2RC1
2015-11-08 13:47:39 -05:00
Wladimir J. van der Laan
984587ac5d
bump version to 0.11.2
2015-11-08 00:56:01 +01:00
Pieter Wuille
4e895b08da
Always flush block and undo when switching to new file
...
Previously, the undo weren't being flushed during a reindex because
fKnown was set to true in FindBlockPos. That is the correct behaviour
for block files as they aren't being touched, but undo files are
touched.
This changes the behaviour to always flush when switching to a new file
(even for block files, though that isn't really necessary).
Rebased-From: 22e780737db57bcb18b3824eb8158e19a4775cb6
Github-Pull: #6948
2015-11-06 14:30:46 +01:00