mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
change blacklist to blocklist
Let's use a more appropriate and clear word and discard the usage of the blacklist. Blocklist is clear. Happy for everyone.
This commit is contained in:
parent
9ad6f14175
commit
6fc641644f
@ -19,7 +19,7 @@ from test_framework.util import (
|
|||||||
# Windows disallow control characters (0-31) and /\?%:|"<>
|
# Windows disallow control characters (0-31) and /\?%:|"<>
|
||||||
FILE_CHAR_START = 32 if os.name == 'nt' else 1
|
FILE_CHAR_START = 32 if os.name == 'nt' else 1
|
||||||
FILE_CHAR_END = 128
|
FILE_CHAR_END = 128
|
||||||
FILE_CHAR_BLACKLIST = '/\\?%*:|"<>' if os.name == 'nt' else '/'
|
FILE_CHAR_BLOCKLIST = '/\\?%*:|"<>' if os.name == 'nt' else '/'
|
||||||
|
|
||||||
|
|
||||||
def notify_outputname(walletname, txid):
|
def notify_outputname(walletname, txid):
|
||||||
@ -32,7 +32,7 @@ class NotificationsTest(BitcoinTestFramework):
|
|||||||
self.setup_clean_chain = True
|
self.setup_clean_chain = True
|
||||||
|
|
||||||
def setup_network(self):
|
def setup_network(self):
|
||||||
self.wallet = ''.join(chr(i) for i in range(FILE_CHAR_START, FILE_CHAR_END) if chr(i) not in FILE_CHAR_BLACKLIST)
|
self.wallet = ''.join(chr(i) for i in range(FILE_CHAR_START, FILE_CHAR_END) if chr(i) not in FILE_CHAR_BLOCKLIST)
|
||||||
self.alertnotify_dir = os.path.join(self.options.tmpdir, "alertnotify")
|
self.alertnotify_dir = os.path.join(self.options.tmpdir, "alertnotify")
|
||||||
self.blocknotify_dir = os.path.join(self.options.tmpdir, "blocknotify")
|
self.blocknotify_dir = os.path.join(self.options.tmpdir, "blocknotify")
|
||||||
self.walletnotify_dir = os.path.join(self.options.tmpdir, "walletnotify")
|
self.walletnotify_dir = os.path.join(self.options.tmpdir, "walletnotify")
|
||||||
|
Loading…
Reference in New Issue
Block a user