MCPcopy Create free account
hub / github.com/ElementsProject/lightning / start

Method start

tests/fixtures.py:129–145  ·  view source on GitHub ↗
(self, port)

Source from the content-addressed store, hash-verified

127 self.port = None
128
129 def start(self, port):
130 assert self.proc is None, "capture already started"
131 self.port = int(port)
132
133 self.proc = subprocess.Popen(
134 [
135 "dumpcap",
136 "-i", "lo",
137 "-w", str(self.pcap),
138 "-f", f"tcp port {self.port}",
139 ],
140 stdout=subprocess.DEVNULL,
141 stderr=subprocess.DEVNULL,
142 )
143
144 # allow filter attach
145 time.sleep(0.2)
146
147 def stop(self):
148 if self.proc:

Callers 15

test_remote_addrFunction · 0.45
test_remote_addr_portFunction · 0.45
test_reconnect_no_updateFunction · 0.45
test_channel_persistenceFunction · 0.45
test_channel_reenableFunction · 0.45
test_fee_limitsFunction · 0.45
test_update_fee_dynamicFunction · 0.45
test_no_fee_estimateFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_remote_addrFunction · 0.36
test_remote_addr_portFunction · 0.36
test_reconnect_no_updateFunction · 0.36
test_channel_persistenceFunction · 0.36
test_channel_reenableFunction · 0.36
test_fee_limitsFunction · 0.36
test_update_fee_dynamicFunction · 0.36
test_no_fee_estimateFunction · 0.36