Skip to content

Commit 4cf2be8

Browse files
committed
qa/util: improve documentation of sync_mempools
1 parent 033f127 commit 4cf2be8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

qa/rpc-tests/test_framework/util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def sync_mempools(nodes, wallets=None, wait=0.5, timeout=60):
205205
"""
206206
Wait until everybody has the same transactions in their memory
207207
pools, and has notified all internal listeners of them
208+
209+
Returns `True` when all wallets are in synced, or if no wallet is given.
208210
"""
209211
while timeout > 0:
210212
pool = set(nodes[0].getrawmempool())

0 commit comments

Comments
 (0)