Commit Graph

32004 Commits

Author SHA1 Message Date
Duke
3a8ffe4cff Reject proofs of work that do not match claimed amount 2026-02-02 18:52:43 -05:00
jahway603
8d1865d99e Merge pull request 'Updated asmap.dat to use 1764864000_asmap_unfilled.dat from upstream commit 17f2e06cf62df7c4455492692b92cfb685d1d7f7' (#482) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/482
2026-01-06 09:16:03 -05:00
jahway603
e246ad6be5 Updated Debian Package control file to include cmake 2026-01-06 09:13:46 -05:00
jahway603
e740d6fee7 Added web versions of our unix manpages for hushd and hush-cli 2026-01-05 09:13:57 -05:00
jahway603
ece8f3b171 Updated asmap.dat to use 1764864000_asmap_unfilled.dat from upstream commit 17f2e06cf62df7c4455492692b92cfb685d1d7f7 2026-01-02 08:58:01 -05:00
jahway603
61e4d69d05 Merge remote-tracking branch 'origin/dev' into jahway603 2026-01-02 08:19:37 -05:00
Duke
ce1e2312bd Ignore test suite outputs 2026-01-01 15:49:14 -05:00
Duke
82cad1f90b Remove unused code 2026-01-01 15:24:57 -05:00
Duke
1001fa2e5d Remove some sprout-specific tests 2026-01-01 15:24:57 -05:00
Duke
cb1c257b50 Add "test" to run Hush tests
This replaces the hack that was test.sh with a more extensible and less hackish
test script.

To run the tests just run "./test" . By default it shows all RPCs called via
the "--tracerpc" flag. If you want to set custom test flags you can do

TEST_FLAGS="--elite-test-flag --foo" ./test

Currently we are only running lockzins.py and shieldcoinbase_donation.py tests
which are hardcoded. The plan is to allow custom sets of tests to be run with
this script.
2026-01-01 15:24:57 -05:00
Duke
38c1251ab6 Remove unused code 2025-12-30 23:11:12 -05:00
Duke
523444f934 Remove unused code 2025-12-30 22:40:34 -05:00
Duke
ffa1378725 We do not need to check for sprout-related bugs in sodium since we do not use these functions #480 2025-12-30 16:43:13 -05:00
Duke
7a029528b7 Remove unused sprout test code that uses libsodium functions that we no longer use 2025-12-30 16:38:42 -05:00
Duke
2b8c68a7aa Remove unused code 2025-12-30 16:15:24 -05:00
Duke
c35c228358 Make sure CC and CXX have default values when compiling deps 2025-12-30 15:44:48 -05:00
Duke
4be65be9e4 Merge branch 'danger' into dev 2025-12-30 13:48:14 -05:00
Duke
55c3f78dca Remove gmp as a dependency since we don't actually use it
Long ago our code actually used gmp directly but that is no longer the case.
Our dependency secp256k1 has an optional dependency on gmp but the way we
configure and compile secp256k1 does not use it. So there is no reason
to download and compile gmp in our build system. This means we no longer
need to maintain three different forks of GMP (one for Darwin, one for Win and
one for Linux that supports gcc15). This also makes downloading and compiling
Hush faster. Joy to the world.
2025-12-30 13:42:08 -05:00
jahway603
afe5cb361a Merge branch 'dev' into jahway603 2025-12-30 09:32:43 -05:00
Duke
44f096fd79 Merge remote-tracking branch 'origin/danger' into dev
Conflicts:
	util/build.sh
2025-12-30 03:46:08 -05:00
Duke
437a229c97 bdb requires -fPIE to link correctly 2025-12-30 03:41:06 -05:00
Duke
c1c5da11bd CXXFLAGS 2025-12-30 02:59:40 -05:00
Duke
efbaff9d89 Wolfssl uses a typedef called 'byte' which is no longer allowed in gcc15 2025-12-30 02:37:40 -05:00
Duke
79d8e9913a Remove unused variable 2025-12-30 02:02:24 -05:00
Duke
79230c41ab CFLAGS 2025-12-30 01:54:09 -05:00
Duke
50a4107f08 CFLAGS 2025-12-30 01:26:09 -05:00
Duke
017d0eeae5 CFLAGS 2025-12-30 00:37:21 -05:00
Duke
f6364c9ec6 CFLAGS 2025-12-29 23:35:22 -05:00
Duke
aba63b44a1 Set CCFLAGS not CPPFLAGS 2025-12-29 23:30:08 -05:00
Duke
7b14d1a00b Set CCFLAGS not CPPFLAGS 2025-12-29 23:28:30 -05:00
Duke
996f7c6d4a Do not build googletest since we do not currently compile the tests that use this dep 2025-12-29 23:24:00 -05:00
Duke
1abff7c619 Compile libsodium with -std=gnu17 2025-12-29 23:14:10 -05:00
Duke
61927fd72c Use -std=gnu17 when compiling depends sources and main source file 2025-12-29 22:49:14 -05:00
Duke
8dc516e82f Use -std=gnu17 to compile wolfssl and use all cores to compile 2025-12-29 22:35:22 -05:00
Duke
3b77ddc16e Use C17 standard when compiling bdb to avoid problems with gcc15 which defaults to C23 2025-12-29 22:06:17 -05:00
Duke
6b05141159 We also need to remove this from the generated ./configure script 2025-12-29 21:47:11 -05:00
Duke
be036e7013 Try to support gcc 15 in our GMP dependency 2025-12-29 21:26:55 -05:00
Duke
5fdcf49b26 Merge branch 'dev' into danger 2025-12-29 21:21:45 -05:00
Duke
93c0aa0659 Use custom compiler env vars CC/CXX for linux hosts when building 2025-12-29 20:18:01 -05:00
Duke
09f61c2959 Remove unnecessary code that gcc 15 complains about 2025-12-29 19:47:20 -05:00
Duke
c01ba48c97 Use custom CC/CXX variables during configure with reasonable defaults 2025-12-29 19:43:30 -05:00
Duke
e9b185f702 Allow custom compiler via environment variable for src/cc
The build system supports using CC to control the C compiler
and CXX to control the c++ compiler used but src/cc was hardcoded
to use the binary "gcc". Now it respects the custom value of
$CC environment variable if it exists.
2025-12-29 19:19:18 -05:00
Duke
edd856a51a Show autoconf version in build output 2025-12-29 19:14:57 -05:00
Duke
874e89e4f0 Only validate donation zaddrs if donating 2025-12-25 12:08:06 -05:00
Duke
2fd88b65e3 Be clear that 0 and 10 are included as valid donation percentages 2025-12-25 12:07:59 -05:00
duke
529e76d01c Merge pull request 'Sync danger to dev' (#479) from danger into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/479
2025-12-25 12:02:58 -05:00
Duke
8d688a49a5 Update relnotes 2025-12-20 07:30:08 -05:00
Duke
daf697599a Parallelize randomx compile and print some timings
When using "./build.sh -jX" we now pass the number of jobs to use
to the RandomX compilation which greatly speeds it up.
2025-12-10 23:52:11 -05:00
jahway603
812f33ff8c Removed explorer.hush.land from README.md
The domain hush.land is up for sale and does not run any more Hush services.
2025-12-10 13:10:45 -05:00
Duke
867ba4159b Avoid ASMap Health Checks if ac_clearnet=0 #475 2025-10-26 09:13:44 -04:00