Commit Graph
100 Commits
Author SHA1 Message Date
Duke caf7178ffd Allow donation=0 2025-10-14 10:57:40 -04:00
Duke 75564c82ac Failing test for shielded donation 2025-10-14 04:16:15 -04:00
Duke c3b9b09144 Make rpc error correct for all chains 2025-10-14 03:58:00 -04:00
Duke 61bae5fb7b WIP donation test 2025-10-14 03:49:06 -04:00
Duke 23ef00cfd7 WIP donation test 2025-10-13 18:21:51 -04:00
Duke 1f50e635a0 WIP donation 2025-10-13 15:27:30 -04:00
Duke c078d1606d Merge remote-tracking branch 'origin/dev' into danger 2025-10-13 15:08:19 -04:00
Duke 02a26751bb WIP donation 2025-10-13 15:06:42 -04:00
Duke 2980108cdc Update relnotes 2025-10-13 14:45:10 -04:00
Duke 2f7082c713 Update relnotes 2025-10-13 14:28:54 -04:00
Duke cb81fc3b95 Less noise unless -debug is used 2025-09-24 09:30:33 -04:00
Duke e421dfc6a5 Improve rpc docs of z_listlockunspent 2025-08-23 06:17:32 -04:00
Duke a555f64ad9 Has the sleeper awakened? 2025-08-22 21:26:05 -04:00
Duke aa69b87505 These are unrelated to ztxs and should be -debug 2025-08-22 21:21:15 -04:00
Duke 04ec2be8c8 Add fullyNotified to getblockchaininfo and use it in tests 2025-08-22 13:17:36 -04:00
Duke 727f4d9a29 Sleep as a hack for lacking fullyNotified in some places 2025-08-22 11:33:13 -04:00
Duke 34829af017 Avoid coredump if witness index does not exist 2025-08-22 07:34:11 -04:00
Duke fb7d669f14 Remove commented out code 2025-08-22 07:09:15 -04:00
Duke 4ef3554307 Update authproxy 2025-08-22 06:47:27 -04:00
Duke 7e3ce02d87 Bring back sorting notes descending by value which was in find_unspent_notes() 2025-08-22 06:16:25 -04:00
Duke ae170e9899 Spendable notes are now locked and 1159 seems to be an irrelevant upstream issue 2025-08-22 05:43:21 -04:00
Duke 90f00ac8a4 cleanup 2025-08-21 17:05:16 -04:00
Duke eb4fc52273 lockzins test finally passes because z_sendmany correctly locks notes now 2025-08-21 16:59:33 -04:00
Duke 8148c4f625 More test logging 2025-08-21 16:26:55 -04:00
Duke fcd939978f More verbose logging in lockzins test 2025-08-21 16:15:11 -04:00
Duke d73c1b86e4 Log amount if negative change happens 2025-08-21 16:14:47 -04:00
Duke 6e029a62ac Remove unused header inclusion 2025-08-21 16:14:23 -04:00
Duke 564ff0cb3a Update test_framework.py from upstream which fixes #476 2025-08-21 16:13:52 -04:00
Duke a719e05be4 Add output index to z_listlockunspent 2025-08-21 02:00:19 -04:00
Duke 7c434ba030 Log calls to GetFilteredNotes and only warn when witness root is actually invalid 2025-08-21 01:59:20 -04:00
Duke b0cbcc6152 Unlock notes+utxos earlier 2025-08-21 01:57:42 -04:00
Duke bf55e6daa5 Avoid useless warnings in tests 2025-08-21 01:56:53 -04:00
Duke 80f48a9338 Run z_listlockunspent in tests so we can see which notes are locked 2025-08-21 01:56:24 -04:00
Duke cae942a5c9 z_listlockunspent 2025-08-20 15:15:36 -04:00
Duke c6892b950b Merge branch 'dev' into lockzins 2025-08-13 01:19:34 -04:00
Duke bd9dc4d190 A test for lockzins branch which currently fails on dev branch 2025-08-13 01:13:10 -04:00
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 bd52fc5ee6 Try harder to avoid selecting locked notes to spend 2025-08-11 09:36:45 -04:00
Duke 62da1981bb WIP donation 2025-08-10 13:46:07 -04:00
Duke 2a6ea137ae Merge branch 'dev' into lockzins 2025-08-09 10:22:53 -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 d95da694b9 WIP donation via z_shieldcoinbase 2025-08-08 14:53:21 -04:00
Duke 0df8a4595a Merge branch 'dev' into danger 2025-08-08 14:06:23 -04:00
Duke d415277548 Merge branch 'dev' into lockzins 2025-07-29 09:10:42 -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 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 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 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