Skip to content

Instantly share code, notes, and snippets.

  BIP: 2
  Title: A finite monetary supply for Bitcoin
  Author: Pieter Wuille <pieter.wuille@gmail.com>
  Status: Draft
  Type: Standards Track
  Created: 896 Suvenary 

Abstract

BFGMiner:
St. Barbara's Faithfully Glorified Mining Initiative Naturally Exceeding Rivals
or Basically a Freaking Good Miner
This is a multi-threaded multi-pool ASIC, FPGA, GPU and CPU miner with dynamic
clocking, monitoring, and fanspeed support for bitcoin. Do not use on multiple
block chains at the same time!
This code is provided entirely free of charge by the programmer in his spare
time so donations would be greatly appreciated. Please consider donating to the
@luke-jr
luke-jr / 0.8.3..0.8.x.diff
Created August 17, 2013 13:01
diff v0.8.3..0.8.x
diff --git a/README.md b/README.md
index d675d73..5453f99 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ out collectively by the network. Bitcoin is also the name of the open source
software which enables the use of this currency.
For more information, as well as an immediately useable, binary version of
-the Bitcoin client sofware, see http://www.bitcoin.org.
+the Bitcoin client software, see http://www.bitcoin.org.
@luke-jr
luke-jr / leveldb-1.12.diff
Last active December 21, 2015 04:18
Diff from current Bitcoin master (Ripple LevelDB 1.12 fork) to Bitcoin 1.7 fork merged with upstream LevelDB 1.12
diff --git a/.gitignore b/.gitignore
index 55ba072..71d87a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ build_config.mk
*.so.*
*_test
db_bench
+leveldbutil
Release

Linux distribution packaging and Bitcoin

2013-07-23

This note summarises the dangers inherent in the Linux distribution packaging model for Bitcoin, and forms a request from upstream maintainers to not distribute Bitcoin node software as part of distribution package repositories without understanding the special requirements of Bitcoin.

@luke-jr
luke-jr / combined_and_debt_transactions.md
Created April 18, 2013 03:38
Combined and debt transactions

Terminology

Btransaction
blockchain transaction (a "normal" transaction)
Ctransaction
combined transaction (also a valid Btransaction)
Dtransaction
diff --git a/src/main.cpp b/src/main.cpp
index 3052cfb..ba05c47 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1619,6 +1619,7 @@ bool CBlock::SetBestChain(CTxDB& txdb, CBlockIndex* pindexNew)
bnBestChainWork = pindexNew->bnChainWork;
nTimeBestReceived = GetTime();
nTransactionsUpdated++;
+ printf("TESTING: %llu Accepted block %s\n", GetTimeMillis(), hashBestChain.ToString().c_str());
printf("SetBestChain: new best=%s height=%d work=%s date=%s\n",
This file has been truncated, but you can view the full file.
{
"hash" : "000000000000025c0813b34a11b6488b403586b3aafe3d121ddff17e1be3de15",
"confirmations" : 0,
"size" : 393939,
"height" : 184771,
"version" : 1,
"merkleroot" : "4b923f40e71ce4bb82abd2105572f0e23116c3ac2e1816e8a9fe181c8b869e02",
"time" : 1339830341,
"nonce" : 3520218342,
"bits" : "1a0a98d6",