David Burkett
2fbe202623
Litecoin: Add -mempoolreplacement flag and disable RBF by default
3 years ago
Andrew Chow
a42652ec10
Move import and watchonly tests to be legacy wallet only in wallet_balance.py
...
Imports and watchonly behavior are legacy wallet only, so make them only
run when the test is in legacy wallet mode.
4 years ago
Prayank
4b16c61461
scripted-diff: test: Replace uses of (dis)?connect_nodes global
...
-BEGIN VERIFY SCRIPT-
# max-depth=0 excludes test/functional/test_framework/...
FILES=$(git grep -l --max-depth 0 "connect_nodes" test/functional)
# Replace (dis)?connect_nodes(self.nodes[a], b) with self.(dis)?connect_nodes(a, b)
sed -i 's/\b\(dis\)\?connect_nodes(self\.nodes\[\(.*\)\]/self.\1connect_nodes(\2/g' $FILES
# Remove imports in the middle of a line
sed -i 's/\(dis\)\?connect_nodes, //g' $FILES
sed -i 's/, \(dis\)\?connect_nodes//g' $FILES
# Remove imports on a line by themselves
sed -i '/^\s*\(dis\)\?connect_nodes,\?$/d' $FILES
sed -i '/^from test_framework\.util import connect_nodes$/d' $FILES
-END VERIFY SCRIPT-
Co-authored-by: Elliott Jin <elliott.jin@gmail.com>
4 years ago
Russell Yanofsky
ed3acda33b
test, refactor: add default_wallet_name and wallet_data_filename variables
...
No changes in behavior
4 years ago
Roy Shao
cc84460c16
test: move sync_blocks and sync_mempool functions to test_framework.py
4 years ago
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
5 years ago
Jon Atack
3e6f7377f6
Improve getbalances coverage in wallet_balance tests
...
and shift some getunconfirmedbalance calls to getbalances, as the former is
deprecated, while leaving essential coverage for it in test_balances().
5 years ago
fanquake
b6f9e3576a
test: re-enable CLI test support by using EncodeDecimal in json.dumps()
...
As mentioned in
https://github.com/bitcoin/bitcoin/pull/17675#issuecomment-563188648
5 years ago
practicalswift
993e38a4e2
tests: Mark functional tests not supporting bitcoin-cli (--usecli) as such
5 years ago
Jeremy Rubin
4671fc3d9e
Expand on wallet_balance.py comment from https://github.com/bitcoin/bitcoin/pull/16766\#issuecomment-527563982
5 years ago
Jeremy Rubin
5ffe0d1449
Update comment in test/functional/wallet_balance.py
...
Co-Authored-By: MarcoFalke <falke.marco@gmail.com>
5 years ago
Jeremy Rubin
a550c58267
Update wallet_balance.py test to reflect new behavior
5 years ago
MarcoFalke
fa3b9ee8b2
scripted-diff: test: Replace connect_nodes_bi with connect_nodes
...
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/connect_nodes_bi\(self.nodes,\s*(.),\s*/connect_nodes(self.nodes[\1], /g' $(git grep -l connect_nodes_bi)
sed -i --regexp-extended -e 's/connect_nodes_bi(,| )/connect_nodes\1/g' $(git grep -l connect_nodes_bi)
-END VERIFY SCRIPT-
5 years ago
MarcoFalke
fa815255c7
test: Add missing sync_all to wallet_balance test
5 years ago
Steven Roose
bb41e632ca
wallet_balance.py: Prevent edge cases
6 years ago
MarcoFalke
999931cf8f
rpc: Add getbalances RPC
6 years ago
MarcoFalke
fa79a783d6
test: Add reorg test to wallet_balance
6 years ago
MarcoFalke
fad03cd046
test: Check that wallet txs not in the mempool are untrusted
6 years ago
MarcoFalke
fa195315e6
test: Add getunconfirmedbalance test with conflicts
6 years ago
MarcoFalke
fa464e8211
test: Add wallet_balance test for watchonly
6 years ago
João Barbosa
4bf1b1cefa
qa: Check unconfirmed balance after loadwallet
6 years ago
John Newbery
c1825b9d39
[tests] Add wallet_balance.py
...
Adds a test specifically to test the wallet's getbalance and
getunconfirmedbalance RPCs.
6 years ago