ca333
a6c1081c14
Merge pull request #42 from jl777/dev
...
update dev
2018-07-19 15:40:06 +02: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
Homu
cd0484e023
Auto merge of #3350 - str4d:rpc-reorg, r=bitcartel
...
RPC code refactor
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#7307
- bitcoin/bitcoin#7348
- bitcoin/bitcoin#7766
2018-07-18 12:10:55 -07: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
jl777
ee79b651a9
Merge branch 'jl777' into example0
2018-07-18 01:16:16 -11:00
jl777
ec9d69d799
Merge pull request #773 from Alrighttt/dev
...
change zcashd reference, update example conf
2018-07-17 21:44:57 -11:00
jl777
79f49ac49f
Merge pull request #772 from letolabs/snapshot
...
getsnapshot RPC
2018-07-17 21:43:14 -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
Homu
cc9cddbf49
Auto merge of #3371 - kozyilmaz:clang, r=str4d
...
Add -Wl,-pie linker option for macOS and use it instead of -pie
fixes linker error (see below) due to "-pie" usage, replaced it with "-Wl,-pie" for macOS platform
```
clang: error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument]
```
2018-07-17 21:41:36 -07:00
Homu
efa7b914fb
Auto merge of #3243 - pejvan:patch-1, r=bitcartel
...
Update README.md
Added default options to build zcash with as many parallel compilation units as there are cpu cores.
This makes compiling zcash multiple times faster.
2018-07-17 19:57:32 -07: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
Pejvan
642f3681ca
Update README.md
...
updated to use parenthesis as suggested by @bitcartel
2018-07-17 13:08:54 +02:00
Duke Leto
920f960122
Correctly print out snapshot data to stderr for now
2018-07-17 06:05:36 +00:00
David Dawes
0febe8813b
Merge branch 'dave-dev' of https://github.com/VerusCoin/VerusCoin into dave-dev
2018-07-16 23:02:26 -07:00
David Dawes
303c530392
Remove undef __cpuid
2018-07-16 23:02:22 -07: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