]> Git Repo - VerusCoin.git/log
VerusCoin.git
8 years agoAdd a make command for checking expected failures
Jack Grigg [Fri, 23 Sep 2016 00:32:59 +0000 (12:32 +1200)]
Add a make command for checking expected failures

8 years agoAuto merge of #1411 - bitcartel:master_bitcoin_7106, r=daira
zkbot [Tue, 20 Sep 2016 23:41:00 +0000 (19:41 -0400)]
Auto merge of #1411 - bitcartel:master_bitcoin_7106, r=daira

Upstream patch: Fix and improve relay from whitelisted peers

https://github.com/bitcoin/bitcoin/pull/7106
a9f3d3db5c0c8d1697998ed9b3e192ddbf9a31f4

An extra commit modifies the log message string, otherwise there are are a number of commits that need be to backported to add methods e.g. GetDebugMessage.  These commits modify the interface in consensus/validation.h so there are conflicts to be resolved. e.g.
9003c7c
a9ac95c
5f12263
fbf44e6

8 years agoAuto merge of #1407 - bitcartel:master_bitcoin_7079, r=daira
zkbot [Tue, 20 Sep 2016 23:11:28 +0000 (19:11 -0400)]
Auto merge of #1407 - bitcartel:master_bitcoin_7079, r=daira

Upstream patch: Prevent peer flooding inv request queue

https://github.com/bitcoin/bitcoin/pull/7079
5029698186445bf3cd69d0e720f019c472661bff
ebb25f4c23adbcb55796c402bafd6064a136f16f

8 years agoBenchmark 50 iterations of solveequihash
Daira Hopwood [Mon, 19 Sep 2016 18:08:24 +0000 (19:08 +0100)]
Benchmark 50 iterations of solveequihash

Since the parameters changed in z8, the benchmark on speed.z.cash is showing misleading results due to variability. (The quartile and extrema bars will still show the variability with 50 runs, they just won't jump around as much between benchmark data points.)

8 years agoReplace %i format specifier with more commonly used %d.
Simon [Mon, 19 Sep 2016 16:36:26 +0000 (09:36 -0700)]
Replace %i format specifier with more commonly used %d.

8 years agoLink to beta guide
Bryan Stitt [Sat, 17 Sep 2016 23:05:58 +0000 (16:05 -0700)]
Link to beta guide

8 years agoModify message string so we don't need to backport commits which implement FormatStat...
<[email protected]> [Sat, 17 Sep 2016 00:51:46 +0000 (17:51 -0700)]
Modify message string so we don't need to backport commits which implement FormatStateMessage and GetDebugMessage and involve changes to consensus/validation.h

8 years agoFix and improve relay from whitelisted peers
Pieter Wuille [Thu, 26 Nov 2015 21:05:34 +0000 (22:05 +0100)]
Fix and improve relay from whitelisted peers

This makes sure that retransmits by a whitelisted peer also actually
result in a retransmit.

Further, this changes the logic to never relay in case we would assign
a DoS score, as we expect to get DoS banned ourselves as a result.

8 years agoLimit setAskFor and retire requested entries only when a getdata returns.
Gregory Maxwell [Mon, 23 Nov 2015 01:54:23 +0000 (01:54 +0000)]
Limit setAskFor and retire requested entries only when a getdata returns.

The setAskFor duplicate elimination was too eager and removed entries
 when we still had no getdata response, allowing the peer to keep
 INVing and not responding.

8 years agoprevent peer flooding request queue for an inv
kazcw [Wed, 16 Jul 2014 21:31:41 +0000 (14:31 -0700)]
prevent peer flooding request queue for an inv

mapAlreadyAskedFor does not keep track of which peer has a request queued for a
particular tx. As a result, a peer can blind a node to a tx indefinitely by
sending many invs for the same tx, and then never replying to getdatas for it.
Each inv received will be placed 2 minutes farther back in mapAlreadyAskedFor,
so a short message containing 10 invs would render that tx unavailable for 20
minutes.

This is fixed by disallowing a peer from having more than one entry for a
particular inv in mapAlreadyAskedFor at a time.

8 years agoUpdating wording to match Beta Guide
Alfie John [Thu, 15 Sep 2016 12:00:13 +0000 (22:00 +1000)]
Updating wording to match Beta Guide

8 years agoTypo in params README
Alfie John [Thu, 15 Sep 2016 11:58:55 +0000 (21:58 +1000)]
Typo in params README

8 years agoCloses #1371 by updating signed message
<[email protected]> [Mon, 12 Sep 2016 18:01:28 +0000 (11:01 -0700)]
Closes #1371 by updating signed message

8 years agoAdd release notes for 1.0.0-beta1. v1.0.0-beta1
Sean Bowe [Fri, 9 Sep 2016 06:41:41 +0000 (00:41 -0600)]
Add release notes for 1.0.0-beta1.

8 years agoUpdate pchMessageStart and add testnet DNS boostrapper.
Sean Bowe [Fri, 9 Sep 2016 06:37:49 +0000 (00:37 -0600)]
Update pchMessageStart and add testnet DNS boostrapper.

8 years agoChange version to 1.0.0. This is just a beta.
Sean Bowe [Fri, 9 Sep 2016 06:32:19 +0000 (00:32 -0600)]
Change version to 1.0.0. This is just a beta.

8 years agoRemove .z# suffix from version
Jack Grigg [Fri, 9 Sep 2016 04:29:39 +0000 (16:29 +1200)]
Remove .z# suffix from version

8 years agoReplace GetTxid() with GetHash()
Simon [Fri, 9 Sep 2016 04:54:34 +0000 (21:54 -0700)]
Replace GetTxid() with GetHash()

8 years agoImprove check that user supplied memo field is too long.
Simon [Fri, 9 Sep 2016 03:46:39 +0000 (20:46 -0700)]
Improve check that user supplied memo field is too long.

8 years agoRemove line of commented out code we don't need
Simon [Fri, 9 Sep 2016 03:15:24 +0000 (20:15 -0700)]
Remove line of commented out code we don't need

8 years agoUpdate comment with ticket issue number
Simon [Fri, 9 Sep 2016 03:14:59 +0000 (20:14 -0700)]
Update comment with ticket issue number

8 years agoAdd assert
Simon [Thu, 8 Sep 2016 23:46:56 +0000 (16:46 -0700)]
Add assert

8 years agoFix formatting
Simon [Thu, 8 Sep 2016 23:41:29 +0000 (16:41 -0700)]
Fix formatting

8 years agoUse zcash constants
Simon [Thu, 8 Sep 2016 23:40:31 +0000 (16:40 -0700)]
Use zcash constants

8 years agoImprove error reporting when attempting to spend coinbase utxos.
Simon [Thu, 8 Sep 2016 22:05:37 +0000 (15:05 -0700)]
Improve error reporting when attempting to spend coinbase utxos.

8 years agoAdd assert for two mutually exclusive member variables.
Simon [Thu, 8 Sep 2016 22:03:20 +0000 (15:03 -0700)]
Add assert for two mutually exclusive member variables.

8 years agoAdd ticket number to issues raised in comment.
Simon [Thu, 8 Sep 2016 20:25:08 +0000 (13:25 -0700)]
Add ticket number to issues raised in comment.

8 years agoRemove unused varible.
Simon [Thu, 8 Sep 2016 19:34:01 +0000 (12:34 -0700)]
Remove unused varible.

8 years agoAdd lock for member variables.
Simon [Thu, 8 Sep 2016 19:32:29 +0000 (12:32 -0700)]
Add lock for member variables.
Clean up and clarify that id_ and creation_time_ are never to be mutated anywhere.
Fix incomplete copy/assignment constructors.

8 years agoFormatting and updated test per review.
Simon [Thu, 8 Sep 2016 18:06:18 +0000 (11:06 -0700)]
Formatting and updated test per review.

8 years agoFix incorrect default value for argument of GetFilteredNotes.
Simon [Thu, 8 Sep 2016 06:36:40 +0000 (23:36 -0700)]
Fix incorrect default value for argument of GetFilteredNotes.

8 years agoUpdate log statement to include fee.
Simon [Thu, 8 Sep 2016 06:35:24 +0000 (23:35 -0700)]
Update log statement to include fee.

8 years agoFix formatting
Simon [Thu, 8 Sep 2016 06:07:05 +0000 (23:07 -0700)]
Fix formatting

8 years agoAdd test for calling RPC z_getbalance, z_gettotalbalance, z_listreceivedbyaddress...
Simon [Thu, 8 Sep 2016 06:01:32 +0000 (23:01 -0700)]
Add test for calling RPC z_getbalance, z_gettotalbalance, z_listreceivedbyaddress with invalid parameters.

8 years agoAdd extra RPC parameter checks for minconf<0 and zaddr not belonging to wallet.
Simon [Thu, 8 Sep 2016 06:00:47 +0000 (23:00 -0700)]
Add extra RPC parameter checks for minconf<0 and zaddr not belonging to wallet.

8 years agoReplace unique_lock with lock_guard, where appropriate, for consistency
Simon [Thu, 8 Sep 2016 04:51:49 +0000 (21:51 -0700)]
Replace unique_lock with lock_guard, where appropriate, for consistency

8 years agoAdd lock guard to getNumberOfWorkers()
Simon [Thu, 8 Sep 2016 04:48:49 +0000 (21:48 -0700)]
Add lock guard to getNumberOfWorkers()

8 years agoFix formatting
Simon [Thu, 8 Sep 2016 04:47:45 +0000 (21:47 -0700)]
Fix formatting

8 years agoMove lock guard to start of addOperation to protect isClosed() and isFinishing()
Simon [Thu, 8 Sep 2016 04:46:32 +0000 (21:46 -0700)]
Move lock guard to start of addOperation to protect isClosed() and isFinishing()

8 years agoUpdate formatting and documentation.
Simon [Thu, 8 Sep 2016 02:39:33 +0000 (19:39 -0700)]
Update formatting and documentation.

8 years agoAdd 'DEPRECATED' to help message of zcraw* commands
Simon [Thu, 8 Sep 2016 02:23:24 +0000 (19:23 -0700)]
Add 'DEPRECATED' to help message of zcraw* commands

8 years agoAdd z_listreceivedbyaddress RPC call
Simon [Wed, 7 Sep 2016 23:09:16 +0000 (16:09 -0700)]
Add z_listreceivedbyaddress RPC call

8 years agoRename GetUnspentNotes to GetFilteredNotes
Simon [Wed, 7 Sep 2016 23:07:26 +0000 (16:07 -0700)]
Rename GetUnspentNotes to GetFilteredNotes

Added parameter to ignore spent notes, which is true by default.

8 years agoDisable z_sendmany in safe mode
Simon [Wed, 7 Sep 2016 22:39:23 +0000 (15:39 -0700)]
Disable z_sendmany in safe mode

8 years agoAdd more logging.
Simon [Wed, 7 Sep 2016 21:36:18 +0000 (14:36 -0700)]
Add more logging.

8 years agoRefactor async sendmany and getbalance calls to use GetUnspentNotes().
Simon [Wed, 7 Sep 2016 18:54:26 +0000 (11:54 -0700)]
Refactor async sendmany and getbalance calls to use GetUnspentNotes().

8 years agoAdd test for GetUnspentNotes() in wallet.
Simon [Wed, 7 Sep 2016 18:53:22 +0000 (11:53 -0700)]
Add test for GetUnspentNotes() in wallet.

8 years agoAdd GetUnspentNotes to wallet.
Simon [Wed, 7 Sep 2016 18:52:32 +0000 (11:52 -0700)]
Add GetUnspentNotes to wallet.

8 years agoAdd tests to try and improve coverage of perform_joinsplit.
Simon [Wed, 7 Sep 2016 18:51:29 +0000 (11:51 -0700)]
Add tests to try and improve coverage of perform_joinsplit.

8 years agoReplace zcashParams_ with global.
Simon [Wed, 7 Sep 2016 15:34:55 +0000 (08:34 -0700)]
Replace zcashParams_ with global.

8 years agoRevert "Reduce use of global pzcashParams with private member variable"
Simon [Wed, 7 Sep 2016 15:29:13 +0000 (08:29 -0700)]
Revert "Reduce use of global pzcashParams with private member variable"

This reverts commit 4d71ba58d37eb4f93d68b5e437086ce14fb24825.

8 years agoReduce use of global pzcashParams with private member variable
Simon [Wed, 7 Sep 2016 05:59:14 +0000 (22:59 -0700)]
Reduce use of global pzcashParams with private member variable

8 years agoDisable proof generation when testmode is enabled in async SendMany operation.
Simon [Wed, 7 Sep 2016 05:55:08 +0000 (22:55 -0700)]
Disable proof generation when testmode is enabled in async SendMany operation.

8 years agoFix typo in error message
Simon [Wed, 7 Sep 2016 05:52:34 +0000 (22:52 -0700)]
Fix typo in error message

8 years agoAdd z_getbalance and z_gettotalbalance RPC calls to close #1201.
Simon [Tue, 6 Sep 2016 22:15:33 +0000 (15:15 -0700)]
Add z_getbalance and z_gettotalbalance RPC calls to close #1201.

8 years agoAdd friend class for testing private members of AsyncRPCOperation_sendmany.
Simon [Tue, 6 Sep 2016 07:06:12 +0000 (00:06 -0700)]
Add friend class for testing private members of AsyncRPCOperation_sendmany.

8 years agoAdd extra checking of memo data in hexadecimal string format.
Simon [Tue, 6 Sep 2016 02:38:56 +0000 (19:38 -0700)]
Add extra checking of memo data in hexadecimal string format.

8 years agoAdd logging under the category "asyncrpc".
Simon [Mon, 5 Sep 2016 18:31:51 +0000 (11:31 -0700)]
Add logging under the category "asyncrpc".

8 years agoRemove redundant call.
Simon [Mon, 5 Sep 2016 16:05:22 +0000 (09:05 -0700)]
Remove redundant call.

8 years agoAdd tests for async queue and rpc commands: z_getoperationstatus, z_getoperationresul...
Simon [Mon, 5 Sep 2016 06:18:26 +0000 (23:18 -0700)]
Add tests for async queue and rpc commands: z_getoperationstatus, z_getoperationresult, z_listoperationids, z_sendmany

8 years agoRemove redundant check when getting spending key for a payment address.
Simon [Mon, 5 Sep 2016 02:08:12 +0000 (19:08 -0700)]
Remove redundant check when getting spending key for a payment address.

8 years agoUpdate RPCServer to use AsyncRPCQueue's shared queue.
Simon [Sun, 4 Sep 2016 15:13:56 +0000 (08:13 -0700)]
Update RPCServer to use AsyncRPCQueue's shared queue.

8 years agoAdd shared queue to AsynRPCQueue.
Simon [Sun, 4 Sep 2016 15:12:46 +0000 (08:12 -0700)]
Add shared queue to AsynRPCQueue.

8 years agoAdd test for AsyncRPCQueue and AsyncRPCOperation.
Simon [Sun, 4 Sep 2016 05:25:13 +0000 (22:25 -0700)]
Add test for AsyncRPCQueue and AsyncRPCOperation.

8 years agoClear the operation queue when closing it.
Simon [Sun, 4 Sep 2016 05:24:03 +0000 (22:24 -0700)]
Clear the operation queue when closing it.

8 years agoRefactor to use wallet note tracking from commit a72379
Simon [Sat, 3 Sep 2016 21:13:27 +0000 (14:13 -0700)]
Refactor to use wallet note tracking from commit a72379

8 years agoFix bug where wallet was not persisting witnesses to disk.
Simon [Sat, 3 Sep 2016 16:51:17 +0000 (09:51 -0700)]
Fix bug where wallet was not persisting witnesses to disk.
Author: str4d

8 years agoAdded option to close a queue and wait for queued up operations to finish,
Simon [Sat, 3 Sep 2016 02:21:42 +0000 (19:21 -0700)]
Added option to close a queue and wait for queued up operations to finish,
rather than just closing a queue and immediately cancelling all operations.

8 years agoFix bug where call to sign and send a transaction was in wrong scope.
Simon [Fri, 2 Sep 2016 15:52:44 +0000 (08:52 -0700)]
Fix bug where call to sign and send a transaction was in wrong scope.

8 years agoCoinbase utxos can only be spent when sending to a single zaddr.
Simon [Fri, 2 Sep 2016 02:58:42 +0000 (19:58 -0700)]
Coinbase utxos can only be spent when sending to a single zaddr.
Change from the transaction will be sent to the same zaddr.

8 years agoDisable option to allow multiple async rpc workers.
Simon [Fri, 2 Sep 2016 00:02:11 +0000 (17:02 -0700)]
Disable option to allow multiple async rpc workers.

8 years agoAdd chaining of JoinSplits within a transaction.
Simon [Thu, 1 Sep 2016 22:29:31 +0000 (15:29 -0700)]
Add chaining of JoinSplits within a transaction.

8 years agoCloses #1293 by adding z_getoperationresult and making z_getoperationstatus idempotent.
Simon [Tue, 30 Aug 2016 23:03:38 +0000 (16:03 -0700)]
Closes #1293 by adding z_getoperationresult and making z_getoperationstatus idempotent.

8 years agoRefactoring and small improvements to async rpc operations.
Simon [Mon, 29 Aug 2016 02:50:39 +0000 (19:50 -0700)]
Refactoring and small improvements to async rpc operations.

Added AsyncRPCQueue::closeAndWait() so rpcserver can block on worker threads when shutting down.
AsyncRPCOperation is no longer copyable - copy constructor and assignment operators now private.
Refactoring: renamed methods, renamed member variables
Tidy up: comments, const, size_t, braces

8 years agoImplement RPC call z_listoperationids and update z_getoperationstatus to take a list...
Simon [Mon, 22 Aug 2016 16:18:44 +0000 (09:18 -0700)]
Implement RPC call z_listoperationids and update z_getoperationstatus to take a list parameter.

8 years agoAdd public method to AsycnRPCQueue to retrieve all the known operation ids.
Simon [Mon, 22 Aug 2016 16:16:01 +0000 (09:16 -0700)]
Add public method to AsycnRPCQueue to retrieve all the known operation ids.

8 years agoAdd public method to get state as a human readable string from an AsyncRPCOperation.
Simon [Mon, 22 Aug 2016 16:15:22 +0000 (09:15 -0700)]
Add public method to get state as a human readable string from an AsyncRPCOperation.

8 years agoSuccessful result of z_sendmany returns txid so it doesn't need to return raw hex.
Simon [Mon, 22 Aug 2016 16:14:04 +0000 (09:14 -0700)]
Successful result of z_sendmany returns txid so it doesn't need to return raw hex.

8 years agoz_sendmany from a taddr now routes change to a new address instead of back to the...
Simon [Mon, 22 Aug 2016 06:57:12 +0000 (23:57 -0700)]
z_sendmany from a taddr now routes change to a new address instead of back to the sender's taddr,

8 years agoUpdate find_unspent_notes() as mapNoteAddrs_t has been replaced by mapNoteData_t.
Simon [Sun, 21 Aug 2016 07:15:14 +0000 (00:15 -0700)]
Update find_unspent_notes() as mapNoteAddrs_t has been replaced by mapNoteData_t.

8 years agoImplement z_sendmany RPC call.
Simon [Sun, 21 Aug 2016 05:54:40 +0000 (22:54 -0700)]
Implement z_sendmany RPC call.

Simple implementation does not try to optimize coin or note selection.
Caller can send from a taddr or zaddr to multiple recipients.
Currently only one of the recipients can be a zaddr.

8 years agoAdd public field 'memo' to JSOutput to enable creation of notes with custom memos.
Simon [Sun, 21 Aug 2016 02:53:35 +0000 (19:53 -0700)]
Add public field 'memo' to JSOutput to enable creation of notes with custom memos.

8 years agoAdd config option 'rpcasyncthreads' to specify number of async rpc workers. Default...
Simon [Fri, 19 Aug 2016 19:25:33 +0000 (12:25 -0700)]
Add config option 'rpcasyncthreads' to specify number of async rpc workers. Default is 1.

8 years agoAdd prefix to async operation id so it is easier to manage on cli.
Simon [Fri, 19 Aug 2016 19:23:46 +0000 (12:23 -0700)]
Add prefix to async operation id so it is easier to manage on cli.

8 years agoAdd async RPC queue and operation classes.
Simon [Tue, 16 Aug 2016 17:33:04 +0000 (10:33 -0700)]
Add async RPC queue and operation classes.
Add z_getoperationstatus RPC command.
Add z_sendmany RPC command (dummy implementation, does not send actual
coins).

8 years agoAdd tests for refactored wallet code
Jack Grigg [Tue, 6 Sep 2016 22:55:07 +0000 (10:55 +1200)]
Add tests for refactored wallet code

8 years agoRefactor wallet note code for testing
Jack Grigg [Tue, 6 Sep 2016 22:11:04 +0000 (10:11 +1200)]
Refactor wallet note code for testing

8 years agoAuto merge of #1338 - str4d:147-tweak-difficulty-adjustment-algorithm, r=ebfull
zkbot [Thu, 8 Sep 2016 02:21:13 +0000 (02:21 +0000)]
Auto merge of #1338 - str4d:147-tweak-difficulty-adjustment-algorithm, r=ebfull

Tweaks to difficulty adjustment algorithm

This PR changes the difficulty algorithm to adjust from the average difficulty over the
block window instead of from the last difficulty. It also removes the special rules for the
testnet, which are incompatible with difficulty averaging.

Closes #147 again.

8 years agoAuto merge of #1355 - bitcartel:zc.v0.11.2.latest_paymentapi, r=ebfull
zkbot [Thu, 8 Sep 2016 01:40:49 +0000 (01:40 +0000)]
Auto merge of #1355 - bitcartel:zc.v0.11.2.latest_paymentapi, r=ebfull

Update payment API documentation for beta 1

Remove 'not in alpha 9' labels as RPC calls are now implemented.

8 years agoAdjust test to account for integer division precision loss
Jack Grigg [Thu, 8 Sep 2016 00:46:00 +0000 (12:46 +1200)]
Adjust test to account for integer division precision loss

8 years agoRemove unnecessary method
Jack Grigg [Thu, 8 Sep 2016 00:22:08 +0000 (12:22 +1200)]
Remove unnecessary method

8 years agoUpdate payment API documentation for beta 1
bitcartel [Wed, 7 Sep 2016 23:53:24 +0000 (16:53 -0700)]
Update payment API documentation for beta 1

8 years agoAdjust test to avoid spurious failures
Jack Grigg [Wed, 7 Sep 2016 23:34:50 +0000 (11:34 +1200)]
Adjust test to avoid spurious failures

Previously, if the two random numbers happened to be equal, the block time
would not be updated, and subsequent checks would fail.

8 years agoReplace GetTxid() with GetHash() after rebase on latest.
Simon [Wed, 7 Sep 2016 22:11:17 +0000 (15:11 -0700)]
Replace GetTxid() with GetHash() after rebase on latest.

8 years agoRemove GetTxid() from CTransaction and update test_txid
Simon [Tue, 30 Aug 2016 19:55:05 +0000 (12:55 -0700)]
Remove GetTxid() from CTransaction and update test_txid

8 years agoRefactor: replace calls to GetTxid() with GetHash()
Simon [Tue, 30 Aug 2016 19:49:38 +0000 (12:49 -0700)]
Refactor: replace calls to GetTxid() with GetHash()

8 years agoUpdate txid gtest to verify #1144 has been removed: GetTxid() and
Simon [Sat, 27 Aug 2016 23:10:30 +0000 (16:10 -0700)]
Update txid gtest to verify #1144 has been removed: GetTxid() and
GetHash() return the same result.

8 years agoRemove #1144 from input data of script_tests.
Simon [Sat, 27 Aug 2016 22:54:12 +0000 (15:54 -0700)]
Remove #1144 from input data of script_tests.

Revert script_invalid.json to commit df1609f.
Revert script_valid.json to commit 1c54757.

8 years agoRemove #1144 from bloom_tests by reverting to commit 5012190.
Simon [Sat, 27 Aug 2016 22:48:14 +0000 (15:48 -0700)]
Remove #1144 from bloom_tests by reverting to commit 5012190.

8 years agoRemove #1144 from transaction.cpp by reverting back to commit 942bc46.
Simon [Sat, 27 Aug 2016 20:58:50 +0000 (13:58 -0700)]
Remove #1144 from transaction.cpp by reverting back to commit 942bc46.

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