Module ckb_testkit::connector[][src]

Modules

A set of functions used to construct network messages.

Structs

Connector is a fake node

Connector Builder

Shared state between protocol handlers and service handler. As it is used across multiple protocols, it should be wrapped into Arc<RwLock<SharedState>>.

Simple protocol handler which implements tentacle’s P2PServiceProtocol

TestServiceHandler is an implementation of P2PServiceHandle which handle service-wise events and errors.

Enums

All supported protocols

Functions

Compress data

Decompress data