Skip to content

Instantly share code, notes, and snippets.

//a program I made to troll my high school with back around 2008
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <winioctl.h>
DWORD WINAPI bah(unsigned int t){
//MessageBox(NULL,"hi3","bah",0);
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
This is a list of unspendable addresses with which to burn coins to. When you send a coin to any of these addresses, they are permanently gone and can never be redeemed.
You can prove this by sending a small test amount to the address and then checking a block explorer or using `getrawtransaction txid 1`. You should see the coins output to somehting like `"raw_scriptPubKey": "76a914000000000000000000000000000000000000000088ac"` Some block explorers are also smart enough to indicate in their user interface that the coins were destroyed.
You can find the version number matching to the desired altcoin by checking two places in the code:
chainparams.cpp for bitcoin 0.9 and later based coins:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Base58ReverseEncoder
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Base58ReverseEncoder
{
using System;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Earlz.Exxx
{
class MainClass
{
public static void Main(string[] args)

Keybase proof

I hereby claim:

  • I am earlz on github.
  • I am earlz (https://keybase.io/earlz) on keybase.
  • I have a public key whose fingerprint is C114 6A0D 6250 CAEA E3C7 5516 224E 8EA1 9223 B76D

To claim this, I am signing this object:

@Earlz
Earlz / gist:8839071
Created February 6, 2014 06:08
dogechain explanation thing
How does dogecoin work?
use std::io::println;
use std::c_str::CString;
use std::libc::c_char;
#[no_mangle]
pub extern fn foorust() {
println("hello from rust!");
}
#[no_mangle]
.locals init ([0] bool)
IL1:
ldarg.0
call bool [mscorlib]System.String::IsNullOrEmpty(string)
stloc.0
ldloc.0
ldc.i4 0
bne.un.s IL1
br f
@Earlz
Earlz / gist:7256415
Created October 31, 2013 20:22
Run on .Net 2.0 or 3.5. If you think the result depends on the input you give it, then you haven't tried running it
using System;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
CheckNull(null);
}