Commit Graph

31212 Commits

Author SHA1 Message Date
Duke Leto
28e604dd0b Merge pull request 'depends: Add FreeBSD to hosts and builders' (#196) from jahway603/hush3:freebsd into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/196
2022-09-17 02:17:20 +00:00
Duke Leto
61999b89ed Merge pull request 'Implement zsweep' (#195) from zsweep into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/195
2022-09-17 02:16:05 +00:00
Duke Leto
62c9bce6f7 Correct error messsage about invalid zsweepexclude address 2022-09-16 14:33:37 -04: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
Duke Leto
12fa3013ce Fix definition of sweepExcludeAddresses 2022-09-16 13:11:32 -04:00
Jonathan "Duke" Leto
f796d5d14e Support multiple zsweepexclude zaddrs 2022-09-16 10:08:53 -07:00
Jonathan "Duke" Leto
6b79b3e12c Merge branch 'zsweep' of https://git.hush.is/hush/hush3 into zsweep 2022-09-16 05:48:24 -07: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
88c2ddbb9f Update 'contrib/debian/copyright' 2022-09-16 11:12:46 +00:00
Duke Leto
2ddf539185 Check if hush-cli binary exists before using it 2022-09-15 19:41:28 -04:00
Duke Leto
b07f9db06d Update for 75s blocks 2022-09-15 19:39:57 -04:00
Duke Leto
f90715192e Do not delete expired txs for now, it doesn't work correctly, and log more info about them 2022-09-15 09:38:48 -04:00
Duke Leto
908240d07f Make z_sweepstatus match up with config option name 2022-09-13 01:00:56 -04:00
jahway603
b687d5f76e debug 2022-09-13 00:22:13 -04:00
Duke Leto
88d3f11664 Save excluded address to be used later 2022-09-13 00:18:44 -04:00
jahway603
0c22e26358 updated z_sweepstatus 2022-09-12 23:47:49 -04:00
jahway603
ca3bb90e0c skip excluded address from zsweep 2022-09-12 23:30:59 -04:00
jahway603
78f5021cc2 starting to support zsweepexclude functionality 2022-09-12 22:38:53 -04:00
Jonathan "Duke" Leto
7cbf9bf61b desprout 2022-09-12 18:38:03 -07:00
Jonathan "Duke" Leto
c6e278154f Find bash on FreeBSD better 2022-09-12 18:03:36 -07:00
Jonathan "Duke" Leto
fb45331b79 Be better about finding bash 2022-09-12 17:56:01 -07:00
Duke Leto
b6eb22fff8 Merge branch 'delete_zmq' into dev 2022-09-12 20:08:34 -04:00
Duke Leto
19b65600c2 Delete a zmq dingleberry 2022-09-12 20:07:16 -04:00
Duke Leto
f11d50d17e Update manpages to remove zmq options 2022-09-12 19:54:32 -04:00
Duke Leto
1799c6c9bf Remove zeromq support 2022-09-12 19:35:27 -04:00
Duke Leto
bd4d2d71d3 Merge branch 'dev' into zsweep 2022-09-12 09:40:35 -04:00
jahway603
0edc5927e9 depends: Add FreeBSD to hosts and builders 2022-09-12 00:50:50 -04:00
Duke Leto
bd9006623c Avoid coredumps in ReacceptWalletTransactions and log the situation, which is possibly caused by corrupt wallet tx data 2022-09-11 22:41:03 -04:00
Duke Leto
def5f815e0 Merge pull request 'removed unused function mta_find_output' (#192) from jahway603/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/192
2022-09-12 02:30:50 +00: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
9347b1fa12 Sweep Interval should be 10 to match other defaults 2022-09-11 20:18:01 -04:00
Duke Leto
2a1cad1e5f Fix bug in z_sweepstatus 2022-09-11 20:10:28 -04:00
jahway603
b06c378851 removed unused function mta_find_output 2022-09-11 18:01:44 -04:00
Duke Leto
772160af6d Add more logging for consolidation + sweeping 2022-09-10 19:38:08 -04:00
Duke Leto
1259dd512d Fix 'not enough conversion params' bug 2022-09-10 19:37:34 -04:00
Jonathan "Duke" Leto
85f7ac4c8c Enable function names and line numbers in backtraces 2022-09-09 15:14:01 -07:00
Duke Leto
8f49549a1d Fix stacktrace 2022-09-09 09:37:16 -04:00
Jonathan "Duke" Leto
4647bc8525 Try to generate a stacktrace for runtime errors in consolidation 2022-09-09 06:30:06 -07:00
Jonathan "Duke" Leto
8770fb7035 Hopefully avoid a coredump when consolidation=1 and consolidatesaplingaddress is not specified 2022-09-08 18:11:10 -07:00
Duke Leto
c2ea5d03cb Merge pull request 'Delete unused zcbenchmarks and Fix rare overflow in equihash mining' (#188) from jahway603/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/188
2022-09-07 16:11:14 +00:00
jahway603
b2987b43f0 miner: fix MAXSOLS 2022-09-07 01:10:53 -04:00
jahway603
3e75a2be22 delete unused zcbenchmarks 2022-09-07 00:35:08 -04:00
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