update 新增算法sha3x xtm币种,后台管理系统优化钱包出入账信息
This commit is contained in:
@@ -855,7 +855,7 @@ public class NodeTask {
|
||||
|
||||
//TODO
|
||||
@Scheduled(cron = "0 0/1 * * * ?")
|
||||
public void XtmBlockInfoToRedis(){
|
||||
public void Sha3xBlockInfoToRedis(){
|
||||
if(!enable){
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -592,7 +592,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
reward,
|
||||
fees
|
||||
from
|
||||
xtm_pool_blkstats
|
||||
sha3x_pool_blkstats
|
||||
order by `date` desc
|
||||
</select>
|
||||
|
||||
@@ -646,7 +646,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
reward,
|
||||
fees
|
||||
from
|
||||
tari_blkreportprofitv2
|
||||
sha3x_blkreportprofitv2
|
||||
where
|
||||
`date` > #{date}
|
||||
order by `date`
|
||||
@@ -1015,11 +1015,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</select>
|
||||
|
||||
<select id="getXtmBlockInfo" resultType="com.m2pool.pool.entity.BlockInfo">
|
||||
select height,difficulty,power,reward,fees,profit from xtm_block_info order by id desc limit 1;
|
||||
select height,difficulty,power,reward,fees,profit from sha3x_block_info order by id desc limit 1;
|
||||
</select>
|
||||
|
||||
<insert id="insertXtmBlockInfo">
|
||||
insert into xtm_block_info (height,difficulty,power,reward,fees,profit,price)
|
||||
insert into sha3x_block_info (height,difficulty,power,reward,fees,profit,price)
|
||||
values(#{blockInfo.height}
|
||||
,#{blockInfo.difficulty}
|
||||
,#{blockInfo.power}
|
||||
|
||||
Reference in New Issue
Block a user