I hereby claim:
- I am ryancdotorg on github.
- I am ryanc (https://keybase.io/ryanc) on keybase.
- I have a public key whose fingerprint is 876E 072E B9E4 82C9 44F0 0E53 8A04 C906 6DE6 C523
To claim this, I am signing this object:
$ wget -qO bitcoinjs-min-0cbd0d52.js https://raw.githubusercontent.com/jsdelivr/jsdelivr/1b4b4781ffd72ee5fd7cbe15e0ed9116c11beddf/files/bitcoinjs/0.2.0/bitcoinjs-min.js | |
$ wget -qO bitcoinjs-min-162941e6.js https://raw.githubusercontent.com/ryancdotorg/cdnjs/feature/bitcoinjs-lib/ajax/libs/bitcoinjs-lib/0.2.0/bitcoinjs-min.js | |
$ sha256sum bitcoinjs-min-*.js | |
0cbd0d527360bc7fb8c38c7efd2b25c7acaa8ffa93b2e646e983eb760e6b496a bitcoinjs-min-0cbd0d52.js | |
162941e62af7dada11e1cf341f87b7d56ce1ecc6c0d2439dfcbcef4718257ad0 bitcoinjs-min-162941e6.js | |
$ perl -pe 's!/BUILDROOT/bitcoinjs-lib/node_modules/!!g' bitcoinjs-min-0cbd0d52.js | uglifyjs | sha256sum |
I hereby claim:
To claim this, I am signing this object:
// add to networks.js in bitcore for namecoin livenet support | |
exports.namecoin = { | |
name: 'namecoin', | |
magic: hex('f9beb4fe'), | |
addressVersion: 0x34, | |
privKeyVersion: 128, | |
genesisBlock: { | |
hash: hex('70C7A9F0A2FB3D48E635A70D5B157C807E58C8FB45EB2C5E2CB7620000000000'), | |
merkle_root: hex('0DCBD3E6F061215BF3B3383C8CE2EC201BC65ACDE32595449AC86890BD2DC641'), |
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp | |
index d0a0d1d..94b4305 100644 | |
--- a/src/bitcoinrpc.cpp | |
+++ b/src/bitcoinrpc.cpp | |
@@ -278,25 +278,33 @@ Value getblocknumber(const Array& params, bool fHelp) | |
} | |
-Value BlockToValue(CBlock &block) | |
+Value BlockToValue(CBlock &block, CBlockIndex* blockindex) |
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp | |
index 94b4305..ed25ba8 100644 | |
--- a/src/bitcoinrpc.cpp | |
+++ b/src/bitcoinrpc.cpp | |
@@ -2458,6 +2458,29 @@ Value verifymessage(const Array& params, bool fHelp) | |
return Hash160(key.GetPubKey()) == hash160; | |
} | |
+Value addnode(const Array& params, bool fHelp) | |
+{ |
// find the largest value, no more than start, where fn(val) === True | |
function maximize(start, fn) { | |
var val = start; | |
var incr = val; | |
var best = 0; | |
var fudge = 1; | |
do { | |
incr >>= 1; | |
if (fn(val)) { |
#!/usr/bin/perl | |
use utf8;print pack"n*",unpack"U*","⌡⽵獲⽢楮⽰敲氠⵰义呻獵戠养⑳嬨嬰崫㴤彛ㅝ⤥㴲㔶嵽獵戊卻䁳嬤礬⑸⬫崽䁳嬤砬⑹嵽䁫㵰潰㵾⼮ⸯ朻匤礽浡灻匊儤礬⭨數⑫嬤砥䁫嵽䁳㴰⸮㈵㕽猯屃⼤♞捨爠儠匠儤礬儤砯敧ਊ"; |
#!/usr/bin/env python | |
import sys | |
from binascii import hexlify | |
from pybitcointools import * | |
from joblib import Parallel, delayed | |
import multiprocessing | |
num_cores = multiprocessing.cpu_count() |
# need 'from bitcoin import *' in the git version of pybitcointools... | |
from pybitcointools import * | |
### OPCODES - just the ones we need | |
OP_NAME_UPDATE = 3 | |
OP_2DROP = 109 | |
OP_DROP = 117 | |
OP_DUP = 118 | |
OP_HASH160 = 169 | |
OP_EQUALVERIFY = 136 |
import xchat | |
import re | |
import time | |
__module_name__ = "seljp" | |
__module_version__ = "0.1.0" | |
__module_description__ = "Selectively show Join/Part messages only for recent speakers." | |
print "\0034",__module_name__,__module_version__,"has been loaded\003" |