]> Git Repo - VerusCoin.git/log
VerusCoin.git
5 years agoAdd MIT license to autogen.sh and share/genbuild.sh
Luke Dashjr [Wed, 21 Sep 2016 22:35:21 +0000 (22:35 +0000)]
Add MIT license to autogen.sh and share/genbuild.sh

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoAdd MIT license to Makefiles
Daira Hopwood [Sun, 7 Apr 2019 18:56:45 +0000 (19:56 +0100)]
Add MIT license to Makefiles

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoAuto merge of #4053 - rex4539:shielded-funds, r=Eirik0
Homu [Wed, 17 Jul 2019 19:36:37 +0000 (12:36 -0700)]
Auto merge of #4053 - rex4539:shielded-funds, r=Eirik0

Fix naming inconsistency

Closes https://github.com/zcash/zcash/issues/3486

5 years agoAuto merge of #4054 - rex4539:haveshieldedrequirements, r=Eirik0
Homu [Thu, 11 Jul 2019 16:45:19 +0000 (09:45 -0700)]
Auto merge of #4054 - rex4539:haveshieldedrequirements, r=Eirik0

Rename joinsplit to shielded

Closes https://github.com/zcash/zcash/issues/3550

5 years agoAuto merge of #4055 - rex4539:rename-findwallettx, r=Eirik0
Homu [Wed, 10 Jul 2019 22:45:46 +0000 (15:45 -0700)]
Auto merge of #4055 - rex4539:rename-findwallettx, r=Eirik0

Rename FindWalletTx to FindWalletTxToZap

Closes https://github.com/zcash/zcash/issues/3572

5 years agoAuto merge of #4052 - rex4539:rename-vjoinsplit, r=Eirik0
Homu [Wed, 10 Jul 2019 18:59:23 +0000 (11:59 -0700)]
Auto merge of #4052 - rex4539:rename-vjoinsplit, r=Eirik0

Rename vjoinsplit to vJoinSplit

Closes https://github.com/zcash/zcash/issues/3188

5 years agoAuto merge of #4058 - daira:release-v2.0.6, r=daira
Homu [Thu, 20 Jun 2019 05:46:52 +0000 (22:46 -0700)]
Auto merge of #4058 - daira:release-v2.0.6, r=daira

Release v2.0.6

Test plan (ECC internal): https://docs.google.com/document/d/1EVDxdFRgQR5xBzA2wRsw02sb-yF2h26FyVnSjqfpayg/edit#

5 years agomake-release.py: Updated release notes and changelog for 2.0.6.
Daira Hopwood [Tue, 18 Jun 2019 23:28:06 +0000 (00:28 +0100)]
make-release.py: Updated release notes and changelog for 2.0.6.

5 years agomake-release.py: Updated manpages for 2.0.6.
Daira Hopwood [Tue, 18 Jun 2019 23:28:06 +0000 (00:28 +0100)]
make-release.py: Updated manpages for 2.0.6.

5 years agomake-release.py: Versioning changes for 2.0.6.
Daira Hopwood [Tue, 18 Jun 2019 23:27:11 +0000 (00:27 +0100)]
make-release.py: Versioning changes for 2.0.6.

5 years agoAdd coding declaration to zcutil/release-notes.py
Daira Hopwood [Tue, 18 Jun 2019 23:19:54 +0000 (00:19 +0100)]
Add coding declaration to zcutil/release-notes.py

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoAuto merge of #4057 - Eirik0:2.0.6-release-notes, r=daira
Homu [Tue, 18 Jun 2019 19:42:52 +0000 (12:42 -0700)]
Auto merge of #4057 - Eirik0:2.0.6-release-notes, r=daira

Notable changes for 2.0.6

5 years agoTweak author aliases.
Daira Hopwood [Tue, 18 Jun 2019 13:00:56 +0000 (14:00 +0100)]
Tweak author aliases.

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoNotable changes for 2.0.6
Eirik Ogilvie-Wigley [Mon, 17 Jun 2019 19:12:11 +0000 (13:12 -0600)]
Notable changes for 2.0.6

Co-authored-by: Daira Hopwood <[email protected]>
5 years agoRename FindWalletTx to FindWalletTxToZap
Dimitris Apostolou [Sun, 16 Jun 2019 20:06:45 +0000 (23:06 +0300)]
Rename FindWalletTx to FindWalletTxToZap

5 years agoRename joinsplit to shielded
Dimitris Apostolou [Sun, 16 Jun 2019 19:50:58 +0000 (22:50 +0300)]
Rename joinsplit to shielded

5 years agoFix naming inconsistency
Dimitris Apostolou [Sun, 16 Jun 2019 19:37:23 +0000 (22:37 +0300)]
Fix naming inconsistency

5 years agoRename vjoinsplit to vJoinSplit
Dimitris Apostolou [Sun, 16 Jun 2019 11:39:05 +0000 (14:39 +0300)]
Rename vjoinsplit to vJoinSplit

5 years agoAuto merge of #4049 - mms710:issue_3504_fix, r=Eirik0
Homu [Sat, 15 Jun 2019 14:20:34 +0000 (07:20 -0700)]
Auto merge of #4049 - mms710:issue_3504_fix, r=Eirik0

Fixes issue #3504

Changes the command to obtain the GCC version in the GitHub issue template to `gcc --version`, and adds a couple other useful commands.

5 years agold --version doesn't work on macOS.
Daira Hopwood [Fri, 14 Jun 2019 22:18:10 +0000 (23:18 +0100)]
ld --version doesn't work on macOS.

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoFixes issue #3504: Changes to --version and adds a couple other useful commands.
Mary Moore-Simmons [Fri, 14 Jun 2019 15:02:37 +0000 (09:02 -0600)]
Fixes issue #3504: Changes to --version and adds a couple other useful commands.

5 years agoAuto merge of #4048 - charlieok:add_stretch_suite_to_gitian_descriptors, r=mdr0id
Homu [Thu, 13 Jun 2019 21:49:25 +0000 (14:49 -0700)]
Auto merge of #4048 - charlieok:add_stretch_suite_to_gitian_descriptors, r=mdr0id

Add stretch to list of suites in gitian linux descriptors

We want to do reproducible builds for Debian stretch (9) in addition to Debian jessie (8).

5 years agoAdd stretch to list of suites in gitian linux descriptors
Charlie O'Keefe [Wed, 12 Jun 2019 23:41:38 +0000 (17:41 -0600)]
Add stretch to list of suites in gitian linux descriptors

5 years agoAuto merge of #4046 - daira:release-v2.0.6-rc1, r=mdr0id
Homu [Wed, 12 Jun 2019 18:06:16 +0000 (11:06 -0700)]
Auto merge of #4046 - daira:release-v2.0.6-rc1, r=mdr0id

Release v2.0.6-rc1

5 years agomake-release.py: Updated release notes and changelog for 2.0.6-rc1.
Daira Hopwood [Wed, 12 Jun 2019 15:36:57 +0000 (16:36 +0100)]
make-release.py: Updated release notes and changelog for 2.0.6-rc1.

5 years agomake-release.py: Updated manpages for 2.0.6-rc1.
Daira Hopwood [Wed, 12 Jun 2019 15:36:56 +0000 (16:36 +0100)]
make-release.py: Updated manpages for 2.0.6-rc1.

5 years agomake-release.py: Versioning changes for 2.0.6-rc1.
Daira Hopwood [Wed, 12 Jun 2019 15:32:57 +0000 (16:32 +0100)]
make-release.py: Versioning changes for 2.0.6-rc1.

5 years agoAuto merge of #3863 - LarryRuane:3708-getrawtransaction, r=daira
Homu [Tue, 11 Jun 2019 20:15:00 +0000 (13:15 -0700)]
Auto merge of #3863 - LarryRuane:3708-getrawtransaction, r=daira

add spentindex to getrawtransaction RPC results for bitcore block explorer

#3708 There are a few new `getrawtransaction` JSON result fields that the Insight block explorer depends on.

5 years agoAuto merge of #4019 - bitcartel:3992_remove_obsolete_warning, r=daira
Homu [Tue, 11 Jun 2019 18:29:30 +0000 (11:29 -0700)]
Auto merge of #4019 - bitcartel:3992_remove_obsolete_warning, r=daira

Closes #3992. Remove obsolete warning message.

Test plan: ensure that no message "%d of last 100 blocks above version %d" occurs in the log or on the metrics screen when syncing the block chain. Verify that this message *was* displayed previously for a sync from the same point.

5 years agoadd spentindex to getrawtransaction RPC results
Larry Ruane [Tue, 7 May 2019 22:18:06 +0000 (16:18 -0600)]
add spentindex to getrawtransaction RPC results

5 years agoCloses #3992. Remove obsolete warning message.
Daira Hopwood [Tue, 11 Jun 2019 16:27:49 +0000 (17:27 +0100)]
Closes #3992. Remove obsolete warning message.

Co-authored-by: Simon <[email protected]>
Signed-off-by: Daira Hopwood <[email protected]>
5 years agoAuto merge of #3910 - Eirik0:3909-fix-mergetoaddress, r=Eirik0
Homu [Mon, 10 Jun 2019 19:46:54 +0000 (12:46 -0700)]
Auto merge of #3910 - Eirik0:3909-fix-mergetoaddress, r=Eirik0

Fix z_mergetoaddress sending from ANY_SPROUT/ANY_SAPLING when the wallet contains both note types

Closes #3909

5 years agoClarify what combinations of from addresses can be used in z_mergetoaddress
Eirik0 [Thu, 6 Jun 2019 22:46:06 +0000 (16:46 -0600)]
Clarify what combinations of from addresses can be used in z_mergetoaddress

5 years agoFix z_mergetoaddress sending from ANY_SPROUT/ANY_SAPLING when the wallet contains...
Eirik0 [Fri, 22 Mar 2019 00:12:50 +0000 (18:12 -0600)]
Fix z_mergetoaddress sending from ANY_SPROUT/ANY_SAPLING when the wallet contains both note types

5 years agoAuto merge of #4041 - Eirik0:getmigrationstatus-help, r=str4d
Homu [Thu, 6 Jun 2019 22:23:50 +0000 (15:23 -0700)]
Auto merge of #4041 - Eirik0:getmigrationstatus-help, r=str4d

z_getmigrationstatus help message wording change

This is follow up from #4017

5 years agoz_getmigrationstatus help message wording change
Eirik0 [Thu, 6 Jun 2019 19:49:11 +0000 (13:49 -0600)]
z_getmigrationstatus help message wording change

5 years agoAuto merge of #4017 - bitcartel:fix_sapling_rpc_help_typo, r=Eirik0
Homu [Thu, 6 Jun 2019 01:27:22 +0000 (18:27 -0700)]
Auto merge of #4017 - bitcartel:fix_sapling_rpc_help_typo, r=Eirik0

Fix typo and clean up help message for RPC z_getmigrationstatus.

5 years agoAuto merge of #4036 - Eirik0:sprout-note-entry, r=Eirik0
Homu [Wed, 5 Jun 2019 21:13:08 +0000 (14:13 -0700)]
Auto merge of #4036 - Eirik0:sprout-note-entry, r=Eirik0

Replace CSproutNotePlaintextEntry with SproutNoteEntry to match Sapling

This refactoring makes the output of GetFilteredNotes safer to use, by setting the Sprout note at the point of decryption, where the corresponding address is already known, rather than having to recall it using the correct payment address.

5 years agoAuto merge of #2912 - str4d:2074-main-refactor-1, r=str4d
Homu [Tue, 28 May 2019 13:39:25 +0000 (06:39 -0700)]
Auto merge of #2912 - str4d:2074-main-refactor-1, r=str4d

Bitcoin Core refactoring and cleanups 1

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6538
- bitcoin/bitcoin#6163
- bitcoin/bitcoin#6982
- bitcoin/bitcoin#6986
- bitcoin/bitcoin#7053
- bitcoin/bitcoin#7444
- bitcoin/bitcoin#7793
  - Excluding some comments in `txmempool.h` on code we haven't yet pulled in.
- bitcoin/bitcoin#7916
- bitcoin/bitcoin#7815

Additionally, the Equihash parameters are moved into the consensus parameters, and
various other functions in `main.cpp` have `const CChainParams&` arguments added.

Part of #2074.

5 years agoAuto merge of #4032 - Eirik0:remove-unused-mergetoaddress-test, r=str4d
Homu [Tue, 28 May 2019 11:42:16 +0000 (04:42 -0700)]
Auto merge of #4032 - Eirik0:remove-unused-mergetoaddress-test, r=str4d

Remove old mergetoaddress RPC test

The test wallet_mergetoaddress.py is no longer run and has been replaced by mergetoaddress_sprout.py and mergetoaddress_sapling.py. It should have been removed as part of #3619, but was not.

5 years agoGlobals: Explicitly pass const CChainParams& to ReceivedBlockTransactions()
Jack Grigg [Mon, 29 Apr 2019 15:26:27 +0000 (16:26 +0100)]
Globals: Explicitly pass const CChainParams& to ReceivedBlockTransactions()

5 years agoGlobals: Explicitly pass const CChainParams& to IsInitialBlockDownload()
Jack Grigg [Tue, 2 Apr 2019 01:30:33 +0000 (02:30 +0100)]
Globals: Explicitly pass const CChainParams& to IsInitialBlockDownload()

5 years agoConsistently use chainparams and consensusParams
Jack Grigg [Tue, 2 Apr 2019 01:07:02 +0000 (02:07 +0100)]
Consistently use chainparams and consensusParams

5 years agoGlobals: Explicitly pass const CChainParams& to DisconnectBlock()
Jack Grigg [Thu, 14 Mar 2019 11:24:53 +0000 (11:24 +0000)]
Globals: Explicitly pass const CChainParams& to DisconnectBlock()

5 years agoGlobals: Explicit const CChainParams& arg for main:
Jack Grigg [Thu, 14 Mar 2019 11:18:32 +0000 (11:18 +0000)]
Globals: Explicit const CChainParams& arg for main:

- ContextualCheckBlockHeader
- ContextualCheckBlock

5 years agoGlobals: Explicitly pass const CChainParams& to ContextualCheckTransaction()
Jack Grigg [Thu, 14 Mar 2019 11:11:10 +0000 (11:11 +0000)]
Globals: Explicitly pass const CChainParams& to ContextualCheckTransaction()

5 years agoGlobals: Explicit const CChainParams& arg for main:
Jack Grigg [Thu, 14 Mar 2019 11:02:47 +0000 (11:02 +0000)]
Globals: Explicit const CChainParams& arg for main:

- CheckBlockHeader
- CheckBlock

5 years agoGlobals: Explicitly pass const CChainParams& to IsStandardTx()
Jack Grigg [Thu, 14 Mar 2019 10:57:14 +0000 (10:57 +0000)]
Globals: Explicitly pass const CChainParams& to IsStandardTx()

5 years agoGlobals: Remove Zcash-specific Params() calls from main.cpp
Jack Grigg [Fri, 9 Mar 2018 14:07:04 +0000 (14:07 +0000)]
Globals: Remove Zcash-specific Params() calls from main.cpp

5 years agoBreak circular dependency main ↔ txdb
Wladimir J. van der Laan [Tue, 5 Apr 2016 13:14:48 +0000 (15:14 +0200)]
Break circular dependency main ↔ txdb

Break the circular dependency between main and txdb by:

- Moving `CBlockFileInfo` from `main.h` to `chain.h`. I think this makes
  sense, as the other block-file stuff is there too.

- Moving `CDiskTxPos` from `main.h` to `txdb.h`. This type seems
  specific to txdb.

- Pass a functor `insertBlockIndex` to `LoadBlockIndexGuts`. This leaves
  it up to the caller how to insert block indices.

Zcash: This does not actually break the circular dependency for us yet, as we
still need to pull in bitcoin/bitcoin#7756 and bitcoin/bitcoin#7904.

5 years agoExplicitly pass CChainParams to ConnectBlock
face [Tue, 19 Apr 2016 13:16:39 +0000 (16:16 +0300)]
Explicitly pass CChainParams to ConnectBlock

5 years agoPass CChainParams to DisconnectTip()
face [Sun, 17 Apr 2016 07:58:50 +0000 (10:58 +0300)]
Pass CChainParams to DisconnectTip()

5 years agoGlobals: Explicitly pass const CChainParams& to UpdateTip()
Jorge Timón [Wed, 6 Apr 2016 14:36:32 +0000 (16:36 +0200)]
Globals: Explicitly pass const CChainParams& to UpdateTip()

5 years ago[doc] Fix doxygen comments for members
MarcoFalke [Sun, 3 Apr 2016 09:49:36 +0000 (11:49 +0200)]
[doc] Fix doxygen comments for members

5 years agoImprove block validity/ConnectBlock() comments
Peter Todd [Sun, 31 Jan 2016 05:40:23 +0000 (00:40 -0500)]
Improve block validity/ConnectBlock() comments

Previously didn't make clear that the ContextualCheckBlock* functions
meant the block headers as context - not the UTXO set itself - and that
ConnectBlock() also did UTXO-related validity checks (in the future we
may split that functionality into a separate UTXO-specific contextual
check block function).

Also, reordered to put validity checks first for better readability.

5 years agoGlobals: Remove a bunch of Params() calls from main.cpp:
Jorge Timón [Fri, 17 Apr 2015 12:40:24 +0000 (14:40 +0200)]
Globals: Remove a bunch of Params() calls from main.cpp:

1) Chainparams: Explicit CChainParams arg for main:

-AcceptBlock
-AcceptBlockHeader
-ActivateBestChain
-ConnectTip
-InitBlockIndex
-LoadExternalBlockFile
-VerifyDB parametric constructor

2) Also pickup more Params()\. in main.cpp

3) Pass nPruneAfterHeight explicitly to new FindFilesToPrune() in main.cpp

5 years agoChainparams: Explicit CChainParams arg for miner:
Jorge Timón [Fri, 17 Apr 2015 12:19:52 +0000 (14:19 +0200)]
Chainparams: Explicit CChainParams arg for miner:

-BitcoinMiner
-CreateNewBlock
-GenerateBitcoins
-ProcessBlockFound

5 years agoChainparams: Explicit CChainParams arg for main (pre miner):
Jorge Timón [Sun, 19 Apr 2015 22:17:11 +0000 (00:17 +0200)]
Chainparams: Explicit CChainParams arg for main (pre miner):

-ProcessNewBlock
-TestBlockValidity

5 years agoGlobals: Make AcceptBlockHeader static (Fix #6163)
Jorge Timón [Tue, 10 Nov 2015 18:28:56 +0000 (19:28 +0100)]
Globals: Make AcceptBlockHeader static (Fix #6163)

..and at the same time prevent AcceptBlockHeader() from calling global function Params()

5 years agoGlobals: Explicit Consensus::Params arg for main:
Jorge Timón [Fri, 17 Apr 2015 12:19:21 +0000 (14:19 +0200)]
Globals: Explicit Consensus::Params arg for main:

-CheckBlockIndex
-DisconnectTip
-GetTransaction
-InvalidateBlock
-ProcessGetData
-ReadBlockFromDisk

5 years agoMove Equihash parameters into consensus params
Jack Grigg [Fri, 26 Jan 2018 23:31:44 +0000 (23:31 +0000)]
Move Equihash parameters into consensus params

5 years agoAdd some const declarations where they are appropriate.
Daniel Kraft [Sat, 8 Aug 2015 16:18:41 +0000 (18:18 +0200)]
Add some const declarations where they are appropriate.

Declare some arguments of functions as "const" pointers where they are
not meant to be modified.

5 years agoReplace CSproutNotePlaintextEntry with SproutNoteEntry to match Sapling
Eirik0 [Thu, 23 May 2019 15:24:46 +0000 (09:24 -0600)]
Replace CSproutNotePlaintextEntry with SproutNoteEntry to match Sapling

5 years agoAuto merge of #4031 - Eirik0:2.0.6-author-aliases, r=str4d
Homu [Thu, 23 May 2019 13:16:40 +0000 (06:16 -0700)]
Auto merge of #4031 - Eirik0:2.0.6-author-aliases, r=str4d

Update author aliases

Alphabetized the existing aliases and added:

- 'Eirik0': 'Eirik Ogilvie-Wigley'
- 'mdr0id': 'Marshall Gaucher'
- 'paveljanik': 'Pavel Janik'
- 'zebambam': 'Benjamin Winston'

5 years agoAuto merge of #4014 - zebambam:add_bitcoinabc_responsible_disclosure_relationship...
Homu [Thu, 23 May 2019 03:03:45 +0000 (20:03 -0700)]
Auto merge of #4014 - zebambam:add_bitcoinabc_responsible_disclosure_relationship, r=Eirik0

Fixes #4013, added BitcoinABC as a disclosure partner

I've tried to avoid using "partner" as a term in general because it's not accurate, but it's quicker to type. We intend to share any vulns we become aware of in our bitcoin code with at least BitcoinABC.

5 years agoRemove old mergetoaddress RPC test
Eirik0 [Wed, 22 May 2019 22:01:50 +0000 (16:01 -0600)]
Remove old mergetoaddress RPC test

5 years agoUpdate author aliases
Eirik0 [Wed, 22 May 2019 21:47:05 +0000 (15:47 -0600)]
Update author aliases

5 years agoAuto merge of #4008 - Eirik0:3971-fix-comment, r=Eirik0
Homu [Thu, 16 May 2019 21:00:33 +0000 (14:00 -0700)]
Auto merge of #4008 - Eirik0:3971-fix-comment, r=Eirik0

Fix tree depth in comment

Closes #3971

5 years agoFix typo and clean up help message for RPC z_getmigrationstatus.
Simon [Wed, 15 May 2019 18:06:37 +0000 (11:06 -0700)]
Fix typo and clean up help message for RPC z_getmigrationstatus.

5 years agoAuto merge of #4016 - Eirik0:release-v2.0.5-2, r=Eirik0
Homu [Wed, 15 May 2019 17:31:07 +0000 (10:31 -0700)]
Auto merge of #4016 - Eirik0:release-v2.0.5-2, r=Eirik0

Release v2.0.5 2

5 years agoUpdate ZIP reference
Eirik0 [Wed, 15 May 2019 16:45:25 +0000 (10:45 -0600)]
Update ZIP reference

5 years agomake-release.py: Updated release notes and changelog for 2.0.5-2.
Eirik0 [Wed, 15 May 2019 15:56:01 +0000 (09:56 -0600)]
make-release.py: Updated release notes and changelog for 2.0.5-2.

5 years agomake-release.py: Updated manpages for 2.0.5-2.
Eirik0 [Wed, 15 May 2019 15:56:01 +0000 (09:56 -0600)]
make-release.py: Updated manpages for 2.0.5-2.

5 years agomake-release.py: Versioning changes for 2.0.5-2.
Eirik0 [Wed, 15 May 2019 15:49:44 +0000 (09:49 -0600)]
make-release.py: Versioning changes for 2.0.5-2.

5 years agoAuto merge of #4009 - Eirik0:2.0.5-2_release_notes, r=Eirik0
Homu [Wed, 15 May 2019 03:20:15 +0000 (20:20 -0700)]
Auto merge of #4009 - Eirik0:2.0.5-2_release_notes, r=Eirik0

Notable changes for v2.0.5-2

5 years agoRelease notes wording and punctuation
Eirik0 [Tue, 14 May 2019 19:31:25 +0000 (13:31 -0600)]
Release notes wording and punctuation

5 years agoNotable changes for v2.0.5-2
Eirik0 [Tue, 14 May 2019 17:24:19 +0000 (11:24 -0600)]
Notable changes for v2.0.5-2

5 years agoFixes #4013, added BitcoinABC as a disclosure partner
zebambam [Tue, 14 May 2019 14:51:08 +0000 (07:51 -0700)]
Fixes #4013, added BitcoinABC as a disclosure partner

5 years agoAuto merge of #4002 - Eirik0:migration-status-info, r=Eirik0
Homu [Mon, 13 May 2019 15:18:08 +0000 (08:18 -0700)]
Auto merge of #4002 - Eirik0:migration-status-info, r=Eirik0

Add Logging and persist async operation for Sapling migration

Currently zcashd will automatically remove the last async migration operations when it reaches the height where it sends the transactions it just made. This is not in alignment with other async operations, which are not removed until a node is restarted or a user calls `z_getoperationresult`. This PR removes the calls to pop the operations so that they can be accessed and reviewed later. In this PR I also correct the operation's `amount_migrated` field to exclude the transaction fee (this field existed for debugging purposes, but should be consistent with `z_getmigrationstatus`), and have included the list of migration txids in the operation's result (this is similar to the async rpcs such as `z_sendmany`).

Documentation: none needed.

Test plan:
* After migration transactions have been created, list the opids and call `z_getoperationresult` on them.
* Check that the operations' `amount_migrated` fields exclude the fee.

5 years agoFix LogPrint statements
Eirik0 [Fri, 10 May 2019 19:29:50 +0000 (13:29 -0600)]
Fix LogPrint statements

5 years agoAdd logging for Sprout to Sapling migration transaction generation
Eirik0 [Thu, 9 May 2019 21:13:10 +0000 (15:13 -0600)]
Add logging for Sprout to Sapling migration transaction generation

5 years agoDo not automatically remove async migration operations and return txids
Eirik0 [Thu, 9 May 2019 17:56:37 +0000 (11:56 -0600)]
Do not automatically remove async migration operations and return txids

5 years agoAuto merge of #4005 - daira:migration-expiration, r=Eirik0
Homu [Fri, 10 May 2019 19:31:45 +0000 (12:31 -0700)]
Auto merge of #4005 - daira:migration-expiration, r=Eirik0

 Change expiry delta for migration transactions to 450 blocks

Documentation: to be done as part of the ZIP 308 update (zcash/zips#229).

Test plan: manually check that migration transactions have the expected expiry height, using getrawtransaction $TXID 1.

Closes #3999

5 years agoFix tree depth in comment
Eirik0 [Fri, 10 May 2019 18:58:11 +0000 (12:58 -0600)]
Fix tree depth in comment

5 years agoFix cosmetic spacing issue in z_setmigration help.
Daira Hopwood [Fri, 10 May 2019 15:08:03 +0000 (16:08 +0100)]
Fix cosmetic spacing issue in z_setmigration help.

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoTest the expiry height of migration transactions.
Daira Hopwood [Fri, 10 May 2019 12:48:24 +0000 (13:48 +0100)]
Test the expiry height of migration transactions.

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoChange expiry delta for migration transactions to 450 blocks.
Daira Hopwood [Fri, 10 May 2019 10:41:44 +0000 (11:41 +0100)]
Change expiry delta for migration transactions to 450 blocks.

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoRepair calls to TransactionBuilder from tests.
Daira Hopwood [Fri, 10 May 2019 10:39:57 +0000 (11:39 +0100)]
Repair calls to TransactionBuilder from tests.

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoGeneralize TransactionBuilder and CreateNewContextualCMutableTransaction to allow...
Daira Hopwood [Fri, 10 May 2019 10:39:03 +0000 (11:39 +0100)]
Generalize TransactionBuilder and CreateNewContextualCMutableTransaction to allow choosing the expiry delta.

Signed-off-by: Daira Hopwood <[email protected]>
5 years agoAuto merge of #3995 - bitcartel:no_migration_during_block_download_phase, r=Eirik0
Homu [Thu, 9 May 2019 20:51:49 +0000 (13:51 -0700)]
Auto merge of #3995 - bitcartel:no_migration_during_block_download_phase, r=Eirik0

Don't allow Sprout-to-Sapling migration when syncing during IBD or after wake from sleep.

Prevent migration transactions from being created in response to incoming blocks when a node launches and syncs (the initial block download phase) and when a node wakes from sleep/hibernation and starts syncing old blocks rapidly.

5 years agoAuto merge of #3997 - bitcartel:transaction_builder_tiny_format_error, r=Eirik0
Homu [Thu, 9 May 2019 18:26:33 +0000 (11:26 -0700)]
Auto merge of #3997 - bitcartel:transaction_builder_tiny_format_error, r=Eirik0

Remove unused specifier from format string

The extra specifier meant that a runtime error would be thrown during Sprout to Sapling migration, if `zrpcunsafe` logging was enabled, preventing migration transactions from being created.

5 years agoDon't allow migration when node is syncing at launch or after waking up.
Simon [Thu, 9 May 2019 16:32:09 +0000 (09:32 -0700)]
Don't allow migration when node is syncing at launch or after waking up.

5 years agoRemove unused specifier from format string.
Simon [Thu, 9 May 2019 03:32:04 +0000 (20:32 -0700)]
Remove unused specifier from format string.

The extra specifier meant that a runtime error would be thrown
during Sprout to Sapling migration if `zrpcunsafe` logging
was enabled:
"tinyformat: Too many conversion specifiers in format string"

5 years agoAuto merge of #3994 - Eirik0:release-v2.0.5-1, r=Eirik0
Homu [Wed, 8 May 2019 14:45:09 +0000 (07:45 -0700)]
Auto merge of #3994 - Eirik0:release-v2.0.5-1, r=Eirik0

Release v2.0.5-1

5 years agomake-release.py: Updated release notes and changelog for 2.0.5-1.
Eirik0 [Wed, 8 May 2019 12:57:28 +0000 (06:57 -0600)]
make-release.py: Updated release notes and changelog for 2.0.5-1.

5 years agomake-release.py: Updated manpages for 2.0.5-1.
Eirik0 [Wed, 8 May 2019 12:57:28 +0000 (06:57 -0600)]
make-release.py: Updated manpages for 2.0.5-1.

5 years agomake-release.py: Versioning changes for 2.0.5-1.
Eirik0 [Wed, 8 May 2019 12:50:57 +0000 (06:50 -0600)]
make-release.py: Versioning changes for 2.0.5-1.

5 years agoAuto merge of #3990 - Eirik0:fix-migration-amount, r=Eirik0
Homu [Wed, 8 May 2019 03:57:30 +0000 (20:57 -0700)]
Auto merge of #3990 - Eirik0:fix-migration-amount, r=Eirik0

Fix calculating amount to migrate

5 years agocoinsView is required when using TransactionBuilder if there may be Sprout change
Eirik0 [Tue, 7 May 2019 18:02:54 +0000 (12:02 -0600)]
coinsView is required when using TransactionBuilder if there may be Sprout change

5 years agoAdd the amount migrated to the operation's result
Eirik0 [Tue, 7 May 2019 14:58:23 +0000 (08:58 -0600)]
Add the amount migrated to the operation's result

This page took 0.064593 seconds and 4 git commands to generate.