Commit Graph

611 Commits

Author SHA1 Message Date
Duke
c1baab7b8a Rate limit incoming addr p2p messages 2023-03-16 22:33:25 -04:00
Duke
e033a2e6eb Update copyrights to 2023 2023-02-09 18:06:03 -05:00
Duke
6f8bce9b3a Fix bug where setban banned a node for 0 seconds 2023-01-12 23:59:11 -05:00
zanzibar
512da314a5 BIP155 (addrv2)
Tor v3 + i2p
2023-01-06 15:23:22 +00:00
Duke Leto
1b7f200d29 Fix typo in getsnapshot docs 2022-12-01 14:55:53 -05:00
fekt
a5bcfc88b6 Mac build fix 2022-10-28 00:56:40 -04:00
fekt
e313676562 Mac build fixes 2022-10-27 16:49:02 -04:00
Jonathan "Duke" Leto
43ef851f8c Add copyright to files missing Hush copyright lines 2022-09-21 08:46:02 -07:00
Jonathan "Duke" Leto
5d2307a709 Update copyrights to 2022 2022-09-19 15:45:30 -07:00
Jonathan "Duke" Leto
5c8c7507ec Add z_consolidationstatus RPC 2022-09-06 05:55:03 -07:00
Jonathan "Duke" Leto
4aedeb557b Add z_sweepstatus RPC 2022-08-27 10:35:08 -07:00
Duke Leto
9bd41875d7 Return getinfo algo as a single key 2022-07-12 23:20:57 -04:00
Duke Leto
4e7c6cda86 Merge branch 'randomx' into dev 2022-07-12 22:13:00 -04:00
jahway603
f55b77f652 changed algo N & K to equihash N & K 2022-07-12 17:19:00 -04:00
jahway603
e6ec40190c algo now reflects N & K if equihash 2022-07-06 11:50:39 -04:00
jahway603
dfc3056ede algo twerking 2022-07-06 01:08:55 -04:00
jahway603
642ac9bda1 algo all day long 2022-07-06 00:12:13 -04:00
Jonathan "Duke" Leto
0ee1d068c1 These haven't existed for a long time 2022-06-26 17:21:33 -07:00
Jonathan "Duke" Leto
0a9abedc5d Return size in bytes of a tx from getrawtransaction 2022-06-26 04:40:06 -07:00
Duke Leto
193a1b2a97 Clarify that it is OP_RETURN data 2022-04-20 10:52:12 -04:00
Duke Leto
69cd4f7990 data key (OP_RETURN) is optional in createrawtransaction 2022-04-20 10:51:12 -04:00
jahway603
9443cd1fa2 Merge branch 'dev' into dev 2022-03-18 16:55:22 +00:00
jahway603
04911ae966 Mention z_viewtransaction in gettransaction and getrawtransaction RPC calls 2022-03-18 12:12:40 -04:00
Duke Leto
ce5c8a54e4 Make it work correctly 2022-02-16 09:10:11 -05:00
Duke Leto
c8430665f7 WIP RPC that doesn't quite work yet 2022-02-15 11:26:50 -05:00
Duke Leto
d8481722ad Add time_remaining to listbanned output
Example output:

hush-cli listbanned
[
  {
    "address": "1.2.3.4/255.255.255.255",
    "banned_until": 1640921730,
    "time_remaining": 86395
  }
]
2021-12-29 22:36:02 -05:00
Duke Leto
cff8d114ea Fix rescan RPC to correctly use the optional rescan height 2021-12-21 20:55:29 -05:00
Duke Leto
fffa06d138 Fix UB in no Plaintext wallet.dat #85 2021-12-15 08:47:19 -05:00
Duke Leto
4f15626bb0 Cleanup 2021-09-16 14:24:27 -04:00
Duke Leto
f22cbbf1e2 Cleanup and remove dead code 2021-09-16 14:12:31 -04:00
Duke Leto
49713d8a04 Various things 2021-09-14 16:00:08 -04:00
Duke Leto
3d4123ee88 Cleanup 2021-09-03 12:35:59 -04:00
Duke Leto
4fecf72ec8 Remove dead code 2021-09-02 15:01:58 -04:00
Duke Leto
18339394b6 RPCs notaries, signmessage, decoderawtransaction and getnetworkinfo can now be called during RPC warmup 2021-09-02 12:29:52 -04:00
Duke Leto
b4cf845bf3 New listaddresses RPC and z_exportwallet RPC now can be called during RPC warmup 2021-09-02 12:22:04 -04:00
Duke Leto
59fbcbb541 . 2021-09-01 22:34:21 -04:00
Duke Leto
0c6e5945a6 Add listaddresses as a new replacement for getaddressesbyaccount; cleanup 2021-09-01 20:26:59 -04:00
Duke Leto
b30fae8238 clean up some more 2021-09-01 11:13:08 -04:00
Duke Leto
5c83c1b4e7 Cleanup 2021-09-01 11:02:19 -04:00
Duke Leto
120219d540 It is called getaddressesbyaccount, ugh 2021-09-01 10:36:23 -04:00
Duke Leto
e424a997a7 Cleanup 2021-08-26 00:08:37 -04:00
Duke Leto
ced3ba591d Fix coredump when running hush-cli during RPC warmup 2021-08-19 19:09:05 -04:00
Duke Leto
c2aa7bc353 Merge branch 'dev' into stratum 2021-08-09 11:54:55 -04:00
Duke Leto
63e1ede162 Also report work queue threads in rpcinfo 2021-08-09 11:51:25 -04:00
Duke Leto
236d79b3f8 Add rpcinfo rpc to debug deadlocks
We seem to have deadlock bugs in our RPC system, most likely inherited from ZEC or BTC.
Since some Hush RPC's take longer (such as anything with Sietch protections), the deadlocks
are more likely to occur. Eventually all RPC slots are used up and no more RPC commands
can be sent to hushd. This is why the "plz_stop" feature was implemented, but that is just
a workaround to restart the server. We must find and fix the root cause.

This rpc will allow us to see when we are getting close to our maximum work queue depth
and hopefully help us learn exactly what is happening.
2021-08-05 12:44:30 -04:00
Duke Leto
5a3f5b4152 . 2021-07-10 14:05:20 -04:00
Duke Leto
62adec08d8 Overwinter has always been active for HUSH + all HSCs 2021-07-10 03:46:05 -04:00
Duke Leto
30a6ca4447 Built-in stratum server 2021-07-09 18:47:15 -04:00
Duke Leto
2b915599ac Update rpc docs 2021-06-28 23:56:16 -04:00
Duke Leto
b7be25e2d5 Thanks to hellcatz for this patch 2021-06-26 14:42:40 -04:00