| | |
| | | |
| | | @Slf4j |
| | | @Component |
| | | @ConditionalOnProperty(prefix = "system", name = "chain-listener", havingValue = "true") |
| | | @ConditionalOnProperty(prefix = "system", name = "huadian-transfer", havingValue = "true") |
| | | public class ChainHuadianRunner implements ApplicationRunner { |
| | | |
| | | |
| | |
| | | long start = System.currentTimeMillis(); |
| | | log.info("区块链滑点开始启动"); |
| | | |
| | | Object incrementObj = redisUtils.get(AppContants.REDIS_KEY_BLOCK_ETH_INCREMENT_NUM); |
| | | Object incrementObj = redisUtils.get(AppContants.REDIS_KEY_BLOCK_ETH_INCREMENT_NUM_HUA_DIAN); |
| | | BigInteger newest = ChainService.getInstance(ChainEnum.BSC_GFA.name()).blockNumber(); |
| | | // Object incrementObj = BigInteger.valueOf(39780699); |
| | | // BigInteger newest = BigInteger.valueOf(39780739); |