Protected
iProtected
Optional
keyProtected
Optional
lastProtected
loggerProtected
Optional
medallionReadonly
peersProtected
promiseReadonly
storeStatic
Readonly
PROTOCOLAdds a listener that will be called every time a bundle is received with the BundleInfo (which contains chain information, timestamp, and bundle comment).
a callback to be invoked when a change occurs in the database or container
Optional
containerMuid: Muidthe Muid of a container to subscribe to. If left out, subscribe to all containers.
Initiates a websocket connection to a peer.
a websocket uri, e.g. "ws://127.0.0.1:8080/"
Optional
options: {a promise to the peer
Protected
createProtected
receive
This is an instance of the Gink database that can be run inside a web browser or via ts-node on a server. Because of the need to work within a browser it doesn't do any port listening (see SimpleServer for that capability).