Comments (6)
Some notice for using es plugin:
- With elastic search plugin, you don't have to use
--track-account
params - If you want track only one account's full history, then you don't need elastic search plugin
- Elastic search plugin is used to track all account history, very useful for block explorer
For you case:
- Make sure you have installed elastic search properly
- Make sure witness_node has sync to latest status by checking witness.log, only after that, you could have your wallet started, and use all apis
You can post your witness.log
here for more details
from gxb-core.
Oh, understand.
Witness node is fully synced:
2020-02-28T14:18:33 th_a:invoke handle_block handle_block ] Got block: #28081036 time: 2020-02-28T14:18:33 transaction(s): 0 latency: 296 ms from: gbac-gxc irreversible: 28081018 (-18) application.cpp:508
2020-02-28T14:18:36 th_a:invoke handle_block handle_block ] Got block: #28081037 time: 2020-02-28T14:18:36 transaction(s): 0 latency: 347 ms from: chainclub-bp irreversible: 28081018 (-19) application.cpp:508
2020-02-28T14:18:39 th_a:invoke handle_block handle_block ] Got block: #28081038 time: 2020-02-28T14:18:39 transaction(s): 0 latency: 143 ms from: gxbean irreversible: 28081018 (-20) application.cpp:508
2020-02-28T14:18:42 th_a:invoke handle_block handle_block ] Got block: #28081039 time: 2020-02-28T14:18:42 transaction(s): 0 latency: 313 ms from: lendchain irreversible: 28081018 (-21) application.cpp:508
2020-02-28T14:18:45 th_a:invoke handle_block handle_block ] Got block: #28081040 time: 2020-02-28T14:18:45 transaction(s): 0 latency: 323 ms from: gxcpacific irreversible: 28081018 (-22) application.cpp:508
2020-02-28T14:18:48 th_a:invoke handle_block handle_block ] Got block: #28081041 time: 2020-02-28T14:18:48 transaction(s): 0 latency: 312 ms from: lucia-committee irreversible: 28081020 (-21) application.cpp:508
2020-02-28T14:18:51 th_a:invoke handle_block handle_block ] Got block: #28081042 time: 2020-02-28T14:18:51 transaction(s): 0 latency: 783 ms from: damo-witness irreversible: 28081020 (-22) application.cpp:508
2020-02-28T14:18:54 th_a:invoke handle_block handle_block ] Got block: #28081043 time: 2020-02-28T14:18:54 transaction(s): 0 latency: 303 ms from: gxc-prophet irreversible: 28081020 (-23) application.cpp:508
2020-02-28T14:18:57 th_a:invoke handle_block handle_block ] Got block: #28081044 time: 2020-02-28T14:18:57 transaction(s): 0 latency: 375 ms from: bigone-pool irreversible: 28081020 (-24) application.cpp:508
2020-02-28T14:19:00 th_a:invoke handle_block handle_block ] Got block: #28081045 time: 2020-02-28T14:19:00 transaction(s): 0 latency: 307 ms from: bepal irreversible: 28081020 (-25) application.cpp:508
2020-02-28T14:19:03 th_a:invoke handle_block handle_block ] Got block: #28081046 time: 2020-02-28T14:19:03 transaction(s): 0 latency: 269 ms from: certik-gxc irreversible: 28081020 (-26) application.cpp:508
2020-02-28T14:19:06 th_a:invoke handle_block handle_block ] Got block: #28081047 time: 2020-02-28T14:19:06 transaction(s): 0 latency: 364 ms from: gxcmoon irreversible: 28081022 (-25) application.cpp:508
2020-02-28T14:19:09 th_a:invoke handle_block handle_block ] Got block: #28081048 time: 2020-02-28T14:19:09 transaction(s): 0 latency: 297 ms from: xinlai-bp irreversible: 28081033 (-15) application.cpp:508
Maybe I should restart node without ES plugin?
from gxb-core.
Yes, but remember to remove --resync-blockchain
since it will cause fully re sync
from gxb-core.
You do not need to start the ES plugin. You can try the following command:
nohup ./programs/witness_node/witness_node --data-dir=/data --rpc-endpoint=0.0.0.0:8090 --partial-operations=true --p2p-endpoint=0.0.0.0:6789 --data-transaction-lifetime=1 --track-account=""ID_ACCOUNT"" _max_ops_per_account=20000 --log-file >> witness.out 2>&1 &
And from now on, the track account's new transaction will be saved , and then use get_account_history
to get the account history
from gxb-core.
@lanhaoxiang @RootkitKiller ok, I've got. I will wait when the node is fully started and give a status of queries.
from gxb-core.
All good! Close the issue.
from gxb-core.
Related Issues (20)
- 统计智能合约占用的RAM情况
- 智能合约编译的一个问题 HOT 5
- abi generation of set and map
- 对节点支持txid查transaction功能进行详细测试 HOT 1
- 对replay逻辑优化测试 HOT 1
- RPC接口怎么通过txid获取交易信息 HOT 3
- broadcast_transaction API returns txid
- multi_index中的一些疑问 HOT 5
- Mac系统测试网环境,同步出错
- testnet 合约更新有问题 HOT 3
- Testnet 调用合约 HOT 2
- ES插件在Ubuntu18.04 系统下,存在某些交易类型无法写入到数据库的情况
- 每次重启都会重新Replaying blocks HOT 2
- 当前版本智能合约class name不支持下划线和大写字母
- gxb-core更新boost库版本到1.69及以上 HOT 1
- witness_node启动时,插件名称不存在时,未抛出错误日志,进程直接退出
- 默认添加txid反查插件,不再使用可选插件配置的方式[WIP] HOT 1
- GXB-Core Release v1.0.200327 HOT 2
- how to enable bitasset feature ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gxb-core.