mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 16:28:50 +00:00
advertise support for NIP-77: negentropy syncing
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
|
||||
strfry is a relay for the [nostr protocol](https://github.com/nostr-protocol/nostr)
|
||||
|
||||
* Supports most applicable NIPs: 1, 2, 4, 9, 11, 22, 28, 40, 70
|
||||
* Supports most applicable NIPs: 1, 2, 4, 9, 11, 22, 28, 40, 70, 77
|
||||
* No external database required: All data is stored locally on the filesystem in LMDB
|
||||
* Hot reloading of config file: No server restart needed for many config param changes
|
||||
* Zero downtime restarts, for upgrading binary without impacting users
|
||||
|
@ -48,7 +48,7 @@ void RelayServer::runWebsocket(ThreadPool<MsgWebsocket>::Thread &thr) {
|
||||
tempBuf.reserve(cfg().events__maxEventSize + MAX_SUBID_SIZE + 100);
|
||||
|
||||
|
||||
tao::json::value supportedNips = tao::json::value::array({ 1, 2, 4, 9, 11, 22, 28, 40, 70 });
|
||||
tao::json::value supportedNips = tao::json::value::array({ 1, 2, 4, 9, 11, 22, 28, 40, 70, 77 });
|
||||
|
||||
auto getServerInfoHttpResponse = [&supportedNips, ver = uint64_t(0), rendered = std::string("")]() mutable {
|
||||
if (ver != cfg().version()) {
|
||||
|
Reference in New Issue
Block a user