Commit Graph

3792 Commits

Author SHA1 Message Date
Christopher Jeffrey
56252921c1
bcoin: refactor. 2017-06-27 01:57:34 -07:00
Christopher Jeffrey
1aa0858f7c
encoding: avoid division in write64. 2017-06-27 01:28:05 -07:00
Christopher Jeffrey
b26b82ab97
util: start using path module. remove some functions. 2017-06-27 01:24:27 -07:00
Christopher Jeffrey
8358fa59c6
util: drop all homemade polyfills. 2017-06-27 00:36:13 -07:00
Christopher Jeffrey
d9342cd81c
util: rely on polyfill for nextTick and typed arrays. 2017-06-26 23:31:32 -07:00
Christopher Jeffrey
8b2a0ce446
util: do not use util.global. 2017-06-26 23:07:06 -07:00
Christopher Jeffrey
7317076243
bcoin: remove env.js. 2017-06-26 23:02:49 -07:00
Christopher Jeffrey
65aefbd99c
httpbase: minor. 2017-06-26 21:39:59 -07:00
Christopher Jeffrey
8b74d95280
http: fix broadcast call. 2017-06-26 21:29:24 -07:00
Christopher Jeffrey
7ab6818210
env: fix environment. 2017-06-26 17:45:15 -07:00
Christopher Jeffrey
bf5ea72863
webpack: fix babelification. upgrade to webpack3. 2017-06-26 17:42:18 -07:00
Boyma Fahnbulleh
0d831b0c57
only output minimized files 2017-06-26 13:52:54 -07:00
Boyma Fahnbulleh
84bfb4f8cb
lib: fix webpack import issues 2017-06-26 13:48:40 -07:00
Christopher Jeffrey
722118df6c
external/gcs: docs. 2017-06-26 13:36:01 -07:00
Christopher Jeffrey
e02d645c07
util: optimize isUInt32 and isInt32. 2017-06-26 12:44:32 -07:00
Christopher Jeffrey
edd095bfae
pool: refactor http ip discovery. 2017-06-26 04:27:21 -07:00
Christopher Jeffrey
b65d2dcae7
peer: allong pong msg to bypass lock. 2017-06-26 04:06:55 -07:00
Christopher Jeffrey
724c9f66e7
peer: remove co.wait call. 2017-06-26 03:49:50 -07:00
Christopher Jeffrey
f1f112b6c6
bech32: minor. 2017-06-26 03:48:07 -07:00
Christopher Jeffrey
518484cac0
util: remove util.nextTick. 2017-06-26 03:43:09 -07:00
Christopher Jeffrey
03303d670d
nexttick-browser: minor. 2017-06-26 03:38:08 -07:00
Christopher Jeffrey
6875fc99c6
nexttick: minor. 2017-06-26 03:37:11 -07:00
Christopher Jeffrey
edb5bb73af
utils: refactor nexttick module. 2017-06-26 03:35:21 -07:00
Christopher Jeffrey
d3b24da2e1
lint: require strict mode. 2017-06-24 05:11:54 -07:00
Christopher Jeffrey
2ef4d137e6
pkg: switch from jshint to eslint. 2017-06-24 04:45:46 -07:00
Christopher Jeffrey
84eccc29fa
refactor: switch to async/await. see #227. 2017-06-24 02:39:06 -07:00
Christopher Jeffrey
68a3209a96
schnorr: add hmac-drbg. refactor. 2017-06-22 05:22:06 -07:00
Christopher Jeffrey
33ffb780b3
refactor: expose int64 and big numbers as modules. 2017-06-22 03:59:49 -07:00
Christopher Jeffrey
d0482520d9
networks: remove mast for the time being. 2017-06-22 03:43:20 -07:00
Christopher Jeffrey
9238d29a28
chain: minor. 2017-06-22 02:22:15 -07:00
Christopher Jeffrey
7129370b2b
walletkey: fix getType in toJSON. 2017-06-17 18:49:28 -07:00
Christopher Jeffrey
3db140e119
util: improve isSafeAddition. 2017-06-17 18:39:47 -07:00
Christopher Jeffrey
be0e7e02d2
util: add isSafeAddition. 2017-06-17 18:19:12 -07:00
Christopher Jeffrey
5bf68a765f
gcs: refactor. 2017-06-17 17:41:24 -07:00
Christopher Jeffrey
fcc468fb3c
txdb: fix txid() call. 2017-06-16 23:47:04 -07:00
Christopher Jeffrey
7c1786d584
rpc: minor. 2017-06-16 23:46:53 -07:00
Christopher Jeffrey
f04ad612b2
wallet: expose witness option over http. 2017-06-16 23:46:30 -07:00
Christopher Jeffrey
9058e7d78a
gcs: rename fromData. 2017-06-16 16:08:15 -07:00
Christopher Jeffrey
3324d18f5f
gcs: replace multiplication with shifts. 2017-06-16 15:11:52 -07:00
Christopher Jeffrey
b994c278f2
utils: preliminary GCS filter support. 2017-06-16 14:35:50 -07:00
Christopher Jeffrey
015fb8b0b6
siphash: return objects instead of buffers. 2017-06-16 14:30:25 -07:00
Christopher Jeffrey
5bde338a53
rpc: fix verifytxoutproof. 2017-06-16 10:27:17 -07:00
Christopher Jeffrey
6ca3a3fda6
chain: minor. 2017-06-16 00:18:59 -07:00
Christopher Jeffrey
b8c788c207
chain: getLocator refactor. 2017-06-16 00:13:29 -07:00
Christopher Jeffrey
fb8b9fac2b
chain: fix getProofTime. 2017-06-16 00:07:50 -07:00
Christopher Jeffrey
71f8b25d3c
chain: refactor getLocator. 2017-06-16 00:04:26 -07:00
Christopher Jeffrey (JJ)
dd16950fe2 Merge pull request #219 from jjz/master
Add tes new test file of key-address-test
2017-06-15 22:50:44 -07:00
Christopher Jeffrey
ea26a0e70a
tx: minor. 2017-06-15 22:34:56 -07:00
Christopher Jeffrey
182784c8e0
utils: remove usage of isBrowser. some refactoring. 2017-06-15 22:28:06 -07:00
Christopher Jeffrey
2b569883bf
refactor: lint. 2017-06-14 20:32:11 -07:00
Christopher Jeffrey
8593bd9410
script: less static methods. 2017-06-13 18:45:42 -07:00
Christopher Jeffrey
b722e5f6e9
ec: remove historical and high params. 2017-06-13 18:31:04 -07:00
Christopher Jeffrey
eba457ae11
script: minor. 2017-06-13 11:49:35 -07:00
Christopher Jeffrey
a3c7a49c80
refactor: replace util.equal with Buffer#equals. 2017-06-12 03:00:08 -07:00
Christopher Jeffrey
be457ee581
script: refactor branch/disabled opcodes. 2017-06-12 00:34:56 -07:00
Christopher Jeffrey
85ec9ae2c3
script: remove disabled ops permanently. 2017-06-11 23:40:35 -07:00
Christopher Jeffrey
a1e9999f29
script: refactor execution. 2017-06-11 23:37:55 -07:00
Christopher Jeffrey
3fd229d9ee
script: remove disabled opcode code. 2017-06-10 01:27:19 -07:00
Christopher Jeffrey
30b8a458ed
script: do not pass flags to Script.num. 2017-06-10 01:22:01 -07:00
Christopher Jeffrey
8893131e08
script: move static methods off of script constructor. 2017-06-10 01:20:05 -07:00
Christopher Jeffrey
49976e7d6f
crypto: better siphash addition. 2017-06-05 05:18:44 -07:00
Christopher Jeffrey
f0b43764b1
crypto: better addition for siphash. 2017-06-03 03:47:39 -07:00
Christopher Jeffrey
a4a2ba7c6f
crypto: improve siphash u64 handling. 2017-06-01 08:48:37 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications. 2017-05-30 21:11:10 -07:00
Christopher Jeffrey
8763600e53
chaindb: minor. 2017-05-28 13:43:25 -07:00
jjz
ccaa0be5dc hmac-drbg is npm library , It is not in the “elliptic/lib/elliptic” 2017-05-27 11:03:41 +08:00
Christopher Jeffrey
46b34677f1
address/wallet: refactor usage of Address.getHash. 2017-05-25 23:27:37 -07:00
Christopher Jeffrey
e8fd4db0d6
network: fix isNetwork. 2017-05-25 23:26:20 -07:00
Christopher Jeffrey
76c20eddf1
rpc: do not use Address.getHash. 2017-05-21 21:42:35 -07:00
Christopher Jeffrey
7d61cda3aa
chain/mempool: more aggressive asserts. 2017-05-21 18:40:43 -07:00
Christopher Jeffrey
6b5cba635a
mempool: fix handleOrphans. 2017-05-21 14:45:53 -07:00
Christopher Jeffrey
1eaafb1a09
chain: minor refactor. 2017-05-21 09:05:35 -07:00
Christopher Jeffrey
75c279169c
peer: comments. 2017-05-19 22:05:46 -07:00
Christopher Jeffrey
7728a00470
node: fix entry cache option. 2017-05-19 21:05:07 -07:00
Christopher Jeffrey
0ceca23cb5
chain/mempool: store peer id and punish invalid orphans. 2017-05-19 17:02:06 -07:00
Christopher Jeffrey
0b13452df1
net: implement peer ids. 2017-05-15 03:53:30 -07:00
Christopher Jeffrey
028fee9eee
chain: compact db after pruning. 2017-05-15 03:42:14 -07:00
Christopher Jeffrey
d9c7d7e874
rpc: fix pruneblockchain. 2017-05-15 03:23:33 -07:00
Christopher Jeffrey
612f6a987c
rpc: better errors. 2017-05-15 03:22:09 -07:00
Christopher Jeffrey
11a90dd7da
http: minor. 2017-05-15 01:13:38 -07:00
Christopher Jeffrey
27f89186a5
lowlevelup: refactor option handling. 2017-05-15 00:47:31 -07:00
Christopher Jeffrey
f0cc8eb128
chain: rename some methods. remove unused methods. 2017-05-14 22:11:55 -07:00
Christopher Jeffrey
18cadc7803
address: minor fixes. 2017-05-14 15:45:17 -07:00
Christopher Jeffrey
4812cc8ddb
address: minor. 2017-05-14 15:33:48 -07:00
Christopher Jeffrey
df4c8cc68c
http: fix block by height. 2017-05-14 15:30:14 -07:00
Christopher Jeffrey
f0bc6d5925
rpc: implement pruneblockchain. 2017-05-14 15:24:32 -07:00
Christopher Jeffrey
7089735fb0
hd: cleanup some methods. 2017-05-13 23:39:22 -07:00
Christopher Jeffrey
11a660aeab
network: add more helper functions. 2017-05-13 21:35:58 -07:00
Christopher Jeffrey
2997333122
btc: update uri for bech32 addresses. 2017-05-13 20:54:34 -07:00
Christopher Jeffrey
5ff46dd36d
wallet: more specific hd key functions. 2017-05-13 20:04:23 -07:00
Christopher Jeffrey
7496cf8d47
networks: more network uniqueness. 2017-05-13 19:55:21 -07:00
Christopher Jeffrey
fa5f987775
address: fix bech32 hrp check. 2017-05-13 18:57:40 -07:00
Christopher Jeffrey
6c32fbd283
networks: minor. 2017-05-13 18:36:26 -07:00
Christopher Jeffrey
6643f0a308
networks: make networks more unique. 2017-05-13 18:35:58 -07:00
Christopher Jeffrey
e55ca1eb3d
address: sanity checks. 2017-05-13 17:22:32 -07:00
Christopher Jeffrey
d64bffdd17
bech32: sanity checks. 2017-05-13 16:23:32 -07:00
Christopher Jeffrey
c1dbac3a4a
bech32: optimize bits conversion. 2017-05-13 15:51:51 -07:00
Christopher Jeffrey
44f6dd9386
address: lint. 2017-05-13 15:23:20 -07:00
Christopher Jeffrey
a9ea4e5531
bech32: refactor. 2017-05-13 15:13:42 -07:00
Christopher Jeffrey
83060ee964
bech32: rewrite and improve perf. 2017-05-13 13:54:11 -07:00