Skip to content

v0.2.0

Compare
Choose a tag to compare
@atdixon atdixon released this 22 Dec 19:14
· 35 commits to main since this release
  • nip-16 implemented
  • optional max-content-length added to relay.yml config
  • readme and added doc/deploy.md with more deploy notes
  • all sqlite writes go through singleton event thread
  • synchronous fulfillment when limit = 1 for low-latency "lookup" requests
  • misc fixes

What do do:

  • use this release jar
  • update your server conf/nip11.json "supported-nips" and "version" properties to use replaceable runtime variables (see conf/nip11.json in repo for exactly how to do this)
  • update your server conf/relay.yml with new optional properties:
# This is optional. If not specified, the relay will store events of any numeric
# kind. Otherwise, the relay will (quietly) not store events not whitelisted
# here.
supported-kinds: ["0-5", "7", "40-49", "10000-19999", "20000-29999"]

# Optional. If not specified, then content of any length is accepted.
max-content-length: 1048576