cess
cess copied to clipboard
The original `MinerInfo.peer_id` field of the storage miner is no longer applicable
Cause
The current version of MinerInfo.peer_id represents the ID of the storage-miner
P2P node. Due to the change of data transmission protocol for storage-miner
, this field no longer has practical significance. On the other hand, the information used to represent the endpoint of the storage-miner
borrows this field, resulting in improper expression of business semantics and making it difficult for future code maintenance.
Advices
- Deprecate the
MinerInfo.peer_id
field - Add a field similar to
endpoint
to represent the API endpoint of the storage miner
Affect modules
- cess
- cess-miner
- cess-go-sdk
- other downside modules