Git Product home page Git Product logo

btsmonitor's People

Contributors

zhangpanyi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

btsmonitor's Issues

btsmoniter #memo 讨论

@zhangpanyi 对于充值memo 会不会有这个场景呢? 就是举个例:A用户的telegram id是 :12345678 充值到 bts地址,转账的时候结果memo 备注粗心的写成了 12345679 。 实际上这个 12345679 这个id也有一个对应的 telegram 用户。恰好这个id为 12345679的用户也是telegram红包的用户,那么他说不定有可能会提现而造成不必要的麻烦。

PS:这个只是题外探讨而已哈。用户自己充值而造成的错误,这个肯定用户自己的问题。 张老师我看充值之后有插入数据库的记录
// 插入操作记录 desc := fmt.Sprintf("您充值*%.2f* *%s*已确认, 区块高度: *%d*", float64(req.GetAmount())/100.0,
没有添加 使用机器人主动推送充值信息到 telegram用户(知道tg id可以使用机器人直接通过id发送给用户消息) 是不是就是为了避免用户填写错memo的原因而不主动推送消息呢

你好!有疑问想请教!

博主好!

抱歉打扰,我是菜鸟,在做一个与telegram和区块链有关的小项目,遇到一个问题,看了你的作品,是在你的研究范畴,所以想有偿请教。

请联系我Telegram@Morse666

感谢!

提交两点疑问:wifkey和 import memo 模块

#1.请教一下作者,config.yml中的

# 帐号名称
account: "YOUACCOUNT"
# 帐号私钥
wifkey: "YOUBITSHARESWIF"

这个私钥是 活动私钥还是账户私钥呢? 这个地方有个疑问就是,btsmoniter 好像具备监控,转账,查看备注的功能,但是要实现这三个功能,只配置一个私钥好像是不行的,比如要查看备注memo,必须要单独的备注私钥才能查看,转账的时候,也必须要有备注私钥才能转账,但是这里配置文件中只配置了一个私钥,请教一下这里是如何实现的呢?
#2. transfer.py 中

# -*- coding:utf-8 -*- 

import asyncio
import logging
from . import statistics
from graphenebase import memo as BtsMemo
from graphenebase import PublicKey, PrivateKey

这里的 graphenebase 是否有问题? 我使用docker一直没成功允许过,一直报错 import memo 模块错误

修改为
from bitsharesbase import memo as BtsMemo
from bitsharesbase.account import PublicKey, PrivateKey
之后,docker 运行正常。

请教一下张老师,如何判断btsmoniter是否正常工作了

张老师,有没有办法测试btsmoniter是否正常工作呢?ws节点测试网络通畅。通过docker logs -f 打印日志能看到transfer.py 处理接收到的的充值,但是数据库里面没有。数据库连接信息没错,没法在docker里面查看的mysql相关信息。另外RPC通信除了通过防火墙进行限制从而使得安全以外,能否添加client和server 之间秘钥的方式来获得安全保障呢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.