jl777
ad70a28f2f
disable getchaintips
2017-02-03 09:36:35 +02:00
jl777
3ced93646d
Merge remote-tracking branch 'zcash/master' into dev
...
# Conflicts:
# .gitignore
# README.md
# src/Makefile.gtest.include
# src/gtest/test_checkblock.cpp
# src/init.cpp
# src/main.cpp
# src/main.h
# src/rpcserver.cpp
# src/test/checkblock_tests.cpp
# src/util.cpp
2017-01-25 09:26:28 +02:00
jl777
ab6e81ec8f
test
2017-01-20 20:53:57 +02:00
jl777
d20fb2db48
test
2017-01-20 20:18:31 +02:00
zkbot
94f427a211
Auto merge of #1999 - str4d:1950-random-cookie-rpc-auth, r=ebfull
...
rpc: Implement random-cookie based authentication
Cherry-picked from bitcoin/bitcoin#6388.
Closes #1950 .
2017-01-18 14:20:25 +00:00
Wladimir J. van der Laan
e957192c54
rpc: Implement random-cookie based authentication
...
When no `-rpcpassword` is specified, use a special 'cookie' file for
authentication. This file is generated with random content when the
daemon starts, and deleted when it exits. Read access to this file
controls who can access through RPC. By default this file is stored in
the data directory but it be overriden with `-rpccookiefile`.
This is similar to Tor CookieAuthentication: see
https://www.torproject.org/docs/tor-manual.html.en
Alternative to #6258 . Like that pull, this allows running bitcoind
without any manual configuration. However, daemons should ideally never write to
their configuration files, so I prefer this solution.
2017-01-09 17:57:05 +01:00
Jack Grigg
f3e4968626
Only enable getblocktemplate when wallet is enabled
2016-12-16 10:44:04 +13:00
jl777
bc17ac4928
Merge remote-tracking branch 'zcash/master' into rebase
...
# Conflicts:
# README.md
# src/Makefile.gtest.include
# src/chainparams.cpp
# src/init.cpp
# src/miner.cpp
# src/wallet/wallet.cpp
2016-12-12 12:19:13 +02:00
jl777
dbaf115470
test
2016-11-23 13:03:06 -03:00
jl777
9bd3a9cddc
test
2016-11-21 09:48:32 -03:00
Jack Grigg
000499ae64
Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo
2016-11-16 22:02:49 +13:00
jl777
e80de3b274
test
2016-11-15 11:20:45 -03:00
jl777
ce906ce757
test
2016-11-15 11:17:55 -03:00
Simon
f4404d7b5b
Closes #1680 , temporary fix for rpc deadlock inherited from upstream.
2016-11-15 00:31:24 -08:00
jl777
2e500f5048
test
2016-11-14 15:00:25 -03:00
jl777
f1a1cd1914
test
2016-11-04 19:18:41 -03:00
jl777
597b9c2f9e
test
2016-11-04 19:12:41 -03:00
jl777
da61ef214c
boost round robin rate
2016-11-01 14:34:36 -03:00
Simon
4e16a7249c
Closes #1746 . Add rpc call z_validateaddress to validate zaddrs.
2016-10-31 20:05:48 -07:00
jl777
3bc31b8c78
test
2016-10-31 20:39:53 -03:00
jl777
336ab14177
test
2016-10-31 10:24:43 -03:00
jl777
30853e4ab9
Merge remote-tracking branch 'zcash/master' into dPoW
2016-10-28 13:50:21 -03:00
Sean Bowe
58c4c0bba3
Change some Bitcoin strings to Zcash strings.
2016-10-26 13:29:05 -06:00
jl777
c59a3beb29
test
2016-10-26 08:50:37 -03:00
jl777
4563911d3d
test
2016-10-26 08:42:31 -03:00
jl777
d7d27bb347
test
2016-10-24 15:00:01 -03:00
jl777
83a7f513e8
test
2016-10-24 12:12:33 -03:00
jl777
de5678d8ed
test
2016-10-23 14:51:43 -03:00
jl777
f3ae714c95
qt
2016-09-13 13:57:57 -03:00
jl777
5166804f02
komodo strings
2016-09-13 13:03:02 -03:00
Simon
6c41028f7c
Add z_listreceivedbyaddress RPC call
2016-09-08 21:46:15 -07:00
Simon
6d2d045c6b
Disable z_sendmany in safe mode
2016-09-08 21:46:15 -07:00
Simon
a0a3334c4d
Add z_getbalance and z_gettotalbalance RPC calls to close #1201 .
2016-09-08 21:46:14 -07:00
Simon
f86f625dce
Update RPCServer to use AsyncRPCQueue's shared queue.
2016-09-08 21:46:14 -07:00
Simon
008fccfa48
Disable option to allow multiple async rpc workers.
2016-09-08 21:46:13 -07:00
Simon
c1eae2806c
Closes #1293 by adding z_getoperationresult and making z_getoperationstatus idempotent.
2016-09-08 21:46:13 -07:00
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
2016-09-08 21:46:13 -07:00
Simon
34f0001ccc
Implement RPC call z_listoperationids and update z_getoperationstatus to take a list parameter.
2016-09-08 21:46:13 -07:00
Simon
8d08172d0d
Add config option 'rpcasyncthreads' to specify number of async rpc workers. Default is 1.
2016-09-08 21:46:13 -07:00
Simon
fc72c078be
Add async RPC queue and operation classes.
...
Add z_getoperationstatus RPC command.
Add z_sendmany RPC command (dummy implementation, does not send actual
coins).
2016-09-08 21:46:13 -07:00
Simon
e709997ff2
Implemented z_listaddresses to return all the zaddr in the wallet.
2016-08-24 11:19:33 -07:00
Simon
92444edc00
Add z_importwallet and z_exportwallet to handle keys for both
...
taddr and zaddr. Restore behaviour of dumpwallet and importwallet
to only handle taddr.
2016-08-24 11:19:33 -07:00
Simon
c1c4594371
Implemented RPC calls z_importkey, z_exportkey, z_getnewaddress.
...
Modified RPC calls dumpwallet and importwallet to include spending keys.
2016-08-24 11:19:33 -07:00
Gaurav Rana
6c7cc8ebea
update zcash-cli stop message
...
changed "Bitcoin server stopping" to "Zcash server stopping"
2016-08-20 12:27:12 +00:00
Sean Bowe
1737627c4e
Introduce zcsamplejoinsplit for creating a raw joinsplit description, and use it to construct the joinsplit for the performance tests that verify joinsplits.
2016-07-19 15:49:11 -06:00
Sean Bowe
b7e4abd6f7
Rename some usage of 'pour'.
2016-07-18 10:06:18 -06:00
Simon
1b114e54c4
Add getblocksubsidy RPC command to return the block reward for a given
...
block, taking into account the mining slow start.
2016-06-27 13:04:33 -07:00
Jack Grigg
3985a40d1f
Change default ports
2016-06-17 00:21:58 +12:00
Taylor Hornby
6962bb3df0
Add automated performance measurement system.
2016-04-11 08:15:25 -06:00
Sean Bowe
a8ac403db0
Added mapAnchors consensus rules, finished zcrawpour/zcrawreceive.
...
Some specifics on consensus changes:
* Transactions must be anchored to a real anchor in the chain.
* Anchors are pushed and popped during ConnectBlock/DisconnectBlock as appropriate.
* DisconnectTip triggers evictions, under some circumstances, of transactions in the
mempool which are anchored to roots that are no longer valid.
* Commitments append to the tree at the current best root during ConnectBlock.
2016-01-19 14:36:04 -07:00