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 |
|
Christopher Jeffrey
|
22e092d6b8
|
fix and test hd keys.
|
2015-12-08 16:36:47 -08:00 |
|
Christopher Jeffrey
|
5f8ad78e4d
|
have tx.verify handle p2sh correctly.
|
2015-12-08 14:54:21 -08:00 |
|
Christopher Jeffrey
|
adbb0099a1
|
add checklocktimeverify. pass in tx and input to execute() instead of using hasher callback.
|
2015-12-08 11:24:22 -08:00 |
|
Christopher Jeffrey
|
7016991366
|
order keys and signatures for multisig correctly.
|
2015-12-07 19:18:37 -08:00 |
|
Christopher Jeffrey
|
77623bb8d6
|
remove useless code.
|
2015-12-07 16:34:44 -08:00 |
|
Christopher Jeffrey
|
a1fea2bd65
|
scriptOutput: move "p2shify".
|
2015-12-07 15:55:31 -08:00 |
|
Christopher Jeffrey
|
37e1c8a2ef
|
formatting changes.
|
2015-12-07 15:51:15 -08:00 |
|
Christopher Jeffrey
|
b1e7cde3dd
|
improve script functionality and usage.
|
2015-12-07 15:39:18 -08:00 |
|
Christopher Jeffrey
|
cf20326e98
|
verify sighash types other than all.
|
2015-12-07 14:22:25 -08:00 |
|
Christopher Jeffrey
|
1804acc77c
|
tests passing.
|
2015-12-07 14:02:25 -08:00 |
|
Christopher Jeffrey
|
3d9d6be23c
|
use this.m for nsigs.
|
2015-12-07 11:04:23 -08:00 |
|
Christopher Jeffrey
|
d7bc48fc2e
|
move wallet.fill to tx object.
|
2015-12-07 11:00:58 -08:00 |
|
Christopher Jeffrey
|
ae394fad11
|
improve tx.maxSize for p2sh and multisig.
|
2015-12-05 20:54:18 -08:00 |
|
Christopher Jeffrey
|
6295642f20
|
remove useless if statement.
|
2015-12-05 20:23:33 -08:00 |
|
Christopher Jeffrey
|
4f76b9f18c
|
fix scriptInput/signInput for multisig/p2sh.
|
2015-12-05 19:02:44 -08:00 |
|
Christopher Jeffrey
|
a2f13d94c3
|
fix address problems. update elliptic to 3.0.3.
|
2015-12-05 03:40:11 -08:00 |
|
Christopher Jeffrey
|
505aad8729
|
improve/fix p2sh. move input signing functionality to tx object.
|
2015-12-05 03:01:37 -08:00 |
|
Christopher Jeffrey
|
acbe4d0c2e
|
remove wallet.signEmpty and tx.signature for now.
|
2015-12-05 00:01:59 -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
|
296f95b27b
|
tx: fix global variable assignment.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
|
2014-05-18 21:00:55 +04:00 |
|
Fedor Indutny
|
dfdc69aa3a
|
lib: remove heavy modules
|
2014-05-11 14:27:05 +04:00 |
|
Fedor Indutny
|
2c36c8692a
|
wallet: .fill()
|
2014-05-11 01:43:20 +04:00 |
|
Fedor Indutny
|
ee9037e19a
|
lib: jshint
|
2014-05-10 22:43:15 +04:00 |
|
Fedor Indutny
|
169be71d79
|
tx: store as JSON
|
2014-05-10 20:22:35 +04:00 |
|
Fedor Indutny
|
4b6eeeea66
|
tx-pool: ignore and remove stale transactions
|
2014-05-10 19:47:30 +04:00 |
|
Fedor Indutny
|
d49b04158f
|
block: validate partial merkle tree
|
2014-05-10 19:45:03 +04:00 |
|
Fedor Indutny
|
50ed590c30
|
tx: .inputAddrs()
|
2014-05-10 13:04:22 +04:00 |
|
Fedor Indutny
|
2e3fb9a7a3
|
tx-pool: verify all signatures
|
2014-05-10 12:28:49 +04:00 |
|
Fedor Indutny
|
86088f8ae9
|
tx-pool: ignore invalid orphans
|
2014-05-10 11:41:27 +04:00 |
|
Fedor Indutny
|
0efe2e2021
|
script: fix verification of multisig
|
2014-05-10 10:39:20 +04:00 |
|
Fedor Indutny
|
2ee4c7cd3a
|
tx-pool: save spending TXs
|
2014-05-09 21:30:55 +04:00 |
|
Fedor Indutny
|
cf2e0042ff
|
tx: .maxSize() method
|
2014-05-09 15:51:58 +04:00 |
|
Fedor Indutny
|
d4f11676c7
|
tx: encode as hex
|
2014-05-09 15:00:50 +04:00 |
|
Fedor Indutny
|
26516085f2
|
lib: update bn.js and elliptic
|
2014-05-09 03:53:57 +04:00 |
|
Fedor Indutny
|
048bca0b8a
|
wallet: store timestamp of transactions
|
2014-05-08 20:25:12 +04:00 |
|
Fedor Indutny
|
a6be7bf5f7
|
lib: JSON serialization for everyone
|
2014-05-06 21:33:05 +04:00 |
|
Fedor Indutny
|
69f3e85e37
|
tx-pool: initial
|
2014-05-06 16:25:46 +04:00 |
|
Fedor Indutny
|
f139ce2d91
|
wallet: multisig signing
|
2014-05-06 14:58:51 +04:00 |
|
Fedor Indutny
|
fa48b02d96
|
tx: remove .inputTx() method
|
2014-05-06 14:06:17 +04:00 |
|
Fedor Indutny
|
fb651d703e
|
wallet: use compressed public key
|
2014-05-05 17:39:22 +04:00 |
|
Fedor Indutny
|
4328d7c3ec
|
wip
|
2014-05-05 13:46:29 +04:00 |
|
Fedor Indutny
|
c5d7d7f5f2
|
tx: test verification
|
2014-05-05 04:42:12 +04:00 |
|
Fedor Indutny
|
113e7dcdc3
|
tx: fix verification
|
2014-05-05 04:30:39 +04:00 |
|
Fedor Indutny
|
9fd54758a2
|
tx: wip sign/verify
|
2014-05-05 03:14:31 +04:00 |
|
Fedor Indutny
|
471a78b0fa
|
wallet: wip sign
|
2014-05-05 01:58:48 +04:00 |
|
Fedor Indutny
|
458e606359
|
wip
|
2014-05-04 23:24:32 +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
|
6cb1594424
|
lib: save progress
|
2014-04-30 21:45:55 +04:00 |
|
Fedor Indutny
|
a20cb1688f
|
wip
|
2014-04-30 12:44:59 +04:00 |
|