Simon
9fb18458e8
Add assert for two mutually exclusive member variables.
8 years ago
Simon
cc59ac12a9
Add ticket number to issues raised in comment.
8 years ago
Simon
00edda4ac6
Remove unused varible.
8 years ago
Simon
e2574666f6
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 ago
Simon
da5e7e5185
Formatting and updated test per review.
8 years ago
Simon
03812fefe4
Fix incorrect default value for argument of GetFilteredNotes.
8 years ago
Simon
a101ef7979
Update log statement to include fee.
8 years ago
Simon
9bdad43462
Fix formatting
8 years ago
Simon
e883ffef91
Add test for calling RPC z_getbalance, z_gettotalbalance, z_listreceivedbyaddress with invalid parameters.
8 years ago
Simon
12448b6457
Add extra RPC parameter checks for minconf<0 and zaddr not belonging to wallet.
8 years ago
Simon
5e363861e0
Replace unique_lock with lock_guard, where appropriate, for consistency
8 years ago
Simon
a50fd5fdb7
Add lock guard to getNumberOfWorkers()
8 years ago
Simon
e91048f28d
Fix formatting
8 years ago
Simon
69a4cb448a
Move lock guard to start of addOperation to protect isClosed() and isFinishing()
8 years ago
Simon
61ea2abaf5
Update formatting and documentation.
8 years ago
Simon
ca0ec80b4c
Add 'DEPRECATED' to help message of zcraw* commands
8 years ago
Simon
6c41028f7c
Add z_listreceivedbyaddress RPC call
8 years ago
Simon
1b141933e5
Rename GetUnspentNotes to GetFilteredNotes
Added parameter to ignore spent notes, which is true by default.
8 years ago
Simon
6d2d045c6b
Disable z_sendmany in safe mode
8 years ago
Simon
fc46069e81
Add more logging.
8 years ago
Simon
a9743bc8bf
Refactor async sendmany and getbalance calls to use GetUnspentNotes().
8 years ago
Simon
fe2f198277
Add test for GetUnspentNotes() in wallet.
8 years ago
Simon
a5ac2e25a0
Add GetUnspentNotes to wallet.
8 years ago
Simon
7b79275eba
Add tests to try and improve coverage of perform_joinsplit.
8 years ago
Simon
269310ce3c
Replace zcashParams_ with global.
8 years ago
Simon
5f8118c8a4
Revert "Reduce use of global pzcashParams with private member variable"
This reverts commit 4d71ba58d37eb4f93d68b5e437086ce14fb24825.
8 years ago
Simon
4b32c16ba5
Reduce use of global pzcashParams with private member variable
8 years ago
Simon
485145ea78
Disable proof generation when testmode is enabled in async SendMany operation.
8 years ago
Simon
4cff8a5c50
Fix typo in error message
8 years ago
Simon
a0a3334c4d
Add z_getbalance and z_gettotalbalance RPC calls to close #1201 .
8 years ago
Simon
cff6f0ac46
Add friend class for testing private members of AsyncRPCOperation_sendmany.
8 years ago
Simon
9bb6162626
Add extra checking of memo data in hexadecimal string format.
8 years ago
Simon
a5905772c8
Add logging under the category "asyncrpc".
8 years ago
Simon
39c7f954d0
Remove redundant call.
8 years ago
Simon
fc4b127ed3
Add tests for async queue and rpc commands: z_getoperationstatus, z_getoperationresult, z_listoperationids, z_sendmany
8 years ago
Simon
15c83ac6b4
Remove redundant check when getting spending key for a payment address.
8 years ago
Simon
f86f625dce
Update RPCServer to use AsyncRPCQueue's shared queue.
8 years ago
Simon
423a63d0a9
Add shared queue to AsynRPCQueue.
8 years ago
Simon
b922924d14
Add test for AsyncRPCQueue and AsyncRPCOperation.
8 years ago
Simon
017b3ede33
Clear the operation queue when closing it.
8 years ago
Simon
87f7c98795
Refactor to use wallet note tracking from commit a72379
8 years ago
Simon
97b6f365a1
Fix bug where wallet was not persisting witnesses to disk.
Author: str4d
8 years ago
Simon
9cd713439a
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 ago
Simon
c93d8bdf9c
Fix bug where call to sign and send a transaction was in wrong scope.
8 years ago
Simon
3fd5a615ac
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 ago
Simon
008fccfa48
Disable option to allow multiple async rpc workers.
8 years ago
Simon
14af21e9f7
Add chaining of JoinSplits within a transaction.
8 years ago
Simon
c1eae2806c
Closes #1293 by adding z_getoperationresult and making z_getoperationstatus idempotent.
8 years ago
Simon
3b54bf5813
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 ago
Simon
34f0001ccc
Implement RPC call z_listoperationids and update z_getoperationstatus to take a list parameter.
8 years ago