Class NodeToClientChainSync
Constructors
constructor
- new NodeToClientChainSync(socket, NodeToClientChainSyncDecoderStream): NodeToClientChainSync
-
Parameters
-
socket: Socket
-
NodeToClientChainSyncDecoderStream: Readable
Methods
done
- done(): void
-
Returns void
findIntersect
- findIntersect(points): void
-
Returns void
on
- on(event, listener): NodeToClientChainSync
-
Parameters
-
event: "data"
-
listener: ((data) => void)
-
- (data): void
-
Parameters
-
data: NodeToClientChainSyncResponse
Returns void
- on(event, listener): NodeToClientChainSync
-
Parameters
-
event: "error"
-
listener: ((error) => void)
-
- (error): void
-
Returns void
requestNext
- requestNext(): void
-
Returns void