Commit Graph

380 Commits

Author SHA1 Message Date
Christopher Jeffrey
e0c2eb122b
rpc: improve some network rpc calls. 2017-05-13 03:51:01 -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
f778a8c1b5
bip152: do not use Block.totalTX. 2017-03-16 15:46:16 -07:00
Christopher Jeffrey
9388256e48
hostlist: fix flushing. 2017-03-16 00:39:30 -07: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
1a8a9afade
config/wallet: refactor config handling. add wallet server. 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
614a952015
net: hardcoded seeds (primarily for browser). 2017-03-07 13:57:09 -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
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
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
53f607e19f
hostlist: minor. 2017-03-01 11:39:14 -08:00
Christopher Jeffrey
da69c5d888
hostlist: persist to file. 2017-03-01 11:29:11 -08:00
Christopher Jeffrey
161fe6e2a1
net: increase timeout for getdata. see #144. 2017-03-01 09:25:26 -08:00
Christopher Jeffrey
89ff0796c7
refactor: do not require json files. 2017-03-01 08:48:53 -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
4c4cf9e6a4
peer: timeout inv spamming. 2017-02-24 16:25:29 -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