Talking to an ElectrumX server, the way a Doichain wallet or web page does: a WebSocket carrying JSON-RPC, and a check that the server really follows the Doichain chain.

A server answers with whatever chain its node follows and sends no proof for it. verifyChain asks for a block only the valid chain has, so a server on the old chain is caught before anything it says is believed.

Index

Classes

Interfaces

Variables

Functions