UpdatePeers updates peer list of the sql-chain.
(peers *proto.Peers)
| 1018 | |
| 1019 | // UpdatePeers updates peer list of the sql-chain. |
| 1020 | func (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. |
| 1025 | func (c *Chain) Query( |
nothing calls this directly
no test coverage detected