Skip to content

Instantly share code, notes, and snippets.

@UdjinM6
UdjinM6 / bitcoin_debugging.md
Created February 13, 2022 22:39 — forked from fjahr/bitcoin_debugging.md
Debugging Bitcoin Core

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.

Debugging Bitcoin Core

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.

@UdjinM6
UdjinM6 / bitcoin_spv_wallet_overview.md
Created February 21, 2016 16:59 — forked from TOMOAKI12345/bitcoin_spv_wallet_overview.md
Bitcoin SPV Wallet Flow Overview

@UdjinM6
UdjinM6 / index.html
Last active August 29, 2015 14:26 — forked from anonymous/index.html
Dash ticker // source http://jsbin.com/werasikolo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dash ticker</title>
<style id="jsbin-css">
div {
width: 200px;
}
</style>
@UdjinM6
UdjinM6 / MN3.py
Last active April 15, 2016 11:35
Fixed: dashninja.pl API usage; Changed: switched to explorer.dash.org to fetch balances
from Tkinter import *
import urllib2
from datetime import datetime
import smtplib
import time
import os
import ConfigParser as con
from appdirs import AppDirs
import json
@UdjinM6
UdjinM6 / remove_merged.sh
Last active August 29, 2015 14:14 — forked from schacon/gist:942899
Remove local branches that were merged
# remove local
git branch --merged |
grep -v '>' |
grep -v master |
xargs -L1 |
cut -d"/" -f2- |
xargs git branch -d
# remove remote
git branch -r --merged |
@UdjinM6
UdjinM6 / TwoOfThree.sh
Last active August 29, 2015 14:10 — forked from gavinandresen/TwoOfThree.sh
Raw transaction API example for 2-of-3 multisig
# Raw transaction API example work-through
# Send coins to a 2-of-3 multisig, then spend them.
#
# For this example, I'm using these three keypairs (public/private)
# 0491bba2510912a5bd37da1fb5b1673010e43d2c6d812c514e91bfa9f2eb129e1c183329db55bd868e209aac2fbc02cb33d98fe74bf23f0c235d6126b1d8334f86 / 5JaTXbAUmfPYZFRwrYaALK48fN6sFJp4rHqq2QSXs8ucfpE4yQU
# 04865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac09ef122b1a986818a7cb624532f062c1d1f8722084861c5c3291ccffef4ec6874 / 5Jb7fCeh1Wtm4yBBg3q3XbT6B525i17kVhy3vMC9AqfR6FH2qGk
# 048d2455d2403e08708fc1f556002f1b6cd83f992d085097f9974ab08a28838f07896fbab08f39495e15fa6fad6edbfb1e754e35fa1c7844c41f322a1863d46213 / 5JFjmGo5Fww9p8gvx48qBYDJNAzR9pmH5S389axMtDyPT8ddqmw
# First: combine the three keys into a multisig address:
./bitcoind createmultisig 2 '["0491bba2510912a5bd37da1fb5b1673010e43d2c6d812c514e91bfa9f2eb129e1c183329db55bd868e209aac2fbc02cb33d98fe74bf23f0c235d6126b1d8334f86","04865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac09ef122b1a9
@UdjinM6
UdjinM6 / bitwalletrecover.py
Last active June 14, 2022 14:50 — forked from msm595/bitwalletrecover.py
bitwalletrecover.py - recover compressed private keys from your bitcoin/litecoin/darkcoin wallet. Requires python3, pycoin (https://pypi.python.org/pypi/pycoin), and base58 (https://pypi.python.org/pypi/base58).
## bitwalletrecover.py - recover private keys from your darkcoin wallet
## (this version was not tested with bitcoin/litecoin).
## Requires python3, pycoin (https://pypi.python.org/pypi/pycoin),
## and base58 (https://pypi.python.org/pypi/base58).
##
## Starting with Python 3.4, pip is included by default with the Python binary
## installers. To install pip for older versions 3.x:
##
## sudo apt-get install python3-setuptools
## sudo easy_install3 pip