Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
2abfc0de
Commit
2abfc0de
authored
Apr 15, 2019
by
jiangpeng
Committed by
vipwzw
Apr 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repeat ci
parent
29248a1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
reward.go
plugin/dapp/paracross/executor/reward.go
+1
-1
No files found.
plugin/dapp/paracross/executor/reward.go
View file @
2abfc0de
...
...
@@ -7,7 +7,7 @@ import (
pt
"github.com/33cn/plugin/plugin/dapp/paracross/types"
)
// reward 挖矿奖励,主要处理挖矿分配逻辑,先实现基本策略,后面根据需求进行重构
// reward 挖矿奖励,
主要处理挖矿分配逻辑,先实现基本策略,后面根据需求进行重构
func
(
a
*
action
)
reward
(
nodeStatus
*
pt
.
ParacrossNodeStatus
,
stat
*
pt
.
ParacrossHeightStatus
)
(
*
types
.
Receipt
,
error
)
{
//获取挖矿相关配置,这里需注意是共识的高度,而不是交易的高度
...
...
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