Comments (11)
Super coin wallet!πππ
from trust-ray.
@kolya182 batch request is the right way. I batch all getTransaction and getReceipt of one block. Speed goes up. about 4days, scanned all blocks.
Thanks
from trust-ray.
I see your problem Consensys/abi-decoder#27, i made PR long time ago Consensys/abi-decoder#11 fixing it.
That why we do this https://github.com/TrustWallet/trust-ray/blob/703192ca21666c7fa7fa9e5615b25db3c2c88460/package.json#L24
from trust-ray.
Are using local RPC server ?. I believe to sync a whole blockchain utilizing let say Infura RPC it may take up to 5-8 days. If you run Ray and RPC on the same machine (keep in mind you will need a lot of RAM and SSD disk for Geth to show some good performance).
A few potential improvements we should
- Use WebSockets, not sure what the latest status on it from Infura
- Batching getting blocks transactions
from trust-ray.
yes. Scan program and a geth full node are in the same server. I will have a try. Thanks for your suggestion.
from trust-ray.
let me know the results
from trust-ray.
I have a server with SSD disk and 8core CPU 16G RAM. I think its ok.
I will try websocket and batch request.
no problem, I will post the results.
from trust-ray.
How about RAM consumption ?.
from trust-ray.
For my program, memory is around 200MB. The bottleneck is geth. CPU usage goes high.
I need a schedule manager to get down RPC QPS.
from trust-ray.
I saw trust-ray uses abi-decoder, I encounter some transactions, It will raise exception when decoding the event logs. Like tx: 0x7834632fb74e671317e87551c5969dcf117efaf00c1f16c4e5d66419715e3b37.
I have reported the issue. But they haven't reply.
from trust-ray.
Thanks. abi-decoder long time no new commits.
from trust-ray.
Related Issues (20)
- Default distro in trust build is EOL HOT 5
- can't parse 'ICON (ICX)' contract HOT 2
- This price interface reports 500 error HOT 4
- Kovan token balances no longer work HOT 2
- About single sign on
- An in-range update of aws-sdk is breaking the build π¨ HOT 22
- An in-range update of @types/mongodb is breaking the build π¨ HOT 7
- An in-range update of morgan is breaking the build π¨ HOT 1
- An in-range update of mongoose is breaking the build π¨ HOT 8
- An in-range update of @types/node is breaking the build π¨ HOT 11
- An in-range update of @types/jquery is breaking the build π¨ HOT 10
- An in-range update of tsc-watch is breaking the build π¨ HOT 3
- Setting optimal parameters HOT 1
- how to config my default.json HOT 1
- Can someone help me?How could these problems be solved?
- Does trustwallet provides api for testnet?
- Deployed Version HOT 1
- How to access API docs ?
- ε―ε¨server.jsζ₯ι HOT 1
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 trust-ray.