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