mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 18:10:51 +01:00
Support 'server.ping' Electrum RPC
This commit is contained in:
parent
afcc93bc57
commit
3982c9fd78
@ -311,6 +311,7 @@ impl Connection {
|
|||||||
"server.banner" => self.server_banner(),
|
"server.banner" => self.server_banner(),
|
||||||
"server.donation_address" => self.server_donation_address(),
|
"server.donation_address" => self.server_donation_address(),
|
||||||
"server.peers.subscribe" => self.server_peers_subscribe(),
|
"server.peers.subscribe" => self.server_peers_subscribe(),
|
||||||
|
"server.ping" => Ok(Value::Null),
|
||||||
"server.version" => self.server_version(),
|
"server.version" => self.server_version(),
|
||||||
&_ => bail!("unknown method {} {:?}", method, params),
|
&_ => bail!("unknown method {} {:?}", method, params),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user