MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / UpdatePeers

Method UpdatePeers

sqlchain/chain.go:1020–1022  ·  view source on GitHub ↗

UpdatePeers updates peer list of the sql-chain.

(peers *proto.Peers)

Source from the content-addressed store, hash-verified

1018
1019// UpdatePeers updates peer list of the sql-chain.
1020func (c *Chain) UpdatePeers(peers *proto.Peers) error {
1021 return c.rt.updatePeers(peers)
1022}
1023
1024// Query queries req from local chain state and returns the query results in resp.
1025func (c *Chain) Query(

Callers

nothing calls this directly

Calls 1

updatePeersMethod · 0.80

Tested by

no test coverage detected