Christopher Jeffrey
|
da19b6da29
|
add regular addresses to addressMap.
|
2016-02-12 13:55:21 -08:00 |
|
Christopher Jeffrey
|
697718c940
|
drop fee recalculation.
|
2016-02-12 04:04:18 -08:00 |
|
Christopher Jeffrey
|
016c85f8b5
|
fill refactor. accurate fee calculation.
|
2016-02-12 03:54:02 -08:00 |
|
Christopher Jeffrey
|
686dcbcdd9
|
minor fixes.
|
2016-02-12 01:20:05 -08:00 |
|
Christopher Jeffrey
|
a788f151b1
|
increment depths on sync.
|
2016-02-11 02:56:07 -08:00 |
|
Christopher Jeffrey
|
d445fb7943
|
option parsing.
|
2016-02-11 02:52:27 -08:00 |
|
Christopher Jeffrey
|
173e133bf4
|
minor keypair fix.
|
2016-02-11 01:44:34 -08:00 |
|
Christopher Jeffrey
|
4a6c73fc8e
|
refactor signing.
|
2016-02-11 01:29:35 -08:00 |
|
Christopher Jeffrey
|
b963809318
|
minor.
|
2016-02-10 21:39:44 -08:00 |
|
Christopher Jeffrey
|
501abbab45
|
another wallet rewrite.
|
2016-02-10 21:06:25 -08:00 |
|
Christopher Jeffrey
|
6cc4c866dc
|
wallet refactor. fixes.
|
2016-02-10 16:42:02 -08:00 |
|
Christopher Jeffrey
|
58a859267c
|
more tx-pool consistency.
|
2016-02-07 07:18:19 -08:00 |
|
Christopher Jeffrey
|
7d17dd855f
|
utils.cmp. tx-pool improvements.
|
2016-02-07 06:39:58 -08:00 |
|
Christopher Jeffrey
|
1761266ba9
|
improve tx-pool.
|
2016-02-06 19:10:40 -08:00 |
|
Christopher Jeffrey
|
7bb20437bc
|
refactor tx instantiation.
|
2016-02-06 17:12:16 -08:00 |
|
Christopher Jeffrey
|
769b50c999
|
rename output.prev to coin.
|
2016-02-06 16:16:02 -08:00 |
|
Christopher Jeffrey
|
274c6e6864
|
use utxo object instead of tx refs.
|
2016-02-06 04:54:38 -08:00 |
|
Christopher Jeffrey
|
18f0a55779
|
refactor tx.
|
2016-02-05 22:46:04 -08:00 |
|
Christopher Jeffrey
|
7de73c670c
|
pass index around.
|
2016-02-05 03:59:30 -08:00 |
|
Christopher Jeffrey
|
51b0d83444
|
remove _deriveKey
|
2016-02-05 03:50:02 -08:00 |
|
Christopher Jeffrey
|
84551e17e2
|
paths. scanning. unspents.
|
2016-02-05 03:44:42 -08:00 |
|
Christopher Jeffrey
|
b835fff86c
|
hd keys. address pruning. txpool balance.
|
2016-02-04 18:58:56 -08:00 |
|
Christopher Jeffrey
|
a367674584
|
more keypair stuff.
|
2016-02-04 03:33:15 -08:00 |
|
Christopher Jeffrey
|
99fac69127
|
keypair improvements.
|
2016-02-04 03:30:12 -08:00 |
|
Christopher Jeffrey
|
1ee4e556b0
|
more fixes.
|
2016-02-04 02:54:02 -08:00 |
|
Christopher Jeffrey
|
fa22c79dbe
|
hd and wallet work.
|
2016-02-04 02:44:16 -08:00 |
|
Christopher Jeffrey
|
517a5d488b
|
cleanup
|
2016-02-03 21:49:32 -08:00 |
|
Christopher Jeffrey
|
cf50502238
|
more fixes.
|
2016-02-03 21:46:02 -08:00 |
|
Christopher Jeffrey
|
97bcdd79c2
|
minor fixes
|
2016-02-03 21:35:07 -08:00 |
|
Christopher Jeffrey
|
c23fdeba50
|
improvements.
|
2016-02-03 21:21:08 -08:00 |
|
Christopher Jeffrey
|
eacd1e2ece
|
bip45 wallet
|
2016-02-03 19:46:02 -08:00 |
|
Christopher Jeffrey
|
e0ab0ab88d
|
minor changes/fixes.
|
2016-02-03 02:09:03 -08:00 |
|
Christopher Jeffrey
|
f6fe37be6b
|
improve address.ownInput.
|
2016-02-02 19:41:47 -08:00 |
|
Christopher Jeffrey
|
13d14b0130
|
tx: add bip69 sorting.
|
2016-02-02 17:57:38 -08:00 |
|
Christopher Jeffrey
|
2deccde29e
|
wallet work. consistency.
|
2016-02-02 16:09:48 -08:00 |
|
Christopher Jeffrey
|
f3fd85354e
|
wallet/keypair: fixes.
|
2016-02-02 13:43:43 -08:00 |
|
Christopher Jeffrey
|
156601e40a
|
createTX. hd fixes.
|
2016-02-02 02:50:36 -08:00 |
|
Christopher Jeffrey
|
42e17bc0f2
|
rewrite wallet. allow multiple addresses. utilize hd.
|
2016-02-01 21:37:06 -08:00 |
|
Christopher Jeffrey
|
6ad621cace
|
api: rename methods, properties. add legacy support.
|
2016-02-01 11:50:09 -08:00 |
|
Christopher Jeffrey
|
999cfefe54
|
more pool work. wallet.fill().
|
2016-02-01 10:54:52 -08:00 |
|
Christopher Jeffrey
|
f6dc42924b
|
global debugging. script.isEncoded.
|
2016-01-20 12:25:19 -08:00 |
|
Christopher Jeffrey
|
c8da41aa9d
|
toJSON fixes.
|
2016-01-18 17:12:20 -08:00 |
|
Christopher Jeffrey
|
d2205241ee
|
wallet key format.
|
2016-01-18 16:16:00 -08:00 |
|
Christopher Jeffrey
|
3745577837
|
standard opcodes. remove tx methods.
|
2016-01-17 15:52:09 -08:00 |
|
Christopher Jeffrey
|
b9041a0157
|
sign unknown txs.
|
2016-01-16 04:50:33 -08:00 |
|
Christopher Jeffrey
|
c94457cf1f
|
more tx refactoring.
|
2016-01-12 05:15:22 -08:00 |
|
Christopher Jeffrey
|
b77314dd0f
|
signature work. script function renames. add wallet.fillTX/tx.fill.
|
2016-01-11 15:20:44 -08:00 |
|
Christopher Jeffrey
|
cf5a117a3e
|
fixes and improvements. allow arbitrary redeem scripts for wallet.
|
2016-01-11 00:10:31 -08:00 |
|
Christopher Jeffrey
|
442c984c12
|
improve p2sh building. change wallet key/redeem methods.
|
2016-01-10 21:43:52 -08:00 |
|
Christopher Jeffrey
|
eb1a3ea6d2
|
transaction improvements.
|
2016-01-10 04:58:03 -08:00 |
|
Christopher Jeffrey
|
0b7ca266ee
|
tx/script refactor and improvements.
|
2016-01-09 19:02:19 -08:00 |
|
Christopher Jeffrey
|
314c14f422
|
input/output consistency. misc.
|
2016-01-09 13:22:08 -08:00 |
|
Christopher Jeffrey
|
6b10fabc5f
|
tx refactor. etc.
|
2016-01-08 19:27:00 -08:00 |
|
Christopher Jeffrey
|
d56f7a3733
|
even more bufffer work.
|
2016-01-08 04:11:46 -08:00 |
|
Christopher Jeffrey
|
df420a4a8b
|
refactor. work.
|
2016-01-08 02:22:35 -08:00 |
|
Christopher Jeffrey
|
afcb89f76f
|
block and tx getters. coinbase height. multisig input test.
|
2015-12-24 13:19:29 -08:00 |
|
Christopher Jeffrey
|
389ee296b0
|
improve tx building. minor style fixes. utils.uniq.
|
2015-12-23 16:24:29 -08:00 |
|
Christopher Jeffrey
|
d32a951f37
|
fix isMultisig: compare to n value.
|
2015-12-23 11:45:43 -08:00 |
|
Christopher Jeffrey
|
d3e4dfaf5c
|
fix some getters. move getInputData and getOutputData. wallet.toAddress.
|
2015-12-22 06:21:01 -08:00 |
|
Christopher Jeffrey
|
500f079632
|
fix script arithmetic, op_verify, and wallet.fillUnspent.
|
2015-12-21 11:26:13 -08:00 |
|
Christopher Jeffrey
|
d28716c98d
|
use regular addresses for wallet prefix.
|
2015-12-20 19:35:56 -08:00 |
|
Christopher Jeffrey
|
87d4d4b0ad
|
refactor script and wallet. better redeem script error.
|
2015-12-20 16:08:00 -08:00 |
|
Christopher Jeffrey
|
c0d0423f14
|
hd/wallet: minor.
|
2015-12-20 13:29:39 -08:00 |
|
Christopher Jeffrey
|
93e42e90a1
|
drop old fee and dust constants. style.
|
2015-12-20 01:50:18 -08:00 |
|
Christopher Jeffrey
|
a50ee3e0ba
|
remove wallet.getPublicKeys().
|
2015-12-20 01:45:17 -08:00 |
|
Christopher Jeffrey
|
1db84a0528
|
wallet json and prefix. style. cleanup.
|
2015-12-20 01:43:09 -08:00 |
|
Christopher Jeffrey
|
61699cca3a
|
style: function names.
|
2015-12-19 15:43:28 -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
|
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
|
efe1181bc1
|
move key sorting to utils.
|
2015-12-17 17:23:33 -08:00 |
|
Christopher Jeffrey
|
6abfc10a28
|
improve input checks with keys/hashes/redeemscript.
|
2015-12-17 16:53:35 -08:00 |
|
Christopher Jeffrey
|
5e89aedf0b
|
improve input testing.
|
2015-12-17 16:06:08 -08:00 |
|
Christopher Jeffrey
|
3e608c2cc6
|
script and standard transaction types. prefixes.
|
2015-12-17 16:06:08 -08:00 |
|
Christopher Jeffrey
|
b0a3a0e853
|
utils. minor fixes. wallet functions.
|
2015-12-14 14:00:06 -08:00 |
|
Christopher Jeffrey
|
c251def27c
|
wallet: multisig key handling. prefixes. to/fromJSON.
|
2015-12-10 17:45:56 -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
|
ef1244442f
|
check for network on fromJSON.
|
2015-12-09 16:32:01 -08:00 |
|
Christopher Jeffrey
|
57491aaadc
|
add network.js and testnet support. see #40.
|
2015-12-09 16:25:55 -08:00 |
|
Christopher Jeffrey
|
89f2a0dcc3
|
formatting. make use of helpers in hd.
|
2015-12-09 10:40:33 -08:00 |
|
Christopher Jeffrey
|
8a33f2efa1
|
add getFullPublicKey/getOwnPublicKey and use appropriately.
|
2015-12-08 19:42:12 -08:00 |
|
Christopher Jeffrey
|
22e092d6b8
|
fix and test hd keys.
|
2015-12-08 16:36:47 -08:00 |
|
Christopher Jeffrey
|
e4cfa878f1
|
multisig options.
|
2015-12-08 15:02:32 -08:00 |
|
Christopher Jeffrey
|
7016991366
|
order keys and signatures for multisig correctly.
|
2015-12-07 19:18:37 -08:00 |
|
Christopher Jeffrey
|
b1e7cde3dd
|
improve script functionality and usage.
|
2015-12-07 15:39:18 -08:00 |
|
Christopher Jeffrey
|
1804acc77c
|
tests passing.
|
2015-12-07 14:02:25 -08:00 |
|
Christopher Jeffrey
|
9241a6660e
|
remove old wallet.fill and wallet.sign.
|
2015-12-07 11:02:50 -08:00 |
|
Christopher Jeffrey
|
d7bc48fc2e
|
move wallet.fill to tx object.
|
2015-12-07 11:00:58 -08:00 |
|
Christopher Jeffrey
|
4f76b9f18c
|
fix scriptInput/signInput for multisig/p2sh.
|
2015-12-05 19:02:44 -08:00 |
|
Christopher Jeffrey
|
c96a12bf2e
|
fix validateAddress. cleanup.
|
2015-12-05 04:59:18 -08:00 |
|
Christopher Jeffrey
|
46a5ca7500
|
minor fix for wallet.fill.
|
2015-12-05 04:18:21 -08:00 |
|
Christopher Jeffrey
|
916fca9c2f
|
update hash.js. use for sha512-hmacs.
|
2015-12-05 04:16:41 -08:00 |
|
Christopher Jeffrey
|
40fca0dda8
|
remove noSign and getChange for now.
|
2015-12-05 03:55:08 -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
|
377e156874
|
fix m, n, publicKeys in wallet constructor.
|
2015-12-05 01:03:51 -08:00 |
|