Skip to main content

Module params

Module params 

Source
Expand description

The fixed values that decide which network a copy of MoreInLaw is on: event numbers, labels, web addresses and size limits. Changing one cuts a copy off from every organization that did not make the same change.

These are frozen. A new value means a new schema version, never an edit; the test at the bottom fails on any edit so that the break is a decision and not an accident.

Modules§

routes
Paths under an organization’s API base that other instances call. A copy that renames one fails every peer’s address proof.

Constants§

BADGE_KIND
Host-signed verified-lawyer badge.
DEFAULT_RELAYS
The relays MoreInLaw reads and publishes to by default; unlike the values above, editing this list breaks nothing.
DISCOVERY_TAG
Hashtag every registration and org set carries so relays can be queried for MoreInLaw only.
LIST_KIND
NIP-51 set, used for the public organization set and the private verified list.
MANIFEST_KIND
Lawyer-verification manifest signed in the phone app.
MAX_LIST_COORDS
MAX_NAME_CHARS
MAX_RELAYS
MAX_URL_CHARS
NIP58_DEFINITION_SLUG
NIP98_KIND
NIP-98 HTTP auth, how one instance proves itself to another.
NIP98_WINDOW_SECS
ORGS_SET_D
ORG_DIRECTORY_KIND
Maintainer-signed directory entry for an organization.
REGISTRATION_KIND
Host-signed registration: an organization’s own claim to exist at an address.
ROSTER_D
ROSTER_KIND
NIP-51 follow set, used for the host-group roster.
SCHEMA_VERSION
VERIFIED_SET_D