First of all, make sure you have a full node running and fully synced All machines need to be connected to the same local network (e.g same wi-fi)
On the computer with the full node, find the local IP address: On MacOS/Linux you can use
ifconfig
#!/usr/bin/env python3 | |
import io | |
import hashlib | |
import os | |
import struct | |
import sys | |
import pprint | |
import macholib.MachO | |
from macholib.mach_o import LC_CODE_SIGNATURE |
echo "3756b3201007a88da35ee0957fbe6666c495fb3d8ef2e851ed2bd1115dc36446 *ubuntu-18.04.5-live-server-amd64.iso" | sha256sum -c | grep OK
# (must return OK)
I hereby claim:
To claim this, I am signing this object:
Moved to https://github.com/fjahr/debugging_bitcoin to allow for better collaboration.
This document is currently optimized for MacOS. If you would like to help me add Linux equivalent commands, please let me know.
This guide is designed to give beginners of C++ development and/or people new to the bitcoin core code base an overview of the tools available for debugging issues as well as giving hints where issues may trip you up.
This is a description of how to get started with Signet. This document assumes you are capable of using git, and that you are able to compile Bitcoin. (If you have not yet done so, you should begin by doing that now.)
$ git clone https://github.com/kallewoof/bitcoin.git signet
$ cd signet
$ git checkout 2003-signet-consensus
#!/usr/bin/env python3 | |
# | |
# bitcoin/contrib/gitian-build.py | |
# | |
# Mods: | |
# * no package management | |
# * default --jobs 4 | |
# * always --detach-sign | |
# * always --no-commit |
Some changes are needed to build on debian because of the switch of the guest OS to bionic.
lxc that comes with debian is not high enough version to support bionic (the minimum is 2.1.1), so need to build from scratch.
debootstrap that comes with debian will give the following error:
$ bin/make-base-vm --lxc --suite bionic --arch amd64
E: No such script: /usr/share/debootstrap/scripts/bionic
Block time: 1.5 minutes(90 seconds) | |
Total coins: 105120000 | |
Genesis Hash: ff9f1c0116d19de7c9963845e129f9ed1bfc0b376eb54fd7afa42e0d418c8bb6 | |
P2PKH header: 50(0x32) | |
P2SH header: 55(0x37) | |
P2SH header2: 5(0x05) | |
WIF Prefix: 176(0xB0) | |
WIF Prefix2: 178(0xB2) | |
magic bytes: 0xdbb6c0fb | |
RPC port: 9402 |
This assumes you have brew installed and are comfortable using a terminal.
Following the guide on https://github.com/tpruvot/cpuminer-multi will likely lead to errors about invalid paths to OpenSSL, and neoscrypt errors to the tune of Undefined symbols for architecture x86_64
during the build. I managed to piece together different fixes into an installation that has worked for me. So I hope it works for you.
Ensure a c compiler is installed. Type g++
in the terminal and continue with the xcode installation if necessary. If it prints clang: error: no input files
, then you can proceed.