Commit Graph

4103 Commits

Author SHA1 Message Date
Christopher Jeffrey
ddda6c9dbd
dns: minor. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
749cd9323f
aes: move lookup tables. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5eb6620431
lint: consistent return values. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
70a2f64de6
compress: minor refactor. 2017-07-31 18:20:49 -07:00
Christopher Jeffrey
723c99d15e
coins: remove useless undo method. 2017-07-31 18:20:49 -07:00
Christopher Jeffrey
8b0ec7b179
coins: refactor compression. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
d57dac13e0
coins: refactor method names. add isUnspent. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
0805babec1
coins: get rid of return value polymorphism. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
50c75aeea8
script: minor. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
5602001348
coinview: fixes. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
a1601b8f3a
chaindb: alter hasCoins. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
82bdd73f05
chaindb: fix getCoin. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
aa71ae690a
coins: refactor prevout methods. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
492c05c378
coinview: refactor api. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
f8deb0cdfd
coinview: remove view.spend. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
fbb2500281
layout: aggressive asserts. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
79f88b93b3
chaindb: v3. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
345f0c90ac
coins: refactor. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
a1af3ab980
chaindb: switch to pertxout. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
396ba5ee5f
mtx: minor. 2017-07-31 18:20:47 -07:00
Node
d809f66bf8
miner: pass workers option to miner 2017-07-27 23:42:22 +04:00
Christopher Jeffrey
8036c301a1
address: fix isMixedCase. 2017-07-25 16:48:30 -07:00
Christopher Jeffrey
9a2d39c751
address: minor var name change. 2017-07-25 16:38:12 -07:00
Christopher Jeffrey
957c4e8c93
network/address: remove segnet4 support. fix bech32 parsing. 2017-07-25 16:31:27 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
3f9d57f680
wallet: refactor mappings to use maps and sets. 2017-07-25 13:39:38 -07:00
Christopher Jeffrey
02e4dda012
refactor: cleanup for..of loops. 2017-07-25 11:39:12 -07:00
Christopher Jeffrey
6f1f81dcbe
refactor: lint. 2017-07-25 11:21:43 -07:00
Christopher Jeffrey
d9a726a358
walletdb: use set for querying wallets by tx. 2017-07-25 11:19:53 -07:00
Christopher Jeffrey
2d74bda89b
wallet: refactor syncOutputDepth. 2017-07-25 05:34:44 -07:00
Christopher Jeffrey
32c93af2c4
node/rpc: throw errors on shutdown. minor changes. 2017-07-25 05:30:22 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
590c4350e9
rpc: fix submitwork. 2017-07-25 02:20:17 -07:00
Christopher Jeffrey
1e9855a4fa
block/tx: refactor size calculation. 2017-07-25 02:12:35 -07:00
Christopher Jeffrey
0993bbacbf
memblock: fix isMemBlock. 2017-07-25 01:57:46 -07:00
Christopher Jeffrey
cd795cf96f
block: remove addTX. 2017-07-25 01:53:58 -07:00
Christopher Jeffrey
8c212d797f
block: rename some more methods. refactor bip152 ptx vector. 2017-07-25 01:16:25 -07:00
Christopher Jeffrey
7ed36ec2ba
block: rename "abbr" methods to "head". 2017-07-25 00:08:28 -07:00
Christopher Jeffrey
23397dd753
refactor: change for..of loop usage. 2017-07-24 19:45:46 -07:00
Christopher Jeffrey
9743e8e314
bip150: use map objects. 2017-07-24 19:37:47 -07:00
Christopher Jeffrey
963c2173dd
util: improve inspection. 2017-07-24 19:05:23 -07:00
Christopher Jeffrey
340d4e3272
bip152: minor. 2017-07-23 22:17:55 -07:00
Christopher Jeffrey
6c901a19fa
bip152: add extra limit to avoid hashdos. 2017-07-23 21:22:32 -07:00
Christopher Jeffrey
69b862df42
bip152: minor refactor. 2017-07-23 20:56:27 -07:00
Christopher Jeffrey
9d90704b83
v1.0.0-beta.14 2017-07-23 08:33:37 -07:00
Christopher Jeffrey
6d838ad91c
v1.0.0-beta.13 2017-07-23 08:24:52 -07:00
Christopher Jeffrey
906a6bf13a
http/tcp: remove reject listener on success. 2017-07-23 08:18:06 -07:00
Christopher Jeffrey
c347add2fd
pool: refactor assertion. 2017-07-23 08:17:43 -07:00
Christopher Jeffrey
5dd18d5fa6
chain: fix unknown versionbits log. 2017-07-23 07:41:19 -07:00
Christopher Jeffrey
3a0c9b60e2
chain: implement bip91 and bip148. 2017-07-23 07:32:18 -07:00
Christopher Jeffrey
9219e23d8c
hd/wallet: add bip48 arg to prepare for bip48 support. see #238. 2017-07-23 07:22:53 -07:00
Christopher Jeffrey
75adfe5ec0
mnemonic: refactor fromPhrase. 2017-07-23 07:22:53 -07:00
Christopher Jeffrey (JJ)
63423c7748 Merge pull request #245 from nodar-chkuaselidze/fix/config-bip150
Fix Pool bip150 assert
2017-07-23 07:03:10 -07:00
Christopher Jeffrey (JJ)
296492e7f8 Merge pull request #243 from mnaamani/fix-net-listen
net/http: correctly reject promise return by listen()
2017-07-23 07:01:56 -07:00
Christopher Jeffrey
ffec8ff2d7
chain: improve version display. fix getLocator. 2017-07-20 17:22:59 -07:00
Christopher Jeffrey
6a7c5eac8d
http: smarter handling of decodeURIComponent calls. 2017-07-20 17:18:18 -07:00
Christopher Jeffrey
a915545a1a
block: minor. 2017-07-20 14:28:47 -07:00
Christopher Jeffrey
beacd48462
timedata: refactor time.add(). 2017-07-20 13:23:38 -07:00
Node
361ffd2705 Fix bip150 and bip151 configuration parsing 2017-07-20 16:44:41 +04:00
Christopher Jeffrey
7ef658049c
block: minor. 2017-07-20 01:56:06 -07:00
Christopher Jeffrey
a11a1ab4ad
timedata: minor. 2017-07-20 01:10:22 -07:00
Christopher Jeffrey
bd56c75d0d
merkle: refactor loops. 2017-07-20 01:04:44 -07:00
Christopher Jeffrey
f50416eaf9
merkle: minor. 2017-07-19 19:55:14 -07:00
Christopher Jeffrey
6a73f61a91
crypto: do not call out for merkle building. 2017-07-19 19:47:31 -07:00
Mokhtar Naamani
c9f736d33f net/http: correctly reject promise return by listen() 2017-07-19 00:21:35 +03:00
Christopher Jeffrey
98c975de8b
pool: fix bad orphan event handling. 2017-07-17 22:39:11 -07:00
Christopher Jeffrey
2fb16a6c97
crypto: expose root256 function. 2017-07-17 22:24:00 -07:00
Christopher Jeffrey
76eb6b354b
crypto/random: minor. comments. 2017-07-17 22:22:52 -07:00
Christopher Jeffrey
20da155a08
sha256: minor. 2017-07-17 14:26:44 -07:00
Christopher Jeffrey
94b5487847
workers: minor. 2017-07-17 14:26:44 -07:00
Christopher Jeffrey
4eb3c2172d
workers: refactor jobs. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
18cc0a013c
node: lint. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
b52a5e3fd2
node: add node.get() for plugins. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
7530359b55
workers: minor. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
498264b417
workers: better errors for verification. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
053561f2ba
errors: fix stack traces. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
cedc54436a
lowlevelup: automatic dummies. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
37da047a34
digest: avoid extra allocations. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
2f51fd1c50
api: use satoshi values for everything. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
47adb5a5a7
tx: refactor sighashing and hasStandardWitness. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
ff856fd6c2
chain: post-verify transactions due to potential of rejected promises. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
d7970882b3
bip70: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
cf795e1cd3
script: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
4771f2d0a8
chaindb: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
a627f00a3f
poly1305: fix. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
6893d5aa99
chain: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
19f0f42717
http: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
f2a939de70
poly1305: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
18c1476de9
chain: refactor getLocks. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
8a1eb9f5e1
chain: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
797016630c
chaindb: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
0ffabd7a9a
chaindb: more cases for genesis block. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
e65f6e26c3
chain: remove isCoinbase calls. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
73e61e864a
chaindb: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
278265536e
external: minor. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
4ab48c5f54
workers: saner env sending. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
a93f82db73
workers: minor. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
647b6909c6
dns: add custom timeout. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
7d9d3f979d
workers: minor. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
006d4d1fef
coinview: lint. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
0fa577a47d
workers: lint. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
f591e577f1
workers: minor. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
27c60ce76e
workers: refactor for browser vs node. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
6154ca8b4c
workers/build: require only one worker file. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
b570769eed
http: safer path parsing. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
3d65488108
crypto: fix duplicate names. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
ca48ab748f
bn: use toBuffer instead of toArrayLike. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
8d6f8f7cdf
workers/framer: lint. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
6690bd7e9d
workers/webpack: fixes for build and workers. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
886008a182
workers: misc fixes. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
4ebe557807
workers: make worker files configurable. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
8f295a376d
workers: refactor exiting. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
0250cf4296
workers: better signal handling. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
90f783fd05
workers: remove parser-client. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
972d98e0db
hostlist: es6 fixes. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
5b62a87a21
mempool: fix coinindex. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
fdc9bca468
script: minor. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
db0567fc01
node/browser: fix browser build. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
1b94d670c2
upnp: minor. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
3f3516ca18
coinview: remove old serialization methods. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
15d0b88308
bip152/merkleblock: use Map objects. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
a071a58380
config: fix parseArg. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
4f68d4cde0
node: minor. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
5e78cf4998
node: fix close bug. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
3af014119a
refactor: switch to template strings for errors. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
7932a25abe
mtx: fix verify methods. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c732333554
client: fix typo. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
10672784e5
refactor: rename tx functions. more es6 features. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c651136d83
refactor: refactor clients. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
3e7c921ad3
tx: minor. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
fdb668aea3
refactor: use rest args where possible. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
e89f285e9a
script: refactor execution. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
7f1b23223c
wallet: fix server workers. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
0ea25b0c1c
wallet: move nodeclient. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
074c065262
node: automatically bind to errors for plugins. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
8c7279518f
refactor: de-globalize workerpool. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
e00472891d
refactor: start using for...of. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
78d62c73b8
refactor: start using multiple return values. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
aa05bb5df7
refactor: use es6 maps for everything. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
98a59e814d
workers: fix build for workers. 2017-06-28 18:26:16 -07:00
Christopher Jeffrey
307e7dd698
webpack: get bcoin building in webpack for node. 2017-06-28 18:04:20 -07:00
Christopher Jeffrey
275580f4ac
refactor: fix linting for empty modules. 2017-06-28 13:04:04 -07:00
Christopher Jeffrey
24cd81a1bd
webpack: use -browser convention instead of aliases. 2017-06-28 12:45:38 -07:00
Christopher Jeffrey
3763b5309a
node: allow non-string plugins in config. 2017-06-28 02:47:05 -07:00
Christopher Jeffrey
09d41d32a2
rsa: minor. 2017-06-28 02:34:26 -07:00
Christopher Jeffrey
9d9d8e2133
refactor: lint. 2017-06-28 02:32:00 -07:00
Christopher Jeffrey
f9fdcb58f8
protoreader/protowriter: minor. 2017-06-28 02:30:21 -07:00
Christopher Jeffrey
2a5a8cdc93
pbkdf2: fix for browser. 2017-06-27 18:22:19 -07:00
Christopher Jeffrey
be1ec1c22d
utils: refactor. 2017-06-27 09:28:37 -07:00
Christopher Jeffrey
62e7f97359
refactor: module index. 2017-06-27 09:28:18 -07:00
Christopher Jeffrey
d4cc22e1c5
refactor: crypto. 2017-06-27 07:27:53 -07:00
Christopher Jeffrey
63e6a97de3
refactor: lint. 2017-06-27 03:54:14 -07:00
Christopher Jeffrey
fa3e98b274
crypto: rename ec to secp256k1. 2017-06-27 02:48:19 -07:00
Christopher Jeffrey
5d6e089c92
crypto: refactor pk.js. 2017-06-27 02:34:17 -07:00
Christopher Jeffrey
f6fb3ba3b5
config: fix browser build. 2017-06-27 02:01:11 -07:00
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