Major overhaul - to websocket lib, db management, etc. Performance should far exceed prior versions.
If you deploy this version without migrating, you'll start with new empty databases (nn.db
and nn-kv.db
); your prior data will reside in n.db
.
To migrate your data: Before running this new version, update your relay jar but don't start the relay. Instead, run:
java -cp target/me.untethr.nostr-relay-0.3.0.jar clojure.main --main me.untethr.nostr.common.store-migrate
You should also update your conf/logback.xml
and conf/spy.properties
to the ones included in this release.
There are new optional config options in conf/relay.yaml
that you may want to copy into your config for future tweaking, but this is not necessary.
After successful, you can start your relay and backup or discard the old db.