Commit Graph
100 Commits
Author SHA1 Message Date
Duke Leto 2ea5dcb048 Anti p2p fingerprinting via nTime 2021-04-16 01:16:40 -04:00
Duke Leto e48ffbe455 This error is user-facing in GUI wallets, so try to confuse them less 2021-04-15 12:44:23 -04:00
Duke Leto 5686f0c691 Clean up sprout turdz 2021-04-14 21:00:28 -04:00
Duke Leto 07931668cf Optionally filter balances by min value in z_getbalances 2021-04-14 20:15:11 -04:00
Duke Leto ab934fd094 Much fast z_getbalances, such wow 2021-04-13 23:18:40 -04:00
Duke Leto 1063b9090a Clean up some sprout turdz 2021-04-13 20:26:54 -04:00
Duke Leto 52e14828c8 Basic z_getbalances working, but slow 2021-04-13 18:13:36 -04:00
Duke Leto 4f57858881 Show z2z example in z_sendmany RPC docs 2021-04-11 23:37:21 -04:00
Duke Leto 34c5278340 No more JSDescription's 2021-04-10 00:10:37 -04:00
Duke Leto 161750c807 Merge branch 'danger' into duke
Conflicts:
	src/net.h
2021-04-09 23:51:19 -04:00
Duke Leto 4d252334bf . 2021-04-09 14:53:26 -04:00
Duke Leto 315ed51192 p2p privacy 2021-04-09 14:49:24 -04:00
Duke Leto a95c8965d2 Merge branch 'duke' into danger 2021-04-07 17:51:35 -04:00
Duke Leto ec53bba953 Merge branch 'dev' into duke 2021-04-07 17:45:06 -04:00
Duke Leto 23616274eb Merge branch 'master' into dev 2021-04-07 17:44:02 -04:00
Duke Leto 8056c2916a Merge branch 'dev' into danger 2021-04-01 12:36:29 -04:00
Duke Leto 7647ff3dea Report work queue depth in errors and increase default rpcthreads to 8 2021-04-01 11:04:04 -04:00
Duke Leto 1157d74d4b Merge branch 'master' into dev 2021-03-31 21:16:55 -04:00
Duke Leto a349e29502 Merge branch 'next' 2021-03-31 20:53:21 -04:00
Duke Leto 585bf34432 Checkpoints 2021-03-31 15:47:12 -04:00
Duke Leto 187933077a Require -debug for CalculateNextWorkRequired details 2021-03-31 15:45:24 -04:00
Duke Leto bb67868a5b Remove dead code 2021-03-31 14:48:44 -04:00
Duke Leto d202b05d55 Enforce nBits starting at daaForkHeight 2021-03-31 14:47:46 -04:00
Duke Leto 869169570e Calculate nBits correctly when checking the first block header we see after startup 2021-03-31 14:22:10 -04:00
Duke Leto 93a931bbd2 Hush has no JoinSplits 2021-03-30 20:12:06 -04:00
Duke Leto c051631f6b Log all nbits data and the delta in csv 2021-03-30 16:11:13 -04:00
Duke Leto 84dffacdea More details about invalid RPC replies 2021-03-29 17:51:56 -04:00
Duke Leto fe46773bed Log more data about incorrect diffbits 2021-03-29 17:46:35 -04:00
Duke Leto 78a9f55a82 typo 2021-03-29 09:59:31 -04:00
Duke Leto 276c7d6432 Revert "wolfssl 4.7.0"
This reverts commit 84ac805f11.
2021-03-29 09:58:02 -04:00
Duke Leto fe0d371165 Improve TLS error reporting 2021-03-29 09:57:03 -04:00
Duke Leto 84ac805f11 wolfssl 4.7.0 2021-03-29 00:43:24 -04:00
Duke Leto d74fc51d2f Update checkpoints 2021-03-27 19:11:25 -04:00
Duke Leto bae63f7674 Change default daa fork height 2021-03-27 18:55:48 -04:00
Duke Leto 26b340c8cf man pages 2021-03-27 07:59:10 -04:00
Duke Leto af5f461d0b bump version 2021-03-27 07:48:45 -04:00
Duke Leto 95697cfaa8 Enforce DAA fork at correct height 2021-03-27 07:44:50 -04:00
Duke Leto 6e7b44b7c0 daa fork height 2021-03-06 16:32:41 -05:00
Duke Leto 532f46d55f Merge branch 'dev' into danger
Conflicts:
	src/net.cpp
2021-03-02 13:06:03 -05:00
Duke Leto 82b39d89cf Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev 2021-03-01 17:50:50 -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 cadab16cdb Revert "Shitty VPS limiting disk i/o should not crash a full node..."
This reverts commit c90323865a.

Turns out this is a bad idea.
2021-02-28 09:40:59 -05:00
Duke Leto bb31926051 Merge branch 'master' into danger 2021-02-28 09:40:36 -05:00
Duke Leto 1d260fb919 Improve linux bin script 2021-02-26 11:33:22 -05:00
Duke Leto cfeaa47fa3 Checkpoints up to 440k 2021-02-26 08:42:59 -05:00
Duke Leto e76dccdb2c Merge branch 'dev' into duke 2021-02-25 15:49:30 -08:00
Duke Leto dbef6b34c8 Merge remote-tracking branch 'origin/master' into dev 2021-02-25 15:46:55 -08:00
Duke Leto e1d5c5b731 Bump version to 3.6.3 and ++ proto version 2021-02-25 16:07:27 -05:00
Duke Leto 8ed3ced34f Log block height in AddToWallet 2021-02-24 12:02:43 -08:00
Duke Leto b51546a8ec Merge branch 'master' of https://git.hush.is/hush/hush3 2021-02-23 11:37:10 -05:00
Duke Leto 15ef25bf65 Try hard to find asmap.dat in all scenarios: src, binary, packages 2021-02-23 11:36:57 -05:00
Duke Leto 974a6f11d5 Merge branch 'master' of https://git.hush.is/hush/hush3 2021-02-23 10:57:49 -05:00
Duke Leto 00a7437ad8 Add -fPIC to make wolfssl happy on Ubuntu 16.04 2021-02-23 07:54:40 -08:00
Duke Leto cec16658f1 Comments for future historians 2021-02-23 07:43:28 -05:00
Duke Leto eb9a7cdd00 Improve linux binary generation 2021-02-22 08:34:53 -05:00
Duke Leto 30bfc7be3a Add asmap to linux binary script 2021-02-22 08:20:32 -05:00
Duke Leto 3f7d51ce60 Add asmap.dat to Debian package 2021-02-22 08:15:19 -05:00
Duke Leto fd0d0e6c75 Remove unused partition check code
This code is unused and was disabled in BTC core and then deleted,
since it didn't work correctly: https://github.com/bitcoin/bitcoin/pull/8275
2021-02-22 04:44:57 -05:00
Duke Leto 3c03d271c2 Allowlisted peers are allowed to getheaders during IBD 2021-02-22 04:20:49 -05:00
Duke Leto f404fbf16a Merge branch 'dev' into duke 2021-02-22 03:49:40 -05:00
Duke Leto 5ac04de029 Update manpages 2021-02-21 08:21:31 -05:00
Duke Leto e2e6e44ca4 Add new -maxdebugfilesize CLI option and default to 15MB 2021-02-16 13:34:20 -05:00
Duke Leto f0eccfcbd5 Update checkpoints 2021-02-16 08:39:31 -05:00
Duke Leto 1c17315073 Merge branch 'asmap' into dev 2021-02-08 22:24:44 -05:00
Duke Leto 9dc5e4e0e4 Default to using contrib asmap if -asmap CLI arg is specified with no argument 2021-02-08 12:10:25 -05:00
Duke Leto b870172671 bump ver and copyright year 2021-02-08 11:44:32 -05:00
Duke Leto 48159bd650 Update network RPC docs 2021-02-08 08:56:10 -05:00
Duke Leto 3f30e4ec78 Merge branch 'dev' into danger 2021-02-06 17:36:01 +00:00
Duke Leto da27ee50eb Add ASN map data
This data will be used by hushd, SD and potentially other GUI clients,
so it makes the most sense for it to live here.
2021-02-06 11:26:33 -05:00
Duke Leto c90323865a Shitty VPS limiting disk i/o should not crash a full node... 2021-02-05 06:04:16 -05:00
Duke Leto 89085d44da Merge branch 'dev' into duke 2021-01-28 05:18:45 -05:00
Duke Leto d5cc1a459c Overview of Hush doc 2021-01-28 05:02:41 -05:00
Duke Leto abed6ee77f Emoji are essential to a functioning society 2021-01-28 02:34:31 -05:00
Duke Leto 94b593662d Update relnotes 2021-01-28 02:31:24 -05:00
Duke Leto 6cd14dd63d Add some details about 3.6.1 release 2021-01-27 13:55:37 -05:00
Duke Leto 4902388692 Merge branch 'master' into dev 2021-01-27 13:42:38 -05:00
Duke Leto 000ef4ac91 Keeping HUSH on the down low 2021-01-27 13:39:27 -05:00
Duke Leto cf57365698 Deletions and cleanups 2021-01-26 08:56:08 -05:00
Duke Leto 527c862cd2 Bump version and copyright year 2021-01-24 19:33:40 -05:00
Duke Leto ca4fb7b9a0 TLS tweaking and freaking 2021-01-24 19:30:54 -05:00
Duke Leto 415636af68 Improve TLS p2p error-handling and reduce logspam 2021-01-24 15:57:21 -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 f0e242632d Hide some logspam behind -zdebug 2021-01-24 15:05:41 -05:00
Duke Leto c1b0a84b3a Cleanup dead code and less logspam 2021-01-24 13:29:27 -05:00
Duke Leto c9b4dfa9c7 Force WolfSSL side-channel resistance
There seems to be some build-bug in WolfSSL, such that even though
--enable-harden (HARDEN) is default, it's not set correctly in options.h .

So we define it correctly just after parsing all other config options
BUT BEFORE we load the rest of WolfSSL headers.

These will be defined no matter what options are given to wolfssl ./configure:

ECC_TIMING_RESISTANT
TFM_TIMING_RESISTANT
2021-01-24 13:09:25 -05:00
Duke Leto cf9dc41361 Update to WolfSSL 4.6.0 which has XChaCha20 2021-01-24 13:06:37 -05:00
Duke Leto 2485eb6e5e cleanup 2021-01-24 13:06:16 -05:00
Duke Leto 93d1fd37f7 update manpage script 2021-01-24 13:06:01 -05:00
Duke Leto f75bcb3ed3 update tests 2021-01-24 13:05:40 -05:00
Duke Leto 810c0ebe8b update docs 2021-01-24 13:05:28 -05:00
Duke Leto f60a3e125e cleanup makefile 2021-01-24 13:05:18 -05:00
Duke Leto d6b850a855 Add protipz for hushdevz 2021-01-24 11:15:50 -05:00
Duke Leto 1f4c4f27e6 Refactoring 2021-01-24 08:51:17 -05:00
Duke Leto cf2ce8cde0 Checkpointz 2021-01-24 05:08:01 -05:00
Duke Leto 5554b760f4 Delete the kmd bash completion scripts which I originally wrote, lol 2021-01-24 04:47:10 -05:00
Duke Leto 1189208779 Remove some sprout tests 2021-01-23 22:53:32 -05:00
Duke Leto 0a99c80150 Optimize mempool by removing unnecessary sprout checks 2021-01-23 22:51:57 -05:00
Duke Leto 60108cf105 Fix ALIGN16 build warning and remove more joinsplit dingleberriez 2021-01-23 22:42:03 -05:00