Commit Graph

31859 Commits

Author SHA1 Message Date
Duke
007f2b31af Keep a list of notes we are spending and must lock which is different from the list of all notes we might spend 2025-05-31 12:21:17 -04:00
Duke
b5db300aed Clean up some comments 2025-05-31 11:07:52 -04:00
Duke
4fde93960b Upstream zec issue 1360 is mostly about sprout and sending to taddrs, which is not relevant 2025-05-31 10:09:24 -04:00
Duke
46070c65fd Remove comment which is no longer correct, z_mergetoaddress has locked notes for a long time now 2025-05-30 13:56:38 -04:00
Duke
e19bf2321a Merge branch 'dev' into lockzins 2025-05-30 13:51:02 -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
e38e10acdd Show a prefix of the first 8 chars of the hash for note debug lines 2025-05-30 09:54:44 -04:00
Duke
67dc93617c Merge branch 'dev' into lockzins 2025-05-30 08:41:30 -04:00
Duke
dba46b2ba6 Wait until after find_unspent_notes() to lock notes in z_sendmany 2025-05-30 08:40:42 -04:00
duke
70672d02a3 Merge pull request 'z_sendmany_opreturn' (#467) from z_sendmany_opreturn into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/467
2025-05-30 08:33:47 -04:00
Duke
88143a87fc Clean up locks if z_sendmany is cancelled 2025-05-30 08:22:31 -04:00
Duke
b43a4f2653 Remove unused code and formatting 2025-05-30 08:22:16 -04:00
Duke
d7fe1d43ca Debug logs when locking/unlocking a note 2025-05-29 18:43:30 -04:00
duke
f220091f16 Fix relnotes formatting 2025-05-29 17:19:40 -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
cb1b3df553 Remove unused sprout junk 2025-05-19 09:20:54 -04:00
Duke
2bd3b510ed Also lock transparent input utxos in z_sendmany, like z_mergetoaddress already does 2025-05-19 08:56:53 -04:00
Duke
532b15b45e Lock and unlock sapling notes during consolidations 2025-05-18 17:38:03 -04:00
Duke
dcdc9b4d69 We no longer need to include this joinsplit header 2025-05-18 17:37:25 -04:00
Duke
982986bb70 Remove unused joinsplit variables from z_mergetoaddress 2025-05-18 17:00:28 -04:00
Duke
40337a04b3 Remove unused joinsplit variables 2025-05-18 16:57:29 -04:00
Duke
8d93e5dfb4 Add locked key to z_listunspent rpc docs 2025-05-18 16:11:09 -04:00
Duke
1b527bc838 Add 'locked' key to the output of z_listunspent 2025-05-18 16:07:47 -04:00
Duke
8980fceadf Add logging for the locking+unlocking of zins 2025-05-18 16:07:10 -04:00
Duke
bd730cb927 Lock zins inside z_sendmany async operation 2025-05-18 14:52:51 -04:00
Duke
d18e246a92 Remove unused sprout datastructures 2025-05-18 14:21:20 -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
ad51bc424f Merge pull request 'Add HAC option -ac_minopreturnfee to change OP_RETURN fee per tx, regardless of tx size, default is 1 coin' (#460) from jhendrix/hush3:ac_minopreturnfee into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/460
2025-05-16 17:09:58 -04:00
jhendrix
0339a6bb24 Clarify that it is a minimum fee per tx that uses OP_RETURN
Blocking point for merging https://git.hush.is/hush/hush3/pulls/460.
2025-05-16 15:53:53 -04:00
jhendrix
5d037f52ff Add HAC option -ac_minopreturnfee to change OP_RETURN fee per tx, regardless of tx size, default is 1 coin 2025-05-16 15:03:42 +01: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
d5a4321212 Merge pull request 'Add HAC option to allow sending funds to the transparent burn address when -ac_private=1' (#459) from ac_burn into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/459
2025-05-15 12:06:06 -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