Merge branch 'chore/remove-arrakis-wording' into dev

This commit is contained in:
2026-11-28 17:23:59 -06:00
31 changed files with 51 additions and 107 deletions
-1
View File
@@ -25,7 +25,6 @@ RUN cd /hush && \
RUN ln -sf /hush/src/hushd /usr/bin/hushd && \
ln -sf /hush/src/hush-tx /usr/bin/hush-tx && \
ln -sf /hush/src/wallet-utility /usr/bin/hush-wallet-utility && \
ln -sf /hush/src/hush-arrakis-chain /usr/bin/hush-arrakis-chain && \
ln -sf /hush/util/docker-entrypoint.sh /usr/bin/entrypoint && \
ln -sf /hush/util/docker-hush-cli.sh /usr/bin/hush-cli
+1 -1
View File
@@ -42,7 +42,7 @@ this can take a while, so most users start from the [bootstrap snapshot](#fastes
| Block reward | 3 DRAGONX, halving every 3,500,000 blocks |
| Max block size | 4 MB |
| RPC port | 21769 |
| P2P port | 18030 |
| P2P port | 21768 |
| Data directory | `~/.hush/DRAGONX` (Linux) |
| Config file | `DRAGONX.conf` |
| Binaries | `dragonxd`, `dragonx-cli`, `dragonx-tx` |
+1 -1
View File
@@ -27,7 +27,7 @@ if ($block <= $blockcount) {
} else {
my $diff = $block - $blockcount;
# TODO: support custom blocktimes
# assumes HACs use default blocktime of 60s
# assumes smart chains use default blocktime of 60s
my $minpb = $coin ? 1 : 0.6; # 36s in minutes for DragonX
my $minutes = $diff*$minpb;
my $seconds = $minutes*60;
+4 -4
View File
@@ -169,7 +169,7 @@ hush (3.10.5) stable; urgency=medium
* It cannot be determined from public blockchain data if a donation is being made, as it takes the place of a Sietch output
* It cannot be determined from public blockchain data the amount of the donation
* Donations do not create new transactions, do not use additional blockspace and cannot be detected by anyone but the sender or reciever
* New HAC option `ac_clearnet` can be used to disable clearnet networking for an entire blockchain instead of just a single node
* New smart chain option `ac_clearnet` can be used to disable clearnet networking for an entire blockchain instead of just a single node
* Updated test framework and tests which allowed the fixing of the `z_sendmany` bug above
* Faster compiling of RandomX internals
* GMP dependency removed, as it is no longer needed
@@ -184,7 +184,7 @@ hush (3.10.4) stable; urgency=medium
* New CLI option -clearnet=0 which disables clearnet networking
* Using -mineraddress with -clearnet=0 disallowed since would reduce privacy
* Add CLI options -disableipv4 and -disableipv6 to disable IPv4 or IPv6
* New HAC CLI consensus option -ac_minopreturnfee
* New smart chain CLI consensus option -ac_minopreturnfee
* Updated ASmap, which maps IP addresses to Autonomous System (AS) numbers
* Added ASmap health check, which logs stats about the ASmap once per 24 hours
* Improved cjdns/i2p/tor docs
@@ -199,11 +199,11 @@ hush (3.10.3) stable; urgency=high
* Set minimum fee to 0.1 HUSH per 1 KB of data if `OP_RETURN` is used.
* Absurd fee allows sending amount < fee; used only in a full node.
* Fixed various bugs relating to lock ordering and missing locks
* Fixed RPC docs for addnode and disconnectnode having incorrect port for HACs
* Fixed RPC docs for addnode and disconnectnode having incorrect port for smart chains
* Value of DEBUG_LOCKORDER is now logged to debug.log on node startup
* New script ./debug-build.sh to make it easier to make debug builds
* DragonX nodes now have their own list of seed nodes
* Hush nodes now have own protocol version independent from HACs
* Hush nodes now have own protocol version independent from smart chains
* Fixed off-by-one bug in `newSietchRecipient`
* Performance improvement to `ActivateBestChainStep` ed86f2dd1d
* Improved navigation in README for new users.
+1 -1
View File
@@ -11,7 +11,7 @@ use warnings;
use strict;
# call this script like this to generate checkpoints for another chain:
# CLI=./src/hac-cli ./contrib/sdl_checkpoints.pl ...
# CLI="./src/dragonx-cli -ac_name=OTHERCHAIN" ./contrib/sdl_checkpoints.pl ...
my $cli = $ENV{CLI} || "./src/dragonx-cli";
my $gethash = "$cli getblockhash";
+7 -7
View File
@@ -97,27 +97,27 @@ If you are adding a new CLI option that changes consensus rules such as
convention is that if a CLI option affects consensus, it MUST begin with `-ac_`
and if it does not affect consensus (such as -datadir) then it MUST NOT begin
with `-ac_`. Originally the `ac` meant "asset chain" but now it means "affects
consensus" or "arrakis chain", take your pick.
consensus".
The reason for this is the `extraptr` variable is used to deterministically
generate the "chain magic" `ASSETCHAINS_MAGIC` as well as the default p2p and
rpc ports for a HAC. This means that if two HACs have *exactly* the same
rpc ports for a chain. This means that if two chains have *exactly* the same
consensus options except for `-ac_foo` (even if they have the same `-ac_name`)
then they will still get different chain magic values and p2p and rpc ports.
This is a way of preventing HACs with different consensus rules from trying to
talk with each other when they should not. For instance, if you make a HAC with
This is a way of preventing chains with different consensus rules from trying to
talk with each other when they should not. For instance, if you make a chain with
`-ac_name=MYCOIN` on one machine with one set of consensus rules and then
another HAC with the same name on a different machine but with different
another chain with the same name on a different machine but with different
consensus rules, the chain magic being different (as well as the default p2p
port) are ways to prevent them from communicating. This is good because these
two HACs will eventually chain fork due to their different consensus rules and
two chains will eventually fork due to their different consensus rules and
ban each other, wasting time, bandwidth and sanity.
An example of this pattern in the Git history is the commit which added the
`-ac_burn` consensus changing option; search the log for `ac_burn` to find it.
The chain magic value is the CRC32 checksum of every non-default consensus
option the HAC uses.
option the chain uses.
Also make sure to actually validate the new consensus option! That is probably
going to happen in `src/main.cpp` . If you don't, a malicious node can just
+1 -1
View File
@@ -311,7 +311,7 @@ Threads
- ThreadMapPort : Universal plug-and-play startup/shutdown
- ThreadSocketHandler : Sends/Receives data from peers on the P2P port (18030 on DragonX mainnet).
- ThreadSocketHandler : Sends/Receives data from peers on the P2P port (21768 on DragonX mainnet).
- ThreadOpenAddedConnections : Opens network connections to added nodes.
+2 -2
View File
@@ -39,8 +39,8 @@ are baked into DragonX consensus.
## RandomX key-block tuning options
RandomX periodically rotates the "key block" it derives its dataset from. Two
advanced options control this. They are inherited from the upstream Hush /
Arrakis-chain tooling and default to values suited to DragonX's 36s block time;
advanced options control this. They are inherited from the upstream Hush
tooling and default to values suited to DragonX's 36s block time;
you should not normally change them:
* `-ac_randomx_interval` controls how often the RandomX key block changes
+6 -6
View File
@@ -33,7 +33,7 @@ This is an OPTIONAL but RECOMMENDED upgrade.
* It cannot be determined from public blockchain data if a donation is being made, as it takes the place of a Sietch output
* It cannot be determined from public blockchain data the amount of the donation
* Donations do not create new transactions, do not use additional blockspace and cannot be detected by anyone but the sender or reciever
* New HAC option `ac_clearnet` can be used to disable clearnet networking for an entire blockchain instead of just a single node
* New smart chain option `ac_clearnet` can be used to disable clearnet networking for an entire blockchain instead of just a single node
* Updated test framework and tests which allowed the fixing of the `z_sendmany` bug above
* Faster compiling of RandomX internals
* GMP dependency removed, as it is no longer needed
@@ -67,7 +67,7 @@ problems finding nodes, you want to upgrade.
```
* Using -mineraddress with -clearnet=0 is disallowed since it would reduce privacy
* Add CLI options `-disableipv4` and `-disableipv6` which can be used to disable IPv4 or IPv6
* New HAC CLI consensus option `-ac_minopreturnfee`
* New smart chain CLI consensus option `-ac_minopreturnfee`
* `OP_RETURN` minimum fee per tx, regardless of tx size, default is 1 coin, specified in puposhis
* Updated ASmap, which maps IP addresses to Autonomous System (AS) numbers
* Added ASmap health check, which logs stats about the ASmap once per 24 hours
@@ -81,11 +81,11 @@ problems finding nodes, you want to upgrade.
* Set minimum fee to 0.1 HUSH per 1 KB of data if `OP_RETURN` is used.
* A feature in absurd fee that allows sending amount < fee, can be used only in a full node by advanced users.
* Fixed various bugs relating to lock ordering and missing locks
* Fixed RPC docs for addnode and disconnectnode having the incorrect port for HACs
* Fixed RPC docs for addnode and disconnectnode having the incorrect port for smart chains
* Value of DEBUG_LOCKORDER is now logged to debug.log on node startup
* New script ./debug-build.sh to make it easier to make debug builds
* DragonX nodes now have their own list of seed nodes
* Hush nodes now have their own protocol version which is independent from HACs
* Hush nodes now have their own protocol version which is independent from smart chains
* Fixed off-by-one bug in `newSietchRecipient`
* Performance improvement to `ActivateBestChainStep` https://git.hush.is/hush/hush3/commit/ed86f2dd1da370fe2dbf7db475afc41b218cbc5f
* Improved navigation in README for new users.
@@ -102,7 +102,7 @@ problems finding nodes, you want to upgrade.
* Mining now starts faster because instead of only using 2 threads to prepare
data needed to mine, now it uses all physical cores https://git.hush.is/hush/hush3/commit/1b5422eb2ddcedd9aabdf4f039144f9eef5c6f95
* RandomX mining takes slightly less memory
* `ac_sapling` is no longer an option for Arrakis Chains
* `ac_sapling` is no longer an option for smart chains
* All chains enable Sapling at height 1 like Hush + DragonX
* This means there is no need to call `NetworkUpgradeActive` on every block height
which means syncing is faster
@@ -113,7 +113,7 @@ problems finding nodes, you want to upgrade.
* Upgraded WolfSSL to 5.2.0 on Linux+Mac : https://git.hush.is/hush/hush3/issues/380
* Upgraded to 4.8.1 on Windows because newer versions do not compile on Windows: https://git.hush.is/hush/hush3/commit/5e5a15018d0e55f094c89282a1983104f4d4387a
* Only Hush + DragonX will automatically connect to various seed nodes https://git.hush.is/hush/hush3/issues/379
* Other Arrakis Chains must opt-in via -connect or -addnode
* Other smart chains must opt-in via -connect or -addnode
* Updated i2p seed node: https://git.hush.is/hush/hush3/commit/8c8b6e88f0c076c86c713e7e22e2d826202cc64d
* Better error message: https://git.hush.is/hush/hush3/commit/f64c10baa9ae6940f434f6ff6750b299c1da548e, https://git.hush.is/hush/hush3/commit/f71f8124c3ffb8df6d83f6fd00201cb11aa0f239
* Improve `hush_scanner` and seed node contrib file: https://git.hush.is/hush/hush3/commit/16dd3aef74ac312bc8953af34a3d9a297b03d9f4
+4 -4
View File
@@ -160,11 +160,11 @@ You can also manually configure your node to be reachable from the Tor network.
Add these lines to your `/etc/tor/torrc` (or equivalent config file):
HiddenServiceDir /var/lib/tor/dragonx-service/
HiddenServicePort 18030 127.0.0.1:18032
HiddenServicePort 21768 127.0.0.1:21768
The directory can be different of course, but virtual port numbers should be equal to
your dragonxd's P2P listen port (18030 by default), and target addresses and ports
should be equal to binding address and port for inbound Tor connections (127.0.0.1:18032 by default).
your dragonxd's P2P listen port (21768 by default), and target addresses and ports
should be equal to binding address and port for inbound Tor connections (127.0.0.1:21768 by default).
-externalip=X You can tell dragonx about its publicly reachable addresses using
this option, and this can be an onion address. Given the above
@@ -204,7 +204,7 @@ as well, use `discover` instead:
./dragonxd ... -discover
and open port 18030 on your firewall (or use port mapping, i.e., `-upnp` or `-natpmp`).
and open port 21768 on your firewall (or use port mapping, i.e., `-upnp` or `-natpmp`).
If you only want to use Tor to reach .onion addresses, but not use it as a proxy
for normal IPv4/IPv6 communication, use:
@@ -167,10 +167,10 @@ class ComparisonTestFramework(BitcoinTestFramework):
def add_options(self, parser):
parser.add_option("--testbinary", dest="testbinary",
default=os.getenv("BITCOIND", "hush-arrakis-chain"),
default=os.getenv("BITCOIND", "src/dragonxd"),
help="bitcoind binary to test")
parser.add_option("--refbinary", dest="refbinary",
default=os.getenv("BITCOIND", "hush-arrakis-chain"),
default=os.getenv("BITCOIND", "src/dragonxd"),
help="bitcoind binary to use for reference nodes (if any)")
def setup_chain(self):
+1 -1
View File
@@ -87,7 +87,7 @@ static int AppInitRPC(int argc, char* argv[])
ParseParameters(argc, argv);
std:string name;
// default HAC is DRAGONX itself, which to the internals, is also a HAC
// default chain is DRAGONX itself, which to the internals is also a smart chain
name = GetArg("-ac_name","DRAGONX");
if ( !name.empty() )
+3 -3
View File
@@ -117,7 +117,7 @@ public:
consensus.nPowMaxAdjustDown = 32; // 32% adjustment down
consensus.nPowMaxAdjustUp = 16; // 16% adjustment up
// we are emulating old node behavior at startup, they used 150s
consensus.nPowTargetSpacing = 150; // 75; // HUSH is 75 seconds, Hush Arrakis Chains are 60 seconds by default
consensus.nPowTargetSpacing = 150; // 75; // HUSH is 75 seconds, smart chains are 60 seconds by default
consensus.nPowAllowMinDifficultyBlocksAfterHeight = boost::none;
// HUSH never had Sprout in our blockchain history, but some internals require *knowing* about Sprout
// or it breaks backward compatibility. We do what we can.
@@ -366,7 +366,7 @@ public:
assert(maxUint/UintToArith256(consensus.powLimit) >= consensus.nPowAveragingWindow);
consensus.nPowMaxAdjustDown = 0; // Turn off adjustment down
consensus.nPowMaxAdjustUp = 0; // Turn off adjustment up
consensus.nPowTargetSpacing = 60; // HAC's default to 60 seconds so a theoretical testnet should as well
consensus.nPowTargetSpacing = 60; // smart chains default to 60 seconds so a theoretical testnet should as well
consensus.nPowAllowMinDifficultyBlocksAfterHeight = 0;
ups[Consensus::BASE_SPROUT].nProtocolVersion = 170002;
ups[Consensus::BASE_SPROUT].nActivationHeight = NUNU::ALWAYS_ACTIVE;
@@ -6074,7 +6074,7 @@ void *chainparams_commandline() {
};
} else {
// all other HAC's with no checkpoints
// all other smart chains with no checkpoints
checkpointData = //(Checkpoints::CCheckpointData)
{
boost::assign::map_list_of
-15
View File
@@ -1,15 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2016-2024 The Hush developers
# set working directory to the location of this script
# readlink -f does not always exist
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )"
cd $DIR
DEFAULTS=""
# People can just use hushd going forward, but this script makes it
# more clear what is going on
HUSH="./hushd"
$HUSH $DEFAULTS "$@"
-10
View File
@@ -1,10 +0,0 @@
:: Copyright (c) 2016-2024 The Hush developers
:: Distributed under the GPLv3 software license, see the accompanying
:: file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
@call :GET_CURRENT_DIR
@cd %THIS_DIR%
hushd %*
@goto :EOF
:GET_CURRENT_DIR
@pushd %~dp0
+1 -1
View File
@@ -961,7 +961,7 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams);
// This function defines the Hush Founders Reward (AKA Dev Tax)
// 10% of all block rewards go towards Hush core team
// If you do not like this, you are encouraged to fork the chain
// or start your own Hush Arrakis Chain: https://git.hush.is/hush/hush-arrakis-chains
// or start your own chain.
// HUSH supply curve cannot be exactly represented via CLI args, so we do it ourselves.
// You specify the BR, and the FR % gets added so 10% of 12.5 is 1.25
// but to tell the AC params, I need to say "11% of 11.25" is 1.25
+1 -1
View File
@@ -72,7 +72,7 @@ const uint32_t nHushHardforkHeight4 = 1605555;
const uint32_t nHushHardforkTimestamp = 1580303652; // Jan 29nd 1pm GMT
const uint32_t nHushHardforkTimestamp2 = 1594425600; // Jul 11th 12a GMT
// Used by HACs
// Used by smart chains
static const uint32_t HUSH_SEASON_TIMESTAMPS[NUM_HUSH_SEASONS] = {1525132800, 1563148800, nHushHardforkTimestamp, nHushHardforkTimestamp2, nHushHardforkTimestamp2*5, nHushHardforkTimestamp2*6, nHushHardforkTimestamp2*7};
// Used by HUSH3+TUSH
+2 -2
View File
@@ -101,7 +101,7 @@ int32_t hush_notaries(uint8_t pubkeys[64][33],int32_t height,uint32_t timestamp)
int32_t i,htind,n; uint64_t mask = 0; struct knotary_entry *kp,*tmp;
static uint8_t hush_pubkeys[NUM_HUSH_SEASONS][64][33],didinit[NUM_HUSH_SEASONS];
//HUSH3+TUSH use block heights, HACs use timestamps
//HUSH3+TUSH use block heights, other smart chains use timestamps
if ( timestamp == 0 && SMART_CHAIN_SYMBOL[0] != 0 ) {
timestamp = hush_heightstamp(height);
} else if ( SMART_CHAIN_SYMBOL[0] == 0 ) {
@@ -112,7 +112,7 @@ int32_t hush_notaries(uint8_t pubkeys[64][33],int32_t height,uint32_t timestamp)
int32_t hush_season = 0;
bool ishush3 = strncmp(SMART_CHAIN_SYMBOL, "HUSH3",5) == 0 ? true : false;
bool istush = strncmp(SMART_CHAIN_SYMBOL, "TUSH",4) == 0 ? true : false;
// TUSH uses height activation like HUSH3, other HACs use timestamps
// TUSH uses height activation like HUSH3, other smart chains use timestamps
hush_season = (ishush3 || istush) ? gethushseason(height) : getacseason(timestamp);
if(IS_HUSH_NOTARY) {
+1 -1
View File
@@ -1913,7 +1913,7 @@ void hush_args(char *argv0)
} else if (strncmp(SMART_CHAIN_SYMBOL, "TUMIN", 5) == 0) {
ASSETCHAINS_RANDOMX_VALIDATION = 1200; // TBD: set to coordinated upgrade height
} else {
ASSETCHAINS_RANDOMX_VALIDATION = 1; // all other RandomX HACs: enforce from height 1
ASSETCHAINS_RANDOMX_VALIDATION = 1; // all other RandomX smart chains: enforce from height 1
}
LogPrintf("ASSETCHAINS_RANDOMX_VALIDATION set to %d for %s\n", ASSETCHAINS_RANDOMX_VALIDATION, SMART_CHAIN_SYMBOL);
}
+1 -1
View File
@@ -824,7 +824,7 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage += HelpMessageOpt("-ac_randomx_interval", _("Controls how often the RandomX key block will change, default is 1024"));
strUsage += HelpMessageOpt("-ac_randomx_lag", _("Sets the number of RandomX blocks to wait before updating the key block, default is 64"));
strUsage += HelpMessageOpt("-ac_reward", _("Block reward in satoshis, default is 0"));
// All HAC's activate sapling at block height 1, other heights are not supported
// All smart chains activate sapling at block height 1, other heights are not supported
//strUsage += HelpMessageOpt("-ac_sapling", _("Sapling activation block height"));
strUsage += HelpMessageOpt("-ac_script", _("P2SH/multisig address to receive founders rewards"));
strUsage += HelpMessageOpt("-ac_supply", _("Starting supply, default is 10"));
+2 -2
View File
@@ -5372,7 +5372,7 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
}
}
// Check Proof-of-Work difficulty for smart chains (HACs)
// Check Proof-of-Work difficulty for smart chains
// Without this check, an attacker can submit blocks with arbitrary nBits
// (e.g., powLimit / diff=1) and they will be accepted, allowing the chain
// to be flooded with minimum-difficulty blocks.
@@ -5381,7 +5381,7 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
if (!ishush3 && SMART_CHAIN_SYMBOL[0] != 0 && nHeight > daaForkHeight) {
unsigned int nNextWork = GetNextWorkRequired(pindexPrev, &block, consensusParams);
if (fDebug) {
LogPrintf("%s: HAC nbits height=%d expected=%lu actual=%lu\n",
LogPrintf("%s: nbits height=%d expected=%lu actual=%lu\n",
__func__, nHeight, (unsigned long)nNextWork, (unsigned long)block.nBits);
}
if (block.nBits != nNextWork) {
+3 -3
View File
@@ -1203,15 +1203,15 @@ void static RandomXMiner()
char randomxHash[RANDOMX_HASH_SIZE];
rxdebug("%s: created randomxHash of size %d\n", RANDOMX_HASH_SIZE);
char randomxKey[82]; // randomx spec says keysize of >60 bytes is implementation-specific
// initial randomx key is unique to every Hush Arrakis Chain, and has at least 9 bytes (2^9=128 bits) of entropy
// initial randomx key is unique to every smart chain, and has at least 9 bytes (2^9=128 bits) of entropy
// since magic is 4 bytes, rpc port is 4 bytes and smart chain symbol must be at least 1 character long
snprintf(randomxKey, 81, "%08x%s%08x", ASSETCHAINS_MAGIC, SMART_CHAIN_SYMBOL, ASSETCHAINS_RPCPORT);
// With the defaults of 1024 and 64
// the key block will change every ~21.3 hours with a 75s block time
// and every ~17 hours with the default 60s block time for HACs
// and every ~17 hours with the default 60s block time for smart chains
static int randomxInterval = GetRandomXInterval();
// This lag is 80 mins for 75s blocktime and 64 mins for 60s (default) blocktime for HACs
// This lag is 80 mins for 75s blocktime and 64 mins for 60s (default) blocktime for smart chains
static int randomxBlockLag = GetRandomXBlockLag();
randomx_vm *myVM = nullptr;
+2 -2
View File
@@ -885,7 +885,7 @@ UniValue getblockmerkletree(const UniValue& params, bool fHelp, const CPubKey& m
if (fHelp || params.size() != 1 )
throw runtime_error(
"getblockmerkletree height\n"
"\nGet full merkletree for a given Hush or HAC block height.\n"
"\nGet full merkletree for a given block height.\n"
"\nArguments:\n"
"1. height (int, required) block height\n"
"\nResult:\n"
@@ -903,7 +903,7 @@ UniValue getblockmerkletree(const UniValue& params, bool fHelp, const CPubKey& m
int nHeight = params[0].get_int();
if ( (nHeight < 1) || (nHeight > chainActive.LastTip()->GetHeight()) ) {
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid Hush or HAC block height parameter");
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid block height parameter");
}
phushblockindex = chainActive[nHeight];
+2 -2
View File
@@ -367,13 +367,13 @@ UniValue validateaddress(const UniValue& params, bool fHelp, const CPubKey& mypk
if (fHelp || params.size() != 1)
throw runtime_error(
"validateaddress \"addr\"\n"
"\nReturn information about the given Hush or Hush Arrakis Chain (HAC) address.\n"
"\nReturn information about the given DragonX address.\n"
"\nArguments:\n"
"1. \"addr\" (string, required) The address to validate\n"
"\nResult:\n"
"{\n"
" \"isvalid\" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned.\n"
" \"address\" : \"addr\", (string) The Hush or HAC address validated\n"
" \"address\" : \"addr\", (string) The DragonX address validated\n"
" \"scriptPubKey\" : \"hex\", (string) The hex encoded scriptPubKey generated by the address\n"
" \"ismine\" : true|false, (boolean) If the address is yours or not\n"
" \"isscript\" : true|false, (boolean) If the key is a script\n"
-3
View File
@@ -1,3 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2018-2024 The Hush developers
./hush-arrakis-chain -ac_name=KOOLAID $@
-3
View File
@@ -1,3 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2018-2024 The Hush developers
./hush-arrakis-chain -ac_name=KUSH $@
-3
View File
@@ -1,3 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2018-2024 The Hush developers
./hush-arrakis-chain -ac_name=ZEX $@
-21
View File
@@ -1,21 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2018-2024 The Hush developers
set -eo pipefail
# You can now add delay line to pubkey.txt file
source pubkey.txt
overide_args="$@"
seed_ip=$(SEEDNODE)
hsc='./hush-arrakis-chain'
if [ -z "$delay" ]; then delay=20; fi
./listassetchainparams | while read args; do
gen=""
if [ $[RANDOM % 10] == 1 ]; then
gen=" -gen -genproclimit=1"
fi
$hsc $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip &
sleep $delay
done
+1 -1
View File
@@ -37,7 +37,7 @@ static const int GETHEADERS_VERSION = 31800;
//! disconnect from peers older than this proto version (HUSH mainnet)
static const int MIN_HUSH_PEER_PROTO_VERSION = 1987426;
//! disconnect from peers older than this proto version (DragonX/HACs)
//! disconnect from peers older than this proto version (DragonX/smart chains)
//! Set to 2000000 to reject nodes without RandomX validation fix
static const int MIN_PEER_PROTO_VERSION = 2000000;
+1 -1
View File
@@ -831,7 +831,7 @@ void CWallet::RefreshConsolidationSuggestion() {
// silent no-op wherever it cannot act (locked wallet, no owned coinbase,
// external -mineraddress), so it is safe to run on every node.
void CWallet::RunAutoShieldCoinbase(int blockHeight) {
// Sapling is always active from height 1 on DragonX+HACs.
// Sapling is always active from height 1 on DragonX and other smart chains.
if (blockHeight == 0)
return;
+1 -1
View File
@@ -31,7 +31,7 @@ my $acname = shift;
if ($acname) {
# TODO: is acname valid?
$cli .= " -ac_name=$acname";
# HSC's by default have a blocktime of 60s
# smart chains by default have a blocktime of 60s
$perday = 1440;
} else {
$acname = 'DRAGONX';