Commit 8ae92bef authored by vicotor's avatar vicotor
parents bbc1f393 59ab19e3
chain.png

221 KB

......@@ -3,7 +3,7 @@ pragma solidity ^ 0.8.13;
interface consensus{
function queryBatchHash(uint64 height) external view returns ( bytes calldata);
function queryRate() external view returns (uint32 rate);
function queryRate() external view returns (uint32 rate); // 需要区分追块状态还是 出块状态
function latestHeight() external view returns (uint64);
function batchHash(uint64 height, bytes calldata batchhash)external returns (bool success);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment