Commit Graph

1026 Commits

Author SHA1 Message Date
Duke
f48181a120 Add help for -consolidationinterval which was missing 2023-10-25 13:16:47 -04:00
fekt
ac413ecb2e Adding Mac SDX paths 2023-03-03 20:20:47 -05:00
Duke
e033a2e6eb Update copyrights to 2023 2023-02-09 18:06:03 -05:00
duke
07505e311d Merge pull request 'correct ac_supply documented default' (#236) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/236
2023-02-09 21:16:00 +00:00
zanzibar
512da314a5 BIP155 (addrv2)
Tor v3 + i2p
2023-01-06 15:23:22 +00:00
Duke
ae64eb2392 Remove alerts 2022-12-18 08:24:49 -08:00
Jonathan "Duke" Leto
fcfe09d196 chainActive.Tip() can be NULL if have never synced to a chain tip before, so use chainActive.Height() instead 2022-11-12 04:17:35 -08:00
jahway603
d5871b2090 correct ac_supply documented default 2022-11-06 21:02:33 -05:00
jahway603
202e67f9ac document -maxreorg argument 2022-11-01 14:25:12 -04:00
triplefive
70908b1009 document -maxdebugfilesize 2022-10-31 16:13:21 -04:00
fekt
e313676562 Mac build fixes 2022-10-27 16:49:02 -04:00
jahway603
30a1921e26 added -ac_randomx_interval and -ac_randomx_lag to hushd --help 2022-10-04 13:39:41 -04:00
Jonathan "Duke" Leto
5d2307a709 Update copyrights to 2022 2022-09-19 15:45:30 -07:00
Duke Leto
61999b89ed Merge pull request 'Implement zsweep' (#195) from zsweep into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/195
2022-09-17 02:16:05 +00:00
Duke Leto
62c9bce6f7 Correct error messsage about invalid zsweepexclude address 2022-09-16 14:33:37 -04:00
Jonathan "Duke" Leto
f796d5d14e Support multiple zsweepexclude zaddrs 2022-09-16 10:08:53 -07:00
jahway603
b687d5f76e debug 2022-09-13 00:22:13 -04:00
Duke Leto
88d3f11664 Save excluded address to be used later 2022-09-13 00:18:44 -04:00
jahway603
78f5021cc2 starting to support zsweepexclude functionality 2022-09-12 22:38:53 -04:00
Duke Leto
1799c6c9bf Remove zeromq support 2022-09-12 19:35:27 -04:00
Duke Leto
bd4d2d71d3 Merge branch 'dev' into zsweep 2022-09-12 09:40:35 -04:00
Duke Leto
5b15d790f9 Parse sweep+consolidation intervals on startup, add consolidationinterval config option, change consolidation interval default to 25, only validate consolidatesaplingaddress if consolidation is enabled 2022-09-11 21:56:21 -04:00
Jonathan "Duke" Leto
8770fb7035 Hopefully avoid a coredump when consolidation=1 and consolidatesaplingaddress is not specified 2022-09-08 18:11:10 -07:00
Duke Leto
9c5e5c550c Fix compile issues in z_consolidationstatus 2022-09-06 09:20:53 -04:00
jahway603
658160ce6c still removing CLIENT_DATE 2022-09-03 09:44:59 -04:00
jahway603
43e0ec186b Get rid of CLIENT_DATE 2022-09-03 09:13:19 -04:00
Jonathan "Duke" Leto
4aedeb557b Add z_sweepstatus RPC 2022-08-27 10:35:08 -07:00
Duke Leto
c6e5b07a59 You might be a king or a little street zsweeper, but sooner or later you will dance with the reaper 2022-08-24 23:38:19 -04:00
Duke Leto
dda7233536 Merge branch 'randomx' into dev 2022-07-12 08:31:26 -04:00
Duke Leto
a70897966a Only print out randomx debug stuff when -debug=randomx 2022-07-11 18:33:10 -04:00
jahway603
214a7418d7 Document that '~' cannot be used in -datadir 2022-03-18 12:54:48 -04:00
Duke Leto
0b7f57af44 Document possible values of -ac_algo 2022-01-23 01:10:57 -05:00
Duke Leto
cdbf1fc5d6 Add -stratumaddress and better stratum error logging 2021-08-27 11:36:44 -04:00
Duke Leto
b505660489 Clarify some docs related to Overwinter, which HUSH and all HSCs have 2021-08-22 14:57:49 -04:00
Duke Leto
e6a650ff3e Add some stratum spices 2021-08-10 12:50:34 -04:00
Duke Leto
c2aa7bc353 Merge branch 'dev' into stratum 2021-08-09 11:54:55 -04:00
Duke Leto
89a4226965 Report rpc port in error when unable to connect 2021-08-05 15:55:34 -04:00
Duke Leto
d62d38312f Cleanup and make all custom hushd settings defaults for HUSH3 mainnet 2021-07-11 19:03:02 -04:00
Duke Leto
fc52a00c37 hush_init 2021-07-10 12:27:30 -04:00
Duke Leto
30a6ca4447 Built-in stratum server 2021-07-09 18:47:15 -04:00
Duke Leto
1cdf998ade docs for -keepnotewitnesscache 2021-06-29 13:33:43 -04:00
Duke Leto
b8ebbd7da5 Add -keepnotewitnesscache for advanced users 2021-06-27 12:52:45 -07:00
Duke Leto
21333ce153 Add -rescanheight 2021-06-26 15:49:47 -04: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
cec16658f1 Comments for future historians 2021-02-23 07:43:28 -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
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
a9477ea5a1 Port Bitcoin PR#13131 to fig Windows SIGTERM bug 2021-01-10 12:49:58 -05:00