Commit Graph

487 Commits

Author SHA1 Message Date
Duke Leto
21cca9ec29 Only dump zindex.dat if -zindex is enabled 2021-06-18 11:41:47 -04:00
Duke Leto
20779308d8 Dump zindex.dat on first startup, if it does not exist 2021-06-17 16:26:24 -04:00
Duke Leto
666054bec5 Make compiler happy and start updating zstats in-memory data 2021-06-16 12:38:12 -04:00
Duke Leto
231850740e CZindexStats 2021-06-16 11:07:20 -04:00
Duke Leto
40bd639bd8 Read zdb on startup and serialize every 150s and on shutdown 2021-06-15 21:58:18 -04:00
Duke Leto
2ea5dcb048 Anti p2p fingerprinting via nTime 2021-04-16 01:16:40 -04:00
Duke Leto
161750c807 Merge branch 'danger' into duke
Conflicts:
	src/net.h
2021-04-09 23:51:19 -04:00
Duke Leto
315ed51192 p2p privacy 2021-04-09 14:49:24 -04:00
Duke Leto
532f46d55f Merge branch 'dev' into danger
Conflicts:
	src/net.cpp
2021-03-02 13:06:03 -05:00
Duke Leto
8339b55df4 Test-before-evict in addrman
From BTC Core https://github.com/bitcoin/bitcoin/pull/9037/ with modifications to support our asmap.

This has a small part of code commented out that depends feeler connection code.
2021-03-01 17:30:46 -05:00
Duke Leto
dd1453422b Add some p2p CLI options 2021-03-01 16:51:39 -05:00
Duke Leto
ea2b68c1d3 Feeler connections ported from BTC core, eclipse attack mitigation 2021-02-28 23:28:49 -05:00
Duke Leto
cf57365698 Deletions and cleanups 2021-01-26 08:56:08 -05:00
Duke Leto
ca4fb7b9a0 TLS tweaking and freaking 2021-01-24 19:30:54 -05:00
Duke Leto
1488a03f1c Improved TLS error handling and teach getpeerinfo about cipher of each connection 2021-01-24 15:06:34 -05:00
Duke Leto
cde6d33ad1 The term 'whitelist' is racist and so we choose to call this feature 'allowlist' 2021-01-10 10:46:22 -05:00
Duke Leto
70f9ac87b6 We do not know the gender of Satoshi, and it is a dumb concept anyway 2021-01-10 09:56:40 -05:00
Duke Leto
8fe3e238f0 Exclusively TLS connections at p2p layer; dump peers more often 2021-01-10 09:54:42 -05:00
Duke Leto
2733101a6a Harden p2p layer against Eclipse Attacks 2021-01-07 16:46:30 -05:00
Duke Leto
b58c15b9fb update copyrights 2020-12-10 07:45:36 -05:00
Duke Leto
31fc4099df HUSH NSPV 2020-12-09 19:22:51 -05:00
Duke Leto
c737c0dfaf We call them Hush Smart Chains around here 2020-11-15 11:54:06 -05:00
Duke Leto
a23b0e8388 Remove the unsupported concept of staked notaries 2020-11-15 10:28:53 -05:00
Duke Leto
fc17988249 Formatting changes 2020-11-14 18:45:35 -05:00
miodragpop
3ae6205a9b tls shape-up 2020-11-03 16:09:20 +01:00
miodragpop
9ff7565901 OpenSSL replaced by WolfSSL 2020-10-28 22:13:52 +01:00
miodragpop
6aac6ed3d7 ECDSA certificate generation 2020-10-27 13:45:55 +01:00
miodragpop
eaed7355c6 tls rework 2020-10-23 21:17:20 +02:00
Duke Leto
be16f80abc Hush Full Node is now GPLv3
Any projects which want to use Hush code from now on will need to be licensed as
GPLv3 or we will send the lawyers: https://www.softwarefreedom.org/

Notably, Komodo (KMD) is licensed as GPLv2 and is no longer compatible to receive
code changes, without causing legal issues. MIT projects, such as Zcash, also cannot pull
in changes from the Hush Full Node without permission from The Hush Developers,
which may in some circumstances grant an MIT license on a case-by-case basis.
2020-10-21 07:28:10 -04:00
miodragpop
56d9c00749 asmap bucketing ported from Komodo 2020-10-02 11:10:26 +02:00
miodragpop
62f67821ec tls implemented 2020-09-29 13:08:45 +02:00
Duke Leto
a7f88a87aa Update copyright URL to be https 2020-09-20 13:17:38 -04:00
Duke Leto
d4883bce7c More timedate changes from KMD 0.6 2020-07-09 10:31:12 -04:00
Jonathan "Duke" Leto
e6d09b3def Make compiler happy 2019-10-23 07:42:56 -07:00
Jonathan "Duke" Leto
719a8d6f20 More logging for dns seed stuff 2019-10-23 06:54:45 -07:00
Jonathan "Duke" Leto
52c716e625 Look in /usr/share/hush for sapling params 2019-10-18 10:58:27 -07:00
Mihailo Milenkovic
a7204d9f85 CC fixes for nSPV and others (#30)
- Remove adding txfee inputs for gateways claim
- FULLNODE and SUPERLITE macros
- Filter SetCCtxids with txid from oprert
- Fix for nServices of fullnode
- Use SetCCtxids_nSPV for some more CCs
- Fix addnormalinputs and add checking if utxo spent in mempool
2019-08-12 14:16:46 +03:00
jl777
0454333ff8 Tristate KOMODO_NSPV 2019-07-30 05:11:57 -11:00
jl777
9a3cf79c37 Test 2019-07-09 02:00:15 -11:00
jl777
f89ebce1e7 -print 2019-07-09 01:22:41 -11:00
jl777
94a1656ed2 Extern 2019-07-09 01:04:43 -11:00
jl777
ec24982ff6 +print 2019-07-09 01:02:35 -11:00
jl777
fc3c50c02e No services bug? 2019-07-09 01:00:39 -11:00
jl777
7c6f471173 Allow "inv" to be sent from superlite client 2019-07-05 06:57:09 -11:00
jl777
4bfb81956b +print 2019-07-05 06:22:40 -11:00
jl777
ab5954e7ef Create NODE_NSPV nServices flag 2019-07-02 08:56:09 -11:00
jl777
e9a2714441 uint32_t lastutxos,lastinfo; 2019-07-02 05:49:14 -11:00
jl777
49a7008f95 NSPV_lastinfo 2019-07-02 05:46:07 -11:00
jl777
d15bfa2bd3 Stub messages 2019-07-02 04:58:27 -11:00
jl777
aa1c651a74 komodo_nSPV.h 2019-07-02 04:25:54 -11:00