Commit Graph

3493 Commits

Author SHA1 Message Date
Christopher Jeffrey
2bbeb40ac5
net: resend sync on peer disconnection. 2017-03-07 18:59:46 -08:00
Christopher Jeffrey
6a229d597e
logger: fix logger error handling. 2017-03-07 18:56:04 -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
614a952015
net: hardcoded seeds (primarily for browser). 2017-03-07 13:57:09 -08:00
Christopher Jeffrey
e823222e45
timedata/network: minor. 2017-03-06 18:41:23 -08:00
Christopher Jeffrey
eeeff1f795
chain: skip all preliminary verification when using checkpoints. 2017-03-06 18:24:38 -08:00
Christopher Jeffrey
6d477b7588
v1.0.0-beta.9 2017-03-05 18:39:33 -08:00
Christopher Jeffrey
e9650da89c
tx: prevent getRate from throwing. 2017-03-05 17:57:26 -08:00
Christopher Jeffrey
a7ab25a078
policy: add some safety measures 2017-03-05 17:29:20 -08:00
Christopher Jeffrey
545eb77cdb
mempool: update serialization version. 2017-03-05 17:14:03 -08:00
Christopher Jeffrey
b53162e12d
mempool: fix getDescendants and getAncestors. 2017-03-05 16:44:46 -08:00
Christopher Jeffrey
bf4c890b88
mempool: minor. 2017-03-05 16:12:52 -08:00
Christopher Jeffrey
c38a4fc031
net: listen after connecting to outbound. 2017-03-05 15:40:09 -08:00
Christopher Jeffrey
664cddac42
asyncobject: fire hooks before events. 2017-03-05 15:23:13 -08:00
Christopher Jeffrey
3c4bee11f2
chain: add serial asynchronous "hooks". 2017-03-05 15:06:26 -08:00
Christopher Jeffrey
4d5eaaa64a
asyncemitter: add sync emission. 2017-03-05 15:06:07 -08:00
Christopher Jeffrey
a0d2cc598c
chaindb: do not use asyncobject. 2017-03-05 14:32:50 -08:00
Christopher Jeffrey
f2ab1611e4
db: rewrite lowlevelup without asyncobject. 2017-03-05 14:32:36 -08:00
Christopher Jeffrey
e52eebd652
fullnode: fix persistent mempool block addition/removal. 2017-03-05 13:01:30 -08:00
Christopher Jeffrey
c2b8dc37c7
mempool: handle trimming differently. 2017-03-05 11:43:28 -08:00
Christopher Jeffrey
47c1955e2c
mempool: rename hasTX to hasEntry. 2017-03-05 10:02:34 -08:00
Christopher Jeffrey
210ce4c767
mempool: evict by lowest fee rate. 2017-03-05 02:03:14 -08:00
Christopher Jeffrey
ef92070a28
rbt: always return node for insert. 2017-03-05 01:23:46 -08:00
Christopher Jeffrey
fce0126c13
util: refactor hrtime usage. 2017-03-05 01:23:16 -08:00
Christopher Jeffrey
a2fd9b35c6
rpc: fix besthash byte order. 2017-03-04 16:00:37 -08:00
Christopher Jeffrey
1a5263ef23
chain: minor. logging. 2017-03-04 16:00:07 -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
b265877b36
chain: refactor event emission and logging. 2017-03-04 15:34:16 -08:00
Christopher Jeffrey
fbf73ddabf
memorydb: rename to memdb. 2017-03-04 11:37:21 -08:00
Christopher Jeffrey
df06c91557
memorydb: more validation. 2017-03-04 11:31:46 -08:00
Christopher Jeffrey
d4f5f7cd66
rbt: refactor and move. 2017-03-03 18:11:41 -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
Christopher Jeffrey
75877d2f22
upnp: rename resolve to discover. 2017-03-02 15:54:06 -08:00
Christopher Jeffrey
04735a1a37
upnp/ip: move some upnp functions to ip. 2017-03-02 15:50:25 -08:00
Christopher Jeffrey
b8bf8209f0
ip/netaddress: add reachability score. 2017-03-02 15:25:44 -08:00
Christopher Jeffrey
beaf9ee37e
upnp: minor. 2017-03-02 12:20:55 -08:00
Christopher Jeffrey
d09ed2442c
upnp: lint. 2017-03-02 12:18:25 -08:00
Christopher Jeffrey
c0a6952bb2
upnp: minor. 2017-03-02 12:14:04 -08:00
Christopher Jeffrey
36377d5a7f
upnp: better params for addPortMapping. 2017-03-02 12:04:09 -08:00
Christopher Jeffrey
0791bad973
upnp: do not throw when getting network interfaces. 2017-03-02 11:58:26 -08:00
Christopher Jeffrey
525e6f21b7
upnp: better timeouts. 2017-03-02 11:54:04 -08:00
Christopher Jeffrey
da5851ed51
net: add upnp support for port mappings and external ip. 2017-03-02 11:40:30 -08:00
Christopher Jeffrey
28b55339d5
http: improve request options. 2017-03-01 20:30:45 -08:00
Christopher Jeffrey
46a646aebd
mempool: refactor descendants handling. 2017-03-01 17:45:51 -08:00
Christopher Jeffrey
8977e99906
mempool: extra sanity checking for mining. 2017-03-01 15:19:55 -08:00
Christopher Jeffrey
027470e8cb
v1.0.0-beta.8 2017-03-01 15:04:25 -08:00
Christopher Jeffrey
77371fc501
mempool: fix fee estimator inject() method. 2017-03-01 15:03:05 -08:00