Commit Graph

30501 Commits

Author SHA1 Message Date
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
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
Your Name
9e6fa11e42 update man pages 2021-02-26 07:36:24 -05:00
Duke Leto
e1d5c5b731 Bump version to 3.6.3 and ++ proto version 2021-02-25 16:07:27 -05:00
Duke Leto
61c162f5f5 Update 'INSTALL.md' 2021-02-23 16:50:26 +00: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
36c655a073 Update 'INSTALL.md' 2021-02-23 16:20:19 +00:00
Duke Leto
fea60d8bee Update 'INSTALL.md' 2021-02-23 16:17:56 +00: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
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
25aaca1283 Turn on ASN map for peer bucketing by default
The -asmap CLI arg now is given data by default, the first cryptocoin
that I am aware doing this. Bitcoin Core has let asmap stuff languish
on branches and PRs for a very long time, and it indeed has improved,
but people in the streets needs something Right Now.

In Bitcoin Core, -asmap is turned off by default and additionally, it's
quite annoying to generate the file to give to it, which is not included
with Bitcoin Core for either licensing or drama reasons, pick one.

bitcoin-asmap looks promising, but still, will not be enabled by
default, if it ever is merged:

https://github.com/bitcoin/bitcoin/pull/18573

In Hush, we decided to turn it ON BY DEFAULT and additionally,
revolutionarily, we give users the fucking data to use the damn feature,
by default, without them having to do anything. Ignorance is bliss, just
like Extreme Privacy.

Recently SD 1.1.1 learned to do this in it's own inimitable way, so that
release supports this feature without having Hush 3.6.2.

Why is ASN mapping always better than /16 (Class B) Bucketing?

It's just basic math.

  * A /16 means 65K "buckets" that a peer can be put into
  * Current (Jan 2020) ASN map has 7.4M buckets

That means the ASN bucketing method has over 100000 times more buckets
to put peers into, which means finer-grained filtering of peers
into actual logical networks intead of just IP addresses that are close.

Even an old out of date ASN map will always bucket peers better than a
/16, and all cryptocoins should migrate to doing this by default.

The main reason for this ASN bucketing is to defend against P2P layer
attacks such as the "Erebus Attack"

https://erebus-attack.comp.nus.edu.sg/
2021-02-08 22:04:26 -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
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
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