MCPcopy Create free account
hub / github.com/LUX-Core/lux / syncStatus

Method syncStatus

src/cpp-ethereum/libethereum/Client.cpp:805–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803}
804
805SyncStatus Client::syncStatus() const
806{
807 auto h = m_host.lock();
808 if (!h)
809 return SyncStatus();
810 SyncStatus status = h->status();
811 status.majorSyncing = isMajorSyncing();
812 return status;
813}
814
815bool Client::submitSealed(bytes const& _header)
816{

Callers 1

eth_syncingMethod · 0.45

Calls 3

lockMethod · 0.80
SyncStatusClass · 0.70
statusMethod · 0.45

Tested by

no test coverage detected