Bitcoin to NYC3 and update gitian compile code

This commit is contained in:
Akshay
2019-06-09 12:22:49 +03:00
parent d8192b664c
commit 516a7bafec
921 changed files with 1868 additions and 1858 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright (c) 2014-2018 The Bitcoin Core developers
# Copyright (c) 2014-2018 The NYC3 Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the REST API."""
@@ -14,7 +14,7 @@ from struct import pack, unpack
import http.client
import urllib.parse
from test_framework.test_framework import BitcoinTestFramework
from test_framework.test_framework import NYC3TestFramework
from test_framework.util import (
assert_equal,
assert_greater_than,
@@ -39,7 +39,7 @@ def filter_output_indices_by_value(vouts, value):
if vout['value'] == value:
yield vout['n']
class RESTTest (BitcoinTestFramework):
class RESTTest (NYC3TestFramework):
def set_test_params(self):
self.setup_clean_chain = True
self.num_nodes = 2
@@ -76,7 +76,7 @@ class RESTTest (BitcoinTestFramework):
def run_test(self):
self.url = urllib.parse.urlparse(self.nodes[0].url)
self.log.info("Mine blocks and send Bitcoin to node 1")
self.log.info("Mine blocks and send NYC3 to node 1")
# Random address so node1's balance doesn't increase
not_related_address = "2MxqoHEdNQTyYeX1mHcbrrpzgojbosTpCvJ"