Skip to content

Instantly share code, notes, and snippets.

Chris Ellis MrChrisJ

Block or report user

Report or block MrChrisJ

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:9f19b4e585b99f7b4a43
ipfs/QmP7G9tHy1kgP1x2esokcK63ZWDoykqn6ZnsUw9qbMKQ3D
ipfs get /ipfs/QmP7G9tHy1kgP1x2esokcK63ZWDoykqn6ZnsUw9qbMKQ3D
ipfs/QmexoUKfnf11Ux5RGzLFFhe8WnDCV5nzc7dUFUaucBxFbp
ipfs/QmX4MoZgeZoNPB57ZSMLd1tRPfNcQ1NvgpmWQmdNv6qooy
View bitcoin-install.sh
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 https://github.com/bitcoin/bitcoin
cd bitcoin
git checkout v0.11.2
./autogen.sh
./configure --with-tests=no --enable-gui=no # --enable-gui=yes for Qt also.
@laanwj
laanwj / reducing-bitcoind-memory-usage.md
Last active Jun 11, 2019
Reducing bitcoind memory usage
View reducing-bitcoind-memory-usage.md

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 450 (since 0.14.1). The unit is MiB (1024)
@dsosby
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
[Obsidian]
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.