Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] sapling_wallet_nullifiers.py whitelist peers to speed up tx relay. #2633

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/functional/sapling_wallet_nullifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ def connect_nodes_bi(nodes, a, b):
connect_nodes(nodes[a], b)
connect_nodes(nodes[b], a)

class WalletNullifiersTest (PivxTestFramework):
class WalletNullifiersTest(PivxTestFramework):

def set_test_params(self):
self.num_nodes = 4
saplingUpgrade = ['-nuparams=v5_shield:201']
self.extra_args = [saplingUpgrade, saplingUpgrade, saplingUpgrade, saplingUpgrade]
# whitelist all peers to speed up tx relay / mempool sync
self.extra_args = [['-nuparams=v5_shield:201', "-whitelist=127.0.0.1"]] * self.num_nodes

def run_test (self):
self.nodes[0].generate(1) # activate Sapling
Expand Down