Skip to content

Instantly share code, notes, and snippets.

Chris Ellis MrChrisJ

View GitHub Profile
View gist:9f19b4e585b99f7b4a43
ipfs get /ipfs/QmP7G9tHy1kgP1x2esokcK63ZWDoykqn6ZnsUw9qbMKQ3D
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev libminiupnpc-dev libzmq3-dev git-core
## if you want to build Qt then you will need to add this below:
# sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
git clone
cd bitcoin
git checkout v0.11.2
./configure --with-tests=no --enable-gui=no # --enable-gui=yes for Qt also.
laanwj /
Last active Mar 28, 2019
Reducing bitcoind memory usage

There are a few parameters that can be dialed down to reduce memory usage of bitcoind. This can be useful on embedded systems or small VPSes.

In-memory caches

The size of some in-memory caches can be reduced. As caches trade off memory usage for performance, usually reducing these have a negative effect on performance.

  • -dbcache=<n> - the UTXO database cache size, this defaults to 300 (100 before 0.13.0). The unit is MiB (1024)
dsosby / config-highlight.cfg
Created Aug 3, 2011
A dark highlighting theme for Python's IDLE IDE based on Notepad++'s Obsidian color scheme
View config-highlight.cfg
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #293134
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #293134
hit-foreground = #E0E2E4
builtin-background = #293134
stdout-foreground = #678CB1
You can’t perform that action at this time.