DO NOT MERGE: Embedded asmap data demo

This commit is contained in:
Fabian Jahr 2023-11-02 01:50:42 +01:00
parent 9c951760d2
commit 3bcc1ca10c
No known key found for this signature in database
GPG Key ID: F13D1E9D890798CD
2 changed files with 138634 additions and 8 deletions

File diff suppressed because it is too large Load Diff

View File

@ -96,12 +96,6 @@ class AsmapTest(BitcoinTestFramework):
self.node.getnodeaddresses() # getnodeaddresses re-runs the addrman checks
os.remove(self.default_asmap)
def test_default_asmap_with_missing_file(self):
self.log.info('Test bitcoind -asmap with missing default map file')
self.stop_node(0)
msg = f"Error: Could not find asmap file \"{self.default_asmap}\""
self.node.assert_start_raises_init_error(extra_args=['-asmap'], expected_msg=msg)
def test_empty_asmap(self):
self.log.info('Test bitcoind -asmap with empty map file')
self.stop_node(0)
@ -130,7 +124,6 @@ class AsmapTest(BitcoinTestFramework):
self.test_asmap_with_relative_path()
self.test_default_asmap()
self.test_asmap_interaction_with_addrman_containing_entries()
self.test_default_asmap_with_missing_file()
self.test_empty_asmap()
self.test_asmap_health_check()