Christopher Jeffrey
|
7b928f079c
|
utils: improve nextTick.
|
2014-06-06 16:23:26 -05:00 |
|
Christopher Jeffrey
|
eadb7a50c7
|
pool: add version and peer events for peers.
|
2014-06-06 16:20:50 -05:00 |
|
Christopher Jeffrey
|
005c11e967
|
parser: fix version parsing. check user agent in tests.
|
2014-06-06 15:47:29 -05:00 |
|
Christopher Jeffrey
|
3d3e61dc6e
|
test: add test for signing multiple inputs with different keys.
|
2014-06-06 15:29:34 -05:00 |
|
Christopher Jeffrey
|
ac8905bf3d
|
fix: wallet.sign return value.
|
2014-06-06 14:54:02 -05:00 |
|
Christopher Jeffrey
|
ac60920f98
|
fix: keep track of the input index better for subscript hashing.
|
2014-06-06 12:29:36 -05:00 |
|
Christopher Jeffrey
|
11b56e32d7
|
fix: do not throw on destroyed peers.
|
2014-06-06 06:37:47 -05:00 |
|
Christopher Jeffrey
|
28abd09845
|
wallet: allow inputs and offset to be passed into wallet.sign.
|
2014-06-06 03:10:21 -05:00 |
|
Christopher Jeffrey
|
24ccb7926b
|
v0.14.0
|
2014-06-05 01:30:18 -05:00 |
|
Christopher Jeffrey
|
246b99e187
|
readme: minor heading fix.
|
2014-06-03 10:18:44 -05:00 |
|
Christopher Jeffrey
|
808e5fe4e2
|
readme: example and api docs.
|
2014-06-03 10:11:22 -05:00 |
|
Christopher Jeffrey
|
5a67c56b00
|
Merge pull request #23 from chjj/block-size
parser: fix minimum block size.
|
2014-06-03 09:56:56 -05:00 |
|
Christopher Jeffrey
|
4dd8a54501
|
framer: another style fix.
|
2014-06-03 09:46:19 -05:00 |
|
Christopher Jeffrey
|
841bf86d7d
|
block: fix for style conventions.
|
2014-06-03 09:45:53 -05:00 |
|
Fedor Indutny
|
fbb3660361
|
Merge pull request #22 from chjj/parser-errors
pool: stop throwing uncatchable errors on parser errors.
|
2014-06-02 22:22:42 -04:00 |
|
Christopher Jeffrey
|
566b2e9916
|
parser: fix minimum block size.
|
2014-06-02 03:14:44 -05:00 |
|
Christopher Jeffrey
|
8d6c438e3d
|
pool: stop throwing uncatchable errors on parser errors.
|
2014-06-02 02:29:15 -05:00 |
|
Fedor Indutny
|
2e0660f449
|
Merge pull request #21 from chjj/fix-percent
chain: fix fill percent.
|
2014-05-27 10:08:51 +04:00 |
|
Christopher Jeffrey
|
2b88192562
|
chain: fix fill percent.
|
2014-05-26 19:19:14 -05:00 |
|
Fedor Indutny
|
013a85c6a5
|
Merge pull request #16 from chjj/version-packet
Version packet
|
2014-05-26 22:12:36 +04:00 |
|
Fedor Indutny
|
d23cca1b4a
|
Merge pull request #19 from chjj/satoshi
Allow optional pre BIP-37 behavior (the original satoshi protocol)
|
2014-05-26 22:12:21 +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 |
|
Fedor Indutny
|
782779dcf4
|
Merge pull request #20 from chjj/readme
readme: improve readme.
|
2014-05-26 19:08:33 +04:00 |
|
Christopher Jeffrey
|
91fe15573c
|
readme: improve readme.
|
2014-05-26 09:59:58 -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
|
6d2c1bd9f1
|
framer: fix undefined var typo.
|
2014-05-25 08:02:33 -05:00 |
|
Christopher Jeffrey
|
8546cc7e33
|
block: fix timestamp check...again.
|
2014-05-24 18:06:52 -05:00 |
|
Christopher Jeffrey
|
1052b7361c
|
block: fix timestamp check in checkBlock.
|
2014-05-24 18:05:31 -05:00 |
|
Christopher Jeffrey
|
c1fbab35e1
|
block: remove some unused code from checkBlock.
|
2014-05-24 13:44:10 -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
|
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
|
2d7599d2d3
|
block: use utils.dsha256 instead of hash.js for merkle tree building.
|
2014-05-24 01:19:32 -05:00 |
|
Christopher Jeffrey
|
60a9e556f8
|
framer: frame regular blocks with transactions correctly.
|
2014-05-23 23:27:54 -05:00 |
|
Christopher Jeffrey
|
e3e324441b
|
block: improve performance of duplicate tx check.
|
2014-05-23 23:13:16 -05:00 |
|
Christopher Jeffrey
|
44774e7c6b
|
block: follow the behavior of bitcoind's CheckBlock().
|
2014-05-23 23:12:46 -05:00 |
|
Christopher Jeffrey
|
e66f2f50bf
|
block: build merkleTree to verify merkleRoot on regular blocks.
|
2014-05-23 23:08:59 -05:00 |
|
Fedor Indutny
|
bbe1b71a14
|
0.13.0
|
2014-05-23 23:38:34 +04:00 |
|
Fedor Indutny
|
70a3f2f38b
|
package: update deps
|
2014-05-23 23:38:28 +04: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
|
faca3454b2
|
framer: fix array length, assuming user-agent is below 0xfd in length.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-23 14:39:51 +04:00 |
|
Christopher Jeffrey
|
9981835df4
|
framer: includer user-agent in version packet.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-23 14:35:22 +04: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
|
0b188640ec
|
util: use regular loop constructs for u64 writes.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:20 +04:00 |
|
Christopher Jeffrey
|
2aabef9a6d
|
getaddr: fix framer. add addr to protocol-test.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-20 13:36:19 +04:00 |
|