Skip to content

Instantly share code, notes, and snippets.

#deb cdrom:[Ubuntu 22.04.4 LTS _Jammy Jellyfish_ - Release amd64 (20240220)]/ jammy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
Overnight, very
Whitely, discreetly,
Very quietly

Our toes, our noses
Take hold on the loam,
Acquire the air.

Nobody sees us,

First decide on your VM platform. This can be qemu, VMware Workstation 17, VirtualBox, etc. For this demonstration I am going to use VMware. You can grab VMware workstation player and SHA256 checksums here: https://www.vmware.com/go/downloadplayer

Next make sure you have gcc and build-essential:

sudo apt-get update && sudo apt-get install -y gcc build-essential

Verify the file by copying the sha256sum: image

https://github.com/xanimo/libdogecoin/commit/68204646be58410ae2786570f80671fcd11de9cc

either run (copy) cp main_wallet.db main_wallet_bu_jul7.db or (delete) rm main_wallet.db wallet depending on if you use it and then download the headers here and move them to your libdogecoin repo and run the following:

cp main_headers_april25.db main_headers.db
make && spvnode -c -a "D6JQ6C48u9yYYarubpzdn2tbfvEq12vqeY DGYrGxANmgjcoZ9xJWncHr6fuA6Y1ZQ56Y DBcR32NXYtFy6p4nzSrnVVyYLjR42VxvwR" -b -p scan

let it run until it hits the 26th of april and then run:

make && spvnode -a "D6JQ6C48u9yYYarubpzdn2tbfvEq12vqeY DGYrGxANmgjcoZ9xJWncHr6fuA6Y1ZQ56Y" wallet
#!/bin/bash
export LC_ALL=C
set -e -o pipefail
all_host_triplets=("x86_64-pc-linux-gnu" "i686-pc-linux-gnu" "aarch64-linux-gnu" "arm-linux-gnueabihf" "x86_64-w64-mingw32" "i686-w64-mingw32" "x86_64-apple-darwin11");
for i in "${!all_host_triplets[@]}"
do
:
target_host_triplet="${all_host_triplets[$i]}"
echo $target_host_triplet
##
## dogecoin.conf configuration file.
## Generated by contrib/devtools/gen-dogecoin-conf.sh.
##
## Lines beginning with # are comments.
## All possible configuration options are provided. To use, copy this file
## to your data directory (default or specified by -datadir), uncomment
## options you would like to change, and save the file.
##
@xanimo
xanimo / build-apple-depends.sh
Last active October 11, 2022 23:43
Docker build x86_64-apple-darwin11 build Dogecoin Core 1.14.7-dev with depends
#!/bin/bash
apt-get update
apt-get install -y build-essential libtool autotools-dev automake pkg-config bsdmainutils curl ca-certificates ccache cmake imagemagick libcap-dev librsvg2-bin libz-dev libtiff-tools libtinfo5 python-is-python3 python3-setuptools wget xorriso libtinfo5 libbz2-dev python3 rsync git procps bison
git clone https://github.com/dogecoin/dogecoin
pushd /dogecoin
git checkout 1.14.7-dev
wget https://gist.githubusercontent.com/xanimo/7b3ae8f43e3b8b3834e7e281dc263de2/raw/22c72d80ce1d8e5710a9a2d1edaa8efe2c6f621d/macos-sdk.sh
chmod +x macos-sdk.sh
#!/bin/bash
export LC_ALL=C
set -e -o pipefail
SDK_VERSION=10.11
SDK_URL=https://bitcoincore.org/depends-sources/sdks
SDK_SHASUM="bec9d089ebf2e2dd59b1a811a38ec78ebd5da18cbbcd6ab39d1e59f64ac5033f"
SDK_FILENAME=MacOSX$SDK_VERSION.sdk.tar.gz
echo $SDK_FILENAME