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
|
87d664784c
|
refactor: s/ts/time. s/ps/mtime.
|
2017-07-25 14:23:10 -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
|
c347add2fd
|
pool: refactor assertion.
|
2017-07-23 08:17:43 -07:00 |
|
Node
|
361ffd2705
|
Fix bip150 and bip151 configuration parsing
|
2017-07-20 16:44:41 +04:00 |
|
Christopher Jeffrey
|
98c975de8b
|
pool: fix bad orphan event handling.
|
2017-07-17 22:39:11 -07:00 |
|
Christopher Jeffrey
|
296e65d0fd
|
refactor: use es6 template strings everywhere.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
10672784e5
|
refactor: rename tx functions. more es6 features.
|
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
|
aa05bb5df7
|
refactor: use es6 maps for everything.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
be1ec1c22d
|
utils: refactor.
|
2017-06-27 09:28:37 -07:00 |
|
Christopher Jeffrey
|
fa3e98b274
|
crypto: rename ec to secp256k1.
|
2017-06-27 02:48:19 -07:00 |
|
Christopher Jeffrey
|
8358fa59c6
|
util: drop all homemade polyfills.
|
2017-06-27 00:36:13 -07:00 |
|
Christopher Jeffrey
|
edd095bfae
|
pool: refactor http ip discovery.
|
2017-06-26 04:27:21 -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
|
46b34677f1
|
address/wallet: refactor usage of Address.getHash.
|
2017-05-25 23:27:37 -07:00 |
|
Christopher Jeffrey
|
0ceca23cb5
|
chain/mempool: store peer id and punish invalid orphans.
|
2017-05-19 17:02:06 -07:00 |
|
Christopher Jeffrey (JJ)
|
a3b0d10c30
|
Merge pull request #169 from dionyziz/fix_promise_docs
Pool.hasTX does not return promise
|
2017-05-12 15:47:31 -07:00 |
|
Christopher Jeffrey
|
a1d0948f2e
|
net: add --only option. fixes #210.
|
2017-05-12 12:02:55 -07:00 |
|
Dionysis Zindros
|
6d274a1988
|
Pool.hasTX does not return promise
|
2017-03-18 19:20:28 +02:00 |
|
Christopher Jeffrey
|
7d6ebd0201
|
node: make hostlist persistence optional.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
a266391f1b
|
logger: truncate log files.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
eb601eece6
|
node: start using logger contexts.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
1401860fd4
|
pool: less error emission.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
5cbbdbfb2f
|
refactor: config, plugins, and walletdb.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
a81733a720
|
node/config: refactor config and options.
|
2017-03-14 06:09:29 -07:00 |
|
Christopher Jeffrey
|
604362effd
|
pool: increase blocktxn limit.
|
2017-03-07 22:43:46 -08:00 |
|
Christopher Jeffrey
|
75f4e9616f
|
pool: fix discoverSeeds.
|
2017-03-07 22:41:13 -08:00 |
|
Christopher Jeffrey
|
19525826e3
|
pool: better stalling for compact blocks.
|
2017-03-07 20:54:44 -08:00 |
|
Christopher Jeffrey
|
4aecaf9158
|
pool/peer: do not allow duplicate txs in merkle blocks.
|
2017-03-07 20:13:32 -08:00 |
|
Christopher Jeffrey
|
bfca120f4f
|
pool: lint. minor.
|
2017-03-07 20:04:26 -08:00 |
|
Christopher Jeffrey
|
871225bbe4
|
pool/peer: split request map into two maps.
|
2017-03-07 19:49:50 -08:00 |
|
Christopher Jeffrey
|
2bbeb40ac5
|
net: resend sync on peer disconnection.
|
2017-03-07 18:59:46 -08:00 |
|
Christopher Jeffrey
|
11a2bc1356
|
net: less banning for bip152.
|
2017-03-07 18:01:05 -08: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
|
c38a4fc031
|
net: listen after connecting to outbound.
|
2017-03-05 15:40:09 -08:00 |
|
Christopher Jeffrey
|
a96868ff8e
|
pool: track peer heights.
|
2017-03-04 15:40:59 -08:00 |
|
Christopher Jeffrey
|
beefcfba67
|
chain: return null on orphan blocks.
|
2017-03-04 15:37:27 -08:00 |
|
Christopher Jeffrey
|
694bab4ad0
|
net: less strict bip152 behavior.
|
2017-03-02 18:17:26 -08:00 |
|
Christopher Jeffrey
|
da69c5d888
|
hostlist: persist to file.
|
2017-03-01 11:29:11 -08:00 |
|
Christopher Jeffrey
|
a4201e6bd5
|
peer: better stall detection.
|
2017-02-28 10:08:17 -08:00 |
|
Christopher Jeffrey
|
56ccfaa980
|
merkleblock/minerblock: fix hasTX calls.
|
2017-02-28 09:32:17 -08:00 |
|
Christopher Jeffrey
|
7688d80e74
|
block/chain: refactor block verification and caching.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
2a69b7ab7a
|
pool: account for header download time before invoking stall behavior.
|
2017-02-28 09:13:03 -08:00 |
|
Christopher Jeffrey
|
fb997d43bb
|
pool: increase max header chain failures.
|
2017-02-23 20:56:21 -08:00 |
|
Christopher Jeffrey
|
e8b0a9ef83
|
pool: fix uncatchable error.
|
2017-02-08 15:57:13 -08:00 |
|
Christopher Jeffrey
|
c12a0630aa
|
pool: do not request duplicate txs.
|
2017-02-08 14:40:55 -08:00 |
|
Christopher Jeffrey
|
d3f94dbc6a
|
mempool: force broadcasting on addTX fail.
|
2017-02-07 13:56:30 -08:00 |
|
Christopher Jeffrey
|
ef95b69e5e
|
minor: refactor. move asyncobject.
|
2017-02-04 14:52:13 -08:00 |
|
Christopher Jeffrey
|
4e7df6ef87
|
docs: get jsdoc compiling again.
|
2017-02-03 22:47:26 -08:00 |
|
Christopher Jeffrey
|
91f36b3d1c
|
net: expose more of the tcp interface.
|
2017-02-03 09:59:02 -08:00 |
|
Christopher Jeffrey
|
f20aae676a
|
pool: do not reset chain when checkpoints=false.
|
2017-02-02 17:55:38 -08:00 |
|
Christopher Jeffrey
|
fae56d1387
|
pool: less log spam.
|
2017-01-29 16:08:59 -08:00 |
|
Christopher Jeffrey
|
4085321145
|
net: better compact block debug logs.
|
2017-01-29 13:19:30 -08:00 |
|
Christopher Jeffrey
|
394df48408
|
pool: some cleanup.
|
2017-01-27 00:11:34 -08:00 |
|
Mokhtar Naamani
|
e651338ff3
|
pool: graceful disconnect - minor fix
|
2017-01-27 10:01:35 +02:00 |
|
Mokhtar Naamani
|
06d25a9007
|
pool: graceful disconnect - simpler approach
|
2017-01-27 09:56:58 +02:00 |
|
Mokhtar Naamani
|
de36d64d4a
|
pool: graceful disconnect
|
2017-01-26 18:21:13 +02:00 |
|
Christopher Jeffrey
|
f576ab6e6c
|
pool: always relay onion addresses.
|
2017-01-26 03:00:13 -08:00 |
|
Christopher Jeffrey (JJ)
|
2552b3fca3
|
Merge pull request #123 from mnaamani/fix-pool-broadcast-item
pool: fix BroadcastItem multiple reject methods
|
2017-01-25 13:35:31 -08:00 |
|
Mokhtar Naamani
|
e1147cdf3d
|
pool: fix BroadcastItem multiple reject methods
|
2017-01-25 21:20:16 +02:00 |
|
Christopher Jeffrey
|
b8cd9893fb
|
net: fix socket and dns callbacks.
|
2017-01-24 18:34:01 -08:00 |
|
Christopher Jeffrey
|
5073c1508f
|
net: tor support for outgoing conns.
|
2017-01-24 18:25:44 -08:00 |
|
Christopher Jeffrey
|
07c3177227
|
ip: better tor support.
|
2017-01-23 22:44:17 -08:00 |
|
Christopher Jeffrey
|
cfeafb6273
|
net: wait for peer drain on block serving.
|
2017-01-23 20:30:02 -08:00 |
|
Christopher Jeffrey
|
e6dd78abe1
|
minor: lint.
|
2017-01-23 19:43:19 -08:00 |
|
Christopher Jeffrey
|
016d0da096
|
ip/netaddress: better ip parsing.
|
2017-01-23 19:36:19 -08:00 |
|
Christopher Jeffrey
|
2a6ee729a0
|
pool: disable bip37 by default.
|
2017-01-23 15:06:20 -08:00 |
|
Christopher Jeffrey
|
c6b439f21c
|
chain/pool: remove witness option.
|
2017-01-23 14:51:40 -08:00 |
|
Christopher Jeffrey
|
c44fc3bcef
|
pool: disable checkpoints properly. rename prop for consistency.
|
2017-01-23 13:40:29 -08:00 |
|
Christopher Jeffrey
|
e7413aabb7
|
chain/pool: disable checkpoints on checkpoint failure. see #121.
|
2017-01-23 13:25:01 -08:00 |
|
Christopher Jeffrey
|
30ab5c2a88
|
http/pool: more options fixes.
|
2017-01-23 03:58:47 -08:00 |
|
Christopher Jeffrey
|
dc9f31f36f
|
pool: fix port for options.
|
2017-01-23 03:50:54 -08:00 |
|
Christopher Jeffrey
|
cbb45db801
|
config: rename useCheckpoints. allow implicit noAuth on localhost.
|
2017-01-23 03:19:19 -08:00 |
|
Christopher Jeffrey
|
2fdbdfc087
|
network: remove witness field.
|
2017-01-23 03:03:38 -08:00 |
|
Christopher Jeffrey
|
25899827fd
|
net: remove noDiscovery. exempt bip150 packets from lock.
|
2017-01-22 14:48:03 -08:00 |
|
Christopher Jeffrey
|
6cca0aac1c
|
pool: minor fixes.
|
2017-01-21 17:27:15 -08:00 |
|
Christopher Jeffrey
|
d516035473
|
pool: minor.
|
2017-01-21 17:06:10 -08:00 |
|
Christopher Jeffrey
|
6e13fe57c0
|
pool: refactor header sync.
|
2017-01-21 16:59:20 -08:00 |
|
Christopher Jeffrey
|
219671c620
|
pool: do not emit tx if we have a mempool.
|
2017-01-21 15:38:39 -08:00 |
|
Christopher Jeffrey
|
51a25bf15f
|
net/nodeclient: always resend bloom filter. see #119.
|
2017-01-21 15:20:03 -08:00 |
|
Christopher Jeffrey
|
f3f585defc
|
pool: cleanup.
|
2017-01-21 13:59:13 -08:00 |
|
Christopher Jeffrey
|
b212eed282
|
net: handle public ip and port better.
|
2017-01-21 13:56:41 -08:00 |
|
Christopher Jeffrey
|
dc839062bf
|
pool: minor.
|
2017-01-21 13:20:44 -08:00 |
|
Christopher Jeffrey
|
545c0004e9
|
pool: minor.
|
2017-01-21 13:07:49 -08:00 |
|
Christopher Jeffrey
|
be4145e163
|
pool/peer: fixes. cleanup.
|
2017-01-21 13:03:53 -08:00 |
|
Christopher Jeffrey
|
58f8035add
|
pool: noncelist.
|
2017-01-21 12:57:01 -08:00 |
|
Christopher Jeffrey
|
f67eeee936
|
pool: minor.
|
2017-01-21 05:22:46 -08:00 |
|
Christopher Jeffrey
|
518a113e97
|
pool: fix error.
|
2017-01-21 05:19:53 -08:00 |
|
Christopher Jeffrey
|
44201193e8
|
pool: noncelist.
|
2017-01-21 05:18:18 -08:00 |
|
Christopher Jeffrey
|
3abfdb3770
|
pool: cleanup.
|
2017-01-21 04:15:16 -08:00 |
|
Christopher Jeffrey
|
4692849593
|
peer: abstract all deps.
|
2017-01-21 03:43:26 -08:00 |
|
Christopher Jeffrey
|
6016d96202
|
pool: move sync method out of peer.
|
2017-01-20 22:24:45 -08:00 |
|