Braydon Fuller
047166bb42
rpc: include prevhash and prevout information for spending deltas
2018-09-05 12:58:14 -07:00
Braydon Fuller
9994a074e5
build: fix darwin build
2018-09-05 12:58:14 -07:00
Braydon Fuller
ca0ee59d6e
rpc: fix issue with querying txids by block heights
2018-09-05 12:58:14 -07:00
Braydon Fuller
4c4b882bb3
rpc: query txids for addresses within block height range
2018-09-05 12:58:14 -07:00
Braydon Fuller
a14b90dbbb
rpc: include height in spentinfo
2018-09-05 12:58:14 -07:00
Braydon Fuller
a9e36d08a0
rpc: include spent info if spentindex enabled with getrawtransaction verbose
2018-09-05 12:58:14 -07:00
Braydon Fuller
bf64e834c6
main: add spentindex option
2018-09-05 12:58:12 -07:00
Braydon Fuller
02ba86daba
rpc: cast indexes to ints
2018-09-05 12:56:35 -07:00
Braydon Fuller
890a6ca3d1
build: add addressindex.h to make
2018-09-05 12:56:35 -07:00
Braydon Fuller
ab6be4478e
main: include timestampindex in help
2018-09-05 12:56:35 -07:00
Braydon Fuller
eed0b77388
rpc: give back base58 encoded address format in utxos
2018-09-05 12:56:35 -07:00
Braydon Fuller
2f8d20ba76
main: mempool address index
...
Zcash: Integrated into older mempool code
2018-09-05 12:56:26 -07:00
Braydon Fuller
e85d165115
main: sort address index utxos by height
2018-09-05 12:55:33 -07:00
Braydon Fuller
110adc6aa7
main: remove spent address utxo indexes
2018-09-05 12:55:33 -07:00
Braydon Fuller
6107ae66d2
main: don't undo indexes when verifying blocks at startup
2018-09-05 12:55:33 -07:00
Braydon Fuller
4725b25e60
main: update unspent address index during reorgs
2018-09-05 12:55:33 -07:00
Braydon Fuller
f64ed53103
rpc: fix argument check for getaddressutxos
2018-09-05 12:55:33 -07:00
Braydon Fuller
724f06da7c
main: index unspent outputs by address
2018-09-05 12:55:30 -07:00
Braydon Fuller
b621a432da
main: fix order of address index when disconnecting block
2018-09-05 12:54:28 -07:00
Braydon Fuller
230783d4b3
main: update address index during reorgs
2018-09-05 12:53:00 -07:00
Braydon Fuller
372ae61bfb
rpc: optimize address txid queries
2018-09-05 12:52:59 -07:00
Braydon Fuller
98872dac95
main: get address deltas between range of block heights
2018-09-05 12:52:56 -07:00
Braydon Fuller
70600ae1ff
main: fixed bug with overlapping address index keys
...
There was a bug where the spending address index could have the same key
as the receiving address index if the input and output indexes matched. This lead
to the output always overwriting the input index leading to incorrect balances
with missing spent amounts. This patch separates the two so that they have unique
keys so balances will be correctly calculated.
2018-09-05 12:51:27 -07:00
Braydon Fuller
3d90427d0b
test: added to for balance after spending
2018-09-05 12:51:27 -07:00
Braydon Fuller
4fcfdc9b21
main: add block timestamp index
2018-09-05 12:51:25 -07:00
Braydon Fuller
59568ff5e8
rpc: include height in getrawtransaction results
2018-09-05 12:49:20 -07:00
Braydon Fuller
c4c22aefc3
rpc: add receieved to balance
2018-09-05 12:49:20 -07:00
Braydon Fuller
d2e961bd94
rpc: added getaddressbalance method using addressindex
2018-09-05 12:49:17 -07:00
Braydon Fuller
72bd01411d
rpc: only sort when combining multiple results
...
It's only necessary to sort when combining results for several addresses
as the results are already in order from the database.
2018-09-05 12:47:11 -07:00
Braydon Fuller
8432e73cf2
main: serialize height in BE for address index key
...
fixes a sorting issue when iterating over keys
2018-09-05 12:47:11 -07:00
Braydon Fuller
3938fe37f3
rpc: sort txids by height for multiple addresses
2018-09-05 12:47:10 -07:00
Braydon Fuller
73858d5450
rpc: query for multiple addresses txids
2018-09-05 12:47:10 -07:00
Braydon Fuller
fd09de01f0
rpc: update getaddresstxids for uniqueness
2018-09-05 12:47:10 -07:00
Braydon Fuller
098c127ae6
rpc: fix issue for querying txids for p2sh addresses
2018-09-05 12:47:08 -07:00
Braydon Fuller
a9948959b5
main: index address index sorted by height
2018-09-05 12:45:35 -07:00
Braydon Fuller
ffa949e98a
qa: started test for addressindex rpc getaddresstxids
2018-09-05 12:45:35 -07:00
Braydon Fuller
dc538cb87d
test: added unit tests for CScript.IsPayToPublicKeyHash
2018-09-05 12:45:35 -07:00
Braydon Fuller
205830690b
main: start of address index
...
Adds a configuration option for addressindex to search for txids by address. Includes
an additional rpc method for getting the txids for an address.
2018-09-05 12:44:31 -07:00
Homu
edd321609c
Auto merge of #3489 - str4d:3215-z_sendmany, r=str4d
...
Add Sapling support to z_sendmany
Closes #3215 .
2018-09-03 00:29:56 -07:00
Jack Grigg
af04224522
Fix file permissions of wallet_sapling RPC test
2018-09-03 08:27:33 +01:00
Jack Grigg
0f436a0a26
Fix RPC test that checks exact wording of cleaned-up error message
2018-09-03 08:23:09 +01:00
Jack Grigg
7c02acc5b6
Minor cleanups
2018-09-03 01:28:31 +01:00
Jack Grigg
1ec06e93b1
Rename z_inputs_ to z_sprout_inputs_
2018-09-03 01:13:18 +01:00
Homu
12c1156f31
Auto merge of #3172 - str4d:mingw32, r=str4d
...
Windows cross-compile support
Usage on Debian / Ubuntu:
> $ sudo apt install mingw-w64
> $ sudo update-alternatives --config x86_64-w64-mingw32-gcc
> (configure to use POSIX variant)
> $ sudo update-alternatives --config x86_64-w64-mingw32-g++
> (configure to use POSIX variant)
> $ HOST=x86_64-w64-mingw32 ./zcutil/build.sh
Closes #489 .
2018-08-30 14:51:24 -07:00
Jack Grigg
e47ccf2a00
libsnark: Use format macro constants for printing fixed-width values
2018-08-30 22:21:25 +01:00
Jack Grigg
c53defda9d
libsnark: Force constants used in test comparisons to be unsigned
2018-08-30 21:37:10 +01:00
Homu
791a68cdf5
Auto merge of #2674 - str4d:2469-ci-workers-macos, r=str4d
...
[ci-workers] Add support for MacOSX
Also alters the `unix.yml` script to install all Python modules in a virtualenv, and adds curl and cmake dependencies.
Closes #2469 .
2018-08-30 09:00:42 -07:00
Jack Grigg
07d85a6455
Define additional booleans for readability
2018-08-30 09:42:21 +01:00
Homu
ad97158836
Auto merge of #3488 - sandakersmann:patch-4, r=bitcartel
...
Missing comma in debian package copyright license
Missing comma in debian package copyright license
2018-08-29 15:42:30 -07:00
Marius Kjærstad
63c9df9aa1
Missing comma in debian package copyright license
...
Missing comma in debian package copyright license
2018-08-27 15:53:09 +02:00