Update timestamp index test
This commit is contained in:
@@ -1,19 +1,18 @@
|
|||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2014-2015 The Bitcoin Core developers
|
# Copyright (c) 2014-2015 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Copyright (c) 2019-2020 The Hush developers
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# Released under the GPLv3
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test timestampindex generation and fetching
|
# Test timestampindex generation and fetching
|
||||||
#
|
#
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import HushTestFramework
|
||||||
from test_framework.util import *
|
from test_framework.util import *
|
||||||
|
|
||||||
|
|
||||||
class TimestampIndexTest(BitcoinTestFramework):
|
class TimestampIndexTest(HushTestFramework):
|
||||||
|
|
||||||
def setup_chain(self):
|
def setup_chain(self):
|
||||||
print("Initializing test directory "+self.options.tmpdir)
|
print("Initializing test directory "+self.options.tmpdir)
|
||||||
@@ -58,4 +57,4 @@ class TimestampIndexTest(BitcoinTestFramework):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
TimestampIndexTest().main()
|
TimestampIndexTest().main()
|
||||||
|
|||||||
Reference in New Issue
Block a user