| 1774 | |
| 1775 | |
| 1776 | def test_gossip_store_load_uncompacted(node_factory, bitcoind): |
| 1777 | l2 = setup_gossip_store_test(node_factory, bitcoind) |
| 1778 | |
| 1779 | gs_path = os.path.join(l2.daemon.lightning_dir, TEST_NETWORK, 'gossip_store') |
| 1780 | gs = subprocess.run(['devtools/dump-gossipstore', '--print-deleted', gs_path], |
| 1781 | check=True, timeout=TIMEOUT, stdout=subprocess.PIPE) |
| 1782 | print(gs.stdout.decode()) |
| 1783 | |
| 1784 | l2.restart() |
| 1785 | |
| 1786 | # These appear before we're fully started, so will already in log: |
| 1787 | assert l2.daemon.is_in_log('gossip_store: 9 live records, 2 deleted') |
| 1788 | |
| 1789 | |
| 1790 | def test_gossip_announce_invalid_block(node_factory, bitcoind): |