Commit Graph

30955 Commits

Author SHA1 Message Date
Duke Leto
61ecffd074 Change default sweep interval to 10 and consolidation to be deterministic every 45 blocks 2022-09-06 14:30:06 -04:00
Duke Leto
8d8f988a19 Delete expired txs from the wallet, since they can never be included in a block 2022-09-06 11:19:46 -04:00
Duke Leto
8581012163 Sweep operations might not create any txs, so make logging more precise 2022-09-06 11:19:16 -04:00
Duke Leto
456cf77b65 Exit RelayTransaction early if we have no nodes to relay to 2022-09-06 10:08:24 -04:00
Duke Leto
55703fdb95 Do not ban nodes which relay expired transactions 2022-09-06 10:03:47 -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
Jonathan "Duke" Leto
ed1939929b fix compile issue 2022-09-03 16:43:58 -07:00
Jonathan "Duke" Leto
3327b25a28 fix logging bug 2022-09-03 16:22:43 -07:00
Duke Leto
63f9e22308 log the function name correctly 2022-08-31 14:15:38 -04:00
Duke Leto
4573a8336f Fix compile error 2022-08-31 14:10:40 -04:00
Jonathan "Duke" Leto
0865579e54 Merge remote-tracking branch 'origin/zsweep' into zsweep 2022-08-31 11:09:26 -07:00
Jonathan "Duke" Leto
26fd16cb52 Avoid relaying expired transactions which causes other nodes to ban us 2022-08-31 11:09:18 -07:00
Duke Leto
88263995c8 Do not coredump if pnode=NULL in RelayTransaction 2022-08-30 22:27:34 -04:00
Duke Leto
57baf25b02 Do not add to amountConsolidated until we successfully create the tx and only do it once 2022-08-30 22:05:41 -04:00
Duke Leto
b50c51f797 Log value of status and correctly return status value instead of always returning success, derp 2022-08-30 21:05:57 -04:00
Duke Leto
b4b6988eb0 Log when we use fee=0 for small inputs 2022-08-30 21:05:27 -04:00
Duke Leto
702c2163cd Log if we have no zsweepaddress or an invalid zsweepaddress 2022-08-30 21:05:09 -04:00
Duke Leto
1748f0f2a3 Improved logging and error checking in consolidation and sweeping 2022-08-27 22:31:40 -04:00
Duke Leto
0e3889c96a List z_sweepstatus in RPC list 2022-08-27 15:03:11 -04:00
Duke Leto
3730175971 Add some logging when skipping sweep/consolidation 2022-08-27 14:04:53 -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
02ef714901 Commit forgotten files 2022-08-25 09:26:10 -04:00
Duke Leto
c6e5b07a59 You might be a king or a little street zsweeper, but sooner or later you will dance with the reaper 2022-08-24 23:38:19 -04:00
Duke Leto
afd3f93e2e Throw error in wallet if ReadBlockFromDisk fails 2022-07-18 10:43:22 -04:00
Duke Leto
09e3c7c0fc Merge pull request 'fixed spacing in manpages' (#160) from jahway603/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/160
2022-07-17 13:07:34 +00:00
jahway603
2efa9652e2 fixed spacing in manpages 2022-07-15 22:21:41 -04:00
Duke Leto
a571090c03 Merge pull request 'update build.sh, update CONTRIBUTING.md, and update libsodium source to gitea' (#158) from jahway603/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/158
2022-07-16 01:07:44 +00:00
jahway603
b6ee6ba57e changed libsodium to gitea hosted version 2022-07-15 12:58:29 -04:00
jahway603
ff37b7a1ec update build.sh and CONTRIBUTING.md 2022-07-15 11:43:05 -04:00
Duke Leto
45af3ff80b Merge pull request 'optimized IsBanned' (#152) from jahway603/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/152
2022-07-15 15:38:11 +00:00
jahway603
9806119366 optimized IsBanned() 2022-07-13 01:04:03 -04:00
Duke Leto
a3258de217 less debug by default from IsInitialBlockDownload 2022-07-12 23:29:36 -04: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
Duke Leto
7d2427074d Merge pull request 'migrated more from mcro' (#133) from jahway603/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/133
2022-07-12 23:27:00 +00:00
jahway603
398db65c0e NOW using special gitea file 2022-07-12 18:26:05 -04:00
Duke Leto
d0da4d077e Merge pull request 'algo always displayed with getinfo RPC' (#147) from jahway603/hush3:randomx into randomx
Reviewed-on: https://git.hush.is/hush/hush3/pulls/147
2022-07-12 21:53:59 +00:00
jahway603
60759fdd09 Merge remote-tracking branch 'remotes/upstream/randomx' into randomx 2022-07-12 17:20:15 -04:00
jahway603
f55b77f652 changed algo N & K to equihash N & K 2022-07-12 17:19:00 -04:00
jahway603
b956945509 fixed utfcpp to use Hush gitea copy 2022-07-12 16:29:30 -04:00
jahway603
41b2a75e1f Merge remote-tracking branch 'remotes/upstream/dev' into dev 2022-07-12 16:26:45 -04:00
Duke Leto
d440b7b98c Merge branch 'danger' into dev 2022-07-12 08:32:48 -04: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
a70897966a Only print out randomx debug stuff when -debug=randomx 2022-07-11 18:33:10 -04:00
Duke Leto
66e9bd835a less debug 2022-07-08 09:42:54 -04:00
jahway603
4768d302fd added jahway603 to AUTHORS 2022-07-06 11:56:10 -04:00
jahway603
e6ec40190c algo now reflects N & K if equihash 2022-07-06 11:50:39 -04:00