Commit 8590338e authored by Ubuntu's avatar Ubuntu

add chain picture

parent 2ea0aa61
chain.png

217 KB

...@@ -3,7 +3,7 @@ pragma solidity ^ 0.8.13; ...@@ -3,7 +3,7 @@ pragma solidity ^ 0.8.13;
interface consensus{ interface consensus{
function queryBatchHash(uint64 height) external view returns ( bytes calldata); 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 latestHeight() external view returns (uint64);
function batchHash(uint64 height, bytes calldata batchhash)external returns (bool success); 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