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

Class MockProtocol

plugins/lsps-plugin/src/core/server.rs:91–91  ·  view source on GitHub ↗

Minimal mock - just tracks protocol number

Source from the content-addressed store, hash-verified

89
90 // Minimal mock - just tracks protocol number
91 struct MockProtocol(u8);
92
93 impl LspsProtocol for MockProtocol {
94 fn register_handler(&self, _router: &mut JsonRpcRouterBuilder) {

Callers 4

test_protocols_sortedFunction · 0.85
test_protocols_dedupedFunction · 0.85

Calls

no outgoing calls

Tested by 4

test_protocols_sortedFunction · 0.68
test_protocols_dedupedFunction · 0.68