jl777
b7006d2efc
Test
2018-07-19 07:12:32 -11:00
jl777
cec901e6ae
Test
2018-07-19 07:11:38 -11:00
jl777
ce2b0b6ac1
Test
2018-07-19 07:10:43 -11:00
jl777
ae5ea0878a
test
2018-07-19 07:08:28 -11:00
Michael Toutonghi
503bd93fa8
Differentiate raw POSHash from full one adjusted by vout value
2018-07-19 01:02:54 -07:00
Duke Leto
20ba439d05
Add number of utxos to metadata in json response
2018-07-19 05:37:27 +00:00
Michael Toutonghi
c5325a3256
PoS improvements
2018-07-18 17:42:15 -07:00
jl777
afca7f1e12
Merge pull request #775 from letolabs/snapshot
...
Snapshot II
2018-07-18 09:35:54 -11:00
Duke Leto
a4d41984f6
Modify how we iterate and deal with the end of iteration, since iter->Valid seems to always be true
2018-07-18 19:44:16 +00:00
jl777
564399152b
Merge pull request #774 from jl777/example0
...
initial core support for assets
2018-07-18 06:21:42 -11:00
Wladimir J. van der Laan
a9496b08b6
rpc: Register calls where they are defined
...
Split out methods to every module, apart from 'help' and 'stop' which
are implemented in rpcserver.cpp itself.
- This makes it easier to add or remove RPC commands - no longer everything that includes
rpcserver.h has to be rebuilt when there's a change there.
- Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions.
- Removes most of the bitcoin-specific code from rpcserver.cpp and .h.
Continues #7307 for the non-wallet.
2018-07-18 11:07:18 -06:00
Daniel Cousens
4b184205e3
rpc: update inline comments to refer to new file paths
2018-07-18 11:07:17 -06:00
Daniel Cousens
4519a766b6
move rpc* to rpc/
2018-07-18 11:07:16 -06:00
Jonas Schnelli
34aca1b03c
[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
...
Allow extending the rpc dispatch table by appending commands when server is not running.
2018-07-18 11:07:15 -06:00
jl777
618150c83e
Use scriptPubKey.IsPayToCryptoCondition()
2018-07-18 05:31:39 -11:00
jl777
4ed779073d
Test
2018-07-18 05:10:17 -11:00
jl777
a9e904d9dd
Fix
2018-07-18 05:08:55 -11:00
jl777
0ce374b7c7
Remove height triggers and add PoWtarget in getblocktemplate
2018-07-18 05:04:15 -11:00
Duke Leto
3350160a6c
Fix bug where finding index entries of other types, such as timestampindex, stopped our iterator
2018-07-18 16:02:53 +00:00
Homu
aad4b86e95
Auto merge of #3376 - LarryRuane:2728-help-message-experimental, r=bitcartel
...
add extra help how to enable experimental features
Closes #2728 . When the user attempts to execute a disabled experimental RPC, print some nice text explaining how to enable the RPC (either command-line or adding lines to zcash.conf).
2018-07-18 07:45:46 -07:00
jl777
1bdde735e6
Fix
2018-07-18 03:12:58 -11:00
jl777
47966c7b16
Test
2018-07-18 03:12:05 -11:00
jl777
ff9f2c350b
Fix
2018-07-18 03:09:17 -11:00
jl777
2abababa75
Test
2018-07-18 03:06:22 -11:00
jl777
f345b95386
Initial assets
2018-07-18 03:02:37 -11:00
Duke Leto
9ef7fec1ef
Protect komodo_snapshot() by cs_main lock
2018-07-18 06:54:43 +00:00
Duke Leto
5685e88a47
Merge remote-tracking branch 'origin/jl777' into snapshot
2018-07-18 06:48:33 +00:00
Alrighttt
4ac134db0c
change zcashd reference, update example conf
2018-07-18 02:34:10 -04:00
Duke Leto
539080b3a4
Less noise to stderr
2018-07-17 22:33:19 +00:00
Duke Leto
3eb535b8b4
Include start_time+end_time and correctly format amount
2018-07-17 22:31:06 +00:00
Homu
b9bd5ab42c
Auto merge of #3354 - leto:absurd_fee_bug, r=bitcartel
...
Fix absurd fee bug reported in #3281 , with tests
This was ported from the Hush `absurd_fee_bug` PR: https://github.com/MyHush/hush/pull/136
Tests executed with `./qa/pull-tester/rpc-tests.sh wallet` and pass on Ubuntu 16.04. Some tests were added for previously untested behavior as well.
Closes #3281 .
2018-07-17 15:03:08 -07:00
Duke Leto
6e74fd2578
In memory sorting, add a few metadata fields; printing small floats correctly still not working
2018-07-17 21:37:52 +00:00
Simon
687bd96cbd
Minor update to address nits in review.
2018-07-17 14:26:38 -07:00
Homu
3835cbb57f
Auto merge of #3263 - str4d:ibd-upstream-changes, r=bitcartel
...
InitialBlockDownload upstream changes
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#7208
- bitcoin/bitcoin#8007
- bitcoin/bitcoin#9053
- Excluding second commit (requires bitcoin/bitcoin#8865 )
- bitcoin/bitcoin#10388
2018-07-17 13:17:27 -07:00
Simon
0b6eeac330
Update and fix per review comments, the test for absurd fee.
2018-07-17 13:00:42 -07:00
Duke Leto
29a5aa99fd
Move address+amount data to addresses key in JSON; add some useful metadata to snapshot response
2018-07-17 19:39:55 +00:00
Duke Leto
92dc28a3c9
Return snapshot info as JSON
2018-07-17 18:42:30 +00:00
Homu
13b41a6760
Auto merge of #3156 - Eirik0:2935-change-indicator, r=bitcartel
...
Add change indicator
This adds to the json returned when calling z_listreceivedbyaddress and z_listuspent an additional field entitiled 'change' which will be either true or false depending on whether or not the note was change from another transaction.
2018-07-17 11:41:03 -07:00
jl777
3872e9cb59
Fix
2018-07-17 05:29:01 -11:00
jl777
7000ef1af3
Possible workaround for crash
2018-07-17 05:26:34 -11:00
Duke Leto
920f960122
Correctly print out snapshot data to stderr for now
2018-07-17 06:05:36 +00:00
Larry Ruane
66dfcc1369
add extra help how to enable experimental features
2018-07-16 21:31:55 -06:00
Duke Leto
d62d9d7889
Almost working snapshot, we need to sum unspent outputs for each address and return to final snapshot data in json response
2018-07-17 01:40:24 +00:00
Sean Bowe
f23e783600
Decryption and tests of note/outgoing encryption.
2018-07-16 18:34:14 -06:00
Homu
ea0bd9d3b8
Auto merge of #3345 - str4d:sapling-z_validateaddress, r=bitcartel
...
Add Sapling support to z_validateaddress
Part of #3217 .
2018-07-16 15:04:54 -07:00
Eirik Ogilvie-Wigley
0646f749f9
Add change indicator for notes
2018-07-16 14:49:29 -06:00
Homu
b7d058cef3
Auto merge of #3334 - arielgabizon:add_groth_tests, r=bitcartel
...
Extend JoinSplit tests to Groth
As we now have both PGHR and Groth proofs for Sprout - make the joinsplit tests check the Groth proofs as well.
See https://github.com/zcash/zcash/issues/3266
2018-07-16 12:11:12 -07:00
jl777
17839698a3
block_from_future_rejecttime used in RAMstaker
2018-07-16 00:55:48 -11:00
jl777
8613127572
LastTip() and tweak deprecation heights
2018-07-15 22:47:16 -11:00
jl777
8d487e52a7
Change deprecation height for 1400000
2018-07-15 21:41:24 -11:00