Commit Graph

525 Commits

Author SHA1 Message Date
Braydon Fuller
efb2551555
indexer: fix reset and reorg handling 2019-05-15 12:11:37 -07:00
Matthew Zipkin
df4e287817
utils: custom inspect for objects 2019-03-11 14:28:45 -07:00
Javed Khan
3c1fda4826
pool: fix this.options.discover 2019-02-01 21:56:57 +05:30
Javed Khan
127fea663f
pool: disable discover with only 2019-01-31 20:27:47 +05:30
Javed Khan
bd7a0949b6
Merge pull request #632 from nodar-chkuaselidze/fix/addresses
address minor fixes
2019-01-04 20:45:34 +05:30
Matthew Zipkin
8b6eba165b
net: add testnet seeds (for browser)
bcoin browser mode can not use DNS to discover seeds, so they are hard-coded.
see: https://github.com/bcoin-org/bdns/blob/master/lib/dns-browser.js#L23
There's already plenty in `/lib/net/seeds/main.js` so this is just to get browser-nodes running on testnet.
Seeds were pulled from my own `hosts.json` file on a live testnet bcoin node
2018-11-15 17:22:23 -08:00
Nodar Chkuaselidze
579a98a531
address: minor fixes 2018-11-15 17:39:25 +04:00
Matthew Zipkin
7d2caa072b
pool: fixes getBroadcasted() error 2018-08-31 09:30:40 -07:00
Javed Khan
f01e2fb626
pool: watchAddress continue to accept addr string 2018-08-29 23:18:28 +05:30
Javed Khan
9a22976631
multi: fix lint warnings 2018-08-13 17:30:30 +05:30
Christopher Jeffrey
85ed59c842
pool: fix handleGetBlocks. 2018-08-10 16:28:23 -07:00
Christopher Jeffrey
a15b1e2d62
net: remove redundant item resolving. 2018-08-10 16:25:38 -07:00
Christopher Jeffrey
dc5b8c373d
net: properly clear timers. 2018-08-10 16:24:10 -07:00
Christopher Jeffrey
a0ac953079
bcoin: update logger usage. 2018-08-10 16:24:10 -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
Braydon Fuller
7ea95b5795 net: revolve pending broadcast items
If `pool.close()` is called if the pool is not connected, timers
won't be cleared. Transactions can be added to the pool while
it's not connected.
2018-08-06 10:18:07 -07:00
Christopher Jeffrey
08a04b53c3
net: update default mainnet seeds. 2018-07-13 12:57:29 -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
Orfeas Stefanos Thyfronitis Litos
208dcfd1d5
wallet: fixed typos; pool: minor jsdoc (#511) 2018-07-04 17:49:00 +05:30
Christopher Jeffrey
0977c5c133
net: fix nonce creation. 2018-06-08 04:16:59 -07:00
Christopher Jeffrey
a85ff2bbe9
pool: fix public port option. 2018-04-06 16:15:10 -07:00
Christopher Jeffrey
c388498ab0
pkg: update deps. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
bd76939f4c
pkg: update bcrypto. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
ec876215a6
bip152: minor. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
f1672a8b86
types: cleanup types. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
d5a2609f75
peer: add reverse dns lookup. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
e4ad8b457f
net: update seed list. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
fcb3a10318
net: use bdns to resolve ip address. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
aa3988aa2f
wallet/hostlist: minor. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
417b37b0c3
db: remove backend option. 2018-03-29 21:56:51 -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
4ebfb5d9ff
net: classify. 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
bf4f5e3bac
bcoin: bstring requires. 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
daa55a05bc
primitives: classify primitives. 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
7bdd6e3519
minor: s/breq/brq/g 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
4535cd1827
utils: start using bmutex. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
f9eba3f5a6
crypto: start using hash.digest(). 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
8332b93721
utils: remove dependence on co. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
277ac9a62a
net: start using bsocks and bupnp. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
ce8b6f483f
net: start using btcp and bdns. 2018-03-29 21:56:47 -07:00