Giter VIP home page Giter VIP logo

Comments (11)

Boyjons74 avatar Boyjons74 commented on June 21, 2024 1

Super coin wallet!πŸ‘πŸ‘πŸ‘

from trust-ray.

kelvinkuo avatar kelvinkuo commented on June 21, 2024 1

@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.

kolya182 avatar kolya182 commented on June 21, 2024 1

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.

kolya182 avatar kolya182 commented on June 21, 2024

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.

kelvinkuo avatar kelvinkuo commented on June 21, 2024

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.

kolya182 avatar kolya182 commented on June 21, 2024

let me know the results

from trust-ray.

kelvinkuo avatar kelvinkuo commented on June 21, 2024

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.

kolya182 avatar kolya182 commented on June 21, 2024

How about RAM consumption ?.

from trust-ray.

kelvinkuo avatar kelvinkuo commented on June 21, 2024

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.

kelvinkuo avatar kelvinkuo commented on June 21, 2024

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.

kelvinkuo avatar kelvinkuo commented on June 21, 2024

Thanks. abi-decoder long time no new commits.

from trust-ray.

Related Issues (20)

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.