Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MetaProtocol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nebula
MetaProtocol
Commits
8ae92bef
Commit
8ae92bef
authored
Nov 03, 2022
by
vicotor
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://code.wuban.net.cn/cmpchain/metaprotocol
parents
bbc1f393
59ab19e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
chain.png
chain.png
+0
-0
contract.sol
contract.sol
+1
-1
No files found.
chain.png
0 → 100644
View file @
8ae92bef
221 KB
contract.sol
View file @
8ae92bef
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment