Duke
5d31a77036
Do not throw exception during syncing on regtest
2025-08-12 23:57:27 -04:00
Duke
45f2e6b134
Remove unused code
2025-08-12 23:39:26 -04:00
Duke
0f18946630
Add lockzins test
2025-08-12 23:30:06 -04:00
Duke
465fe58e6a
./test.sh now runs successfully and we can now write RPC tests
2025-08-12 22:17:18 -04:00
Duke
c8e1b598bc
Update authproxy.py to python3 version from upstream
2025-08-12 17:23:46 -04:00
Duke
fb062d2849
Work towards getting RPC tests working again
...
So much has changed since I originally got the RPC tests working many years ago,
most notably modern Linux distros don't even have a way to install python2 via
packages, you have to install from source. Continuing with python2 does not seem
like a good idea, so we begin migrating thigns to Python 3.
Currently running ./test.sh will successfully spin up a test chain but then
the test suite crashes when attempting to send an RPC request, which looks
to be caused by the test suite internals still expecting python2.
2025-08-12 17:19:04 -04:00
Duke
37fe953ea4
Add more to debian example config
2025-08-12 13:49:27 -04:00
Duke
0cd2bafa3a
Remove unused CLI options and update debian example config
2025-08-12 13:37:44 -04:00
Duke
fc8c641cff
Remove unused code
2025-08-08 21:58:39 -04:00
Duke
15b4378ff3
Remove unused code
2025-08-08 18:02:25 -04:00
Duke
e495bf35b2
Remove unused code
2025-08-08 17:36:11 -04:00
Duke
701ebf26a7
Remove unused code
2025-08-08 16:32:27 -04:00
Duke
03886da019
Remove unused code
2025-08-08 16:17:46 -04:00
Duke
2b3f9ed33f
Add -ac_clearnet=0 option so an entire chain can disable clearnet connection, instead of -clearnet=0 which only applies to a single node
2025-08-08 16:09:32 -04:00
Duke
ab81589bdf
Add rpc docs for using * with z_shieldcoinbase
2025-07-24 12:37:58 -04:00
Duke
51462777c8
Remove dead code
2025-07-24 09:07:44 -04:00
Duke
e0821acab4
Remove dead code
2025-07-24 08:56:10 -04:00
Duke
fcb94cba5a
Add note to relnotes
2025-07-06 09:52:33 -04:00
Duke
8f2d60883a
Merge branch 'master' into dev
2025-07-06 09:49:00 -04:00
Duke
74d66d8bf2
Merge branch 'dev'
2025-07-06 09:48:13 -04:00
Duke
4def0caf55
Merge branch 'master' into dev
2025-07-06 09:46:04 -04:00
Duke
1faf679a50
Update man pages via ./util/gen-manpages.sh
2025-07-03 12:57:20 -04:00
Duke
3caf605976
-ac_minopreturnfee is in puposhis
2025-06-27 10:46:42 -04:00
Duke
9042a24711
Update relnotes
2025-06-27 10:44:17 -04:00
Duke
a07b38b615
Hush 3.10.4 "Hazy Hākuturi"
2025-06-27 10:20:53 -04:00
Duke
7927965650
Update relnotes
2025-06-27 08:50:18 -04:00
Duke
97470e385d
Disallow using -mineraddress and -clearnet=0 at the same time
2025-06-27 05:45:24 -04:00
Duke
7e63e2f013
We call them HACs now
2025-06-27 05:32:12 -04:00
Duke
3b105c0245
Update Dragonx checkpoints to 2241000
2025-06-26 13:42:03 -04:00
Duke
76c97a3bce
Update Hush checkpoint to 2241000
2025-06-26 10:21:35 -04:00
Duke
af1ea27eb0
Remove Hush onions from drgx seed list and add fixed seeds to hush list
2025-06-25 10:21:52 -04:00
Duke
13749ab2b7
Add another .onion seed
2025-06-25 06:13:08 -04:00
Duke
2fa83f816d
Add some seeds from chainparamsseeds.h to hush_utils.h
2025-06-25 06:09:59 -04:00
Duke
9772ad8e6f
Add help doc that documents fixing database corruption
2025-06-09 12:51:25 -04:00
Duke
0a42eb3c1a
Don't warn about no nodes to relay to when -testnode=1
2025-05-30 13:50:52 -04:00
Duke
a520a3e655
Support using non-hex utf8 strings with z_sendmany memo
2025-05-29 15:40:07 -04:00
Duke
cc1c0b30b0
There is now only one opreturn possible in z_sendmany so pull the assignment to opret out of the loop
2025-05-29 15:31:47 -04:00
Duke
38901a073b
opreturn is no longer a valid json key in z_sendmany
2025-05-29 15:24:17 -04:00
Duke
a710dd2099
Allow an optional opreturn param
2025-05-29 15:08:40 -04:00
Duke
1a70e754ce
Revert "Add new opreturn param for z_sendmany to conversion list"
...
This reverts commit d6b7fc633f .
2025-05-29 15:08:27 -04:00
Duke
d6b7fc633f
Add new opreturn param for z_sendmany to conversion list
2025-05-29 15:06:47 -04:00
Duke
b6418912f2
Document utf8: prefix in z_sendmany opreturn and add example to RPC help
2025-05-29 13:53:21 -04:00
Duke
48e0a989c1
Decode utf8 in opreturn and convert to hex
2025-05-29 02:39:58 -04:00
Duke
fb3eb56c8f
Begin supporting utf8: in z_sendmany opreturn
2025-05-20 12:29:56 -04:00
Duke
492fbcd023
Leave opretValue null unless a 5th argument is given to avoid adding empty opreturns
2025-05-20 12:21:47 -04:00
Duke
97878fa065
There can be only one OP_RETURN in a tx
2025-05-20 11:47:22 -04:00
Duke
604d77fcd9
No use wasting memory to keep track of the set of all addresses and never use it
2025-05-17 23:28:31 -04:00
Duke
e748772fff
Validate -ac_minopreturnfee as a consensus rule
2025-05-17 10:23:51 -04:00
Duke
dd4aac4f5f
Ensure ASSETCHAINS_MINOPRETURNFEE modifies chain magic and document why
2025-05-16 21:18:56 -04:00
Duke
1d5c975f2f
Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev
2025-05-15 12:22:56 -04:00
Duke
d94b75087e
Update relnotes
2025-05-15 12:22:51 -04:00
Duke
3d704d5f59
Merge branch 'dev' into ac_burn
2025-05-07 11:23:40 -04:00
Duke
77af03d9ee
Merge branch 'opreturnfee' into dev
2025-05-07 11:20:35 -04:00
Duke
080092a16d
-ac_burn=1 requires a z2t tx, -ac_burn=2 does not
2025-05-06 00:31:13 -04:00
Duke
d39503c13b
Add HAC option to allow sending funds to the transparent burn address when -ac_private=1
2025-04-29 14:52:25 -04:00
Duke
c5843ae267
Merge branch 'dev' into opreturnfee
2025-04-28 09:41:17 -04:00
Duke
a49abdbc5b
Disable ASN healthcheck if clearnet=0
2025-03-26 09:03:18 -04:00
Duke
be85be83db
-clearnet implies -dns=0 -dnsseed=0
2025-03-07 09:15:12 -05:00
Duke
f5934c6573
Fix SoftSetArg to also set value in mapMultiArgs
...
Without this fix, setting -bind=x on the CLI is different from
SoftSetArg("-bind", "x") in C++, which previously only set
the value in mapArgs
2025-03-07 09:04:35 -05:00
Duke
81be8caa3f
Revert "Try to fix 'Failed to listen' error"
...
This reverts commit 11a9f95039 .
2025-03-06 10:24:26 -05:00
Duke
11a9f95039
Try to fix 'Failed to listen' error
2025-03-04 12:05:09 -05:00
Duke
e5d85af092
Also set -bind=127.0.0.1 when -clearnet=0
2025-03-03 11:59:52 -05:00
Duke
5dc6db7e5c
Prevent unary_function warning and other warnings #449
2025-03-02 18:52:16 -05:00
Duke
d51c2ac20b
Detect -clearnet correctly
2025-03-01 10:13:34 -05:00
Duke
cbc8995b36
-clearnet=0
2025-02-28 12:58:01 -05:00
Duke
ca8711f50c
Start adding 3.10.4 relnotes
2025-02-18 09:40:29 -05:00
Duke
937f341129
Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev
2025-02-18 09:36:48 -05:00
Duke
7dec077899
Bump version and protocol version
2025-02-18 09:36:39 -05:00
Duke
b880801235
Move -disableipv4/-disableipv6 parsing to be after -onlynet parsing
2025-02-18 07:04:10 -05:00
Duke
1aebc75d0b
Merge branch 'disableipv' into dev
2025-02-16 22:39:37 -05:00
Duke
44829674c8
Prevent the use of -disableipv4/-disableipv6 multiple times
2025-02-16 21:45:10 -05:00
Duke
53cf574c03
Use constants for the defaults of disableipv4/disableipv6 so the code and docs cannot be out of sync
2025-02-12 17:23:48 -05:00
Duke
85605737f0
Fix 'Not enough conversion specifiers in format string'
2025-02-12 17:13:46 -05:00
Duke
f98c34be1c
Make -disableipv4/-disableipv6 do something useful
2025-02-12 13:38:53 -05:00
Duke
46e6faa6fb
New script to calculate average blocktime between block heights
...
To use the script:
./contrib/avg_blocktime.pl DRAGONX
It has some default block heights defined, if you want custom ones
than those are given as 2nd and 3rd arguments. Currently the script
prints out:
Avg blocktime over 3000 blocks = 36.0526666666667
So with this evidence it seems that DRAGONX has the correct average
blocktime and network hashrate.
2024-12-25 12:03:29 -05:00
Duke
15f889d9f8
Cleanup
2024-12-03 11:55:43 -05:00
Duke
179fc6d6c0
Skip networks which do not have ASNs
2024-12-03 11:53:30 -05:00
Duke
ecf98cbce1
Schedule asmap health check to run once 5 mins after node starts
2024-12-03 11:28:11 -05:00
Duke
cceb61c371
Initial implementation of asmap health check
2024-12-02 11:11:40 -05:00
Duke
1009f931f2
Remove duplicate scheduling of peers.dat
2024-12-01 20:05:34 -05:00
Duke
0f4956be72
Support an env var to generate SDL checkpoints for a HAC
2024-11-18 10:43:08 -05:00
Duke
6e6ff5ccbc
Support an env var to generate SDL checkpoints for a HAC
2024-11-18 07:10:25 -08:00
Duke
5578bc81b9
Remove dead code
2024-11-11 08:25:38 -05:00
Duke
82f6b592c5
Remove dead code
2024-11-09 12:01:02 -05:00
Duke
f12152af70
Remove dead code
2024-11-09 10:27:58 -05:00
Duke
d31c69cf23
Remove dead code
2024-11-09 09:18:08 -05:00
Duke
dbc5a39afa
Fee requirement only applies to txs with OP_RETURN
2024-11-02 10:39:47 -04:00
Duke
58f4be930e
Require 1 COIN fee per tx that uses OP_RETURN, regardless of tx size
2024-11-01 11:40:54 -04:00
Duke
d8a799abe3
Make time warning correct for any HAC
2024-10-22 08:50:39 -04:00
Duke
65568d5738
Remove opreturn amnesty
2024-10-07 06:03:41 -04:00
Duke
8e44829cdf
Merge branch 'dev' into duke
2024-10-03 11:11:07 -04:00
Duke
18e4ca070e
Remove more cc stuff
2024-10-01 10:49:13 -04:00
Duke
a00ad8eeb8
Merge branch 'dev' into duke
2024-10-01 08:58:09 -04:00
Duke
598b969987
Use our own hosted version of libgmp
2024-10-01 08:46:46 -04:00
Duke
67fe111050
Mention wolfssl change in relnotes
2024-09-30 04:36:21 -07:00
Duke
47cc49bcc5
Change OP_RETURN fee requirements
...
This commit removes the CLI option -opretmintxfee, makes it always
enabled, changes the required fee rate and changes which OP_RETURNS
get "amnesty" and do not need to pay this fee rate.
2024-09-27 09:09:31 -04:00
Duke
93f6514d86
Disable absurd fee checks when adding to the mempool
...
To protect users who are not using opreturn we prevent any use of z_sendmany
with absurd fees if opreturn is not being used, so this change only affects
users who are adding opreturn data. Since there is no way to currently send
opreturn data via a GUI this still protects all GUI users from absurd fees
while allowing CLI users to decide to use higher fees.
2024-09-26 11:13:07 -04:00
Duke
01f0c34661
We do not support coin imports
2024-09-24 09:35:20 -04:00
Duke
bd5f0103a8
Remove more cc code
2024-09-22 12:19:12 -04:00
Duke
b6bcacad20
We do not support coin imports
2024-09-22 12:16:21 -04:00