Commit Graph

1424 Commits

Author SHA1 Message Date
Duke
a23ab58af6 Start removing unused gateway code 2024-01-07 13:20:17 -08:00
Duke
765487bb14 Remove unused code 2024-01-06 23:30:19 -08:00
Duke Leto
21530ba159 Remove unused code 2024-01-06 21:24:57 -08:00
Duke
d0c3d7587e Add memoStr to RPC help of z_listunspent and z_listreceivedbyaddress 2023-11-22 09:43:47 -05:00
Duke
cb62670581 Add memoStr to z_listunspent output 2023-11-20 09:40:15 -05:00
Duke
e695340133 Update RPC help for z_listreceivedaddress 2023-11-15 07:54:30 -05:00
Duke
94a48329ad Return help output if no address is given to z_listreceivedaddress 2023-11-13 10:22:04 -05:00
Duke
7eb9d75b94 Support * or ANY_ZADDR in z_mergetoaddress 2023-10-30 09:31:48 -04:00
Duke
7c45e66fbe Also return start and ending height in z_getstats json 2023-09-08 08:28:14 -04:00
Duke
4aca3493e3 Even more zstats
Example data for the entire history of the current HUSH mainnet :

  ./src/hush-cli z_getstats 1 1487622
{
  "total_ztxs": 414962,
  "total_zins": 798083,
  "total_zouts": 3312131,
  "total_ztxs_10_or_more_zins": 6789,
  "total_ztxs_25_or_more_zins": 1779,
  "total_ztxs_50_or_more_zins": 688,
  "total_ztxs_100_or_more_zins": 174,
  "total_ztxs_10_or_more_zouts": 2855,
  "total_ztxs_25_or_more_zouts": 394,
  "total_ztxs_50_or_more_zouts": 314,
  "total_ztxs_100_or_more_zouts": 208,
  "avg_zins": 1.923267672702561,
  "avg_zouts": 7.981769415030774,
  "largest_zins": 517,
  "largest_zins_txid": "69f126edd5a0189fbbe84b0824eb48e16eddf180e7d5d4f34c4296d0f868ac7f",
  "largest_zouts": 210,
  "largest_zouts_txid": "2a3155f73fab9191978e77e03be8ec7167372c4549113a6eb3f8a9d343f749ba"
}
2023-09-05 11:30:27 -04:00
Duke
ff7a597032 Lots of more data for z_getstats 2023-09-05 00:35:11 -04:00
Duke
7ea88bb303 Return total zins+zouts in json 2023-09-04 09:03:06 -04:00
Duke
8eaba566fd Force avg zins/zouts to be a double 2023-09-04 08:57:23 -04:00
Duke
0f4956dcd5 Initialize variables in z_getstats correctly 2023-09-04 08:50:05 -04:00
Duke
96ae2d61ca z_getstats RPC that calculates various stats about ztxs in a block range 2023-09-04 08:22:12 -04:00
Duke
fc69220e78 Remove unused code 2023-06-17 21:38:39 -04:00
Duke
b03c8f3108 Remove unused code 2023-06-17 21:31:05 -04:00
Duke
8126e706c6 Optional OP_RETURN in z_sendmany 2023-03-24 16:20:17 -04:00
Duke
e033a2e6eb Update copyrights to 2023 2023-02-09 18:06:03 -05:00
Duke
2c9bd5dd18 abortrescan 2023-02-09 17:17:00 -05:00
Duke
b360a2395a Allow abortrescan to be called via RPC 2023-02-09 13:45:45 -08:00
Duke Leto
71923e3ffb Initial implementation of getrescaninfo 2022-10-17 07:03:32 -04:00
Jonathan "Duke" Leto
5d2307a709 Update copyrights to 2022 2022-09-19 15:45:30 -07:00
Jonathan "Duke" Leto
2de20daa66 Document z_sendmany 'z' ... 2022-09-19 15:13:47 -07:00
Duke Leto
35f376c8b5 Fix bugs in excluding multiple zsweep zaddrs and report all excluded zsweep zaddrs in z_sweepstatus 2022-09-16 14:28:51 -04:00
Jonathan "Duke" Leto
77d7aaba96 Return an array of addresses to exclude from zsweep in zsweep_status 2022-09-16 05:47:35 -07:00
Duke Leto
908240d07f Make z_sweepstatus match up with config option name 2022-09-13 01:00:56 -04:00
jahway603
0c22e26358 updated z_sweepstatus 2022-09-12 23:47:49 -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
Duke Leto
2a1cad1e5f Fix bug in z_sweepstatus 2022-09-11 20:10:28 -04:00
jahway603
3e75a2be22 delete unused zcbenchmarks 2022-09-07 00:35:08 -04:00
Duke Leto
9c5e5c550c Fix compile issues in z_consolidationstatus 2022-09-06 09:20:53 -04:00
Jonathan "Duke" Leto
5c8c7507ec Add z_consolidationstatus RPC 2022-09-06 05:55:03 -07:00
Duke Leto
0e3889c96a List z_sweepstatus in RPC list 2022-08-27 15:03:11 -04:00
Duke Leto
4eec81b191 Fix some issues in z_sweepstatus 2022-08-27 13:57:00 -04:00
Jonathan "Duke" Leto
4aedeb557b Add z_sweepstatus RPC 2022-08-27 10:35:08 -07:00
Duke Leto
739fe4d1f3 Merge branch 'dev' into danger 2022-07-12 08:32:06 -04:00
Duke Leto
dda7233536 Merge branch 'randomx' into dev 2022-07-12 08:31:26 -04:00
Duke Leto
15d254af10 Ignore chain sync verification and relaying when -testnode=1 2022-07-01 21:40:39 -04:00
Duke Leto
2b336dccc0 Fix ending height bug and check that ending height is larger than starting height 2022-06-09 06:41:09 -04:00
Jonathan "Duke" Leto
e0d22ee170 Enable z_anonsetblockdelta to calculate a delta for a block range; ignore coinbase txs as optimization 2022-06-09 03:00:50 -07:00
Duke Leto
cc61b19930 Make z_anonsettxdelta work on a tx that is not in our wallet and fix calculation 2022-06-07 23:56:25 -04:00
Duke Leto
c218cf1c09 Fix compile errors 2022-06-07 23:19:06 -04:00
Jonathan "Duke" Leto
bdde67c359 Initial implementation of anonsettxdelta + z_anonsetblockdelta 2022-06-07 20:05:49 -07:00
Duke Leto
689a360b60 Allow notary addresses in sendmany, fixes #126 2022-04-18 00:32:11 -04:00
Duke Leto
79a6f51c2d Update some comments and docs 2022-03-30 00:21:38 -04:00
jahway603
04911ae966 Mention z_viewtransaction in gettransaction and getrawtransaction RPC calls 2022-03-18 12:12:40 -04:00
Duke Leto
66f1f9b076 Remove mention of overwintered from RPC docs. HUSH and all HSCs are all overwintered #19 2021-12-23 12:14:54 -05:00
Duke Leto
e00dabb79b Fix bug in listaddresses RPC 2021-09-18 11:25:13 -04:00