nooschain / node-sync/trusted-peers / updatePeerSyncState
Function: updatePeerSyncState()
updatePeerSyncState(
db,args):Promise<void>
Defined in: node-sync/trusted-peers.ts:125
Records the latest sync outcome for one trusted peer.
Parameters
db
args
error?
string | null
lastSyncedHeight?
string | null
peerId
string
status
string
Returns
Promise<void>