Christopher Jeffrey
|
30ad543c31
|
more docs. rename some functions.
|
2016-01-29 11:33:00 -08:00 |
|
Christopher Jeffrey
|
a6c2270775
|
enforce byte arrays in block.render().
|
2016-01-28 15:09:59 -08:00 |
|
Christopher Jeffrey
|
5dce1427ba
|
raw blocks. pool fixes.
|
2016-01-25 15:40:53 -08:00 |
|
Christopher Jeffrey
|
e7d0ea81f9
|
block and tx methods.
|
2016-01-24 16:01:29 -08:00 |
|
Christopher Jeffrey
|
dd4660eb15
|
chaindb: cleanup. remove old functionality.
|
2016-01-21 01:40:40 -08:00 |
|
Christopher Jeffrey
|
c111d673e7
|
blockchain db.
|
2016-01-20 17:40:51 -08:00 |
|
Christopher Jeffrey
|
f6dc42924b
|
global debugging. script.isEncoded.
|
2016-01-20 12:25:19 -08:00 |
|
Christopher Jeffrey
|
47af5987ae
|
better system to prevent DOSing.
|
2016-01-20 02:46:25 -08:00 |
|
Christopher Jeffrey
|
a2c08d9692
|
drop extra coinbase functions.
|
2016-01-20 00:21:41 -08:00 |
|
Christopher Jeffrey
|
b389dd1b5f
|
better key and sig parsing for scripts.
|
2016-01-19 14:18:46 -08:00 |
|
Christopher Jeffrey
|
c8da41aa9d
|
toJSON fixes.
|
2016-01-18 17:12:20 -08:00 |
|
Christopher Jeffrey
|
9011fcc25e
|
stricter script standards. work on tx.
|
2016-01-18 01:52:18 -08:00 |
|
Christopher Jeffrey
|
575843acef
|
work on chain. check for low der sigs.
|
2016-01-17 19:57:34 -08:00 |
|
Christopher Jeffrey
|
8f037ea430
|
tx: add tbsHash method.
|
2016-01-14 00:57:55 -08:00 |
|
Christopher Jeffrey
|
4f8d24ba36
|
more int and packet work.
|
2016-01-13 18:31:07 -08:00 |
|
Christopher Jeffrey
|
df420a4a8b
|
refactor. work.
|
2016-01-08 02:22:35 -08:00 |
|
Christopher Jeffrey
|
8d120a4fd6
|
more block verification.
|
2016-01-06 19:15:41 -08:00 |
|
Christopher Jeffrey
|
e1ec89fe7d
|
sigops
|
2016-01-06 01:41:06 -08:00 |
|
Christopher Jeffrey
|
680bf01e98
|
add tx.isFinal. refactor chain usage.
|
2016-01-05 21:32:31 -08:00 |
|
Christopher Jeffrey
|
8e698673a0
|
fix typo. emit resolved entries.
|
2016-01-05 14:25:14 -08:00 |
|
Christopher Jeffrey
|
d0d5ab2c3b
|
add mempool packet. miner refactor.
|
2016-01-05 12:46:30 -08:00 |
|
Christopher Jeffrey
|
0a97cebf25
|
improve getblocks download, spv chain, and events.
|
2016-01-04 18:22:42 -08:00 |
|
Christopher Jeffrey
|
0f8819c78e
|
minor fixes. refactor timestamps.
|
2016-01-04 04:12:26 -08:00 |
|
Christopher Jeffrey
|
484b1f2817
|
use getheaders.
|
2016-01-03 06:47:27 -08:00 |
|
Christopher Jeffrey
|
146e50dc68
|
add fullnode chain. improve pool.
|
2016-01-01 17:41:13 -08:00 |
|
Christopher Jeffrey
|
22427fe78f
|
stop saving block height on blocks.
|
2015-12-29 18:35:30 -08:00 |
|
Christopher Jeffrey
|
43b0533a18
|
minor improvements and fixes.
|
2015-12-27 23:54:53 -08:00 |
|
Christopher Jeffrey
|
afcb89f76f
|
block and tx getters. coinbase height. multisig input test.
|
2015-12-24 13:19:29 -08:00 |
|
Christopher Jeffrey
|
42d872b268
|
calculate block reward.
|
2015-12-24 00:34:31 -08:00 |
|
Christopher Jeffrey
|
f68750991d
|
add block.reward. add coinbase data to into. failsafe for getFee.
|
2015-12-23 05:33:48 -08:00 |
|
Christopher Jeffrey
|
b3f457ee31
|
improve locktime checks and coinbase parsing.
|
2015-12-23 02:34:51 -08:00 |
|
Christopher Jeffrey
|
47618898c7
|
minor.
|
2015-12-22 20:11:09 -08:00 |
|
Christopher Jeffrey
|
3d417f48df
|
improve coinbase height check.
|
2015-12-22 20:07:20 -08:00 |
|
Christopher Jeffrey
|
618177b6a6
|
grab block height from the coinbase script.
|
2015-12-22 19:30:32 -08:00 |
|
Christopher Jeffrey
|
07a1322749
|
inspect methods. better data parsing. expose modules.
|
2015-12-22 19:27:36 -08:00 |
|
Christopher Jeffrey
|
b522aa2b06
|
handle merkleblock vs block better.
|
2015-12-22 15:03:17 -08:00 |
|
Christopher Jeffrey
|
1c8604477f
|
improve script type tests. improve input/output data.
|
2015-12-22 14:50:07 -08:00 |
|
Christopher Jeffrey
|
d3e4dfaf5c
|
fix some getters. move getInputData and getOutputData. wallet.toAddress.
|
2015-12-22 06:21:01 -08:00 |
|
Christopher Jeffrey
|
68c16b214a
|
add rblock and rhash helpers.
|
2015-12-22 02:15:33 -08:00 |
|
Christopher Jeffrey
|
52b653083c
|
add features potentially useful for blockchain explorers.
|
2015-12-21 20:00:13 -08:00 |
|
Christopher Jeffrey
|
b20bcf701b
|
fix private key encryption. style changes.
|
2015-12-19 14:00:23 -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
|
4984c306b9
|
minor: function name.
|
2015-12-18 15:44:15 -08:00 |
|
Christopher Jeffrey
|
5942209f41
|
pass size into block and tx for maxsize checks.
|
2015-12-18 15:41:34 -08:00 |
|
Christopher Jeffrey
|
5791672c07
|
pass _network to tx. script debugging. tx filled total.
|
2015-12-18 13:01:23 -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
|
4e7dbae829
|
fix: minor fixes to block framer and block.
|
2014-06-24 01:08:44 -05:00 |
|
Christopher Jeffrey
|
73ea21a903
|
minor: style - move block json functions to bottom of the file.
|
2014-06-24 00:59:39 -05:00 |
|
Christopher Jeffrey
|
5e3e72ba4c
|
minor: more style concerns.
|
2014-06-24 00:57:46 -05:00 |
|
Christopher Jeffrey
|
841bf86d7d
|
block: fix for style conventions.
|
2014-06-03 09:45:53 -05:00 |
|
Christopher Jeffrey
|
566b2e9916
|
parser: fix minimum block size.
|
2014-06-02 03:14:44 -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
|
2d7599d2d3
|
block: use utils.dsha256 instead of hash.js for merkle tree building.
|
2014-05-24 01:19:32 -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 |
|
Christopher Jeffrey
|
f4dbc0ee33
|
parser: parse transactions in regular blocks.
|
2014-05-23 10:05:46 -05:00 |
|
Christopher Jeffrey
|
db69c882f2
|
block: add block tests. frame correct version for blocks.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-19 00:21:41 +04:00 |
|
Christopher Jeffrey
|
745473784f
|
block: style concerns. fix type variable.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-19 00:21:41 +04:00 |
|
Christopher Jeffrey
|
810e4f5ea7
|
block: add toJSON and fromJSON to Block.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-19 00:21:41 +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
|
3998146046
|
block: avoid error by ensuring hashes and flags for non-merkleblocks.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-18 21:00:55 +04:00 |
|
Fedor Indutny
|
d49b04158f
|
block: validate partial merkle tree
|
2014-05-10 19:45:03 +04:00 |
|
Fedor Indutny
|
cdd3dbefb1
|
lib: use TX instead of Tx everywhere
|
2014-05-06 15:02:09 +04:00 |
|
Fedor Indutny
|
f185574442
|
lib: save progress
|
2014-05-03 23:55:38 +04:00 |
|
Fedor Indutny
|
40ea4d1fb1
|
tx: parse
|
2014-05-03 17:46:15 +04:00 |
|
Fedor Indutny
|
cd3f04268a
|
block: verify
|
2014-05-03 16:51:16 +04:00 |
|
Fedor Indutny
|
9e0808eb39
|
pool: wip
|
2014-05-02 13:40:59 +04:00 |
|
Fedor Indutny
|
6cb1594424
|
lib: save progress
|
2014-04-30 21:45:55 +04:00 |
|
Fedor Indutny
|
a20cb1688f
|
wip
|
2014-04-30 12:44:59 +04:00 |
|