Commit graph

205 commits

Author SHA1 Message Date
Christopher Jeffrey
77e613e6dc
handshake: preliminary wallet work. 2018-01-08 01:19:41 -08:00
Christopher Jeffrey
c70c880d21
net: initial proof serving. 2018-01-06 17:52:41 -08:00
Christopher Jeffrey
6e0d489aec
handshake: finish cleaning up bitcoin. 2018-01-02 20:24:56 -08:00
Christopher Jeffrey
dfe4738a0b
peer: add reverse dns lookup. 2017-12-20 11:34:15 -08:00
Christopher Jeffrey
944cf29331
net: move netaddress. 2017-11-22 13:49:14 -08:00
Christopher Jeffrey
0e4d32f41b
bcoin: use util.revHex again. 2017-11-17 00:00:36 -08:00
Christopher Jeffrey
5ac4a84211
bcoin: move encoding constants around. 2017-11-16 23:52:14 -08:00
Christopher Jeffrey
5a425a624e
net: classify. 2017-11-16 19:37:09 -08:00
Christopher Jeffrey
80b5fe502b
bcoin: clean up requires. 2017-11-16 12:24:45 -08:00
Christopher Jeffrey
c60b8ea125
refactor: switch to bio module. 2017-11-16 11:43:24 -08:00
Christopher Jeffrey
1b39abe157
bcoin: rename bufio and bstring. 2017-11-15 09:02:44 -08:00
Christopher Jeffrey
d97cc7351f
utils: start using bmutex. 2017-11-01 18:54:14 -07:00
Christopher Jeffrey
218b03f1e8
utils: remove dependence on co. 2017-11-01 14:13:07 -07:00
Christopher Jeffrey
5847d7add3
net: start using btcp and bdns. 2017-11-01 13:04:38 -07:00
Christopher Jeffrey
6a83116951
utils: stop using asyncobject. 2017-11-01 12:57:11 -07:00
Christopher Jeffrey
da28e10468
node: start using blgr and bcfg. 2017-10-30 21:56:51 -07:00
Christopher Jeffrey
3ecc9829e3
utils: start using bbuf. 2017-10-30 21:29:49 -07:00
Christopher Jeffrey
7f170f377a
utils: start using bfilter. 2017-10-30 21:22:31 -07:00
Christopher Jeffrey
f994266f35
encoding: refactor. remove bip70. 2017-10-30 21:02:19 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js. 2017-10-26 04:07:48 -07:00
Christopher Jeffrey
73b84cc1a7
lint: remove useless parens. 2017-08-27 16:50:23 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance. 2017-08-06 19:45:10 -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
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
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
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
84eccc29fa
refactor: switch to async/await. see #227. 2017-06-24 02:39:06 -07:00
Christopher Jeffrey
a3c7a49c80
refactor: replace util.equal with Buffer#equals. 2017-06-12 03:00:08 -07:00
Christopher Jeffrey
75c279169c
peer: comments. 2017-05-19 22:05:46 -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
eb601eece6
node: start using logger contexts. 2017-03-14 06:10:35 -07: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
871225bbe4
pool/peer: split request map into two maps. 2017-03-07 19:49:50 -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
a96868ff8e
pool: track peer heights. 2017-03-04 15:40:59 -08:00
Christopher Jeffrey
694bab4ad0
net: less strict bip152 behavior. 2017-03-02 18:17:26 -08:00
Christopher Jeffrey
7b516ddd1e
net: more stall behavior. 2017-03-02 17:47:02 -08:00