Module: lns

Loki Name Service Utilities
Author:
  • Ryan Tharp
License:
  • ISC
Source:

Methods

(async, inner) getNameFast(lnsName) → {Promise.<String>}

Lookup LNS name against one snode
Parameters:
Name Type Description
lnsName String what name to look up
Source:
Returns:
pubkey (SessionID) it points to
Type
Promise.<String>

(async, inner) getNameSafe(lnsName) → {Promise.<String>}

Lookup LNS name against three snode and get agreement
Parameters:
Name Type Description
lnsName String what name to look up
Source:
Returns:
pubkey (SessionID) it points to
Type
Promise.<String>