Mark a given node_id as reject for future connections.
(node_id, plugin)
| 29 | |
| 30 | @plugin.method('reject') |
| 31 | def reject(node_id, plugin): |
| 32 | """Mark a given node_id as reject for future connections. |
| 33 | """ |
| 34 | print("Rejecting connections from {}".format(node_id)) |
| 35 | plugin.reject_ids.append(node_id) |
| 36 | |
| 37 | |
| 38 | plugin.run() |
nothing calls this directly
no outgoing calls
no test coverage detected