File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,17 @@ def add_options(self, parser):
38
38
39
39
# Scenario entrypoint
40
40
def run_test (self ):
41
+ # Demonstrate how to enable debug logs from a scenario
42
+ # This could be any logs, or "all" for all logs
43
+ self .log ("Turning on mempool logging for node 0" )
44
+ self .nodes [0 ].logging (include = ["mempool" ])
45
+
41
46
self .log .info ("Getting peer info" )
42
47
43
48
# Just like a typical Bitcoin Core functional test, this executes an
44
49
# RPC on a node in the network. The actual node at self.nodes[0] may
45
50
# be different depending on the user deploying the scenario. Users in
46
- # Warnet may have different namepsace access but everyone should always
51
+ # Warnet may have different namespace access but everyone should always
47
52
# have access to at least one node.
48
53
peerinfo = self .nodes [0 ].getpeerinfo ()
49
54
for peer in peerinfo :
You can’t perform that action at this time.
0 commit comments