Commit Graph

101 Commits

Author SHA1 Message Date
jl777
36afeac6d8 Dont call longest chain in background loop 2018-11-11 06:53:30 -11:00
jl777
b7a556e838 -komodo_interestsum() for non-KMD 2018-11-08 19:42:44 -11:00
Alrighttt
4ac134db0c change zcashd reference, update example conf 2018-07-18 02:34:10 -04:00
jl777
b32a9f1a5f Directly call longestchain() 2018-04-26 23:30:27 +03:00
jl777
4875678883 Fix 2018-04-26 23:21:22 +03:00
jl777
247428bdb2 Test 2018-04-25 15:47:19 +03:00
jl777
6c0b16b0a6 Display init timestamps 2018-04-17 15:11:40 +03:00
jl777
261c245b7b Test 2017-11-10 19:08:41 +02:00
jl777
7c130297c2 KOMODO_ASSETCHAIN_MAXLEN -> 65 2017-11-10 19:07:36 +02:00
jl777
9cb1ec9c6e WIN32 -> _WIN32 2017-10-15 02:04:29 +03:00
ca333
34017212c7 333 2017-10-09 16:18:22 +02:00
ca333
9d36579649 uni3 2017-10-09 11:45:49 +02:00
jl777
f50685fe28 Support mnzd and mnz-cli 2017-10-06 16:22:25 +03:00
jl777
2702aee01d Test 2017-07-02 13:56:18 +03:00
jl777
945f015d80 Initial merge 2017-03-30 04:35:16 +03:00
zkbot
f7fcad709b Auto merge of #2203 - arcalinea:2142_security_log_message, r=daira
Add message directing users to security guide

Addresses #2142, which was blocking on updates to zcash/support/security.html. That page has now been added, so this message directing users to the site can be included.

It displays in the zcash-cli --help and --version message text, and on the zcashd metrics screen.
2017-03-26 01:36:24 +00:00
Daira Hopwood
f0d1accb7d Line-wrap privacy notice. Use <> around URL and end sentence with '.'.
Include privacy notice in help text for zcashd -help.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-26 02:08:29 +01:00
Wladimir J. van der Laan
afd64f76ea evhttpd implementation
- *Replace usage of boost::asio with [libevent2](http://libevent.org/)*.
boost::asio is not part of C++11, so unlike other boost there is no
forwards-compatibility reason to stick with it. Together with #4738 (convert
json_spirit to UniValue), this rids Bitcoin Core of the worst offenders with
regard to compile-time slowness.

- *Replace spit-and-duct-tape http server with evhttp*. Front-end http handling
is handled by libevent, a work queue (with configurable depth and parallelism)
is used to handle application requests.

- *Wrap HTTP request in C++ class*; this makes the application code mostly
HTTP-server-neutral

- *Refactor RPC to move all http-specific code to a separate file*.
Theoreticaly this can allow building without HTTP server but with another RPC
backend, e.g. Qt's debug console (currently not implemented) or future RPC
mechanisms people may want to use.

- *HTTP dispatch mechanism*; services (e.g., RPC, REST) register which URL
paths they want to handle.

By using a proven, high-performance asynchronous networking library (also used
by Tor) and HTTP server, problems such as #5674, #5655, #344 should be avoided.

What works? bitcoind, bitcoin-cli, bitcoin-qt. Unit tests and RPC/REST tests
pass. The aim for now is everything but SSL support.

Configuration options:

- `-rpcthreads`: repurposed as "number of  work handler threads". Still
defaults to 4.

- `-rpcworkqueue`: maximum depth of work queue. When this is reached, new
requests will return a 500 Internal Error.

- `-rpctimeout`: inactivity time, in seconds, after which to disconnect a
client.

- `-debug=http`: low-level http activity logging
2017-03-24 09:03:59 +13:00
jl777
7f6ddefd12 Test 2017-03-20 21:25:19 +02:00
jl777
ce69a5f2c3 Test 2017-03-20 05:56:53 +02:00
jl777
1e1893d8f1 Test 2017-03-19 18:19:12 +02:00
jl777
572f12e988 Test 2017-03-17 06:55:35 +02:00
jl777
ea6bdd9bf2 Test 2017-03-17 06:40:33 +02:00
Simon
07cf426404 Remove stale Qt comments and dead code 2017-03-09 17:04:59 -08:00
jl777
38671f757e Test 2017-02-26 15:21:03 +02:00
jl777
5c81c5719f Test 2017-02-26 15:16:30 +02:00
jl777
fe9dc3b890 Test 2017-02-25 18:30:26 +02:00
Leo Arias
82c754f628 Fix the path to the example configuration 2017-02-11 13:52:15 -06: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
Jack Grigg
24f4e3365b Show a friendly message explaining why zcashd needs a zcash.conf 2017-01-11 12:55:35 +01:00
jl777
63cd89c4ae test 2016-12-22 23:41:44 +02:00
jl777
f002aa71e7 test 2016-12-12 13:33:24 +02:00
jl777
aa6b61528d test 2016-11-19 12:59:46 -03:00
jl777
214fa084f0 test 2016-11-19 12:17:06 -03:00
jl777
35fc5e6674 test 2016-11-19 11:51:19 -03:00
jl777
ab91876752 test 2016-11-19 11:48:56 -03:00
jl777
ce906ce757 test 2016-11-15 11:17:55 -03:00
jl777
2b469f431e test 2016-11-09 13:06:27 -03:00
jl777
654dfaaf85 test 2016-11-07 16:36:49 -03:00
jl777
c6f7605347 test 2016-11-06 21:14:28 -03:00
jl777
3f083c258d test 2016-11-06 21:13:41 -03:00
jl777
421ac11d04 test 2016-11-06 12:04:45 -03:00
jl777
533a5d5d20 test 2016-10-30 20:11:00 -03:00
jl777
10fa67233f test 2016-10-29 13:52:31 -03:00
jl777
43a3c405d8 test 2016-10-29 13:52:13 -03:00
jl777
928b75a4a4 test 2016-10-29 13:10:27 -03:00
jl777
0e1af8a8f8 test 2016-10-29 08:36:43 -03:00
jl777
0c365446d0 test 2016-10-29 08:32:56 -03:00
jl777
561ff778b6 test 2016-10-29 08:03:14 -03:00
jl777
7bfc207ada test 2016-10-03 10:20:27 -03:00