Skip to content

Instantly share code, notes, and snippets.

@sikkienl
sikkienl / install_nby.sh
Last active July 12, 2025 14:36 — forked from nschmeller/install_btc.sh
Script to install Neobytes Core v0.12.2 on Ubuntu 20.04
#!/bin/zsh
# sourced from https://hackernoon.com/a-complete-beginners-guide-to-installing-a-bitcoin-full-node-on-linux-2018-edition-cb8e384479ea
# updated for 3 July 2021 versions (specifically 4.8 Berkeley DB that failed to compile)
# there are a few tradeoffs for this approach: Bitcoin Core seems to require Berkeley DB 4.8 for portable wallets (makes sense)
# this script is intended for a node to support the network and not to act as a wallet, so portability isn't an issue
# so, we compile with --with-incompatible-bdb
# we could avoid this problem by installing earlier versions of apt-get packages instead of the latest versions, but
# that would take a lot of time to track down specific versions
@sikkienl
sikkienl / chainparams.cpp
Created February 8, 2023 13:32 — forked from bellflower2015/chainparams.cpp
Calculating Genesis Block
// ... snip ...
#include <arith_uint256.h>
// ... snip ...
class CMainParams : public CChainParams {
public:
CMainParams() {