This maintenance release of HTND provides RockSolidStability(TM)
It further optimises the memory/CPU footprint of HTND.
It fixes several critical bugs, and is a REQUIRED update for anyone mining via the stratum-bridge to their own node.
It should be used in conjunction with release 1.6.9 of the stratum bridge.
It is also a required update for all Mining Pool Operators and Exchanges.
Although the database format has not changed it is recommended to perform a clean sync with the network upon upgrading, to remove any spurious tips or invalid blocks from your local chain.
Either pass --reset-db to HTND when starting it (first time only) OR rm -rf ~/.htnd/hoosat-mainnet once the previous HTND is confirmed shutdown, and before starting this version.
-
The timeouts for nearly syncd IBD timeout and IBD Deque timeout are now run time configurable:
--nearly-synced-ibd-timeout 10m --ibd-dequeue-timeout 1m
However the defaults (shown above) are sensible, and it is not suggested that they are routinely overrriden, unless attempting to address a specific issue. -
IBD timeout can be entirely disabled with
--disable-ibd-timeout -
UTXO compounding is more intelligent and efficient
-
New
-l and --limitflags implemented for send and auto-compound. Now you can fetch as little as 100 UTXO per address at once when compounding. -
The wallet daemon console logs how much HTN is compounded and the size of the mining fee paid for the compound.
-
Improved clarity to some common non fatal errors
HTND 1.6.10 is built with golang 1.26.0 - which is bleeding edge, but provides substantially better GC performance via it's GreenTea GC which we have enabled, minimising the CPU load and memory requirements of the node. It is therefore recommended to run HTND in a restart loop to recover from upstream golang bugs:
while [ true ]
do
HTND --utxoindex --blahblahblah
sleep 10
done
Default values:
GOMEMLIMIT 8GB
GOGC 100
PebbleDB Memory Tables up to 4GB
PebbledB cache 2GB
To use less memory (at the cost of higher CPU utilisation):
while [ true ]
do
GOMEMLIMIT=6GiB HTND --utxoindex --blahblahblah
sleep 10
done
To use more memory, and reduced CPU load:
while [ true ]
do
GOMEMLIMIT=16GiB HTND --utxoindex --blahblahblah
sleep 10
done
Note that GOMEMLIMIT numbers are approximate, and will not exactly correspond to actual memory utilisation.
Do not delay - upgrade today.
(--blahblahblah is not a valid flag to pass to HTND, and you should not attempt to use it)