(commit common.Hash, chunkIdx uint64, miner common.Address)
| 226 | } |
| 227 | |
| 228 | func CalcEncodeKey(commit common.Hash, chunkIdx uint64, miner common.Address) common.Hash { |
| 229 | return calcEncodeKey(commit, chunkIdx, miner) |
| 230 | } |
| 231 | |
| 232 | // Obtain a unique encoding key with keccak256(chunkIdx || commit || miner). |
| 233 | // This will make sure the encoded data will be unique in terms of idx, storage provider, and data |
no test coverage detected