There is a geth
program running, and provide --rpc
service.
What the service do:
- Sync blocks.
- Accept rpc requests to create transaction.
- There is another program try to read the new blocks, and find out the transactions relevant to addresses in our wallets, and sync the data into local database (e.g
mysql
).
Currently we are using full
mode, but it's a bit slow, and takes more disk space.
Questions
- Is
fast
mode enough for above usage? - Which is better?
- If we switch from
full
mdoe tofast
mode, willgeth
have to re-download all the years of historys? Or, it will reuse the history?
(I asked another question about ethereum on Ethereum
site, if you are interested could you also take a look: https://ethereum.stackexchange.com/questions/78293/how-to-migrate-geths-data)