Christopher Jeffrey
|
2f618c961b
|
fixes. peer improvements.
|
2016-01-05 02:28:06 -08:00 |
|
Christopher Jeffrey
|
019ecf4f2a
|
switch to fullchain for both spv and fullnode.
|
2016-01-04 20:13:06 -08:00 |
|
Christopher Jeffrey
|
0f8819c78e
|
minor fixes. refactor timestamps.
|
2016-01-04 04:12:26 -08:00 |
|
Christopher Jeffrey
|
a20cd7edbe
|
refactor pool. improve chains.
|
2016-01-04 03:04:09 -08:00 |
|
Christopher Jeffrey
|
484b1f2817
|
use getheaders.
|
2016-01-03 06:47:27 -08:00 |
|
Christopher Jeffrey
|
350ca9c875
|
move all block sync logic to pool.
|
2015-12-29 18:40:31 -08:00 |
|
Christopher Jeffrey
|
a6e3024e9b
|
peer address and port.
|
2015-12-22 03:19:27 -08:00 |
|
Christopher Jeffrey
|
52b653083c
|
add features potentially useful for blockchain explorers.
|
2015-12-21 20:00:13 -08:00 |
|
Christopher Jeffrey
|
1db84a0528
|
wallet json and prefix. style. cleanup.
|
2015-12-20 01:43:09 -08:00 |
|
Christopher Jeffrey
|
cb2bcc21c6
|
prevent buffered _writes from binding thousands of events.
|
2015-12-19 02:52:51 -08:00 |
|
Christopher Jeffrey
|
a96f27682f
|
style. fix addr timestamp.
|
2015-12-19 02:17:01 -08:00 |
|
Christopher Jeffrey
|
1e802c152f
|
comments. more style consistency.
|
2015-12-18 22:53:31 -08:00 |
|
Christopher Jeffrey
|
5ece45091b
|
style consistency.
|
2015-12-18 22:37:02 -08:00 |
|
Christopher Jeffrey
|
d1f8e9b5ff
|
add chain.hasOrphan method.
|
2015-12-18 16:58:26 -08:00 |
|
Christopher Jeffrey
|
82983af52b
|
pool wallets. chain errors. checkpoint failure.
|
2015-12-18 12:10:39 -08:00 |
|
Christopher Jeffrey
|
07a6788831
|
optimize block and tx rendering. script maxes. sync.
|
2015-12-17 16:06:08 -08:00 |
|
Christopher Jeffrey
|
88ddb3620c
|
get blockchain sync working. fix pushdata ops.
|
2015-12-17 16:05:48 -08:00 |
|
Christopher Jeffrey
|
89f2a0dcc3
|
formatting. make use of helpers in hd.
|
2015-12-09 10:40:33 -08:00 |
|
Christopher Jeffrey
|
db0da78ae5
|
only start calculating startHeight and locatorHashes after chain load.
|
2015-12-05 18:34:18 -08:00 |
|
Christopher Jeffrey
|
c96a12bf2e
|
fix validateAddress. cleanup.
|
2015-12-05 04:59:18 -08:00 |
|
Christopher Jeffrey
|
87eea1e398
|
fixes and minor style changes
|
2015-12-04 22:50:13 -08:00 |
|
Christopher Jeffrey
|
ea9af49f4b
|
hd and p2sh
|
2015-12-04 18:01:31 -08:00 |
|
Christopher Jeffrey
|
3bfd10d0d0
|
work
|
2015-12-01 22:59:26 -08:00 |
|
Christopher Jeffrey
|
fcc9d661c1
|
satoshi: fix blockchain download.
|
2015-11-30 18:15:57 -08:00 |
|
Christopher Jeffrey
|
feda74523f
|
peer/pool: add origin satoshi protocol.
|
2015-11-30 12:36:39 -08:00 |
|
Christopher Jeffrey
|
eadb7a50c7
|
pool: add version and peer events for peers.
|
2014-06-06 16:20:50 -05:00 |
|
Fedor Indutny
|
013a85c6a5
|
Merge pull request #16 from chjj/version-packet
Version packet
|
2014-05-26 22:12:36 +04:00 |
|
Christopher Jeffrey
|
7e38e4de7c
|
pool: change pool.options.satoshi to pool.options.relay.
|
2014-05-26 12:43:41 -05:00 |
|
Christopher Jeffrey
|
a3b923ae76
|
peer: have updateWatch getblocks instead of filterload for the satoshi option.
|
2014-05-26 05:12:56 -05:00 |
|
Christopher Jeffrey
|
024350dbe4
|
peer/pool: improve handleInv. improve addPeer.
|
2014-05-26 04:03:23 -05:00 |
|
Christopher Jeffrey
|
9dc0063ea9
|
test/parser: add version test for height and relay / fix typo.
|
2014-05-24 02:16:59 -05:00 |
|
Christopher Jeffrey
|
a5f20114e8
|
framer: version packet options, relay and height.
|
2014-05-24 02:16:59 -05:00 |
|
Christopher Jeffrey
|
7de6964628
|
allow usage of the original non-spv pre BIP-37 satoshi protocol.
|
2014-05-23 10:56:02 -05:00 |
|
Christopher Jeffrey
|
793fed1974
|
framer: refactor.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:20 +04:00 |
|
Christopher Jeffrey
|
44fab2b58a
|
peer: handle address timestamp better.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:20 +04:00 |
|
Christopher Jeffrey
|
a0c2f66169
|
peer: fix handleGetAddr. fix addr test.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:20 +04:00 |
|
Christopher Jeffrey
|
9bec16ca49
|
peer: minor style fix.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:19 +04:00 |
|
Christopher Jeffrey
|
29746b5164
|
utils: add simple utils.isIP in place of net.isIP.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:18 +04:00 |
|
Christopher Jeffrey
|
2edfdd8b36
|
peer: style fixes.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:18 +04:00 |
|
Christopher Jeffrey
|
6e8b03df96
|
peer: keep ips as arrays.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:18 +04:00 |
|
Christopher Jeffrey
|
aa383b984e
|
peer: take into account omitted zeros for ipv6 addresses.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:18 +04:00 |
|
Christopher Jeffrey
|
e9ec9a5f0c
|
peer: fix potential error.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:18 +04:00 |
|
Christopher Jeffrey
|
b2c4af302d
|
peer: remove _getOwnIP.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:17 +04:00 |
|
Christopher Jeffrey
|
d0b14008d0
|
peer: implement response to getaddr.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:17 +04:00 |
|
Christopher Jeffrey
|
e04931026c
|
block: add block subtype - block or merkleblock.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-18 21:00:56 +04:00 |
|
Christopher Jeffrey
|
4894f6965f
|
peer: txs event - only emit hashes to mimic blocks event.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-18 18:09:41 +04:00 |
|
Christopher Jeffrey
|
01409b34af
|
pool: emit blocks and txs event on pool.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-18 18:09:40 +04:00 |
|
Christopher Jeffrey
|
d331cfbb9e
|
fix: take into account var_int for addr. move to parser.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-17 21:03:51 +04:00 |
|
lms
|
67298c60e0
|
peer: socket -> createSocket parameter
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-16 01:28:59 +04:00 |
|
Christopher Jeffrey
|
24779fb398
|
peer/pool: emit addr event on pool. refactor addr handler.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-16 01:28:17 +04:00 |
|