|
|
@ -5,13 +5,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
# Test for -rpcbind, as well as -rpcallowip and -rpcconnect |
|
|
|
# Test for -rpcbind, as well as -rpcallowip and -rpcconnect |
|
|
|
|
|
|
|
|
|
|
|
import tempfile |
|
|
|
|
|
|
|
import traceback |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
from test_framework.util import * |
|
|
|
from test_framework.util import * |
|
|
|
from test_framework.netutil import * |
|
|
|
from test_framework.netutil import * |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RPCBindTest(BitcoinTestFramework): |
|
|
|
class RPCBindTest(BitcoinTestFramework): |
|
|
|
|
|
|
|
|
|
|
|
def __init__(self): |
|
|
|
def __init__(self): |
|
|
@ -109,4 +107,4 @@ class RPCBindTest(BitcoinTestFramework): |
|
|
|
pass |
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
if __name__ == '__main__': |
|
|
|
RPCBindTest ().main () |
|
|
|
RPCBindTest().main() |
|
|
|