This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from math import sqrt | |
class Point: | |
def __init__(self,x_init,y_init): | |
self.x = x_init | |
self.y = y_init | |
def shift(self, x, y): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Acquire::http::Proxy \"http://apt-cacher:3142\";" > /etc/apt/apt.conf.d/01proxy |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-11-03 22:05:38 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
02:26 petertodd no, really, like, all the big pools do this | |
02:26 CodeShark do what? SPV? | |
02:27 petertodd CodeShark: yeah, they use getblocktemplate and what not to find | |
when other pools make blocks, and quickly build on top of them - actually SPV is putting | |
it strongly, they don't really do any authentication | |
[log edited for brevity] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your post advocates a | |
( ) sidechains ( ) block-size increase ( ) anti-spam ( ) lightning-network ( ) off-chain | |
approach to scaling Bitcoin. Your idea will not work. Here is why it won't work. (One or more of the following may apply to your particular idea, and it may have other flaws.) | |
( ) There is no explanation of how Bitcoins on the sidechain will get back onto the mainchain. | |
( ) This will make it more difficult to run a full node, when node counts are already dropping. | |
( ) The idea of "spam transactions" is not well defined, and every proposed filtering method impedes legitimate use cases. | |
( ) Your approach allows unrelated nodes to defraud each other, and there is no arbitration process other than "complain on reddit." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## I used the following program to benchmark ECDSA multiply vs. ECDSA | |
## multiply-then-add. | |
## | |
## Originally from http://bitcoin.stackexchange.com/a/25039 | |
## | |
## Sample output (where I get my 2% figure from.) | |
## ======================================================================= | |
## 7.90899729849 | |
## 8.05856181495 | |
## pubkey 0x50863ad64a87ae8a2fe83c1af1a8403cb53f53e486d8511dad8a04887e5b2352L 0x2cd470243453a299fa9e77237716103abc11a1df38855ed6f2ee187e9c582ba6L |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#nmcli dev wifi con "$SSID" password "$password" | |
yum update -y | |
yum install -y net-tools traceroute git mosh screen make automake gcc gcc-c++ kernel-devel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import hashlib, struct | |
# Mine genesis block | |
ver = 1 | |
prev_block = "0000000000000000000000000000000000000000000000000000000000000000" | |
mrkl_root = "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b" | |
time_ = 1231006505 | |
bits = 0x1d00ffff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ssh root@$1 "wget -O - https://gist.githubusercontent.com/nickodell/9a6f556861a953e5d6b2/raw/setup.sh | sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Run using | |
# wget -O - https://gist.githubusercontent.com/nickodell/9a6f556861a953e5d6b2/raw/setup.sh | sh | |
apt-get update | |
apt-get install -y mosh screen | |
git clone https://github.com/nickodell/build_bitcoin.git |