]> Git Repo - VerusCoin.git/log
VerusCoin.git
6 years agoAuto merge of #3157 - bitcartel:2966_extend_sprout_tests_part_2, r=str4d
Homu [Sat, 14 Apr 2018 23:36:30 +0000 (16:36 -0700)]
Auto merge of #3157 - bitcartel:2966_extend_sprout_tests_part_2, r=str4d

Part of #2966, extending Sprout tests to other epochs

This continues the work started in PR #3109.

6 years agoAuto merge of #2784 - kozyilmaz:fetch, r=str4d
Homu [Sat, 14 Apr 2018 21:38:07 +0000 (14:38 -0700)]
Auto merge of #2784 - kozyilmaz:fetch, r=str4d

[macOS] added curl download method to fetch-params.sh

added curl download method and flock workaround for macOS

Part of #2246.

6 years agoAuto merge of #3153 - str4d:default-disable-libs, r=str4d
Homu [Sat, 14 Apr 2018 20:04:35 +0000 (13:04 -0700)]
Auto merge of #3153 - str4d:default-disable-libs, r=str4d

Disable building libzcashconsensus by default

The library is not currently a supported build artifact; it needs work in
order to build on certain platforms (e.g. MacOS), and its dependencies need to
be narrowed down (Equihash is not a requirement for validating scripts).

6 years agoAuto merge of #3086 - str4d:cli-binary-improvements-1, r=str4d
Homu [Fri, 13 Apr 2018 03:46:05 +0000 (20:46 -0700)]
Auto merge of #3086 - str4d:cli-binary-improvements-1, r=str4d

CLI binary improvements

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#5936
- bitcoin/bitcoin#7550
- bitcoin/bitcoin#7989
- bitcoin/bitcoin#7957
- bitcoin/bitcoin#9067
- bitcoin/bitcoin#9220

Excludes any changes that affected the QT code.

6 years ago[Bitcoin-Tx] Adjust util-test test cases for Zcash
Jack Grigg [Fri, 13 Apr 2018 01:36:48 +0000 (19:36 -0600)]
[Bitcoin-Tx] Adjust util-test test cases for Zcash

6 years agoAdd static asserts to ensure CONTINUE_EXECUTION doesn't collide
Jack Grigg [Fri, 13 Apr 2018 00:11:46 +0000 (18:11 -0600)]
Add static asserts to ensure CONTINUE_EXECUTION doesn't collide

6 years agoRemoved using namespace std from bitcoin-cli/-tx and added std:: in appropriate places.
Karl-Johan Alm [Fri, 25 Nov 2016 08:17:57 +0000 (17:17 +0900)]
Removed using namespace std from bitcoin-cli/-tx and added std:: in appropriate places.

6 years agoEvery main()/exit() should return/use one of EXIT_ codes instead of magic numbers
UdjinM6 [Mon, 7 Nov 2016 18:31:38 +0000 (21:31 +0300)]
Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers

6 years agoFix exit codes:
UdjinM6 [Wed, 2 Nov 2016 18:59:09 +0000 (21:59 +0300)]
Fix exit codes:

- `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error)
- error reading config file should exit with `1`

Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)

6 years ago[Bitcoin-Tx] Add tests for sequence number support
Jonas Schnelli [Tue, 7 Jun 2016 15:37:35 +0000 (17:37 +0200)]
[Bitcoin-Tx] Add tests for sequence number support

6 years ago[bitcoin-tx] allow to set nSequence number over the in= command
Jonas Schnelli [Thu, 3 Dec 2015 15:29:45 +0000 (16:29 +0100)]
[bitcoin-tx] allow to set nSequence number over the in= command

6 years ago[RPC] createrawtransaction: add option to set the sequence number per input
Jonas Schnelli [Tue, 22 Dec 2015 12:52:57 +0000 (13:52 +0100)]
[RPC] createrawtransaction: add option to set the sequence number per input

6 years agobitcoin-cli.cpp: Use symbolic constant for exit code
Puru [Mon, 2 May 2016 16:48:04 +0000 (22:33 +0545)]
bitcoin-cli.cpp: Use symbolic constant for exit code

6 years agodoc: mention bitcoin-cli -stdin in release notes
Wladimir J. van der Laan [Wed, 24 Feb 2016 09:22:43 +0000 (10:22 +0100)]
doc: mention bitcoin-cli -stdin in release notes

6 years agorpc: Input-from-stdin mode for bitcoin-cli
Wladimir J. van der Laan [Wed, 17 Feb 2016 14:03:38 +0000 (15:03 +0100)]
rpc: Input-from-stdin mode for bitcoin-cli

Implements #7442 by adding an option `-stdin` which reads
additional arguments from stdin, one per line.

For example

```bash
echo -e "mysecretcode\n120" | src/bitcoin-cli -stdin walletpassphrase
echo -e "walletpassphrase\nmysecretcode\n120" | src/bitcoin-cli -stdin
```

6 years agoAdd optional locktime to createrawtransaction
Tom Harding [Sun, 22 Mar 2015 17:51:43 +0000 (10:51 -0700)]
Add optional locktime to createrawtransaction

A non-zero locktime also causes input sequences to be set to
non-max, activating the locktime.

6 years agoAuto merge of #3081 - str4d:sapling-activation-logic, r=str4d
Homu [Thu, 12 Apr 2018 19:32:50 +0000 (12:32 -0700)]
Auto merge of #3081 - str4d:sapling-activation-logic, r=str4d

Add Sapling to upgrade list

6 years agoAdd Sapling to upgrade list
Jack Grigg [Tue, 13 Mar 2018 00:43:45 +0000 (00:43 +0000)]
Add Sapling to upgrade list

6 years agoAuto merge of #3162 - str4d:3052-sapling-crypto-deps, r=str4d
Homu [Thu, 12 Apr 2018 18:03:55 +0000 (11:03 -0700)]
Auto merge of #3162 - str4d:3052-sapling-crypto-deps, r=str4d

 depends: Update to latest librustzcash with sapling-crypto dependencies

Part of #3052.

6 years agoAuto merge of #3165 - str4d:release-v1.1.0, r=str4d
Homu [Thu, 12 Apr 2018 15:55:29 +0000 (08:55 -0700)]
Auto merge of #3165 - str4d:release-v1.1.0, r=str4d

Release v1.1.0

6 years agoAuto merge of #3166 - str4d:3132-reset-pindexbestinvalid, r=str4d
Homu [Thu, 12 Apr 2018 04:41:30 +0000 (21:41 -0700)]
Auto merge of #3166 - str4d:3132-reset-pindexbestinvalid, r=str4d

When rewinding, reset pindexBestInvalid if it is pointing to a removed block

6 years agoWhen rewinding, reset pindexBestInvalid if it is pointing to a removed block
Jack Grigg [Thu, 12 Apr 2018 03:46:58 +0000 (21:46 -0600)]
When rewinding, reset pindexBestInvalid if it is pointing to a removed block

6 years agoOverwinter mainnet activation height
Jack Grigg [Thu, 12 Apr 2018 02:21:45 +0000 (20:21 -0600)]
Overwinter mainnet activation height

6 years agomake-release.py: Updated release notes and changelog for 1.1.0.
Jack Grigg [Thu, 12 Apr 2018 02:15:29 +0000 (20:15 -0600)]
make-release.py: Updated release notes and changelog for 1.1.0.

6 years agomake-release.py: Updated manpages for 1.1.0.
Jack Grigg [Thu, 12 Apr 2018 02:15:13 +0000 (20:15 -0600)]
make-release.py: Updated manpages for 1.1.0.

6 years agomake-release.py: Versioning changes for 1.1.0.
Jack Grigg [Thu, 12 Apr 2018 02:02:10 +0000 (20:02 -0600)]
make-release.py: Versioning changes for 1.1.0.

6 years agodepends: Update to latest librustzcash with sapling-crypto dependencies
Jack Grigg [Wed, 11 Apr 2018 14:06:40 +0000 (08:06 -0600)]
depends: Update to latest librustzcash with sapling-crypto dependencies

6 years agodepends: Add support for unpackaged Rust crates
Jack Grigg [Wed, 11 Apr 2018 14:00:23 +0000 (08:00 -0600)]
depends: Add support for unpackaged Rust crates

6 years agodepends: Upgrade Rust to 1.26.0-beta.3
Jack Grigg [Wed, 11 Apr 2018 13:59:46 +0000 (07:59 -0600)]
depends: Upgrade Rust to 1.26.0-beta.3

6 years agoPart of #2966, extending Sprout tests to other epochs.
Simon [Mon, 9 Apr 2018 23:17:30 +0000 (16:17 -0700)]
Part of #2966, extending Sprout tests to other epochs.

This continues the work started in PR #3109.

6 years agoDisable building libzcashconsensus by default
Jack Grigg [Fri, 6 Apr 2018 14:09:50 +0000 (15:09 +0100)]
Disable building libzcashconsensus by default

The library is not currently a supported build artifact; it needs work in
order to build on certain platforms (e.g. MacOS), and its dependencies need to
be narrowed down (Equihash is not a requirement for validating scripts).

6 years agoAuto merge of #3149 - str4d:release-v1.1.0-rc1, r=str4d
Homu [Thu, 5 Apr 2018 11:36:15 +0000 (04:36 -0700)]
Auto merge of #3149 - str4d:release-v1.1.0-rc1, r=str4d

Release v1.1.0-rc1

6 years agoSet Overwinter protocol version to 170005
Jack Grigg [Thu, 5 Apr 2018 11:07:44 +0000 (12:07 +0100)]
Set Overwinter protocol version to 170005

170004 is the protocol version for the NODE_BLOOM change, which is being
"released" in this RC. The activation height is being set in the final release,
which means that we may end up with both RC and final release versions online
when Overwinter activates. Bumping the protocol version for Overwinter enables
RC nodes to be correctly disconnected.

6 years agoAuto merge of #3151 - bitcartel:fix_alertnotify_test, r=str4d
Homu [Thu, 5 Apr 2018 09:08:42 +0000 (02:08 -0700)]
Auto merge of #3151 - bitcartel:fix_alertnotify_test, r=str4d

Fix Deprecation test to check for sanitized string from alertnotify.

Closes #3150

6 years agoFix test to check for sanitized string from alertnotify.
Simon [Thu, 5 Apr 2018 04:55:20 +0000 (21:55 -0700)]
Fix test to check for sanitized string from alertnotify.

If client version is 1.1.0-rc1, the alertnotify message will have
been sanitized and will show as 1.1.0rc1.

6 years agomake-release.py: Updated release notes and changelog for 1.1.0-rc1.
Jack Grigg [Thu, 5 Apr 2018 02:26:17 +0000 (03:26 +0100)]
make-release.py: Updated release notes and changelog for 1.1.0-rc1.

6 years agomake-release.py: Updated manpages for 1.1.0-rc1.
Jack Grigg [Thu, 5 Apr 2018 02:26:07 +0000 (03:26 +0100)]
make-release.py: Updated manpages for 1.1.0-rc1.

6 years agomake-release.py: Versioning changes for 1.1.0-rc1.
Jack Grigg [Thu, 5 Apr 2018 02:08:20 +0000 (03:08 +0100)]
make-release.py: Versioning changes for 1.1.0-rc1.

6 years agoAuto merge of #2814 - str4d:2074-node-bloom, r=str4d
Homu [Thu, 5 Apr 2018 00:34:30 +0000 (17:34 -0700)]
Auto merge of #2814 - str4d:2074-node-bloom, r=str4d

Add NODE_BLOOM service bit

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6579
  - Zcash equivalent of BIP 111
- bitcoin/bitcoin#6652
  - Docs for BIP 111
- bitcoin/bitcoin#7087
- bitcoin/bitcoin#7174
- bitcoin/bitcoin#8709

Part of #2074. Closes #2738.

6 years agoUpdate -enforcenodebloom RPC test with filterclear vs filteradd
Jack Grigg [Wed, 4 Apr 2018 11:55:15 +0000 (12:55 +0100)]
Update -enforcenodebloom RPC test with filterclear vs filteradd

6 years agoAllow filterclear messages for enabling TX relay only.
R E Broadley [Tue, 13 Sep 2016 02:10:22 +0000 (09:10 +0700)]
Allow filterclear messages for enabling TX relay only.

An example of where this might be useful is allowing a node to connect blocksonly during IBD but then becoming a full-node once caught up with the latest block. This might also even want to be the default behaviour since during IBD most TXs appear to be orphans, and are routinely dropped (for example when a node disconnects). Therefore, this can waste a lot of bandwidth.

Additionally, another pull could be written to stop relaying of TXs to nodes that are clearly far behind the latest block and are running a node that doesn't store many orphan TXs, such as recent versions of Bitcoin Core.

6 years agoMove bloom filter filtering logic back into command "switch"
Jack Grigg [Wed, 4 Apr 2018 11:19:30 +0000 (12:19 +0100)]
Move bloom filter filtering logic back into command "switch"

6 years agoFix NODE_BLOOM documentation errors
Jack Grigg [Tue, 3 Apr 2018 16:30:14 +0000 (17:30 +0100)]
Fix NODE_BLOOM documentation errors

6 years agoAdd RPC test for -enforcenodebloom
Jack Grigg [Tue, 3 Apr 2018 16:12:46 +0000 (17:12 +0100)]
Add RPC test for -enforcenodebloom

6 years agoDon't do mempool lookups for "mempool" command without a filter
Matt Corallo [Sat, 5 Dec 2015 09:45:44 +0000 (17:45 +0800)]
Don't do mempool lookups for "mempool" command without a filter

6 years agoDocument both the peerbloomfilters and enforcenodebloom options.
Patick Strateman [Tue, 24 Nov 2015 09:57:08 +0000 (01:57 -0800)]
Document both the peerbloomfilters and enforcenodebloom options.

6 years agoAdd enforcenodebloom option.
Patick Strateman [Tue, 24 Nov 2015 09:51:53 +0000 (01:51 -0800)]
Add enforcenodebloom option.

Previously peers which implement a protocol version less than NO_BLOOM_VERSION
would not be disconnected for sending a filter command, regardless of the
peerbloomfilter option.

Many node operators do not wish to provide expensive bloom filtering for SPV
clients, previously they had to cherry pick the commit which enabled the
disconnect logic.

The default should remain false until a sufficient percent of SPV clients
have updated.

6 years agoMove bloom filter filtering logic outside of command "switch" (giant if/else).
Patick Strateman [Tue, 24 Nov 2015 09:47:32 +0000 (01:47 -0800)]
Move bloom filter filtering logic outside of command "switch" (giant if/else).

Moving this logic outside of the "switch" makes it far simpler to
enable the forced disconnect by a parameter.

6 years agodoc: update release-notes and bips.md for BIP111
Wladimir J. van der Laan [Tue, 8 Sep 2015 15:16:59 +0000 (17:16 +0200)]
doc: update release-notes and bips.md for BIP111

Also includes a09db7c [trivial] Minor format fixes

6 years agoAdd NODE_BLOOM service bit and bump protocol version
Matt Corallo [Fri, 21 Aug 2015 04:15:27 +0000 (21:15 -0700)]
Add NODE_BLOOM service bit and bump protocol version

Lets nodes advertise that they offer bloom filter support explicitly.
The protocol version bump allows SPV nodes to assume that NODE_BLOOM is
set if NODE_NETWORK is set for pre-170004 nodes.

Also adds an option to turn bloom filter support off for nodes which
advertise a version number >= 170004. Nodes attempting to use bloom
filters on such protocol versions are banned, and a later upgade
should drop nodes of an older version which attempt to use bloom
filters.

Much code stolen from Peter Todd.

Zcash: Implements Zcash equivalent of BIP 111; deploys with Overwinter

6 years agoAuto merge of #3148 - str4d:DOS-mitigation-tx-expiry, r=str4d
Homu [Wed, 4 Apr 2018 22:46:25 +0000 (15:46 -0700)]
Auto merge of #3148 - str4d:DOS-mitigation-tx-expiry, r=str4d

Don't increase banscore for expired transactions if they only just expired

Closes #3141.

6 years agotest: Add missing Overwinter fields to mininode's CTransaction
Jack Grigg [Wed, 4 Apr 2018 21:47:38 +0000 (22:47 +0100)]
test: Add missing Overwinter fields to mininode's CTransaction

6 years agoAuto merge of #3146 - str4d:bc-7956-dbwrapper-tests, r=str4d
Homu [Wed, 4 Apr 2018 21:23:14 +0000 (14:23 -0700)]
Auto merge of #3146 - str4d:bc-7956-dbwrapper-tests, r=str4d

Additional dbwrapper tests

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#7992
- bitcoin/bitcoin#9867
  - Only the commit affecting dbwrapper tests
- bitcoin/bitcoin#9610
  - Only the change affecting dbwrapper tests
- bitcoin/bitcoin#10844

6 years agotest: Check return value of snprintf
Jack Grigg [Wed, 4 Apr 2018 18:18:23 +0000 (19:18 +0100)]
test: Check return value of snprintf

6 years agoBump MIT Licence copyright header.
Simon [Wed, 4 Apr 2018 17:16:06 +0000 (10:16 -0700)]
Bump MIT Licence copyright header.

6 years agoUse range based for loop
Simon [Wed, 4 Apr 2018 16:57:29 +0000 (09:57 -0700)]
Use range based for loop

Instead of iterating over 0 .. 1 and then deciding on an actual desired
value, use a range based for loop for the desired value.

Adapted from d0413c670b4e5dc79d5cc1bc35571fca745c9a24
Authored-by: René Nyffenegger <[email protected]>
6 years ago[Trivial] Grammar and typo correction
Lauda [Fri, 13 Jan 2017 15:05:16 +0000 (16:05 +0100)]
[Trivial] Grammar and typo correction

Minor corrections in src\test\* .

6 years agotest: Replace remaining sprintf with snprintf
Wladimir J. van der Laan [Sun, 26 Feb 2017 20:08:26 +0000 (21:08 +0100)]
test: Replace remaining sprintf with snprintf

Use of `sprintf` is seen as a red flag as many of its uses are insecure.
OpenBSD warns about it while compiling, and some modern platforms, e.g.
[cloudlibc from cloudabi](https://github.com/NuxiNL/cloudlibc) don't
even provide it anymore.

Although our uses of these functions are secure, it can't hurt to
replace them anyway. There are only 3 occurences left, all in the
tests.

6 years agoFix typo
Jack Grigg [Wed, 4 Apr 2018 13:59:07 +0000 (14:59 +0100)]
Fix typo

6 years agoAdd test for dbwrapper iterators with same-prefix keys.
Matt Corallo [Tue, 3 May 2016 00:52:31 +0000 (17:52 -0700)]
Add test for dbwrapper iterators with same-prefix keys.

6 years agotest: Add more thorough test for dbwrapper iterators
Wladimir J. van der Laan [Wed, 27 Apr 2016 09:07:43 +0000 (11:07 +0200)]
test: Add more thorough test for dbwrapper iterators

I made a silly mistake in a database wrapper where keys
were sorted by char instead of uint8_t. As x86 char is signed
the sorting for the block index database was messed up, resulting
in a segfault due to missing records.

Add a test to catch:
- Wrong sorting
- Seeking errors
- Iteration result not complete

6 years agochain: Add assertion in case of missing records in index db
Wladimir J. van der Laan [Tue, 26 Apr 2016 12:34:40 +0000 (14:34 +0200)]
chain: Add assertion in case of missing records in index db

6 years agoDon't increase banscore if the transaction only just expired.
Daira Hopwood [Wed, 4 Apr 2018 00:28:57 +0000 (01:28 +0100)]
Don't increase banscore if the transaction only just expired.

Author: Jack Grigg <[email protected]>

6 years agoTest that receiving an expired transaction does not increase the peer's ban score.
Daira Hopwood [Tue, 3 Apr 2018 23:01:49 +0000 (00:01 +0100)]
Test that receiving an expired transaction does not increase the peer's ban score.

6 years agoAdd support for Overwinter v3 transactions to mininode framework.
Daira Hopwood [Tue, 3 Apr 2018 23:01:23 +0000 (00:01 +0100)]
Add support for Overwinter v3 transactions to mininode framework.

6 years agoSet ban score for expired txs to 0
Jay Graber [Wed, 28 Mar 2018 15:28:21 +0000 (08:28 -0700)]
Set ban score for expired txs to 0

6 years agoAuto merge of #2598 - str4d:2074-dbwrapper, r=str4d
Homu [Tue, 3 Apr 2018 21:11:29 +0000 (14:11 -0700)]
Auto merge of #2598 - str4d:2074-dbwrapper, r=str4d

Bitcoin 0.12+ dbwrapper improvements

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6650
  - Only refactor - excludes obfuscation
- bitcoin/bitcoin#6777
  - Excluding obfuscation-related changes
- bitcoin/bitcoin#6865
- bitcoin/bitcoin#6823
- bitcoin/bitcoin#6873
- bitcoin/bitcoin#7927
  - Excluding first commit (already included) and second commit (obfuscation-related)
- bitcoin/bitcoin#8467

Part of #2074.

6 years agoUpdate CBlockTreeDB::EraseBatchSync for dbwrapper refactor
Jack Grigg [Tue, 3 Apr 2018 20:38:34 +0000 (21:38 +0100)]
Update CBlockTreeDB::EraseBatchSync for dbwrapper refactor

6 years agoAuto merge of #2820 - str4d:darwin-build-patches, r=str4d
Homu [Tue, 3 Apr 2018 19:44:24 +0000 (12:44 -0700)]
Auto merge of #2820 - str4d:darwin-build-patches, r=str4d

[macOS] Darwin build patches

Part of #2246.

6 years agoDo not shadow members in dbwrapper
Pavel Janík [Fri, 5 Aug 2016 19:17:50 +0000 (21:17 +0200)]
Do not shadow members in dbwrapper

6 years agodbwrapper: Move `HandleError` to `dbwrapper_private`
Wladimir J. van der Laan [Wed, 20 Apr 2016 09:48:57 +0000 (11:48 +0200)]
dbwrapper: Move `HandleError` to `dbwrapper_private`

HandleError is implementation-specific.

6 years agodbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIterator
Wladimir J. van der Laan [Wed, 20 Apr 2016 09:46:01 +0000 (11:46 +0200)]
dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIterator

Zcash: Makes future extensions easier.

Original description (when this was introduced upstream):

Pass parent wrapper directly instead of obfuscation key. This
makes it possible for other databases which re-use this code
to use other properties from the database.

Add a namespace dbwrapper_private for private functions to be used
only in dbwrapper.h/cpp and dbwrapper_tests.

6 years agoleveldbwrapper file rename to dbwrapper.*
Jeff Garzik [Fri, 23 Oct 2015 01:33:06 +0000 (21:33 -0400)]
leveldbwrapper file rename to dbwrapper.*

6 years agoleveldbwrapper symbol rename: Remove "Level" from class, etc. names
Jeff Garzik [Fri, 23 Oct 2015 01:02:20 +0000 (21:02 -0400)]
leveldbwrapper symbol rename: Remove "Level" from class, etc. names

6 years agoleveldbwrapper: Remove unused .Prev(), .SeekToLast() methods
Jeff Garzik [Fri, 23 Oct 2015 00:49:02 +0000 (20:49 -0400)]
leveldbwrapper: Remove unused .Prev(), .SeekToLast() methods

Also, trim trailing whitespace.

6 years agotrivial: use constants for db keys
Daniel Kraft [Tue, 13 Oct 2015 18:25:57 +0000 (20:25 +0200)]
trivial: use constants for db keys

Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp
by the respective constants.

6 years agoUpdate blockchain.py RPC test for Zcash
Jack Grigg [Mon, 28 Aug 2017 15:43:46 +0000 (16:43 +0100)]
Update blockchain.py RPC test for Zcash

6 years agoFix chainstate serialized_size computation
Pieter Wuille [Wed, 21 Oct 2015 21:23:59 +0000 (23:23 +0200)]
Fix chainstate serialized_size computation

6 years agoAdd tests for gettxoutsetinfo, CLevelDBBatch, CLevelDBIterator
James O'Beirne [Thu, 8 Oct 2015 08:22:50 +0000 (01:22 -0700)]
Add tests for gettxoutsetinfo, CLevelDBBatch, CLevelDBIterator

Thanks @dexX7.

6 years agoMinor bugfixes
James O'Beirne [Thu, 8 Oct 2015 07:44:10 +0000 (00:44 -0700)]
Minor bugfixes

Was "Handle obfuscation in CLevelDBIterator"

Zcash: Only bugfixes

6 years agoEncapsulate CLevelDB iterators cleanly
Pieter Wuille [Thu, 8 Oct 2015 00:12:24 +0000 (17:12 -0700)]
Encapsulate CLevelDB iterators cleanly

Conflicts:
src/leveldb.cpp
src/leveldb.h
src/txdb.cpp

6 years agoRefactor Zcash changes to CCoinsViewDB
Jack Grigg [Mon, 28 Aug 2017 13:02:27 +0000 (14:02 +0100)]
Refactor Zcash changes to CCoinsViewDB

To match upstream changes.

6 years agoRefactor leveldbwrapper
James O'Beirne [Mon, 7 Sep 2015 22:22:23 +0000 (15:22 -0700)]
Refactor leveldbwrapper

Was "Add chainstate obfuscation to avoid spurious antivirus detection"

Zcash: Extracted the refactor, omitting the chainstate obfuscation.

6 years agoAuto merge of #3136 - str4d:2937-z_importviewingkey-startheight, r=daira
Homu [Tue, 3 Apr 2018 16:41:09 +0000 (09:41 -0700)]
Auto merge of #3136 - str4d:2937-z_importviewingkey-startheight, r=daira

Fix z_importviewingkey startHeight parameter

Closes #2937.

Co-authored-by: Tomas M <[email protected]>
6 years agoAuto merge of #2899 - str4d:2829-alertnotify-deprecation, r=str4d
Homu [Tue, 3 Apr 2018 13:07:08 +0000 (06:07 -0700)]
Auto merge of #2899 - str4d:2829-alertnotify-deprecation, r=str4d

Notify users about auto-senescence via -alertnotify

Closes #2829.

6 years agoAuto merge of #3132 - str4d:2898-rewind-block-index, r=daira
Homu [Tue, 3 Apr 2018 11:37:21 +0000 (04:37 -0700)]
Auto merge of #3132 - str4d:2898-rewind-block-index, r=daira

When rewinding, remove insufficiently-validated blocks

If a block is insufficiently-validated against a particular branch ID, then we
cannot guarantee that even the block header will be valid under the actual
consensus rules the node will want to apply. Instead require that the blocks are
completely re-validated, by removing them from the block index (which is
equivalent to reducing their validity to BLOCK_VALID_UNKNOWN).

Closes #3100.

6 years agoAdjust deprecation message to work in both UI and -alertnotify
Jack Grigg [Tue, 3 Apr 2018 11:17:30 +0000 (12:17 +0100)]
Adjust deprecation message to work in both UI and -alertnotify

6 years agoWhen rewinding, remove insufficiently-validated blocks
Jack Grigg [Thu, 15 Mar 2018 10:49:30 +0000 (11:49 +0100)]
When rewinding, remove insufficiently-validated blocks

If a block is insufficiently-validated against a particular branch ID, then we
cannot guarantee that even the block header will be valid under the actual
consensus rules the node will want to apply. Instead require that the blocks are
completely re-validated, by removing them from the block index (which is
equivalent to reducing their validity to BLOCK_VALID_UNKNOWN).

6 years agoAdd RPC test of RewindBlockIndex
Jack Grigg [Mon, 2 Apr 2018 12:47:30 +0000 (13:47 +0100)]
Add RPC test of RewindBlockIndex

6 years agoAuto merge of #3080 - leto:jsindex, r=bitcartel
Homu [Tue, 3 Apr 2018 07:30:11 +0000 (00:30 -0700)]
Auto merge of #3080 - leto:jsindex, r=bitcartel

Return JoinSplit and JoinSplitOutput indexes in z_listreceivedbyaddress

This implements a feature request by @nathan-at-least in https://github.com/zcash/zcash/issues/2932 and I wanted to ask for feedback about the exact form of the data returned before updating tests and docs.

6 years agoFix z_importviewingkey startHeight parameter
Jack Grigg [Tue, 3 Apr 2018 01:43:52 +0000 (02:43 +0100)]
Fix z_importviewingkey startHeight parameter

Closes #2937.

6 years agoAdd tests for new JoinSplit keys returned by z_listreceivedbyaddress
Jonathan "Duke" Leto [Tue, 27 Mar 2018 22:16:53 +0000 (15:16 -0700)]
Add tests for new JoinSplit keys returned by z_listreceivedbyaddress

6 years agoAuto merge of #3131 - str4d:3096-cargo-checksum-fixes, r=daira
Homu [Sun, 1 Apr 2018 12:54:41 +0000 (05:54 -0700)]
Auto merge of #3131 - str4d:3096-cargo-checksum-fixes, r=daira

depends: Fix regex bugs in cargo-checksum.sh

6 years agoAuto merge of #3106 - braddmiller:3046-mergetoaddress-concurrent, r=str4d
Homu [Fri, 30 Mar 2018 21:29:17 +0000 (14:29 -0700)]
Auto merge of #3106 - braddmiller:3046-mergetoaddress-concurrent, r=str4d

Add Note Locking to z_mergetoaddress

Adds note locking to `z_mergetoaddress` allowing it to be invoked multiple times before previous `z_mergetoaddress` operations have finished.

Reference issue [#3046](https://github.com/zcash/zcash/issues/3046)

Co-authored-by: Eirik Ogilvie-Wigley <[email protected]>
6 years agoAuto merge of #3127 - str4d:2688-mandatory-rust, r=ebfull
Homu [Fri, 30 Mar 2018 19:58:34 +0000 (12:58 -0700)]
Auto merge of #3127 - str4d:2688-mandatory-rust, r=ebfull

Make Rust compilation mandatory

The temporary integration check in CheckEquihashSolution() remains, until we
have "real" Rust code to integrate.

Closes #2688.

6 years agodepends: Fix regex bugs in cargo-checksum.sh
Jack Grigg [Fri, 30 Mar 2018 18:06:51 +0000 (19:06 +0100)]
depends: Fix regex bugs in cargo-checksum.sh

6 years agoAuto merge of #3130 - bitcartel:upgrade_openssl_1.1.0h, r=str4d
Homu [Fri, 30 Mar 2018 17:02:15 +0000 (10:02 -0700)]
Auto merge of #3130 - bitcartel:upgrade_openssl_1.1.0h, r=str4d

Upgrade OpenSSL to 1.1.0h

Closes #3129

6 years agoAuto merge of #3098 - str4d:2343-overwinter-disable-mempooltxinputlimit, r=str4d
Homu [Fri, 30 Mar 2018 15:33:58 +0000 (08:33 -0700)]
Auto merge of #3098 - str4d:2343-overwinter-disable-mempooltxinputlimit, r=str4d

Ignore -mempooltxinputlimit once Overwinter activates

Overwinter changes the SignatureHash function to solve the quadratic hashing problem, so this option will no longer be needed.

6 years agoUpgrade OpenSSL to 1.1.0h
Simon [Fri, 30 Mar 2018 06:05:17 +0000 (23:05 -0700)]
Upgrade OpenSSL to 1.1.0h

6 years agoImplement note locking for z_mergetoaddress
Brad Miller [Thu, 15 Mar 2018 21:58:31 +0000 (15:58 -0600)]
Implement note locking for z_mergetoaddress

Co-authored-by: Eirik Ogilvie-Wigley <[email protected]>
This page took 0.065191 seconds and 4 git commands to generate.