]>
Git Repo - VerusCoin.git/log
Homu [Tue, 20 Feb 2018 23:17:22 +0000 (15:17 -0800)]
Auto merge of #2463 - str4d:713-rollback-limit, r=str4d
Implement roll-back limit for reorganisation
Part of #2905. Closes #713.
Homu [Tue, 20 Feb 2018 11:59:45 +0000 (03:59 -0800)]
Auto merge of #2903 - str4d:1408-sighash, r=str4d
Overwinter SignatureHash
Implements ZIP 143.
Includes code cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#7276
- bitcoin/bitcoin#7976
- bitcoin/bitcoin#8118
- bitcoin/bitcoin#8149
- Only amount validation and SignatureHash commits.
- bitcoin/bitcoin#8346
- bitcoin/bitcoin#8524
Part of #2074 and #2254. Closes #1408 and #2584.
Jack Grigg [Sat, 3 Feb 2018 21:02:25 +0000 (21:02 +0000)]
Use v3 transactions with caching for validatelargetx benchmark
Jack Grigg [Wed, 7 Feb 2018 22:56:22 +0000 (22:56 +0000)]
Make number of inputs configurable in validatelargetx test
Jack Grigg [Thu, 8 Feb 2018 15:59:56 +0000 (15:59 +0000)]
Regenerate SignatureHash tests
Ariel [Wed, 17 Jan 2018 10:48:10 +0000 (12:48 +0200)]
update SignatureHash according to Overwinter spec
with help from str4d
Ariel [Wed, 17 Jan 2018 10:47:08 +0000 (12:47 +0200)]
add blake2b writer
Jack Grigg [Tue, 20 Feb 2018 00:57:02 +0000 (00:57 +0000)]
Cleanup: Wrap function arguments
Jack Grigg [Fri, 2 Feb 2018 01:49:42 +0000 (01:49 +0000)]
Add consensus branch ID parameter to SignatureHash, remove SigVersion parameter
We do not need to be able to calculate multiple SignatureHash versions for a
single transaction format; instead, we use the transaction format to determine
the SigVersion.
The consensus branch ID *does* need to be passed in from the outside, as only
the caller knows the context in which the SignatureHash is being calculated
(ie. mempool acceptance vs. block validation).
JoinSplit signature verification has been moved into ContextualCheckTransaction,
where the consensus branch ID can be obtained.
The argument to the sign command for zcash-tx has been modified to take a height
in addition to the optional sigtype flags.
Pieter Wuille [Fri, 26 Aug 2016 16:38:20 +0000 (18:38 +0200)]
Rename to PrecomputedTransactionData
Nicolas DORIER [Tue, 16 Aug 2016 13:37:56 +0000 (15:37 +0200)]
Unit test for sighash caching
Zcash: Modified to use P2PKH.
Pieter Wuille [Mon, 1 Jan 2018 11:27:59 +0000 (13:27 +0200)]
Precompute sighashes
Original version by Nicolas Dorier. Precomputing version by Pieter Wuille.
Edited for Zcash by Ariel Gabizon and Jack Grigg
Jorge Timón [Sat, 16 Jul 2016 18:57:42 +0000 (20:57 +0200)]
Mempool: Use Consensus::CheckTxInputs direclty over main::CheckInputs
Jack Grigg [Wed, 31 Jan 2018 14:41:44 +0000 (14:41 +0000)]
Remove P2WPKH and P2WSH from signing logic
Separated from the previous commit for ease of review.
Pieter Wuille [Thu, 31 Mar 2016 12:54:58 +0000 (14:54 +0200)]
BIP143: Signing logic
Pieter Wuille [Fri, 15 Dec 2017 15:38:34 +0000 (16:38 +0100)]
BIP143: Verification logic
Includes simplifications by Eric Lombrozo.
Edited for Zcash merge by Ariel Gabizon.
Pieter Wuille [Thu, 31 Mar 2016 12:51:29 +0000 (14:51 +0200)]
Refactor script validation to observe amounts
This is a preparation for BIP143 support.
Edited for Zcash merge by Ariel Gabizon.
Jonas Nick [Mon, 30 May 2016 09:43:53 +0000 (11:43 +0200)]
Reduce unnecessary hashing in signrawtransaction
21E14 [Sat, 30 Apr 2016 03:45:20 +0000 (23:45 -0400)]
Remove obsolete reference to CValidationState from UpdateCoins.
Pieter Wuille [Sun, 3 Jan 2016 15:50:31 +0000 (16:50 +0100)]
Report non-mandatory script failures correctly
Homu [Tue, 20 Feb 2018 03:00:30 +0000 (19:00 -0800)]
Auto merge of #2940 - str4d:nu-activation-mempool-expiry, r=str4d
Mempool improvements, branch ID awareness
Whenever the local chain tip is updated, transactions in the mempool which commit to an
unmineable branch ID (for example, just before a network upgrade activates, where the
next block will have a different branch ID) will be removed.
Includes commits cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6654
- Only the mempool index change.
- bitcoin/bitcoin#6776
- bitcoin/bitcoin#7020
- bitcoin/bitcoin#6915
Part of #2074.
Jack Grigg [Fri, 9 Feb 2018 23:16:55 +0000 (23:16 +0000)]
Remove mempool transactions which commit to an unmineable branch ID
Suhas Daftuar [Mon, 23 Nov 2015 21:06:12 +0000 (16:06 -0500)]
Fix removeForReorg to use MedianTimePast
Suhas Daftuar [Thu, 12 Nov 2015 20:54:17 +0000 (15:54 -0500)]
Don't call removeForReorg if DisconnectTip fails
Suhas Daftuar [Thu, 29 Oct 2015 18:06:13 +0000 (14:06 -0400)]
Track coinbase spends in CTxMemPoolEntry
This allows us to optimize CTxMemPool::removeForReorg.
Matt Corallo [Wed, 9 Sep 2015 23:31:20 +0000 (16:31 -0700)]
removeForReorg calls once-per-disconnect-> once-per-reorg
Matt Corallo [Wed, 9 Sep 2015 21:54:11 +0000 (14:54 -0700)]
Make indentation in ActivateBestChainStep readable
Matt Corallo [Sun, 6 Sep 2015 04:40:21 +0000 (21:40 -0700)]
Fix comment in removeForReorg
Matt Corallo [Thu, 27 Aug 2015 01:58:17 +0000 (18:58 -0700)]
Fix removal of time-locked transactions during reorg
Matt Corallo [Thu, 27 Aug 2015 01:15:04 +0000 (18:15 -0700)]
Add failing test checking timelocked-txn removal during reorg
Jack Grigg [Sun, 4 Feb 2018 00:35:41 +0000 (00:35 +0000)]
Add rollback limit to block index rewinding
This will prevent users from starting their nodes if they switch between
software versions that implement different network upgrades. It will also
prevent users from using the testnet if they have more than MAX_REORG_LIMIT
post-upgrade blocks, and the upgrade point is shifted in a newer software
version.
Jack Grigg [Wed, 21 Jun 2017 11:53:01 +0000 (23:53 +1200)]
Implement roll-back limit for reorganisation
Closes #713.
Homu [Sat, 17 Feb 2018 18:14:31 +0000 (10:14 -0800)]
Auto merge of #2958 - bitcartel:2906_extra_test, r=str4d
Add test to check malformed v1 transaction against Overwinter tx parser
Simon [Fri, 16 Feb 2018 23:42:04 +0000 (15:42 -0800)]
Add test to check malformed v1 transaction against Overwinter tx parser
Homu [Fri, 16 Feb 2018 19:38:58 +0000 (11:38 -0800)]
Auto merge of #2925 - bitcartel:2906_overwinter_tx_format, r=str4d
Overwinter transaction format
Implements ZIP 202.
Closes #2906.
Jack Grigg [Thu, 8 Feb 2018 15:52:57 +0000 (15:52 +0000)]
Update SignatureHash tests for transaction format changes
The test uses randomly-generated transactions, some of which fell outside the
actual consensus rules.
Simon [Fri, 16 Feb 2018 06:19:36 +0000 (22:19 -0800)]
Implementation of Overwinter transaction format ZIP 202.
Homu [Thu, 15 Feb 2018 13:41:18 +0000 (05:41 -0800)]
Auto merge of #2923 - str4d:sighash-tests-env-bug, r=str4d
Use JoinSplitTestingSetup for Boost sighash tests
Symptom: When running all tests, the test suite passed. But when running the
sighash tests on their own, the test suite segfaulted.
Cause: The sighash tests depend on the proving parameters being accessible, but
BasicTestingSetup doesn't load them.
Alex Morcos [Sat, 14 Nov 2015 22:04:15 +0000 (17:04 -0500)]
Implement helper class for CTxMemPoolEntry constructor
This is only for unit tests.
Pieter Wuille [Wed, 7 Oct 2015 21:34:55 +0000 (23:34 +0200)]
Support -checkmempool=N, which runs checks on average once every N transactions
Ashley Holman [Wed, 24 Jun 2015 08:32:20 +0000 (03:32 -0500)]
TxMemPool: Change mapTx to a boost::multi_index_container
Indexes on:
- Tx Hash
- Fee Rate (fee-per-kb)
Homu [Wed, 7 Feb 2018 10:33:42 +0000 (02:33 -0800)]
Auto merge of #2898 - str4d:2286-nu-activation-mechanism, r=str4d
Network upgrade activation mechanism
Implements ZIP 200.
Integration with `CChainParams` inspired by https://github.com/bitcoin/bitcoin/pull/7575.
Includes block index rewinding logic cherry-picked from https://github.com/bitcoin/bitcoin/pull/8149.
Closes #2286. Part of #2905.
Jack Grigg [Tue, 6 Feb 2018 23:18:56 +0000 (23:18 +0000)]
Update quote from ZIP 200
Jack Grigg [Tue, 6 Feb 2018 22:49:08 +0000 (22:49 +0000)]
Change UI/log status message for block rewinding
Jack Grigg [Tue, 6 Feb 2018 12:39:20 +0000 (12:39 +0000)]
Use a boost::optional for nCachedBranchId
This enables us to distinguish between it being unset vs. being set to zero.
Jack Grigg [Fri, 2 Feb 2018 15:13:48 +0000 (15:13 +0000)]
Add method for fetching the next activation height after a given block height
Jack Grigg [Thu, 1 Feb 2018 00:48:26 +0000 (00:48 +0000)]
Add Overwinter to upgrade list
Jack Grigg [Sat, 27 Jan 2018 23:37:43 +0000 (23:37 +0000)]
Adjust rewind logic to use the network upgrade mechanism
Pieter Wuille [Fri, 18 Mar 2016 16:20:12 +0000 (17:20 +0100)]
Add rewind logic to deal with post-fork software updates
Includes logic for dealing with pruning by Suhas Daftuar.
Jack Grigg [Wed, 17 Jan 2018 11:42:56 +0000 (11:42 +0000)]
Test network upgrade logic
Also demonstrates how to specify a network upgrade.
Jack Grigg [Wed, 31 Jan 2018 20:11:18 +0000 (20:11 +0000)]
Allow changing network upgrade parameters on regtest
Derived from upstream commit
56c87e92110f05d7452f1e85bf755246ffc77206 :
Allow changing BIP9 parameters on regtest
Jack Grigg [Wed, 17 Jan 2018 11:25:28 +0000 (11:25 +0000)]
Network upgrade activation mechanism
Homu [Fri, 2 Feb 2018 18:23:37 +0000 (10:23 -0800)]
Auto merge of #2839 - arcalinea:add_deprecation_alert, r=bitcartel
Add getdeprecationinfo RPC method to return deprecation block height
Closes #2828
Returns:
```
{
"version": xxxxx, (numeric) the server version
"subversion": "/MagicBean:x.y.z[-v]/", (string) the server subversion string
"deprecationheight": xxxxx, (numeric) the deprecation block height
}
```
Jack Grigg [Wed, 31 Jan 2018 15:31:51 +0000 (15:31 +0000)]
Use JoinSplitTestingSetup for Boost sighash tests
Symptom: When running all tests, the test suite passed. But when running the
sighash tests on their own, the test suite segfaulted.
Cause: The sighash tests depend on the proving parameters being accessible, but
BasicTestingSetup doesn't load them.
Jay Graber [Wed, 17 Jan 2018 09:25:58 +0000 (01:25 -0800)]
Make applicable only on mainnet
Homu [Thu, 25 Jan 2018 12:37:33 +0000 (04:37 -0800)]
Auto merge of #2902 - bitcartel:2901_remove_unused_noblks_constants, r=daira
Remove unused NOBLKS_VERSION_{START,END} constants from version.h
Closes #2901. Backport from upstream PR https://github.com/bitcoin/bitcoin/pull/7662.
Pavel Vasin [Wed, 9 Mar 2016 16:29:23 +0000 (19:29 +0300)]
remove unused NOBLKS_VERSION_{START,END} constants
Homu [Mon, 22 Jan 2018 23:22:24 +0000 (15:22 -0800)]
Auto merge of #2217 - str4d:2074-chainparams, r=str4d
Bitcoin 0.12 chainparams cleanups
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6222
- bitcoin/bitcoin#6381
- bitcoin/bitcoin#6473
- bitcoin/bitcoin#6242
Part of #2074.
Homu [Mon, 22 Jan 2018 22:11:50 +0000 (14:11 -0800)]
Auto merge of #2897 - str4d:2892-zkey-rpc-bugfix, r=str4d
zkey_import_export: Synchronize mempools before mining
Resolves a race condition that caused the RPC test to intermittently fail.
Closes #2892.
Jack Grigg [Mon, 22 Jan 2018 21:08:15 +0000 (21:08 +0000)]
zkey_import_export: Synchronize mempools before mining
Resolves a race condition that caused the RPC test to intermittently fail.
Closes #2892.
Homu [Mon, 22 Jan 2018 16:38:49 +0000 (08:38 -0800)]
Auto merge of #2886 - bitcartel:2885_cleanup_node_getutxo, r=str4d
Remove redundant service flag NODE_GETUTXO meant for Bitcoin XT.
For #2885. This frees up a service bit. Zcash has never used this flag
and upstream Bitcoin Core does not support this flag, although
it did reserve it for compatibility with Bitcoin XT.
Jack Grigg [Mon, 22 Jan 2018 15:32:52 +0000 (15:32 +0000)]
Add viewing key prefix to regtest parameters
Jack Grigg [Thu, 9 Nov 2017 17:03:07 +0000 (17:03 +0000)]
Add missing namespace for boost::get
Cory Fields [Fri, 5 Jun 2015 20:01:44 +0000 (16:01 -0400)]
chainparams: don't use std namespace
Cory Fields [Fri, 5 Jun 2015 19:36:34 +0000 (15:36 -0400)]
chainparams: move CCheckpointData into chainparams.h
This unties CChainParams from its dependency on checkpoints. Instead, now it
only depends on the raw checkpoint data.
Daniel Kraft [Wed, 29 Jul 2015 19:13:36 +0000 (21:13 +0200)]
Clean up chainparams some more.
Clean up the code in chainparams a bit more after the recent
refactorings. In particular, make sure the structure of the "RegTest"
params matches the structure of the other classes. This makes the code
clearer to read.
Also remove redundant values of the genesis block in always-specified
optional arguments and mark variable/argument as "const".
Jorge Timón [Fri, 3 Jul 2015 12:30:18 +0000 (14:30 +0200)]
Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams
...instead of CMainParams and CTestNetParams respectively
Do the same for CBaseChainParams.
The inheritance was only reducing readibility in this case
Jorge Timón [Fri, 3 Jul 2015 12:29:57 +0000 (14:29 +0200)]
Chainparams: Introduce CreateGenesisBlock() static function
Mark Friedenbach [Tue, 2 Jun 2015 23:25:34 +0000 (16:25 -0700)]
Explicitly set tx.nVersion for the genesis block and mining tests
If/when CTransaction::CURRENT_VERSION is incremented, this will break CChainParams and the miner tests. This fix sets the transaction version explicitly where we depend on the hash value (genesis block, proof of work checks).
Simon [Sat, 20 Jan 2018 01:18:41 +0000 (17:18 -0800)]
Remove redundant service flag NODE_GETUTXO meant for Bitcoin XT.
This frees up a service bit. Zcash has never used this flag
and upstream Bitcoin Core does not support this flag, although
it did reserve it for compatibility with Bitcoin XT.
Homu [Sat, 20 Jan 2018 00:53:21 +0000 (16:53 -0800)]
Auto merge of #2873 - bitcartel:2793_dbcache, r=bitcartel
Closes #2793 to improve sync performance by increasing default value of dbcache.
Simon [Sat, 20 Jan 2018 00:52:25 +0000 (16:52 -0800)]
Add note about dbcache to 1.0.15 release notes.
Adapted from upstream release notes here:
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.14.1.md#utxo-memory-accounting
Simon [Thu, 18 Jan 2018 00:55:26 +0000 (16:55 -0800)]
Add documentation about dbcache.
Adapted from documentation 'Reducing bitcoind memory usage' by @laanwj
https://gist.github.com/laanwj/
efe29c7661ce9b6620a7
Homu [Wed, 17 Jan 2018 18:17:46 +0000 (10:17 -0800)]
Auto merge of #2848 - str4d:2795-rpc-test-chainValueZat, r=str4d
Check chainValueZat when checking value pool monitoring
Addresses https://github.com/zcash/zcash/pull/2795#discussion_r157343660
Homu [Tue, 16 Jan 2018 23:30:22 +0000 (15:30 -0800)]
Auto merge of #2845 - str4d:exportdir-completion, r=str4d
Enable Bash completion for -exportdir
Simon [Fri, 31 Mar 2017 14:25:39 +0000 (10:25 -0400)]
Fixes #2793. Backport commit
f33afd3 to increase dbcache default.
Homu [Sun, 14 Jan 2018 08:37:05 +0000 (00:37 -0800)]
Auto merge of #2858 - sandakersmann:patch-1, r=daira
Changed http:// to https:// on some links
Changed http:// to https:// on some links in code_of_conduct.md
Marius Kjærstad [Mon, 8 Jan 2018 04:13:11 +0000 (05:13 +0100)]
Changed http:// to https:// on some links
Changed http:// to https:// on some links in code_of_conduct.md
Homu [Fri, 5 Jan 2018 01:06:33 +0000 (17:06 -0800)]
Auto merge of #2771 - syd0:fix-snark-dep-build, r=str4d
Fix libsnark dependency build.
This changes libsnark to build in-place, instead of copying first to
a build directory. Previously, modifications made to the original
sources wouldn't get rebuilt without a 'make clean' because users
would be pointing to the copies.
This closes #2689.
Homu [Fri, 5 Jan 2018 00:02:27 +0000 (16:02 -0800)]
Auto merge of #2770 - syd0:remove-some-cruft, r=str4d
Remove OSX and Windows files from Makefile + share directory.
These are stale holdovers from bitcoin.
This closes #2169.
syd [Fri, 24 Nov 2017 17:09:27 +0000 (12:09 -0500)]
Remove OSX and Windows files from Makefile + share directory.
These are stale holdovers from bitcoin.
This closes #2169.
Homu [Thu, 4 Jan 2018 22:47:50 +0000 (14:47 -0800)]
Auto merge of #2821 - str4d:2335-scope-ecdsa-constants, r=str4d
Scope the ECDSA constant sizes to CPubKey / CKey classes
Cherry-picked from https://github.com/bitcoin/bitcoin/pull/10657, upstreaming our patches from #2335.
Homu [Thu, 4 Jan 2018 00:39:43 +0000 (16:39 -0800)]
Auto merge of #2849 - str4d:release-v1.0.14, r=str4d
Release v1.0.14
Jack Grigg [Wed, 3 Jan 2018 22:54:16 +0000 (23:54 +0100)]
make-release.py: Updated release notes and changelog for 1.0.14.
Jack Grigg [Wed, 3 Jan 2018 22:54:00 +0000 (23:54 +0100)]
make-release.py: Updated manpages for 1.0.14.
Jack Grigg [Wed, 3 Jan 2018 22:44:51 +0000 (23:44 +0100)]
make-release.py: Versioning changes for 1.0.14.
Jack Grigg [Wed, 3 Jan 2018 22:41:53 +0000 (23:41 +0100)]
Check chainValueZat when checking value pool monitoring
Jay Graber [Wed, 27 Dec 2017 20:58:42 +0000 (12:58 -0800)]
Add getdeprecationinfo rpc call to return current version and deprecation block height.
Jack Grigg [Tue, 2 Jan 2018 15:41:41 +0000 (16:41 +0100)]
Enable Bash completion for -exportdir
Homu [Fri, 22 Dec 2017 14:21:17 +0000 (06:21 -0800)]
Auto merge of #2830 - str4d:release-v1.0.14-rc1, r=str4d
Release v1.0.14-rc1
Jack Grigg [Fri, 22 Dec 2017 10:13:40 +0000 (10:13 +0000)]
Update release process
Jack Grigg [Fri, 22 Dec 2017 10:12:41 +0000 (10:12 +0000)]
make-release.py: Updated release notes and changelog for 1.0.14-rc1.
Jack Grigg [Fri, 22 Dec 2017 10:12:30 +0000 (10:12 +0000)]
make-release.py: Updated manpages for 1.0.14-rc1.
Jack Grigg [Fri, 22 Dec 2017 09:59:01 +0000 (09:59 +0000)]
make-release.py: Versioning changes for 1.0.14-rc1.
Homu [Thu, 21 Dec 2017 18:53:32 +0000 (10:53 -0800)]
Auto merge of #2826 - str4d:pyflakes-warnings, r=str4d
Fix pyflakes warnings in zkey_import_export RPC test
Jack Grigg [Thu, 21 Dec 2017 18:19:42 +0000 (18:19 +0000)]
Fix pyflakes warnings in zkey_import_export RPC test
Homu [Thu, 21 Dec 2017 08:29:31 +0000 (00:29 -0800)]
Auto merge of #2823 - str4d:2755-release-notes, r=str4d
List all commits in final release notes
This alters the release notes to display the following commit ranges:
Version | Diff
------- | ---
`X-rc1` | `(X-1)..X-rc1`
`X-rc2` | `(X-1)..X-rc2`
`X` | `(X-1)..X`
Closes #2755.
Jack Grigg [Thu, 21 Dec 2017 00:25:29 +0000 (00:25 +0000)]
Exclude beta and RC release notes from author tallies
(except for pre-1.0.0, per previous commit)
Jack Grigg [Thu, 21 Dec 2017 00:24:43 +0000 (00:24 +0000)]
Regenerate previous release notes to conform to new format
Pre-1.0.0 release notes are excluded, as they were operating under a different
RC timeline, and make more sense separated.
Jack Grigg [Wed, 20 Dec 2017 23:41:08 +0000 (23:41 +0000)]
release-notes.py: Remove unnecessary parameter
This page took 0.066791 seconds and 4 git commands to generate.