File tree Expand file tree Collapse file tree
include/bitcoin/server/protocols Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ class BCS_API protocol_electrum_version
3737 typedef std::shared_ptr<protocol_electrum_version> ptr;
3838 using rpc_interface = interface::electrum;
3939
40+ static constexpr electrum::version minimum = electrum::version::v1_4;
41+ static constexpr electrum::version maximum = electrum::version::v1_4_2;
42+
4043 inline protocol_electrum_version (const auto & session,
4144 const network::channel::ptr& channel,
4245 const options_t & options) NOEXCEPT
@@ -51,8 +54,6 @@ class BCS_API protocol_electrum_version
5154 virtual void finished (const code& ec, const code& shake) NOEXCEPT;
5255
5356protected:
54- static constexpr electrum::version minimum = electrum::version::v1_4;
55- static constexpr electrum::version maximum = electrum::version::v1_4_2;
5657 static constexpr size_t max_client_name_length = 1024 ;
5758
5859 void handle_server_version (const code& ec,
You can’t perform that action at this time.
0 commit comments