Commit Graph

79 Commits

Author SHA1 Message Date
Braydon Fuller
9db43a7e1f
test: add net packet, framer and common tests 2019-05-24 17:58:25 -07:00
Matthew Zipkin
df4e287817
utils: custom inspect for objects 2019-03-11 14:28:45 -07:00
Christopher Jeffrey
a45e683eb2
bcoin: switch to bsert for everything. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
41af7acfd6
net: remove bip150/bip151 support. 2018-07-12 10:17:13 -07:00
Christopher Jeffrey
05c38853d7
net: add more aggressive dos prevention. 2018-07-12 10:17:12 -07:00
Christopher Jeffrey
f1672a8b86
types: cleanup types. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
f99064750a
net: move netaddress. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
f2abdf68cb
bcoin: move encoding constants around. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
163e89fc29
bcoin: lint. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
405feef9ce
bcoin: clean up requires. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
280d5d38e5
net/miner/hd: classify. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
e92b1f4cec
utils: start using bfilter. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
658d3db928
encoding: refactor. remove bip70. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
d0ed214067
bcoin: remove dependence on util.js. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
b81643473e
encoding: refactor int64 handling. 2017-09-05 21:17:58 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance. 2017-08-06 19:45:10 -07:00
Christopher Jeffrey
a290e6880d
encoding: rename read int methods to readIx. 2017-08-06 03:27:06 -07:00
Christopher Jeffrey
88ef28d837
lint: no implicit casting. 2017-07-31 18:21:03 -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
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -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
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications. 2017-05-30 21:11:10 -07:00
Christopher Jeffrey
0ceca23cb5
chain/mempool: store peer id and punish invalid orphans. 2017-05-19 17:02:06 -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
4e7df6ef87
docs: get jsdoc compiling again. 2017-02-03 22:47:26 -08:00
Christopher Jeffrey
e32f521a43
packets: limit chain locators. 2017-01-22 20:05:07 -08:00
Christopher Jeffrey
3fb2150dc4
pool: allow use of headersFirst without checkpoints. 2017-01-20 15:04:13 -08:00
Christopher Jeffrey
18c4a83ed3
pool: refactor and add compact block mode 1 support. 2017-01-20 09:39:58 -08:00
Christopher Jeffrey
2d952306e6
net: refactor packet handling. 2017-01-19 15:32:18 -08:00
Christopher Jeffrey
72e4ddc2b0
net: cleanup after removal. 2017-01-19 04:45:17 -08:00
Christopher Jeffrey
b6593adf75
net: remove alert system. 2017-01-19 04:41:58 -08:00
Christopher Jeffrey
e407c08668
net: drop getutxos impl. 2017-01-19 04:39:25 -08:00
Christopher Jeffrey
db49f44c8a
peer: refactor version packet handling. 2017-01-16 03:33:54 -08:00
Christopher Jeffrey
65ab296d2e
bloom: cleanup instantiation. 2017-01-11 12:10:04 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around. 2017-01-06 09:57:55 -08:00
Christopher Jeffrey
d1a4e53896
bloom/net: move bloom constants. net services, move inv types. 2017-01-06 01:57:49 -08:00
Christopher Jeffrey
cd8e464079
net: redesign stall behavior and block management. 2017-01-05 14:35:28 -08:00
Christopher Jeffrey
eb12b0e608
net: misc. 2017-01-05 14:35:28 -08:00
Christopher Jeffrey
943c5d2d12
net: treat services as a u32. 2016-12-27 15:28:19 -08:00
Christopher Jeffrey
1a4984d533
net: add hasServices method. 2016-12-21 15:31:55 -08:00