fekt
e313676562
Mac build fixes
2 years ago
Jonathan "Duke" Leto
43ef851f8c
Add copyright to files missing Hush copyright lines
2 years ago
Jonathan "Duke" Leto
5d2307a709
Update copyrights to 2022
2 years ago
Jonathan "Duke" Leto
5c8c7507ec
Add z_consolidationstatus RPC
2 years ago
Jonathan "Duke" Leto
4aedeb557b
Add z_sweepstatus RPC
2 years ago
Duke Leto
9bd41875d7
Return getinfo algo as a single key
2 years ago
jahway603
f55b77f652
changed algo N & K to equihash N & K
2 years ago
jahway603
e6ec40190c
algo now reflects N & K if equihash
2 years ago
jahway603
dfc3056ede
algo twerking
2 years ago
jahway603
642ac9bda1
algo all day long
2 years ago
Jonathan "Duke" Leto
0ee1d068c1
These haven't existed for a long time
2 years ago
Jonathan "Duke" Leto
0a9abedc5d
Return size in bytes of a tx from getrawtransaction
2 years ago
Duke Leto
193a1b2a97
Clarify that it is OP_RETURN data
2 years ago
Duke Leto
69cd4f7990
data key (OP_RETURN) is optional in createrawtransaction
2 years ago
jahway603
04911ae966
Mention z_viewtransaction in gettransaction and getrawtransaction RPC calls
2 years ago
Duke Leto
ce5c8a54e4
Make it work correctly
2 years ago
Duke Leto
c8430665f7
WIP RPC that doesn't quite work yet
2 years ago
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
}
]
3 years ago
Duke Leto
cff8d114ea
Fix rescan RPC to correctly use the optional rescan height
3 years ago
Duke Leto
fffa06d138
Fix UB in no Plaintext wallet.dat #85
3 years ago
Duke Leto
4f15626bb0
Cleanup
3 years ago
Duke Leto
f22cbbf1e2
Cleanup and remove dead code
3 years ago
Duke Leto
49713d8a04
Various things
3 years ago
Duke Leto
3d4123ee88
Cleanup
3 years ago
Duke Leto
4fecf72ec8
Remove dead code
3 years ago
Duke Leto
18339394b6
RPCs notaries, signmessage, decoderawtransaction and getnetworkinfo can now be called during RPC warmup
3 years ago
Duke Leto
b4cf845bf3
New listaddresses RPC and z_exportwallet RPC now can be called during RPC warmup
3 years ago
Duke Leto
59fbcbb541
.
3 years ago
Duke Leto
0c6e5945a6
Add listaddresses as a new replacement for getaddressesbyaccount; cleanup
3 years ago
Duke Leto
b30fae8238
clean up some more
3 years ago
Duke Leto
5c83c1b4e7
Cleanup
3 years ago
Duke Leto
120219d540
It is called getaddressesbyaccount, ugh
3 years ago
Duke Leto
e424a997a7
Cleanup
3 years ago
Duke Leto
ced3ba591d
Fix coredump when running hush-cli during RPC warmup
3 years ago
Duke Leto
63e1ede162
Also report work queue threads in rpcinfo
3 years ago
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.
3 years ago
jahway603
b7e8ad73ae
.
3 years ago
jahway603
f90afcc15b
stratum doesn't appear, so trying to add stratumRPCCommands as seen elsewhere
3 years ago
Duke Leto
5a3f5b4152
.
3 years ago
Duke Leto
62adec08d8
Overwinter has always been active for HUSH + all HSCs
3 years ago
Duke Leto
30a6ca4447
Built-in stratum server
3 years ago
Duke Leto
2b915599ac
Update rpc docs
3 years ago
Duke Leto
b7be25e2d5
Thanks to hellcatz for this patch
3 years ago
Duke Leto
e829822041
logging to help debug window stats being wrong after restart
3 years ago
Duke Leto
0d24faa39a
Allow getpeerinfo during rpc warmup
3 years ago
Duke Leto
3796795566
Allow help, z_listaddresses, listaddresses, z_exportkey and dumpprivkey during RPC warmup
3 years ago
Duke Leto
860541d2e4
Show relay status in getpeerinfo
3 years ago
Duke Leto
4a536d62dc
Update copyrights
3 years ago
Duke Leto
07931668cf
Optionally filter balances by min value in z_getbalances
3 years ago
Duke Leto
52e14828c8
Basic z_getbalances working, but slow
3 years ago