-3

I have a running Bitcoin node which downloads all block .dat files.

Now I would like to parse these files into a Python script and receive only the transaction data.

Afterwards, I am planning to push the data into Google BigQuery for analysis.

Does anyone have a good source for such a python script?

Many thanks in advance!

1 Answer 1

-2

Basically, all you need is to read these .dat files with python and send the content to GBQ.

Here is a thread on how to process .dat files: reading and doing calculation from .dat file in python

After converting .bat into pandas data frame, you can use pandas-gbq package to save it in Google BigQuery. Documentation: https://pandas-gbq.readthedocs.io/en/latest/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.