Commit Graph

2123 Commits

Author SHA1 Message Date
Chris Kleeschulte
13cfd8aa43 Calling process.hrtime is predicated on being called with
an Array type with two elements or with no explicit parameters.

Node 4 (LTS) seems to be persnickety regarding matching undefined as a
actual parameter in process.hrtime (and possibly all functions).
2016-08-11 22:07:13 -04:00
Christopher Jeffrey
e59fe9bf6d
rpc: prioritisetransaction. 2016-08-10 19:47:52 -07:00
Christopher Jeffrey
a0d109f52d
rpc: gettxoutproof and verifytxoutproof. 2016-08-10 19:35:01 -07:00
Christopher Jeffrey
b50f8cc2bb
rpc: getaddednodeinfo. 2016-08-10 18:58:40 -07:00
Christopher Jeffrey
f0c9f1ba81
rpc: fundrawtransaction. 2016-08-10 18:50:32 -07:00
Christopher Jeffrey
1fca8fe645
rpc: add listunspent. 2016-08-10 18:41:36 -07:00
Christopher Jeffrey
295e0d74bd
rpc: s/cost/weight/ 2016-08-10 17:30:45 -07:00
Christopher Jeffrey
1b3233e948
rpc: minor style. 2016-08-10 17:25:58 -07:00
Christopher Jeffrey
c7b725450a
rpc: implement getblocktemplate versionbits and polling. 2016-08-10 17:21:58 -07:00
Christopher Jeffrey
a653707a17
walletdb: serious change. 2016-08-10 14:02:50 -07:00
Christopher Jeffrey
cadd3f31ea
rpc: minor. 2016-08-09 21:25:11 -07:00
Christopher Jeffrey
cfee08d58e
rpc: fix findFork. 2016-08-09 21:14:30 -07:00
Christopher Jeffrey
242fbd0a59
rpc: optimize getchaintips. 2016-08-09 21:12:53 -07:00
Christopher Jeffrey
20a8d23c76
rpc: softforks and chain tips. 2016-08-09 19:16:52 -07:00
Christopher Jeffrey
7490ea2b87
rpc: error handling. 2016-08-09 13:07:03 -07:00
Christopher Jeffrey
719222b61d
miner: fix miner.stop(). 2016-08-09 12:34:15 -07:00
Christopher Jeffrey
6ee7ac8a51
rpc: fix getrawmempool. 2016-08-09 12:22:07 -07:00
Christopher Jeffrey
d26787b389
txdb: make ps constant. 2016-08-08 18:10:37 -07:00
Christopher Jeffrey
4893c7dba5
rpc: misc fixes. 2016-08-08 15:55:00 -07:00
Christopher Jeffrey
62f687917f
mtx: fix subtractFee. 2016-08-08 14:54:56 -07:00
Christopher Jeffrey
45d424470d
rpc: fix tx details. 2016-08-08 13:19:38 -07:00
Christopher Jeffrey
7d4a683eaa
miner: fix status on workers. 2016-08-08 12:26:13 -07:00
Christopher Jeffrey
b6417cf337
misc: fixes. 2016-08-07 16:32:14 -07:00
Christopher Jeffrey
4a398517d9
rpc: add RPCError. 2016-08-05 15:07:04 -07:00
Christopher Jeffrey
3406a09cd5
rpc: listsinceblock. 2016-08-05 14:49:59 -07:00
Christopher Jeffrey
d32df008df
rpc: add listsinceblock. 2016-08-05 14:44:48 -07:00
Christopher Jeffrey
42e03c227a
rpc: fixes for net and mining. 2016-08-05 14:32:29 -07:00
Christopher Jeffrey
6299b99614
rpc: implement getmininginfo. 2016-08-05 14:27:10 -07:00
Christopher Jeffrey
ac774fbe3a
server: fix rpc auth. 2016-08-05 14:10:32 -07:00
Christopher Jeffrey
0a217e7be2
rpc: add wallet txs. 2016-08-05 14:02:10 -07:00
Christopher Jeffrey
ce7f300260
wallet: add wallet.send. 2016-08-05 13:38:27 -07:00
Christopher Jeffrey
8fe79fc7e7
chain: fix witness check. 2016-08-04 15:46:33 -07:00
Christopher Jeffrey
3cbc5e2726
config: expose index-tx and index-address. 2016-08-04 13:44:45 -07:00
Christopher Jeffrey
2ada7b9e90
wallet: optimize syncOutputDepth. 2016-08-03 17:00:42 -07:00
Christopher Jeffrey
edb9c5afc6
peer: check broadcast list for getblocktxn. 2016-08-02 13:47:29 -07:00
Christopher Jeffrey
765c3d2b77
protobuf: fix safe int check. 2016-08-02 11:23:41 -07:00
Christopher Jeffrey
0b24daba31
chaindb: optimize coin size checking. 2016-08-01 23:42:16 -07:00
Christopher Jeffrey
d86c439017
chachapoly: optimize for little-endian. 2016-08-01 01:19:09 -07:00
Christopher Jeffrey
ac42de6cfb
fullnode: remove bullshit scanning algorithm. 2016-07-31 22:10:37 -07:00
Christopher Jeffrey
1d971b0de0
crypto: improve ccmp. 2016-07-31 20:18:29 -07:00
Christopher Jeffrey
104458a483
rpc: implement more methods. 2016-07-31 20:11:22 -07:00
Christopher Jeffrey
666ff94ddf
ec: recover. 2016-07-31 11:03:23 -07:00
Christopher Jeffrey
bf63691fd2
http: have json rpc use server api key. 2016-07-30 20:39:13 -07:00
Christopher Jeffrey
b1dc35743b
utils: toFastProperties. 2016-07-30 19:47:41 -07:00
Christopher Jeffrey
89d6d73257
bip152: fix passing of _valid. 2016-07-30 18:41:39 -07:00
Christopher Jeffrey
f8c3f37f0c
keypair: minor. 2016-07-30 18:24:45 -07:00
Christopher Jeffrey
7ec21588ac
config: parsing. 2016-07-30 14:11:53 -07:00
Christopher Jeffrey
ec41bf2be5
config: fix arg aliasing. 2016-07-30 13:53:43 -07:00
Christopher Jeffrey
0343140f0a
memblock: optimizations. 2016-07-30 13:44:18 -07:00
Christopher Jeffrey
a03465632a
browser: ldb. 2016-07-30 11:49:01 -07:00
Christopher Jeffrey
90c4f3dcf6
browser: update index.html. misc fixes. 2016-07-29 18:49:41 -07:00
Christopher Jeffrey
0067ddfac1
pool: minor. 2016-07-29 16:19:13 -07:00
Christopher Jeffrey
dfaadd41c6
config: add configuration parser. 2016-07-29 15:40:39 -07:00
Christopher Jeffrey
5364a92308
bip70: whitespace. 2016-07-29 13:25:01 -07:00
Christopher Jeffrey
7d8da2d377
bip70: throw on bad curve. 2016-07-29 13:24:02 -07:00
Christopher Jeffrey
41cc642a32
bip70: javascript rsa implementation. 2016-07-29 13:19:17 -07:00
Christopher Jeffrey
a987513ce9
pool: maxPeers option. 2016-07-28 22:33:11 -07:00
Christopher Jeffrey
a0e0ecdd73
workers: payload length. 2016-07-28 11:57:47 -07:00
Christopher Jeffrey
e709cbeae5
bip151: refactor. 2016-07-27 17:23:15 -07:00
Christopher Jeffrey
6448cea1e7
workers: refactor. 2016-07-27 17:17:17 -07:00
Christopher Jeffrey
812b73ffbc
bip151: use reference slices initially for parsing. 2016-07-27 16:26:43 -07:00
Christopher Jeffrey
28c7ee69e4
crypto: optimize hkdf and pbkdf2. 2016-07-27 07:06:28 -07:00
Christopher Jeffrey
4e977810ce
merkleblock/utils: optimize merkle root calculation. 2016-07-27 06:52:16 -07:00
Christopher Jeffrey
868512e054
chain: remove spv preload. 2016-07-27 06:27:27 -07:00
Christopher Jeffrey
d2ec66c4b7
bip151: remove useless slice. 2016-07-27 06:13:01 -07:00
Christopher Jeffrey
432ee64713
workers: optimize protocol more. 2016-07-27 06:07:53 -07:00
Christopher Jeffrey
52dd3c2cdc
peer: error handling. 2016-07-27 05:52:27 -07:00
Christopher Jeffrey
0b620c2e47
workers: refactor worker protocol. 2016-07-27 05:46:15 -07:00
Christopher Jeffrey
cd8adbcc74
protocol: optimize framer. 2016-07-27 05:40:57 -07:00
Christopher Jeffrey
20d69b7cbc
optimize parsers. 2016-07-27 04:56:07 -07:00
Christopher Jeffrey
0fa972dcb3
refactor parsers. 2016-07-27 04:10:08 -07:00
Christopher Jeffrey
6a2615d3cc
bip151: 32 bit sequence and 64 bit iv. 2016-07-27 04:06:05 -07:00
Christopher Jeffrey
db0552874b
bip151: more micro-optimization. 2016-07-27 03:59:24 -07:00
Christopher Jeffrey
227e9a18b2
workers: optimize parser. 2016-07-27 02:25:30 -07:00
Christopher Jeffrey
3f6a93e180
bip151: refactor parser. 2016-07-27 02:25:21 -07:00
Christopher Jeffrey
01471d6e63
bip151: add minimum packet size. 2016-07-27 01:42:53 -07:00
Christopher Jeffrey
594bbc8b1d
bip151: micro-optimization. 2016-07-27 01:22:57 -07:00
Christopher Jeffrey
208394596e
bip151: use 64 bit sequence numbers for now. 2016-07-27 01:08:50 -07:00
Christopher Jeffrey
6720ecc2c8
bip151: minor. 2016-07-27 00:50:50 -07:00
Christopher Jeffrey
2bd90910b4
bip151: authenticate payload before decryption. 2016-07-27 00:46:39 -07:00
Christopher Jeffrey
f837317ffd
bip151: fix aead aad etm. 2016-07-26 23:39:21 -07:00
Christopher Jeffrey
08bc5ba0a8
bip151: use plaintext packet size as aad (openssh conformance). 2016-07-26 21:49:57 -07:00
Christopher Jeffrey
b6dbc5f709
node: add rpc user and password env variables. 2016-07-26 18:16:03 -07:00
Christopher Jeffrey
bea7bc4677
http: autogen rpc creds. 2016-07-26 18:14:14 -07:00
Christopher Jeffrey
91a1477aeb
http: add bitcoind-compatible json-rpc server. 2016-07-26 18:10:05 -07:00
Christopher Jeffrey
e303ab4ee1
peer: minor renaming for consistency. 2016-07-26 14:25:15 -07:00
Christopher Jeffrey
1c9d283f26
bip151: docs. 2016-07-26 14:07:06 -07:00
Christopher Jeffrey
c085d446ab
peer: minor. 2016-07-26 12:42:31 -07:00
Christopher Jeffrey
7b9eb8b4f2
peer: make bip151 handling less hacky. 2016-07-26 12:23:40 -07:00
Christopher Jeffrey
bccbef0aaa
chain: minor segnet3 fix. 2016-07-26 12:05:18 -07:00
Christopher Jeffrey
c0ac60e291
chain: minor fix for segnet3. 2016-07-26 02:20:36 -07:00
Christopher Jeffrey
b7c280a84c
bip151: minor refactor. 2016-07-26 02:18:40 -07:00
Christopher Jeffrey
c597d7c411
bip151: overflow sequence number properly. 2016-07-26 01:19:57 -07:00
Christopher Jeffrey
018241fc78
bip151: set processed to zero on rekey. 2016-07-26 01:14:35 -07:00
Christopher Jeffrey
f37946abb7
bip151: fix rekeying. replicate openssh more. 2016-07-26 01:08:42 -07:00
Christopher Jeffrey
4af5273c0e
bip151: minor arg fix. 2016-07-25 23:13:06 -07:00
Christopher Jeffrey
eb9f35c8b4
bip151: set aad again. 2016-07-25 22:18:01 -07:00
Christopher Jeffrey
b0bb5d516d
chachapoly: do not reinitialize state. 2016-07-25 22:11:32 -07:00
Christopher Jeffrey
73deb5430e
bip151: max message size. 2016-07-25 21:46:00 -07:00
Christopher Jeffrey
94af094322
bip151: whitespace. 2016-07-25 18:53:57 -07:00