Commit Graph

213 Commits

Author SHA1 Message Date
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
ea26a0e70a
tx: minor. 2017-06-15 22:34:56 -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
a3c7a49c80
refactor: replace util.equal with Buffer#equals. 2017-06-12 03:00:08 -07:00
Christopher Jeffrey
8893131e08
script: move static methods off of script constructor. 2017-06-10 01:20:05 -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
46b34677f1
address/wallet: refactor usage of Address.getHash. 2017-05-25 23:27:37 -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
11a660aeab
network: add more helper functions. 2017-05-13 21:35:58 -07:00
Christopher Jeffrey
fa5f987775
address: fix bech32 hrp check. 2017-05-13 18:57:40 -07:00
Christopher Jeffrey
e55ca1eb3d
address: sanity checks. 2017-05-13 17:22:32 -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
b790dfea6d
merkleblock: remove useless method. 2017-05-13 03:52:58 -07:00
Christopher Jeffrey
5915338407
address: improve isNull. 2017-05-13 00:34:01 -07:00
Christopher Jeffrey
41d9493cc7
minor: lint. 2017-05-13 00:31:18 -07:00
Christopher Jeffrey
0ea341772c
address: make bech32 addrs more sane. 2017-05-13 00:21:51 -07:00
Christopher Jeffrey (JJ)
724e60970a Merge pull request #183 from murtyjones/patch-1
[Trivial] Adds JSHint param name
2017-05-12 13:35:41 -07:00
Christopher Jeffrey
3ca70a152a
block: remove coinbase from json output. 2017-05-12 11:45:30 -07:00
Christopher Jeffrey (JJ)
27b896a4ed Merge pull request #211 from pinheadmz/cbtxt
return coinbase scriptSig string in getblock requests
2017-05-12 10:48:21 -07:00
Matthew Zipkin
6a332bfeaf init return cb rpc 2017-05-05 20:51:57 +00:00
Christopher Jeffrey
ed4400acb9
address: start using from/toString. 2017-04-30 07:13:36 -07:00
Christopher Jeffrey
14ee1f8f03
address: expose bech32. 2017-04-30 06:42:21 -07:00
Christopher Jeffrey
6acef06cbc
address: implement bech32 addresses. 2017-04-12 23:13:29 -07:00
Marty Jones
3db7482e65 [Trivial] Adds JSHint param name 2017-04-10 20:05:56 -05:00
Christopher Jeffrey
d7e2942117
netaddress: fix fromHost. 2017-03-14 06:10:35 -07:00
Christopher Jeffrey
695305cf68
mtx: add by-value sorting. 2017-03-14 06:09:29 -07:00
Christopher Jeffrey
cdbad54a8c
net: improvements. see comments.
- Improved local address handling.
- Enabled upnp discovery.
- Added retry for dns seeds.
- Improved hostlist in general.
2017-03-07 17:10:47 -08:00
Christopher Jeffrey
e9650da89c
tx: prevent getRate from throwing. 2017-03-05 17:57:26 -08:00
Christopher Jeffrey
b8bf8209f0
ip/netaddress: add reachability score. 2017-03-02 15:25:44 -08:00
Christopher Jeffrey
9f09de4867
rpc/http/wallet: more aggressive validation for addrs/keys. 2017-02-28 14:52:54 -08:00
Christopher Jeffrey
60ff33bdb2
block: minor. 2017-02-28 10:13:48 -08:00
Christopher Jeffrey
e9d87dcd98
refactor: lint. 2017-02-28 10:09:17 -08:00
Christopher Jeffrey
914b66b94f
block: do not cache height parsing. 2017-02-28 09:20:23 -08:00
Christopher Jeffrey
a535d7d414
tx: fix witness item check. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
ac70656e71
chain/tx: fixes. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
33bda01d21
tx/mempool: simplify some witness policy. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
7688d80e74
block/chain: refactor block verification and caching. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
426ab85f15
block: remove commitment hash cache. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
f71f2d954b
chain: optimize reward calculation. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
4e7df6ef87
docs: get jsdoc compiling again. 2017-02-03 22:47:26 -08:00
Christopher Jeffrey
80d47b8db4
wallet: more failsafes for sending. 2017-01-29 17:21:16 -08:00
Christopher Jeffrey
0f8fd1dc77
minor: lint. 2017-01-28 19:09:12 -08:00
Christopher Jeffrey
86fdf33f8a
block: fix isBlock. 2017-01-27 18:10:51 -08:00
Christopher Jeffrey
8e6819714b
merkleblock: improve extractTree perf. 2017-01-27 00:08:49 -08:00
Christopher Jeffrey
5073c1508f
net: tor support for outgoing conns. 2017-01-24 18:25:44 -08:00
Christopher Jeffrey
b8324e0b09
ip: rename some functions. 2017-01-23 23:08:21 -08:00