Skip to content

Instantly share code, notes, and snippets.

View kulpreet's full-sized avatar

Kulpreet Singh kulpreet

View GitHub Profile

Delivering Tera Hash Coin To Market Makers

In this document we present a protocol to deliver miners shares from a decentralised mining pool. The shares are delivered with proof of ownership and once delivered to a buyer they can not be delivered to a different buyer, i.e. we prevent double spends. The buyer can further sell the shares following the same protocol it uses to buy the shares.

For the sake of this document, we assume we have a DAG of shares generated by miners and publicly visible on a peer to peer network. We

/**
* Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
/**
* Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
alias centrality pub_key
tady je slushovo 0.168 02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469
TheLND.com 0.146995 032e04b67641c00444af1d83145c0b63bac8316a6afb8fec0f87938295ed8bb129
rompert.com🔵 0.140995 02ad6fb8d693dc1e4569bcedefadf5f72a931ae027dc0f0c544b34c1c6f3b9a02b
🚀🌑 TrueVision.club 0.123657 02529db69fd2ebd3126fb66fafa234fc3544477a23d509fe93ed229bb0e92e4fb8
✈AY_YILDIZ✈LN 0.0762942 020fccc5602053c438b13ebee7aa31a25e9c3803baace5afcecedff8db70543747
KRYPTO.KOELN 0.0638686 032b2b3f4abda9677bb9563e226c068d3a2456fb8b036635a81c9bcaa1671d1ada
fairly.cheap 0.0519103 03cb7983dc247f9f81a0fa2dfa3ce1c255365f7279c8dd143e086ca333df10e278
ACINQ 0.0460247 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f
FederalReserve 0.0411533 0327049d8d63f0c40193cdf3afc61817c8647808a4e482de0716fcef74e6d92ebf
alias num components degree pub_key
ACINQ 24 153 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f
rompert.com🔵 21 419 02ad6fb8d693dc1e4569bcedefadf5f72a931ae027dc0f0c544b34c1c6f3b9a02b
tady je slushovo 14 526 02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469
1ML.com node ALPHA 9 156 0217890e3aad8d35bc054f43acc00084b25229ecff0ab68debd82883ad65ee8266
mainnet.yalls.org 7 201 03e50492eab4107a773141bb419e107bda3de3d55652e6e1a41225f06a0bbf2d56
lightningspin.com 7 148 02cf3cc45d8fee5055c4ba5a58fe22ae973685fa2cb43e2c5b6454eaa1d08066a8
mainnet.lightningconductor.net 5 93 03c436af41160a355fc1ed230a64f6a64bcbd2ae50f12171d1318f9782602be601
pinsert.pl 4 7 03fc5b91ce2d857f146fd9b986363374ffe04dc143d8bcd6d7664c8873c463cdfc
Lumumba 4 20 0312729bfe8c02a1189a94bf609be3f44e7e30f581ada3429925221915d5d6cfb3
@kulpreet
kulpreet / keybase.md
Last active September 19, 2017 03:24

Keybase proof

I hereby claim:

  • I am kulpreet on github.
  • I am jungly (https://keybase.io/jungly) on keybase.
  • I have a public key ASB8UWkRsyonqozPn0ieF_Mpa6X_rVhTagtG4T8GQWAc6Ao

To claim this, I am signing this object:

Verifying that "jungly.id" is my Blockstack ID. https://onename.com/jungly
@kulpreet
kulpreet / nginx
Created September 17, 2013 09:06
Nginx init.d file. Changed from http://wiki.nginx.org/Nginx-init-ubuntu by getting nginx.conf to create a pid file
#! /bin/sh
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: nginx init.d dash script for Ubuntu <=9.10.
# Description: nginx init.d dash script for Ubuntu <=9.10.
### END INIT INFO