add missing zstat and new dep
This commit is contained in:
@@ -24,7 +24,7 @@ sudo swapon /swapfile
|
||||
# install build depedencies
|
||||
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
|
||||
autoconf libtool ncurses-dev unzip git python zlib1g-dev wget \
|
||||
bsdmainutils automake curl unzip nano
|
||||
bsdmainutils automake curl unzip nano libsodium-dev
|
||||
# pull
|
||||
git clone https://github.com/MyHush/hush3.git
|
||||
cd hush3
|
||||
@@ -49,7 +49,7 @@ Get dependencies:
|
||||
sudo apt-get install \
|
||||
build-essential pkg-config libc6-dev m4 g++-multilib \
|
||||
autoconf libtool ncurses-dev unzip git python \
|
||||
zlib1g-dev wget bsdmainutils automake mingw-w64 cmake
|
||||
zlib1g-dev wget bsdmainutils automake mingw-w64 cmake libsodium-dev
|
||||
```
|
||||
|
||||
Downloading Git source repo, building and running Hush:
|
||||
|
||||
@@ -2049,6 +2049,8 @@ UniValue getchaintxstats(const UniValue& params, bool fHelp)
|
||||
ret.pushKV("window_shielded_payments", nShieldedPaymentsDiff);
|
||||
ret.pushKV("window_shielding_payments", nShieldingPaymentsDiff);
|
||||
ret.pushKV("window_deshielding_payments", nDeshieldingPaymentsDiff);
|
||||
ret.pushKV("window_shielded_txcount", nShieldedTxDiff);
|
||||
|
||||
if (nTxDiff > 0) {
|
||||
ret.pushKV("shielded_tx_percent", ((double)nShieldedTxDiff) / nTxDiff);
|
||||
ret.pushKV("fully_shielded_tx_percent", ((double)nFullyShieldedTxDiff) / nTxDiff);
|
||||
|
||||
Reference in New Issue
Block a user