]>
Git Repo - VerusCoin.git/log
Jack Grigg [Fri, 3 Aug 2018 00:57:40 +0000 (01:57 +0100)]
Rename Serialized*Size -> SerializedSprout*Size
Jack Grigg [Fri, 3 Aug 2018 00:47:30 +0000 (01:47 +0100)]
Rename SpendingKeyMap -> SproutSpendingKeyMap
Jack Grigg [Thu, 2 Aug 2018 21:34:31 +0000 (22:34 +0100)]
Pass SaplingPaymentAddress to store through the CKeyStore
Jack Grigg [Wed, 1 Aug 2018 22:22:32 +0000 (23:22 +0100)]
Add CWallet::AddCryptedSaplingSpendingKey() hook
To be filled in when we implement Sapling persistence to disk.
Jack Grigg [Wed, 1 Aug 2018 15:05:33 +0000 (16:05 +0100)]
Remove outdated comment
Jack Grigg [Wed, 1 Aug 2018 15:05:22 +0000 (16:05 +0100)]
Check for unencrypted Sapling keys in CCryptoKeyStore::SetCrypted()
Jack Grigg [Wed, 1 Aug 2018 14:58:32 +0000 (15:58 +0100)]
Add Sapling decryption check to CCryptoKeyStore::Unlock()
Jack Grigg [Wed, 1 Aug 2018 14:53:23 +0000 (15:53 +0100)]
Rename CryptedSpendingKeyMap -> CryptedSproutSpendingKeyMap
Jack Grigg [Wed, 1 Aug 2018 14:47:33 +0000 (15:47 +0100)]
Rename DecryptSpendingKey -> DecryptSproutSpendingKey
Jay Graber [Tue, 17 Jul 2018 20:52:04 +0000 (13:52 -0700)]
Add Sapling keys to CCryptoKeyStore::EncryptKeys
Jay Graber [Thu, 12 Jul 2018 21:57:53 +0000 (14:57 -0700)]
Add Sapling have/get sk crypter overrides
Homu [Thu, 2 Aug 2018 03:48:17 +0000 (20:48 -0700)]
Auto merge of #3340 - Eirik0:rename-merkle-typedefs, r=str4d
Rename merkle tree typedefs to include Sprout
This is to be consistent with the naming convention we have been using to distinguish Sprout/Sapling.
Homu [Thu, 2 Aug 2018 00:23:14 +0000 (17:23 -0700)]
Auto merge of #3439 - ebfull:fix-ecc, r=ebfull
Don't call ECC_Start/ECC_Stop outside the test harness.
Sean Bowe [Wed, 1 Aug 2018 22:53:27 +0000 (16:53 -0600)]
Make changes to gtest ECC behavior suggested by @str4d.
Sean Bowe [Wed, 1 Aug 2018 22:45:12 +0000 (16:45 -0600)]
Don't call ECC_Start/ECC_Stop outside the test harness.
Homu [Wed, 1 Aug 2018 20:55:34 +0000 (13:55 -0700)]
Auto merge of #3246 - str4d:checkpoint-304600, r=bitcartel
Add some more checkpoints, up to the 1.1.0 release
Homu [Wed, 1 Aug 2018 19:01:39 +0000 (12:01 -0700)]
Auto merge of #3429 - str4d:3217-sapling-address-creation, r=str4d
Add Sapling support to z_getnewaddress and z_listaddresses
Closes #3217.
Jack Grigg [Wed, 1 Aug 2018 18:59:57 +0000 (19:59 +0100)]
test: Update rpc_wallet_z_importexport to account for Sapling changes
Jack Grigg [Wed, 1 Aug 2018 18:56:01 +0000 (19:56 +0100)]
test: Fix permissions of wallet_addresses
Eirik Ogilvie-Wigley [Wed, 1 Aug 2018 16:52:58 +0000 (10:52 -0600)]
Rename test objects to include sprout or sapling
Eirik Ogilvie-Wigley [Wed, 1 Aug 2018 16:41:36 +0000 (10:41 -0600)]
Rename Witnesses to include sprout or sapling
Eirik Ogilvie-Wigley [Wed, 1 Aug 2018 16:31:09 +0000 (10:31 -0600)]
Rename Merkle Trees to include sprout or sapling
Jack Grigg [Wed, 1 Aug 2018 08:46:32 +0000 (09:46 +0100)]
test: Another assert in wallet_zkeys_tests.store_and_load_sapling_zkeys
Jack Grigg [Wed, 1 Aug 2018 08:44:31 +0000 (09:44 +0100)]
test: Deduplicate logic in wallet_addresses RPC test
Homu [Wed, 1 Aug 2018 06:44:29 +0000 (23:44 -0700)]
Auto merge of #3417 - str4d:sapling-tx-builder, r=ebfull
TransactionBuilder for Sapling and transparent transactions
This PR includes zcash/librustzcash#24, and will create a testnet chain split once merged into master (and once a Sapling transaction is mined).
Sean Bowe [Wed, 1 Aug 2018 06:42:02 +0000 (00:42 -0600)]
Relocate ECC_Start() to avoid test failures.
Jack Grigg [Tue, 31 Jul 2018 22:28:42 +0000 (23:28 +0100)]
Formatting
Homu [Tue, 31 Jul 2018 14:34:44 +0000 (07:34 -0700)]
Auto merge of #3430 - ebfull:check-valuebalance, r=ebfull
Ensure sum of valueBalance and all vpub_new's does not exceed MAX_MONEY
HT to @daira for noticing that we don't check this in `CheckTransactionWithoutProofVerification`. We actually do check it in `GetShieldedValueIn` (by throwing an exception) but these exceptions are not handled by `CheckTxInputs`, which may cause a remote DoS.
Not exploitable assuming our proving system is secure, but definitely worthy of a fix.
Sean Bowe [Tue, 31 Jul 2018 14:33:33 +0000 (08:33 -0600)]
Move `extern params` to beginning of `test_checktransaction`.
Sean Bowe [Tue, 31 Jul 2018 04:35:31 +0000 (22:35 -0600)]
Ensure sum of valueBalance and all vpub_new's does not exceed MAX_MONEY inside of CheckTransactionWithoutProofVerification.
Sean Bowe [Tue, 31 Jul 2018 04:03:40 +0000 (22:03 -0600)]
Fix bug in return value.
Sean Bowe [Tue, 31 Jul 2018 03:59:12 +0000 (21:59 -0600)]
Update librustzcash and sapling-crypto.
Homu [Mon, 30 Jul 2018 20:56:34 +0000 (13:56 -0700)]
Auto merge of #3336 - arcalinea:expiryheight-createrawtransaction, r=bitcartel
Take expiryheight as param to createrawtransaction
Addresses #3333
Simon [Mon, 30 Jul 2018 17:24:10 +0000 (10:24 -0700)]
Add tests for expiryheight parameter of RPC createrawtransaction.
Jack Grigg [Mon, 30 Jul 2018 16:45:04 +0000 (17:45 +0100)]
Fix block hash for checkpoint at height 270000
Jack Grigg [Mon, 9 Jul 2018 22:46:36 +0000 (23:46 +0100)]
Add Sapling support to z_getnewaddress and z_listaddresses
Jack Grigg [Mon, 9 Jul 2018 22:41:41 +0000 (23:41 +0100)]
Raise the 90-character limit on Bech32 encodings
Regtest addresses are 91 characters, and ZIP 32's Bech32 encoding will
be significantly longer.
Jack Grigg [Mon, 9 Jul 2018 19:12:37 +0000 (20:12 +0100)]
Implement CKeyStore::GetSaplingPaymentAddresses()
Jack Grigg [Mon, 30 Jul 2018 13:26:29 +0000 (14:26 +0100)]
Rename xsk to expsk
xsk will be used for ZIP 32 extended spending keys, so renaming here to
reduce confusion.
Jack Grigg [Mon, 30 Jul 2018 11:52:48 +0000 (12:52 +0100)]
TransactionBuilder: Make fee configurable
Jack Grigg [Mon, 30 Jul 2018 11:36:42 +0000 (12:36 +0100)]
TransactionBuilder: Add change output to transaction
Homu [Mon, 30 Jul 2018 10:46:37 +0000 (03:46 -0700)]
Auto merge of #3410 - LarryRuane:3399-peer-ban, r=bitcartel
don't ban peers when loading pre-overwinter blocks
Addresses #3399. If we see an invalid transaction (from our peers who are up to date, post-overwinter) during initial block download, don't invoke DoS (logging messages, blocking these peers). Instead, simply ignore the transaction.
Jack Grigg [Mon, 30 Jul 2018 10:03:29 +0000 (11:03 +0100)]
TransactionBuilder: Add support for transparent inputs and outputs
Homu [Mon, 30 Jul 2018 08:36:32 +0000 (01:36 -0700)]
Auto merge of #3402 - mdr0id:3401_fix_auto_senescence, r=bitcartel
Fix minor references to auto-senescence in code
Fix references
Homu [Mon, 30 Jul 2018 04:04:14 +0000 (21:04 -0700)]
Auto merge of #3392 - arcalinea:sapling_z_importexport_keys, r=bitcartel
Add Sapling support to z_importkey, z_exportkey
Add Sapling support to `z_importkey` and `z_exportkey`
Simon [Mon, 30 Jul 2018 03:57:33 +0000 (20:57 -0700)]
Clean up help messages for RPC createrawtransaction.
Also return error if expiryheight used when Overwinter not active.
Jay Graber [Thu, 14 Jun 2018 10:50:52 +0000 (03:50 -0700)]
Take expiryheight as param to createrawtransaction
Jay Graber [Thu, 19 Jul 2018 02:52:55 +0000 (19:52 -0700)]
Refactor into visitors and throw errors for invalid key or address.
Jay Graber [Wed, 11 Jul 2018 21:01:07 +0000 (14:01 -0700)]
Add Sapling to rpc_wallet_z_importexport test
Jay Graber [Wed, 11 Jul 2018 20:46:41 +0000 (13:46 -0700)]
Add Sapling support to z_importkey
Jay Graber [Wed, 11 Jul 2018 20:22:41 +0000 (13:22 -0700)]
Add Sapling support to z_exportkey
mdr0id [Wed, 18 Jul 2018 20:39:16 +0000 (13:39 -0700)]
Fix minor references to auto-senescence in code
Update typo in rc-notes-1.0.13
Fix typo in rc-notes-1.0.13
Fix typo in rc-notes-1.0.13
Fix typo in rc-notes-1.1.0
Fix typo in rc-notes-1.1.0
Fix typo in make-release
Revert prior release note term to original auto-senescence
Jack Grigg [Fri, 27 Jul 2018 15:18:49 +0000 (17:18 +0200)]
test: Move ECC_Start() call into src/gtest/main.cpp
Jack Grigg [Fri, 27 Jul 2018 07:49:43 +0000 (09:49 +0200)]
Formatting
Jack Grigg [Fri, 27 Jul 2018 07:46:38 +0000 (09:46 +0200)]
TransactionBuilder: Check that all anchors in a transaction are identical
This reduces the amount of information that is leaked by the choice of anchor.
In future we will make a protocol change to enforce that all inputs use the
same anchor.
Larry Ruane [Thu, 26 Jul 2018 18:29:04 +0000 (12:29 -0600)]
don't ban peers when loading pre-overwinter blocks
Homu [Thu, 26 Jul 2018 15:42:57 +0000 (08:42 -0700)]
Auto merge of #3416 - charlieok:3415_fix_double_slash_error, r=bitcartel
Remove extra slash from lockfile path
Issue: https://github.com/zcash/zcash/issues/3415
After this change I can successfully run `fetch-params` in an msys2 environment.
Homu [Thu, 26 Jul 2018 06:40:11 +0000 (23:40 -0700)]
Auto merge of #3353 - Eirik0:3062-cache-sapling-witnesses, r=bitcartel
Cache Sapling witnesses in the wallet
Closes #3062
I have not update the tests in test_wallet.cpp. Also, there are several other methods in the wallet that have to do with witnesses and note data which will need to be updated, but this PR focuses on IncrementNoteWitnesses and DecrementNoteWitnesses.
Simon [Wed, 25 Jul 2018 22:53:28 +0000 (15:53 -0700)]
Clean up for rebase: rename mapNoteData to mapSproutNoteData.
Simon [Wed, 25 Jul 2018 19:26:47 +0000 (12:26 -0700)]
Only check for a valid Sapling anchor after Sapling activation.
Before Sapling activates, hashFinalSaplingRoot is 0x0, which is
not a valid anchor. After Sapling activates, the empty root value
of 0x3e49... is a valid anchor.
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 20:21:16 +0000 (14:21 -0600)]
Add parameter for version in GetValidReceive
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 20:08:41 +0000 (14:08 -0600)]
Add getter and setter for sapling note data and update tests
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 18:07:42 +0000 (12:07 -0600)]
Remove extra indentation
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 18:07:08 +0000 (12:07 -0600)]
Rename sprout specific methods
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 18:02:27 +0000 (12:02 -0600)]
Increment sapling note witnesses
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:56:01 +0000 (11:56 -0600)]
Pass sapling merkle tree when incrementing witnesses
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:55:20 +0000 (11:55 -0600)]
Extract method for incrementing witness heights
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:54:53 +0000 (11:54 -0600)]
Extract methods for incrementing witnesses
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:54:21 +0000 (11:54 -0600)]
Extract method for copying previous witnesses
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:53:54 +0000 (11:53 -0600)]
Clear sapling witness cache
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:53:24 +0000 (11:53 -0600)]
Decrement sapling note witnesses
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:49:18 +0000 (11:49 -0600)]
Add sapling note data and map
Eirik Ogilvie-Wigley [Tue, 17 Jul 2018 17:47:08 +0000 (11:47 -0600)]
Add out point for sapling note data
Eirik Ogilvie-Wigley [Thu, 12 Jul 2018 21:35:41 +0000 (15:35 -0600)]
Consolidate for loops
Eirik Ogilvie-Wigley [Thu, 12 Jul 2018 21:33:17 +0000 (15:33 -0600)]
Remove redundant curly braces
Eirik Ogilvie-Wigley [Thu, 12 Jul 2018 21:21:42 +0000 (15:21 -0600)]
Rename note data to include sprout
Jack Grigg [Tue, 17 Jul 2018 16:36:38 +0000 (10:36 -0600)]
TransactionBuilder with support for creating Sapling-only transactions
Charlie OKeefe [Tue, 24 Jul 2018 22:18:30 +0000 (16:18 -0600)]
Remove extra slash from lockfile path
Jack Grigg [Tue, 17 Jul 2018 16:34:48 +0000 (10:34 -0600)]
Expose note position in IncrementalMerkleWitness
Jack Grigg [Sat, 16 Jun 2018 11:06:15 +0000 (23:06 +1200)]
Alter SaplingNote::nullifier() to take a SaplingFullViewingKey
This means the API will work if you only have a SaplingExtendedSpendingKey,
as will be the case with ZIP 32.
Homu [Tue, 24 Jul 2018 10:27:28 +0000 (03:27 -0700)]
Auto merge of #3391 - bitcartel:3061_sapling_note_encryption, r=ebfull
Sapling note plaintext (encryption and decryption)
Add encryption and decryption of SaplingNotePlaintext and SaplingOutgoingPlaintext classes.
This is part of #3061 to add Sapling note functionality.
Homu [Tue, 24 Jul 2018 06:09:48 +0000 (23:09 -0700)]
Auto merge of #3408 - LarryRuane:2929-python-test-nondeterministic, r=bitcartel
Add call to sync_all() after (z_sendmany, wait)
Closes #2929. Add missing call to `self.sync_all()` after sending coins (and waiting for the transaction to complete). This matches what is done in other python test scripts.
Simon [Mon, 23 Jul 2018 17:48:26 +0000 (10:48 -0700)]
Rename AttemptSaplingEncDecryptionUsingFullViewingKey and use function overloading.
Simon [Fri, 20 Jul 2018 23:31:48 +0000 (16:31 -0700)]
Implement Sapling note decryption using full viewing key.
Larry Ruane [Fri, 20 Jul 2018 18:00:41 +0000 (12:00 -0600)]
Add call to sync_all() after (z_sendmany, wait)
Homu [Wed, 18 Jul 2018 19:10:55 +0000 (12:10 -0700)]
Auto merge of #3350 - str4d:rpc-reorg, r=bitcartel
RPC code refactor
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#7307
- bitcoin/bitcoin#7348
- bitcoin/bitcoin#7766
Wladimir J. van der Laan [Tue, 29 Mar 2016 17:43:02 +0000 (19:43 +0200)]
rpc: Register calls where they are defined
Split out methods to every module, apart from 'help' and 'stop' which
are implemented in rpcserver.cpp itself.
- This makes it easier to add or remove RPC commands - no longer everything that includes
rpcserver.h has to be rebuilt when there's a change there.
- Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions.
- Removes most of the bitcoin-specific code from rpcserver.cpp and .h.
Continues #7307 for the non-wallet.
Daniel Cousens [Fri, 15 Jan 2016 01:55:57 +0000 (12:55 +1100)]
rpc: update inline comments to refer to new file paths
Daniel Cousens [Fri, 15 Jan 2016 00:55:17 +0000 (11:55 +1100)]
move rpc* to rpc/
Jonas Schnelli [Thu, 7 Jan 2016 07:33:49 +0000 (08:33 +0100)]
[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
Allow extending the rpc dispatch table by appending commands when server is not running.
Homu [Wed, 18 Jul 2018 14:45:46 +0000 (07:45 -0700)]
Auto merge of #3376 - LarryRuane:2728-help-message-experimental, r=bitcartel
add extra help how to enable experimental features
Closes #2728. When the user attempts to execute a disabled experimental RPC, print some nice text explaining how to enable the RPC (either command-line or adding lines to zcash.conf).
Homu [Wed, 18 Jul 2018 04:41:36 +0000 (21:41 -0700)]
Auto merge of #3371 - kozyilmaz:clang, r=str4d
Add -Wl,-pie linker option for macOS and use it instead of -pie
fixes linker error (see below) due to "-pie" usage, replaced it with "-Wl,-pie" for macOS platform
```
clang: error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument]
```
Homu [Wed, 18 Jul 2018 02:57:32 +0000 (19:57 -0700)]
Auto merge of #3243 - pejvan:patch-1, r=bitcartel
Update README.md
Added default options to build zcash with as many parallel compilation units as there are cpu cores.
This makes compiling zcash multiple times faster.
Homu [Tue, 17 Jul 2018 22:03:08 +0000 (15:03 -0700)]
Auto merge of #3354 - leto:absurd_fee_bug, r=bitcartel
Fix absurd fee bug reported in #3281, with tests
This was ported from the Hush `absurd_fee_bug` PR: https://github.com/MyHush/hush/pull/136
Tests executed with `./qa/pull-tester/rpc-tests.sh wallet` and pass on Ubuntu 16.04. Some tests were added for previously untested behavior as well.
Closes #3281.
Simon [Tue, 17 Jul 2018 21:26:38 +0000 (14:26 -0700)]
Minor update to address nits in review.
Homu [Tue, 17 Jul 2018 20:17:27 +0000 (13:17 -0700)]
Auto merge of #3263 - str4d:ibd-upstream-changes, r=bitcartel
InitialBlockDownload upstream changes
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#7208
- bitcoin/bitcoin#8007
- bitcoin/bitcoin#9053
- Excluding second commit (requires bitcoin/bitcoin#8865)
- bitcoin/bitcoin#10388
Simon [Tue, 17 Jul 2018 20:00:42 +0000 (13:00 -0700)]
Update and fix per review comments, the test for absurd fee.
Homu [Tue, 17 Jul 2018 18:41:03 +0000 (11:41 -0700)]
Auto merge of #3156 - Eirik0:2935-change-indicator, r=bitcartel
Add change indicator
This adds to the json returned when calling z_listreceivedbyaddress and z_listuspent an additional field entitiled 'change' which will be either true or false depending on whether or not the note was change from another transaction.
Pejvan [Tue, 17 Jul 2018 11:08:54 +0000 (13:08 +0200)]
Update README.md
updated to use parenthesis as suggested by @bitcartel
Larry Ruane [Tue, 17 Jul 2018 03:31:55 +0000 (21:31 -0600)]
add extra help how to enable experimental features
This page took 0.063728 seconds and 4 git commands to generate.