Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omnicored节点同步问题 #645

Open
ZhengFrey opened this issue Jun 13, 2018 · 17 comments
Open

omnicored节点同步问题 #645

ZhengFrey opened this issue Jun 13, 2018 · 17 comments

Comments

@ZhengFrey
Copy link

您好老师:
我这边想向您请假一下下面几个问题,由于英语不是很好,就直接用中文了
1、btc节点所有数据同步完毕后,在bitcoin.conf中加了参数txindex=1,同时启动omnicored,发现omnicored节点同步非常慢,并且过一段时间后,感觉会停止同步,通过cli获取区块高度不再增加,需要重启omnicored节点,扫描制定范围区块后,才会重新增加区块高度。这样感觉同步完所有数据太浪费时间了
2、omnicore-cli在github中的接口说明不完全,通过help指令所列出的接口有些在文档中找不到,不知道是不是我找错了,还是本来文档中就没有记录
希望老师能给我解疑一下,谢谢

@KuoRave
Copy link

KuoRave commented Jun 13, 2018

@ZhengFrey 我也是一样的问题,你有没有遇到请求rpc服务器时请求不上或者请求超时这样的问题?我不知道是不是同步区块造成的,有点崩溃

@ZhengFrey
Copy link
Author

@KuoRave 你这个时调用rpc接口引发的问题还是omnicored节点在同步时发生的,我这边omnicored节点同步差不多时10000/h的样子,

@KuoRave
Copy link

KuoRave commented Jun 13, 2018

@ZhengFrey 我区块还没同步完。调用rpc接口偶尔能成功,大多数情况下是请求不上rpc服务器,这个我要等区块同步完再看看,omnilayer有点坑。关于help列出来的命令,omnilayer是基于btc的,带有omni_前缀的命令看文档就行了,其他的命令参考https://bitcoin.org/en/developer-reference#bitcoin-core-apis。

@ZhengFrey
Copy link
Author

@KuoRave 嗯,谢谢,是我进入误区了。官方说还是测试中,不知道这个是否靠谱

@KuoRave
Copy link

KuoRave commented Jun 14, 2018

@ZhengFrey 同步完数据就不会出现我的问题了。昨天在#626 这里找到原因。同步的速度到后面越来越慢,几乎是10000/m个小时,泪崩。。同步的时候非常吃cpu和内存

@songjim
Copy link

songjim commented Jun 14, 2018

各位大佬 我要是用omni_createpayload_simplesend这个方法 发送usdt交易 propertyid这个值怎么哪里可以找到啊

@KuoRave
Copy link

KuoRave commented Jun 14, 2018

@dexX7
Copy link
Member

dexX7 commented Jun 14, 2018

Hi guys, I only tried to translate the original post, and we have a description for the Omni Layer specific RPCs here:

https://github.com/OmniLayer/omnicore/blob/master/src/omnicore/doc/rpc-api.md

@songjim
Copy link

songjim commented Jun 15, 2018

@KuoRave 感谢

大佬们 我在regtest 环境使用 omni_sendissuancecrowdsale "mmDnDrLnzvezEhSumN5zXEiM1Gxx8gagbB" 2 1 0 "song22" "songjian22" "SJ22" "" "" 2 "100" 1529055817 30 2 一直报错Error with selected inputs for the send transaction (code -206) 有大佬指点下吗

@songjim
Copy link

songjim commented Jun 28, 2018

@dexX7 大佬我们用的0.3的omnicore 节点同步都挂了两次了 2周还没同步完 请问有没有什么好的比较快的节点或者有什么特殊配制可以使用的

@calldata
Copy link

calldata commented Jul 2, 2018

usdt现在是不是没有像etherscan.io 那样的网站,可以提供api 服务?https://www.omniexplorer.info/ 的api文档没有公布, 如果我要做usdt钱包,是不是需要自己搭建一个完整节点呢?

@sh0rt2020
Copy link

@jayphbee yes,u need build ur own usdt full node and maybe u also need to scan all the blocks of the full node. So u can optimize ur wallet service.

另外,这种问题,大家应该尽量使用英文交流,有助于问题的解决以及给别人提供帮助。

@calldata
Copy link

@Sunwell thanks for your replay.

@lcgogo
Copy link

lcgogo commented Aug 27, 2018

@jayphbee see https://api.omniexplorer.info/

@sg552
Copy link

sg552 commented Dec 15, 2018

看老外多负责啊. 还把中文翻译成英文. 兄弟们要好好学习英语啊!

I totally agree that posting in English . ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants