Hush Full Node software. We were censored from Github, this is where all development happens now. https://hush.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Duke Leto a7f88a87aa Update copyright URL to be https 4 years ago
..
test_framework Update copyright URL to be https 4 years ago
.gitignore Python-based regression tests 10 years ago
README.md Update RPC readme 4 years ago
ac_private.py Update copyright URL to be https 4 years ago
addressindex.py Update copyright URL to be https 4 years ago
bip65-cltv-p2p.py Update copyright URL to be https 4 years ago
bipdersig-p2p.py Update copyright URL to be https 4 years ago
blockchain.py Update copyright URL to be https 4 years ago
cryptoconditions.py Update copyright URL to be https 4 years ago
cryptoconditions_channels.py Update copyright URL to be https 4 years ago
cryptoconditions_dice.py Update copyright URL to be https 4 years ago
cryptoconditions_faucet.py Update copyright URL to be https 4 years ago
cryptoconditions_gateways.py Update copyright URL to be https 4 years ago
cryptoconditions_heir.py Update copyright URL to be https 4 years ago
cryptoconditions_oracles.py Update copyright URL to be https 4 years ago
cryptoconditions_rewards.py Update copyright URL to be https 4 years ago
cryptoconditions_token.py Update copyright URL to be https 4 years ago
decodescript.py Update copyright URL to be https 4 years ago
disablewallet.py Update copyright URL to be https 4 years ago
dpowconfs.py Update copyright URL to be https 4 years ago
feature_walletfile.py Support wallet.dat outside of datadir 4 years ago
finalsaplingroot.py Update copyright URL to be https 4 years ago
forknotify.py Update copyright URL to be https 4 years ago
fundrawtransaction.py Update copyright URL to be https 4 years ago
getblocktemplate.py Update copyright URL to be https 4 years ago
getblocktemplate_longpoll.py Update copyright URL to be https 4 years ago
getblocktemplate_proposals.py Update copyright URL to be https 4 years ago
getchaintips.py Update copyright URL to be https 4 years ago
hardforkdetection.py For unused variables reported by pyflakes, either remove the variable, 7 years ago
httpbasics.py Update copyright URL to be https 4 years ago
invalidateblock.py Update copyright URL to be https 4 years ago
invalidblockrequest.py Update copyright URL to be https 4 years ago
ivk_import_export.py Update copyright URL to be https 4 years ago
key_import_export.py Update copyright URL to be https 4 years ago
keypool.py Update copyright URL to be https 4 years ago
listtransactions.py Update copyright URL to be https 4 years ago
maxblocksinflight.py Update copyright URL to be https 4 years ago
mempool_nu_activation.py Update copyright URL to be https 4 years ago
mempool_reorg.py Update copyright URL to be https 4 years ago
mempool_resurrect_test.py Update copyright URL to be https 4 years ago
mempool_spendcoinbase.py Update copyright URL to be https 4 years ago
mempool_tx_expiry.py Update copyright URL to be https 4 years ago
mempool_tx_input_limit.py Update copyright URL to be https 4 years ago
merkle_blocks.py Update copyright URL to be https 4 years ago
nodehandling.py Update copyright URL to be https 4 years ago
nspv_client_test.py def amount change 5 years ago
p2p-acceptblock.py Update copyright URL to be https 4 years ago
p2p_node_bloom.py Update copyright URL to be https 4 years ago
p2p_txexpiry_dos.py Update copyright URL to be https 4 years ago
prioritisetransaction.py Update copyright URL to be https 4 years ago
proxy_test.py Update copyright URL to be https 4 years ago
pruning.py Update copyright URL to be https 4 years ago
rawtransactions.py Update copyright URL to be https 4 years ago
receivedby.py Update copyright URL to be https 4 years ago
regtest_signrawtransaction.py Update copyright URL to be https 4 years ago
reindex.py Update test copyrights 4 years ago
rest.py Update copyright URL to be https 4 years ago
rewind_index.py Update copyright URL to be https 4 years ago
rpcbind_test.py Update copyright URL to be https 4 years ago
script_test.py Update copyright URL to be https 4 years ago
signrawtransaction_offline.py Update qa test as offline regtest nodes need branch id passed in. 6 years ago
signrawtransactions.py Update copyright URL to be https 4 years ago
smartfees.py Update copyright URL to be https 4 years ago
spentindex.py Update copyright URL to be https 4 years ago
timestampindex.py Update timestamp index test 4 years ago
txindex.py Update copyright URL to be https 4 years ago
txn_doublespend.py Update copyright URL to be https 4 years ago
wallet.py Update copyright URL to be https 4 years ago
wallet_1941.py Update copyright URL to be https 4 years ago
wallet_addresses.py Update copyright URL to be https 4 years ago
wallet_anchorfork.py Update copyright URL to be https 4 years ago
wallet_changeindicator.py Update copyright URL to be https 4 years ago
wallet_import_export.py Update copyright URL to be https 4 years ago
wallet_listnotes.py Update copyright URL to be https 4 years ago
wallet_listreceived.py Update copyright URL to be https 4 years ago
wallet_mergetoaddress.py Update copyright URL to be https 4 years ago
wallet_nullifiers.py Update copyright URL to be https 4 years ago
wallet_overwintertx.py Update copyright URL to be https 4 years ago
wallet_persistence.py Update copyright URL to be https 4 years ago
wallet_protectcoinbase.py Update copyright URL to be https 4 years ago
wallet_sapling.py Start creating a HushTestFramework 4 years ago
wallet_shieldcoinbase.py Update copyright URL to be https 4 years ago
wallet_shieldcoinbase_sapling.py Update test copyrights 4 years ago
wallet_treestate.py Update copyright URL to be https 4 years ago
walletbackup.py Update copyright URL to be https 4 years ago
zapwallettxes.py Update copyright URL to be https 4 years ago
zkey_import_export.py Update copyright URL to be https 4 years ago
zmq_test.py Update copyright URL to be https 4 years ago

README.md

Regression tests of RPC interface

test_framework/test_framework.py

Base class for RPC regression tests.

test_framework/util.py

Generally useful functions.

Notes

You can run a single test by calling qa/pull-tester/rpc-tests.sh <testname>.

Run all possible tests with qa/pull-tester/rpc-tests.sh -extended.

Also it's possible to run CryptoConditions tests only by qa/pull-tester/cc-tests.sh --noshutdown --tracerpc

Possible options:

-h, --help       show this help message and exit
  --nocleanup      Leave komodods and test.* datadir on exit or error
  --noshutdown     Don't stop komodods after the test execution
  --srcdir=SRCDIR  Source directory containing hushd/hush-cli (default:
                   ../../src)
  --tmpdir=TMPDIR  Root directory for datadirs
  --tracerpc       Print out all RPC calls as they are made

If you set the environment variable PYTHON_DEBUG=1 you will get some debug output (example: PYTHON_DEBUG=1 qa/pull-tester/rpc-tests.sh wallet).

A 200-block -regtest blockchain and wallets for four nodes is created the first time a regression test is run and is stored in the cache/ directory. Each node has the miner subsidy from 25 mature blocks (25*10=250 HUSH) in its wallet.

After the first run, the cache/ blockchain and wallets are copied into a temporary directory and used as the initial test state.

If you get into a bad state, you should be able to recover with:

rm -rf cache
killall komodod

but beware that could kill various other processes you might not want to kill!