Jonas Schnelli
a10a6e2a0e
[Univalue] add univalue over subtree
similar to secp256k1 include and compile univalue over a subtree
9 years ago
Jack Grigg
cc71666a51
unsigned int -> size_t for comparing with UniValue.size()
7 years ago
Jack Grigg
0d37ae3a59
Migrate Zcash-specific code to UniValue
8 years ago
Jonas Schnelli
d014114d67
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
9 years ago
Jonas Schnelli
851f58f94e
remove JSON Spirit UniValue wrapper
9 years ago
Jonas Schnelli
38fc4b7090
expicit set UniValue type to avoid empty values
9 years ago
Jonas Schnelli
9756b7bd29
extend conversion to UniValue
9 years ago
Jeff Garzik
ed21d5bd4b
Convert tree to using univalue. Eliminate all json_spirit uses.
10 years ago
Jack Grigg
b8eb37757b
Require -experimentalmode for wallet encryption
7 years ago
Simon
7eccce4e44
Closes #2045 by allowing z_sendmany with 0 fee
7 years ago
Jack Grigg
2cc0a252ad
Add compile flag to disable compilation of mining code
8 years ago
Simon
bcbde86a87
Add missing header required by std::accumulate
8 years ago
Simon
8aa7937d44
Fixes #1960 : z_getoperationstatus/result now includes operation details.
8 years ago
Simon
f32cade8fd
Closes #1957 by adding tx serialization size to listtransactions output.
8 years ago
Simon
9064d73bf8
Fixes #1497 ZCA-009 by restricting data exporting to user defined folder.
Previously the RPC interface allowed z_exportwallet, backupwallet and
dumpwallet to write data to an arbitrary filename. ZCA-009 demonstrates
how this is vulnerable. The resolution is to only allow data to
written when the -exportdir has been configured. Also filenames are
restricted to alphanumeric characters.
8 years ago
Simon
2d2f3d1806
Closes #1780 . Result of z_getoperationstatus now sorted by creation time of operation
8 years ago
Simon
fce7260811
Fixes #1964 to catch general exception in z_sendmany and catch
exceptions as reference-to-const.
8 years ago
Jack Grigg
4082dcb10f
Extend createjoinsplit to benchmark parallel JoinSplits
Closes #1940
8 years ago
Jack Grigg
88b7f3c28b
Generate JS for trydecryptnotes, make number of addresses a variable
8 years ago
Sean Bowe
bc59f53722
Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller.
8 years ago
Simon
af53da0225
Closes #1903 . Add fee parameter to z_sendmany.
8 years ago
Jack Grigg
0bb3d40f90
Add benchmark for incrementing note witnesses
8 years ago
Jack Grigg
0fbab55b1b
Add benchmark for attempting decryption of notes
8 years ago
ayleph
48f9c65b55
Correct spelling error in z_sendmany error output
Change "alllowed" -> "allowed."
8 years ago
Simon
3920292b43
Add transaction size and zaddr output limit checks to z_sendmany.
8 years ago
Sean Bowe
58c4c0bba3
Change some Bitcoin strings to Zcash strings.
8 years ago
Simon
db026807b8
Add z_sendmany rule that when sending coinbase utxos to a zaddr
they must be consumed entirely, without any change, since there
is currently no way to specify a change address in z_sendmany.
8 years ago
Simon
75407c6872
Fix issue where z_sendmany is too strict and does not allow integer based amount e.g. 1 which is the same as 1.0
8 years ago
Jack Grigg
1532cb75f3
Throw an error when encryptwallet is disabled
8 years ago
Jack Grigg
62c0aa9e58
Disable wallet encryption
Closes #1552
8 years ago
Jack Grigg
6e263a5fd3
Address review comments
8 years ago
Jack Grigg
1a62587e9a
Delay caching of nullifiers when wallet is locked
Closes #1502
8 years ago
Simon
49e591eb89
Fix incorrect check of number of parameters for z_getnewaddress.
8 years ago
Jack Grigg
715e5bbefd
Correct docstring
8 years ago
Jack Grigg
7b3351ff0e
Deprecated -> Unsupported in RPC error
8 years ago
Simon
f7cfb52d3c
Add vjoinsplit to JSON output of RPC call gettransaction
8 years ago
Jack Grigg
3c31eb24d3
Throw an RPC error for all accounts except the default
8 years ago
Simon
73699ceaf6
Add support for spending keys to the encrypted wallet.
8 years ago
Simon
dec49d1f82
Fix GetFilteredNotes to use int for minDepth like upstream and avoid casting problems. Don't use FindMyNotes as mapNoteData has already been set on wallet tx.
8 years ago
Jack Grigg
9e52ca3205
Measure multithreaded solveequihash time per-thread
8 years ago
Simon
6114cfe767
Improve check that user supplied memo field is too long.
8 years ago
Simon
12448b6457
Add extra RPC parameter checks for minconf<0 and zaddr not belonging to wallet.
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
a9743bc8bf
Refactor async sendmany and getbalance calls to use GetUnspentNotes().
8 years ago
Simon
a0a3334c4d
Add z_getbalance and z_gettotalbalance RPC calls to close #1201 .
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
34f0001ccc
Implement RPC call z_listoperationids and update z_getoperationstatus to take a list parameter.
8 years ago