jl777
e73b2055c6
Merge branch 'beta' into mergemaster
...
# Conflicts:
# src/main.cpp
2018-04-16 10:16:01 +03:00
jl777
945f015d80
Initial merge
2017-03-30 04:35:16 +03:00
Simon
ebe750a882
Part of #1969 . Changing min fee calculation also changes the dust threshold.
2017-02-28 11:44:07 -08:00
zkbot
eaaa5f625f
Auto merge of #2082 - str4d:univalue-subtree, r=bitcartel
...
Add UniValue as subtree
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6637
- bitcoin/bitcoin#6239
- bitcoin/bitcoin#6379
- bitcoin/bitcoin#6456
- bitcoin/bitcoin#6788
2017-02-10 07:46:58 +00:00
zkbot
e51bd1b556
Auto merge of #1990 - str4d:1985-replace-json-spirit-with-univalue, r=str4d
...
Convert entire source tree from json_spirit to UniValue
This PR cherry-picks bitcoin/bitcoin#6121 and then migrates the Zcash-specific code to UniValue.
Also cherry-picks:
- bitcoin/bitcoin#6241
- bitcoin/bitcoin#6234
Closes #1985 .
2017-02-10 05:15:53 +00:00
Jonas Schnelli
a10a6e2a0e
[Univalue] add univalue over subtree
...
similar to secp256k1 include and compile univalue over a subtree
2017-02-10 02:18:51 +00:00
Jack Grigg
cc71666a51
unsigned int -> size_t for comparing with UniValue.size()
2017-02-10 00:53:13 +00:00
Jonas Schnelli
d014114d67
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
...
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
2017-02-10 00:35:24 +00:00
Jonas Schnelli
851f58f94e
remove JSON Spirit UniValue wrapper
2017-02-10 00:35:24 +00:00
Jonas Schnelli
9756b7bd29
extend conversion to UniValue
2017-02-10 00:35:24 +00:00
Jeff Garzik
ed21d5bd4b
Convert tree to using univalue. Eliminate all json_spirit uses.
2017-02-10 00:35:24 +00:00
Simon
6605125d4e
Add comment about fix for #2026 .
2017-02-09 15:17:21 -08:00
Sean Bowe
05ec7887f1
Fix use after free in transaction_tests.
2017-02-09 14:35:33 -07:00
jl777
3ced93646d
Merge remote-tracking branch 'zcash/master' into dev
...
# Conflicts:
# .gitignore
# README.md
# src/Makefile.gtest.include
# src/gtest/test_checkblock.cpp
# src/init.cpp
# src/main.cpp
# src/main.h
# src/rpcserver.cpp
# src/test/checkblock_tests.cpp
# src/util.cpp
2017-01-25 09:26:28 +02:00
jl777
bc17ac4928
Merge remote-tracking branch 'zcash/master' into rebase
...
# Conflicts:
# README.md
# src/Makefile.gtest.include
# src/chainparams.cpp
# src/init.cpp
# src/miner.cpp
# src/wallet/wallet.cpp
2016-12-12 12:19:13 +02:00
Jack Grigg
6fb8d0c2d6
Skip JoinSplit verification before the last checkpoint
...
Part of #1749
2016-12-09 21:06:45 +13:00
Sean Bowe
bc59f53722
Isolate verification to a ProofVerifier context object that allows verification behavior to be tuned by the caller.
2016-12-05 12:40:06 -07:00
jl777
30853e4ab9
Merge remote-tracking branch 'zcash/master' into dPoW
2016-10-28 13:50:21 -03:00
jl777
17878015bb
test
2016-10-22 13:23:25 -03:00
jl777
355ca56547
test
2016-10-21 19:09:24 -03:00
jl777
0f24f24562
test
2016-10-21 17:28:28 -03:00
zkbot
c99a1c7e4f
Auto merge of #1566 - daira:1557.make-v2-txns-standard, r=ageis
...
1557.make v2 txns standard
Make v2 transactions standard. This also corrects a rule about admitting large orphan transactions into the mempool, to account for v2-specific fields. ref #1557
2016-10-21 01:10:37 -04:00
Daira Hopwood
71cc1b58a1
Add tests for IsStandardTx applied to v2 transactions.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2016-10-18 19:37:55 +01:00
Jack Grigg
3774c944f8
Refactor test code to better test JSDescription::Randomized()
2016-10-18 12:44:56 -05:00
Jack Grigg
7f0aa74666
Implement static method for creating a randomized JSDescription
2016-10-18 10:41:00 -05:00
Simon
805344dcf4
Refactor: replace calls to GetTxid() with GetHash()
2016-09-07 15:12:09 -07:00
Sean Bowe
a4b00373ab
Fix transaction test in test_bitcoin.
2016-09-07 13:55:31 -06:00
Simon
10d2c57c0d
Replace calls to GetHash() with GetTxid() for transaction objects.
...
Where the caller intends to receive a transaction id and not a double
SHA256 hash.
2016-07-26 17:13:03 -07:00
Taylor Hornby
67f0243533
Remove in-band error signalling from SignatureHash, fixing the SIGHASH_SINGLE bug.
2016-07-19 16:36:35 -06:00
Sean Bowe
b7e4abd6f7
Rename some usage of 'pour'.
2016-07-18 10:06:18 -06:00
Sean Bowe
bfeaf0049a
Rename JSDescription's serials to nullifiers.
2016-07-18 10:06:18 -06:00
Sean Bowe
8675d94b63
Rename vpour to vjoinsplit.
2016-07-18 10:06:18 -06:00
Sean Bowe
a8c68ffe99
Rename CPourTx to JSDescription.
2016-07-18 10:06:18 -06:00
zkbot
fc127fc2db
Auto merge of #1051 - ThisIsNotOfficialCodeItsJustForks:t863-mock-coverage-of-checktransaction, r=ebfull
...
Add mock test coverage of CheckTransaction
Closes #863 .
2016-07-14 18:43:07 +00:00
Taylor Hornby
c9c4611d9a
Rename zerocash to zcash in some places.
2016-07-11 19:27:52 -06:00
Taylor Hornby
948d4e6c10
Split JoinSplit proof verification out of CheckTransaction.
2016-06-23 16:35:31 -06:00
Sean Bowe
e8af0028eb
Change error for invalid joinsplit signature for consistency.
2016-05-30 19:38:01 -06:00
Sean Bowe
320f2cc7e0
Switch to Ed25519 for cryptographic binding of joinsplits to transactions.
2016-05-30 11:05:55 -06:00
Taylor Hornby
b48122b57b
Fix tests for JoinSplit signatures
2016-05-30 11:05:43 -06:00
Sean Bowe
2dc3599271
Transplant of libzcash.
2016-05-12 16:44:47 -06:00
Sean Bowe
2140639309
Remove scriptPubKey/scriptSig from CPourTx, and add randomSeed.
2016-05-12 16:44:30 -06:00
Sean Bowe
5961dcb6da
Change ciphertext length to match protocol spec, and refactor the use of constants.
2016-05-05 21:02:03 -06:00
Sean Bowe
1760b3cd88
Deprecate the old tree and remove old tree tests from the test suite.
2016-04-28 16:07:52 -06:00
Sean Bowe
a897db652f
Reorganizing the zerocash tree.
2016-02-15 15:28:20 -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
Sean Bowe
03bff15fe2
Enforce zk-SNARK validity during consensus.
2016-01-19 14:36:09 -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
Wladimir J. van der Laan
fc7f0ee28c
Merge pull request #6707
...
6af25b0 Add BIP65 to getblockchaininfo softforks list (Peter Todd)
ba1da90 Show softfork status in getblockchaininfo (Wladimir J. van der Laan)
70a427b CLTV: Add more tests to improve coverage (Esteban Ordano)
c5a27f4 Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork (Peter Todd)
5e82e1c Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic (Peter Todd)
6ea5ca4 Enable CHECKLOCKTIMEVERIFY as a standard script verify flag (Peter Todd)
4fa7a04 Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65) (Peter Todd)
6ec08db Move LOCKTIME_THRESHOLD to src/script/script.h (Peter Todd)
684636b Make CScriptNum() take nMaxNumSize as an argument (Peter Todd)
2015-10-23 13:35:06 +02:00
Wladimir J. van der Laan
e7bcc4aac3
Bump minrelaytxfee default
...
To bridge the time until a dynamic method for determining this fee is
merged.
This is especially aimed at the stable releases (0.10, 0.11) because
full mempool limiting, as will be in 0.12, is too invasive and risky to
backport.
Github-Pull: #6793
Rebased-From: 28e3249e53b8ef7516636df0f1406466a513095d 4e2efb3c5fde4b1e332cc032e3dc4082ec4e3cac
2015-10-11 10:37:52 +02:00