Christopher Jeffrey
|
eee2ef5d34
|
improve pool/chain options.
|
2016-01-01 17:54:22 -08:00 |
|
Christopher Jeffrey
|
90856a8f5b
|
add size method.
|
2016-01-01 17:42:02 -08:00 |
|
Christopher Jeffrey
|
3c5a823445
|
allow watch() to be used on a full node.
|
2016-01-01 17:42:02 -08:00 |
|
Christopher Jeffrey
|
146e50dc68
|
add fullnode chain. improve pool.
|
2016-01-01 17:41:13 -08:00 |
|
Christopher Jeffrey
|
65dd1727be
|
push wallet in pool.addWallet.
|
2016-01-01 14:21:10 -08:00 |
|
Christopher Jeffrey
|
350ca9c875
|
move all block sync logic to pool.
|
2015-12-29 18:40:31 -08:00 |
|
Christopher Jeffrey
|
43b0533a18
|
minor improvements and fixes.
|
2015-12-27 23:54:53 -08:00 |
|
Christopher Jeffrey
|
52b653083c
|
add features potentially useful for blockchain explorers.
|
2015-12-21 20:00:13 -08:00 |
|
Christopher Jeffrey
|
a96f27682f
|
style. fix addr timestamp.
|
2015-12-19 02:17:01 -08:00 |
|
Christopher Jeffrey
|
d3811acc28
|
move chain.on("fork") somewhere sane.
|
2015-12-19 02:08:42 -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
|
9fe8afa7d3
|
emit orphan event.
|
2015-12-18 20:33:19 -08:00 |
|
Christopher Jeffrey
|
7cabdcfda5
|
fix getOrphanRoot and usage.
|
2015-12-18 17:31:45 -08:00 |
|
Christopher Jeffrey
|
e735249d0d
|
try to choose from at least 5 potential peers when syncing.
|
2015-12-18 16:52:32 -08:00 |
|
Christopher Jeffrey
|
086b32cb73
|
minor: initialize syncPeer.
|
2015-12-18 16:39:29 -08:00 |
|
Christopher Jeffrey
|
cf502913b6
|
check to see if chain is synced.
|
2015-12-18 16:35:00 -08:00 |
|
Christopher Jeffrey
|
34e90c6baa
|
handle chain forks from checkpoints. enforce one syncPeer.
|
2015-12-18 16:30:58 -08:00 |
|
Christopher Jeffrey
|
7ffcc8e7f3
|
check for syncPeer on blockchain fork.
|
2015-12-18 13:12:04 -08:00 |
|
Christopher Jeffrey
|
91618258e7
|
add a peers.bad list for peers with forked blockchains.
|
2015-12-18 13:10:27 -08:00 |
|
Christopher Jeffrey
|
82983af52b
|
pool wallets. chain errors. checkpoint failure.
|
2015-12-18 12:10:39 -08:00 |
|
Christopher Jeffrey
|
d109eaba6c
|
handle reject packet.
|
2015-12-17 19:47:20 -08:00 |
|
Christopher Jeffrey
|
3e608c2cc6
|
script and standard transaction types. prefixes.
|
2015-12-17 16:06:08 -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
|
8a33f2efa1
|
add getFullPublicKey/getOwnPublicKey and use appropriately.
|
2015-12-08 19:42:12 -08:00 |
|
Christopher Jeffrey
|
db0da78ae5
|
only start calculating startHeight and locatorHashes after chain load.
|
2015-12-05 18:34:18 -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
|
96e1cbb0e1
|
pool: emit peer in tx broadcast.
|
2014-06-11 18:43:50 -05:00 |
|
Christopher Jeffrey
|
2697d37753
|
Merge pull request #25 from indutny/peer-events
Peer events
|
2014-06-07 03:48:43 -05:00 |
|
Christopher Jeffrey
|
9363aff634
|
pool: pass peer in through error events...again.
|
2014-06-07 03:40:42 -05:00 |
|
Christopher Jeffrey
|
d577b7cbd3
|
pool: pass peer in through error events.
|
2014-06-07 03:39:05 -05:00 |
|
Christopher Jeffrey
|
eadb7a50c7
|
pool: add version and peer events for peers.
|
2014-06-06 16:20:50 -05:00 |
|
Christopher Jeffrey
|
11b56e32d7
|
fix: do not throw on destroyed peers.
|
2014-06-06 06:37:47 -05:00 |
|
Christopher Jeffrey
|
8d6c438e3d
|
pool: stop throwing uncatchable errors on parser errors.
|
2014-06-02 02:29:15 -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
|
1b88b355ac
|
chain: add a cacheLimit option to chain.
|
2014-05-26 12:53:47 -05:00 |
|
Christopher Jeffrey
|
7e38e4de7c
|
pool: change pool.options.satoshi to pool.options.relay.
|
2014-05-26 12:43:41 -05:00 |
|
Christopher Jeffrey
|
024350dbe4
|
peer/pool: improve handleInv. improve addPeer.
|
2014-05-26 04:03:23 -05:00 |
|
Christopher Jeffrey
|
24d9b2b2d8
|
pool: allow sending filterload to peers without an id to add to the bloom filter.
|
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
|
f4dbc0ee33
|
parser: parse transactions in regular blocks.
|
2014-05-23 10:05:46 -05:00 |
|
Christopher Jeffrey
|
2ab9334b4b
|
pool: when proxying peer->pool events. pass peer as the 2nd arg.
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
|
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 |
|
Fedor Indutny
|
c69660d81d
|
pool: fix relay of pending TX
|
2014-05-15 15:08:33 +04:00 |
|