Comments (2)
I thought about porting the script, but instead i put it in a docker container.
Here's the Dockerfile
FROM ubuntu
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Berlin
RUN apt-get update && apt-get install -y software-properties-common curl build-essential libleveldb-dev && add-apt-repository universe
RUN apt-get update && apt-get install -y python2 python-dev
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /get-pip.py
RUN python2 /get-pip.py
RUN pip2 install plyvel base58
CMD ["python2", "/data/btcposbal2csv.py", "/chainstate", "/data/btcbal.csv"
mount chainstate and script directory according to last line in dockerfile. output goes to the directory of the python script in the example.
from btcposbal2csv.
Hello,
yes, the script does not work in python3. It is clearly stated, that it needs python2.
The docker is good idea.
from btcposbal2csv.
Related Issues (20)
- btcposbal2csv.py doesn't extract segwit HOT 3
- Is the generated file limited to 1.5Gļ¼ HOT 2
- Hello graymauser, can you tell me what tool can I use to convert the generated csv file into a pickle file? Thank you graymauser HOT 1
- Python 3 support HOT 1
- TypeError: can't concat str to bytes HOT 1
- convert2ripemd160.py return error "'NoneType' object is not iterable" HOT 2
- Support for LTC and DOGE? HOT 1
- Extract with or without balance HOT 1
- version error HOT 3
- FOR PYTHON 3? HOT 8
- Can't get past install errors HOT 2
- Chainstate end 2021 HOT 2
- Can't concat str to bytes HOT 3
- Getting Invalid argument error. HOT 1
- Problem "PATH_TO_CHAINSTATE_DIR, OUTFILE" HOT 1
- Can't install plyvel
- Can't install plyvel HOT 3
- how to delete this?need help HOT 3
- Unciphered - Randstorm - BitcoinJS SecureRandom
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 btcposbal2csv.