Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
share
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张振华
share
Commits
e0fb4251
Commit
e0fb4251
authored
Dec 11, 2018
by
张振华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oracle
parent
12d87d38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
数据发布预言机合约.md
数据发布预言机合约.md
+5
-5
No files found.
数据发布预言机合约.md
View file @
e0fb4251
...
@@ -51,10 +51,10 @@ Action:
...
@@ -51,10 +51,10 @@ Action:
resultPublish
resultPublish
Key
:
Key
:
maval-oracle-id
//
存储event及id
,
status
,
result等信息,可根据id进行查询。
maval-oracle-id
//stateDB
,
存储event及id
,
status
,
result等信息,可根据id进行查询。
LODB-oracle-status-index
:
%d
:
%
018
d
//
按状态存储,主键构成中有index可以支持分页查询,可以按状态查询
,
比如未公布结果的事件,已公布结果的事件等
。
LODB-oracle-status-index
:
%d
:
%
018
d
//
localDB
,
按状态存储,
,
比如未公布结果的事件,已公布结果的事件等。主键构成中有index可以支持分页查询,可以按状态查询
。
LODB-oracle-addr-status-index
:
%s
:
%d
:
%
018
d //按创建者地址及状态进行查询,主键构成中有index可以支持分页查询。
LODB-oracle-addr-status-index
:
%s
:
%d
:
%
018
d //
localDB
,
按创建者地址及状态进行查询,主键构成中有index可以支持分页查询。
LODB-oracle-type-status-index
:
%s
:
%d
:
%
018
d //按事件类型及状态进行查询,主键构成中有index可以支持分页查询。
比如查询足球.英超.的所有未出结果的事件,利用这些事件进行竞猜等。
LODB-oracle-type-status-index
:
%s
:
%d
:
%
018
d //
localDB
,
按事件类型及状态进行查询,主键构成中有index可以支持分页查询。
比如查询足球.英超.的所有未出结果的事件,利用这些事件进行竞猜等。
......
......
```
```
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