100 Commits
Author SHA1 Message Date
Jonathan "Duke" Leto fcfe09d196 chainActive.Tip() can be NULL if have never synced to a chain tip before, so use chainActive.Height() instead 2022-11-12 04:17:35 -08:00
Jonathan "Duke" Leto ca52c6beb8 Avoid potential coredump if pindex is NULL 2022-11-11 04:26:18 -08:00
Jonathan "Duke" Leto ef461fd639 Merge remote-tracking branch 'origin/master' into dev 2022-10-31 05:34:30 -07:00
Jonathan "Duke" Leto 2c99fdb43d Add placeholder in relnotes for next release and add note in release process docs 2022-09-28 05:19:36 -07:00
Jonathan "Duke" Leto 8dbfe6eb13 Add copyright 2022-09-27 18:23:39 -07:00
Jonathan "Duke" Leto 4d89566f8e This needs to be documented better 2022-09-27 06:09:58 -07:00
Jonathan "Duke" Leto cea41546a1 Merge branch 'dev' 2022-09-27 05:05:46 -07:00
Jonathan "Duke" Leto 517e16f1b0 Ensure local dev branch is up-to-date before merging dev 2022-09-27 05:04:31 -07:00
Jonathan "Duke" Leto 9cf440ae2d Explain git-fu in reldocs 2022-09-27 05:02:46 -07:00
Jonathan "Duke" Leto f792488328 Improve release process docs 2022-09-27 05:01:35 -07:00
Jonathan "Duke" Leto be7f355691 RandomX for HSC docs 2022-09-25 09:02:30 -07:00
Jonathan "Duke" Leto bffa3ce042 Update 3.9.2 relnotes 2022-09-25 06:32:03 -07:00
Jonathan "Duke" Leto 819f99cc07 Basic HSC docs 2022-09-25 06:27:33 -07:00
Jonathan "Duke" Leto 1e40d2711d Add copyright to files missing Hush copyright lines 2022-09-21 08:59:19 -07:00
Jonathan "Duke" Leto 6e6dfabbe2 Add copyright to files missing Hush copyright lines 2022-09-21 08:57:41 -07:00
Jonathan "Duke" Leto ea93a31c09 Add copyright to files missing Hush copyright lines 2022-09-21 08:56:10 -07:00
Jonathan "Duke" Leto ad3a35fcba Add copyright to files missing Hush copyright lines 2022-09-21 08:54:08 -07:00
Jonathan "Duke" Leto 03e1308783 Add copyright to files missing Hush copyright lines 2022-09-21 08:50:10 -07:00
Jonathan "Duke" Leto 35df2aa91f Add copyright to files missing Hush copyright lines 2022-09-21 08:48:42 -07:00
Jonathan "Duke" Leto 2564f6a66f Add copyright to files missing Hush copyright lines 2022-09-21 08:47:45 -07:00
Jonathan "Duke" Leto 43ef851f8c Add copyright to files missing Hush copyright lines 2022-09-21 08:46:02 -07:00
Jonathan "Duke" Leto f791613c70 Add copyright to files missing Hush copyright lines 2022-09-21 08:44:34 -07:00
Jonathan "Duke" Leto 45e6a5c819 Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev 2022-09-21 08:38:14 -07:00
Jonathan "Duke" Leto 005f1e00bc Update copyrights 2022-09-21 08:38:10 -07:00
Jonathan "Duke" Leto b41ff1b0da Make block_time.pl more portable 2022-09-19 16:32:46 -07:00
Jonathan "Duke" Leto 2a8dbbad7b Make shell scripts more portable by using /usr/bin/env bash 2022-09-19 16:30:39 -07:00
Jonathan "Duke" Leto 86a2c1c73c Lern 2 spel 2022-09-19 16:10:02 -07:00
Jonathan "Duke" Leto f02a81fa4c Also update COPYRIGHT_YEAR in clientversion.h and teach update-copyrights.sh how to do it 2022-09-19 16:02:05 -07:00
Jonathan "Duke" Leto b7b269448f Update copyrights that have an initial year of 2020 or later 2022-09-19 15:54:01 -07:00
Jonathan "Duke" Leto d5112907b4 Write script to update copyrights 2022-09-19 15:49:44 -07: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
Jonathan "Duke" Leto f6457a7ce5 Clarify a confusing comment 2022-09-19 13:59:16 -07:00
Jonathan "Duke" Leto c1286c4140 Add copyright lines to HSC batch file 2022-09-19 13:58:21 -07:00
Jonathan "Duke" Leto bd8ebb6a1c Pass along all CLI params, not just the first 9 2022-09-19 13:56:46 -07:00
Jonathan "Duke" Leto da5bd906af Add a windows batch file for hush-smart-chain
It would be nice to pass along all CLI params, not just the first 9,
since we may need more than that. We should also add copyright lines.
2022-09-19 13:54:20 -07:00
Jonathan "Duke" Leto 3a36f544aa Get rid of boost stacktrace stuff 2022-09-19 07:15:08 -07:00
Jonathan "Duke" Leto 54cfe10994 Document all scripts in util/ 2022-09-19 06:25:18 -07:00
Jonathan "Duke" Leto dd83c0f427 Remove contrib/devtools/ 2022-09-19 06:20:41 -07:00
Jonathan "Duke" Leto 7000ba189c Move the rest of devtools to util/ 2022-09-19 06:20:15 -07:00
Jonathan "Duke" Leto 5b105ce61a This tool does not exist in our repo 2022-09-19 06:19:01 -07:00
Jonathan "Duke" Leto 6cd6f7e0ba Migrate readme docs to util/ 2022-09-19 06:18:25 -07:00
Jonathan "Duke" Leto 2b809c56a0 Move things to util/ and update docs+build system references 2022-09-19 06:16:25 -07:00
Jonathan "Duke" Leto 432ea4b28b move replace.pl to util/ 2022-09-19 06:14:34 -07:00
Jonathan "Duke" Leto 644f43bcc6 move gen-manpages to util/ 2022-09-19 06:14:11 -07:00
Jonathan "Duke" Leto 00aa7eaea4 Remove a tool that was inherited from BTC related to QT code that we don't even have (lulz) 2022-09-19 06:08:53 -07:00
Jonathan "Duke" Leto 93207a2faf Add copyrights to some devtools 2022-09-19 05:59:41 -07:00
Jonathan "Duke" Leto 84c9b786a7 Move checkpoints.pl to util/ 2022-09-19 05:52:53 -07:00
Jonathan "Duke" Leto 9bf09f353b Add readme to ./util dir 2022-09-19 05:47:35 -07:00
Jonathan "Duke" Leto c15f1a93b1 Add randomx stuff to build-arm.sh 2022-09-19 05:41:59 -07:00
Jonathan "Duke" Leto 0938bd6b7b Log outpoint for failed Sapling witness lookup 2022-09-16 19:23:25 -07: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
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
Jonathan "Duke" Leto 85f7ac4c8c Enable function names and line numbers in backtraces 2022-09-09 15:14:01 -07: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
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
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
Jonathan "Duke" Leto 4aedeb557b Add z_sweepstatus RPC 2022-08-27 10:35:08 -07:00
Jonathan "Duke" Leto abaa623526 This file no longer exists 2022-06-26 17:23:10 -07: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
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
Jonathan "Duke" Leto bdde67c359 Initial implementation of anonsettxdelta + z_anonsetblockdelta 2022-06-07 20:05:49 -07:00
Jonathan "Duke" Leto 81f4872698 Merge branch 'dev' of https://github.com/MyHush/hush3 into dev 2020-09-23 12:56:09 -07:00
Jonathan "Duke" Leto 7835fbd341 Fix for win64 systems, hopefully 2020-09-23 12:51:37 -07:00
Jonathan "Duke" Leto 844626f457 Block 128 has a block reward of 11.25 HUSH 2020-09-08 15:06:06 -07:00
Jonathan "Duke" Leto dd13bfb394 Yep 2020-09-08 14:38:58 -07:00
Jonathan "Duke" Leto f4294a25cf Be more explicit 2020-09-08 14:33:52 -07:00
Jonathan "Duke" Leto d53e39aa4d Good ol' off-by-one strikes again 2020-09-08 05:47:53 -07:00
Jonathan "Duke" Leto 2bb5454020 Explicitly set BR in each halving interval
This extremely important consensus-changing code takes into account
that with our new 75s block time, which gives us twice as many blocks
per day, we must divide our block reward by two in the next
halving interval, becoming 3.125 HUSH per block insted of 6.25 HUSH
under the old rules of 150s blocks.

Subsequent halving intervals do not change block times, and so they
follow the normal pattern of halving.

This commit has a number of rough edges:
        * Final BR height is still incorrect
        * Due to above, exact number of halvings is unknown under new
          75s blocktime
2020-09-05 05:38:09 -07:00
Jonathan "Duke" Leto 0c0b2ec1cc cleanup 2020-09-05 05:36:28 -07:00
Jonathan "Duke" Leto 86ad289a42 Clean up dead code 2020-09-05 04:45:54 -07:00
Jonathan "Duke" Leto 820a48bb73 Add trezor bip39 code 2020-09-04 22:50:23 -07:00
Jonathan "Duke" Leto b3ff90ed6f Add constant time AES routines 2020-09-04 22:29:28 -07:00
Jonathan "Duke" Leto ad3e5db501 Update help regarding new -wallet option for relative paths 2020-09-04 19:40:29 -07:00
Jonathan "Duke" Leto 5315ded786 Support wallet.dat outside of datadir
Ported from https://github.com/zcash/zcash/commit/6a7cfdea54a9469ac1234e32db9d2fed0bb146af
which did not apply cleanly.
2020-09-04 19:31:05 -07:00
Jonathan "Duke" Leto eae956cde9 Update docs 2020-07-30 09:01:29 -07:00
Jonathan "Duke" Leto 8c435331ee Merge branch 'duke' into danger 2020-07-20 06:26:11 -07:00
Jonathan "Duke" Leto 7227739733 Merge branch 'dev' into duke 2020-07-20 06:25:50 -07:00
Jonathan "Duke" Leto 802cfe5ebb Merge branch 'duke' into danger 2020-07-12 16:38:14 -07:00
Jonathan "Duke" Leto 95e7b30ece Merge branch 'dev' into duke 2020-07-12 16:37:50 -07:00
Jonathan "Duke" Leto 9c0b4df558 Bump version to 3.2.3 2019-12-14 05:25:07 -05:00
Jonathan "Duke" Leto 595ca09081 Fix lack of block dir bug 2019-12-13 12:16:03 -05:00
Jonathan "Duke" Leto 9f722b41f7 Not needed 2019-12-12 06:44:37 -08:00
Jonathan "Duke" Leto d9ad155c2b Fix lack of block dir bug 2019-12-09 08:15:18 -08:00
Jonathan "Duke" Leto b35486784f Merge branch 'duke' of https://github.com/MyHush/hush3 into duke 2019-12-09 07:31:52 -08:00
Jonathan "Duke" Leto 190f8fa99b Merge remote-tracking branch 'origin/dev' into duke 2019-12-02 06:03:07 -08:00
Jonathan "Duke" Leto 71e82cffb6 Remove old dead code 2019-12-02 05:25:31 -08:00
Jonathan "Duke" Leto b5746eee05 Update libgmp dep URL with our own github fork 2019-12-02 04:38:56 -08:00
Jonathan "Duke" Leto f2d4e74cd7 Merge branch 'dev' into duke 2019-12-02 04:38:21 -08:00
Jonathan "Duke" Leto e46815f338 Sick of libsodium changing URLs. Github URLs do not change 2019-12-02 04:36:45 -08:00
Jonathan "Duke" Leto 2010b75193 Update libgmp dep URL with our own github fork 2019-12-02 04:35:28 -08:00