Christopher Jeffrey
|
0f8819c78e
|
minor fixes. refactor timestamps.
|
2016-01-04 04:12:26 -08:00 |
|
Christopher Jeffrey
|
3e5995f741
|
fix tx pool addition and tx verification.
|
2016-01-03 01:34:50 -08:00 |
|
Christopher Jeffrey
|
a4084d8252
|
more chain methods.
|
2016-01-01 18:32:15 -08:00 |
|
Christopher Jeffrey
|
3625a4f4c9
|
minor fixes.
|
2015-12-30 14:34:16 -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
|
b14c4daee0
|
refactor tx.utxos().
|
2015-12-23 18:31:31 -08:00 |
|
Christopher Jeffrey
|
389ee296b0
|
improve tx building. minor style fixes. utils.uniq.
|
2015-12-23 16:24:29 -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
|
2f6f3e11b1
|
Revert "use big numbers when calculating fee."
This reverts commit a057dc4064.
|
2015-12-23 02:42:57 -08:00 |
|
Christopher Jeffrey
|
a057dc4064
|
use big numbers when calculating fee.
|
2015-12-23 02:42:36 -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
|
a17fe6fe5f
|
use dynamic input and output objects.
|
2015-12-22 05:00:55 -08:00 |
|
Christopher Jeffrey
|
a91f245e86
|
add types to data. aliases for utils.
|
2015-12-22 04:03:15 -08:00 |
|
Christopher Jeffrey
|
eb6a9fc20d
|
make data easier to extract from inputs and outputs.
|
2015-12-22 03:22:49 -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
|
87d4d4b0ad
|
refactor script and wallet. better redeem script error.
|
2015-12-20 16:08:00 -08:00 |
|
Christopher Jeffrey
|
1db84a0528
|
wallet json and prefix. style. cleanup.
|
2015-12-20 01:43:09 -08:00 |
|
Christopher Jeffrey
|
6411ec8914
|
fix p2sh multisig verification.
|
2015-12-19 01:43:34 -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
|
6ae273f84d
|
tx.verify: compare top stack item against zero instead of one.
|
2015-12-18 15:43:17 -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
|
d109eaba6c
|
handle reject packet.
|
2015-12-17 19:47:20 -08:00 |
|
Christopher Jeffrey
|
135208910d
|
always set nSequence to zero when nLockTime is present.
|
2015-12-17 18:33:27 -08:00 |
|
Christopher Jeffrey
|
1e0a153b59
|
do not overwrite lockTime input by user.
|
2015-12-17 17:58:09 -08:00 |
|
Christopher Jeffrey
|
7f70b573c1
|
enforce checklocktimeverify for nLockTime when adding input. tx.prevOut method.
|
2015-12-17 17:56:46 -08:00 |
|
Christopher Jeffrey
|
5b68ec0b3e
|
add option for colored coin output creation.
|
2015-12-17 17:31:37 -08:00 |
|
Christopher Jeffrey
|
b74e8de067
|
input tests. function names. getInputKey/getOutputKey.
|
2015-12-17 17:14:41 -08:00 |
|
Christopher Jeffrey
|
6abfc10a28
|
improve input checks with keys/hashes/redeemscript.
|
2015-12-17 16:53:35 -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
|
c44ea0090f
|
implement sighash_single bug.
|
2015-12-15 01:41:44 -08:00 |
|
Christopher Jeffrey
|
1b07d6e906
|
minor cleanup.
|
2015-12-15 01:23:49 -08:00 |
|
Christopher Jeffrey
|
c68ab4ee7d
|
implement all sighash types. add hasUnspent().
|
2015-12-15 01:22:24 -08:00 |
|
Christopher Jeffrey
|
b0a3a0e853
|
utils. minor fixes. wallet functions.
|
2015-12-14 14:00:06 -08:00 |
|
Christopher Jeffrey
|
5c1606985a
|
outputScript() consistency.
|
2015-12-10 18:02:47 -08:00 |
|
Christopher Jeffrey
|
1caa0804d9
|
add getKey functions to TX.
|
2015-12-10 17:54:34 -08:00 |
|
Christopher Jeffrey
|
d7eea0941e
|
add less-than-dust to fee. recalculate fee after input scripts are templated.
|
2015-12-10 13:52:34 -08:00 |
|
Christopher Jeffrey
|
3f44538b46
|
remove commented code. error consistency.
|
2015-12-10 02:28:57 -08:00 |
|
Christopher Jeffrey
|
3dec18c2c7
|
wallet/tx/script: n limit. refactor multisig options.
|
2015-12-10 02:25:44 -08:00 |
|
Christopher Jeffrey
|
f9186d785a
|
ensure p2sh inputs have only push ops (do the same for raw multisig?).
|
2015-12-09 14:35:47 -08:00 |
|
Christopher Jeffrey
|
690fe7163a
|
better handling of [] when it is OP_0.
|
2015-12-09 12:42:45 -08:00 |
|
Christopher Jeffrey
|
2412c0999b
|
potential tx.verify fix.
|
2015-12-09 11:56:08 -08:00 |
|