Changeset View
Changeset View
Standalone View
Standalone View
test/functional/p2p_permissions.py
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | def run_test(self): | ||||
["-whitelist=noban@127.0.0.1"], | ["-whitelist=noban@127.0.0.1"], | ||||
["noban", "download"], | ["noban", "download"], | ||||
False) | False) | ||||
self.checkpermission( | self.checkpermission( | ||||
# all permission added | # all permission added | ||||
["-whitelist=all@127.0.0.1"], | ["-whitelist=all@127.0.0.1"], | ||||
["forcerelay", "noban", "mempool", "bloomfilter", | ["forcerelay", "noban", "mempool", "bloomfilter", | ||||
"relay", "download", "bypass_proof_request_limits"], | "relay", "download", "bypass_proof_request_limits", "addr"], | ||||
False) | False) | ||||
self.checkpermission( | self.checkpermission( | ||||
# bypass_proof_request_limits permission | # bypass_proof_request_limits permission | ||||
["-whitelist=bypass_proof_request_limits@127.0.0.1"], | ["-whitelist=bypass_proof_request_limits@127.0.0.1"], | ||||
["bypass_proof_request_limits"], | ["bypass_proof_request_limits"], | ||||
False) | False) | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |