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
|
28a2cab787
|
add bip45 to hd.js.
|
2016-02-03 13:22:43 -08:00 |
|
Christopher Jeffrey
|
e0ab0ab88d
|
minor changes/fixes.
|
2016-02-03 02:09:03 -08:00 |
|
Christopher Jeffrey
|
3158f57e0f
|
fix tx.render() and avoidFeeSnipping().
|
2016-02-02 20:28:35 -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
|
f9d960ca23
|
api: more method renames. legacy support. docs.
|
2016-02-01 11:57:40 -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
|
1e027220c3
|
pool: refactor.
|
2016-01-31 00:57:34 -08:00 |
|
Christopher Jeffrey
|
b0ee614432
|
misc sync fixes.
|
2016-01-31 00:50:13 -08:00 |
|
Christopher Jeffrey
|
5ab48378cc
|
fix addTX.
|
2016-01-30 02:34:35 -08:00 |
|
Christopher Jeffrey
|
a99725f8ff
|
pool: remove old functions.
|
2016-01-30 02:31:15 -08:00 |
|
Christopher Jeffrey
|
8447790a84
|
remove peer backoff system.
|
2016-01-30 02:21:00 -08:00 |
|
Christopher Jeffrey
|
f59a1f887b
|
increase requestTimeout.
|
2016-01-30 02:13:28 -08:00 |
|
Christopher Jeffrey
|
60c3db7cb9
|
better request handling.
|
2016-01-29 18:58:41 -08:00 |
|
Christopher Jeffrey
|
e8cb2102a3
|
work
|
2016-01-29 17:38:31 -08:00 |
|
Christopher Jeffrey
|
41516b4866
|
better system for avoiding duplicate txs.
|
2016-01-29 16:08:33 -08:00 |
|
Christopher Jeffrey
|
3959b9cf5d
|
only emit new transactions.
|
2016-01-29 16:00:40 -08:00 |
|
Christopher Jeffrey
|
1115468f05
|
fix typos.
|
2016-01-29 15:56:22 -08:00 |
|
Christopher Jeffrey
|
e8815f3e6b
|
version packet: minor.
|
2016-01-29 15:35:09 -08:00 |
|
Christopher Jeffrey
|
c6f91ddd69
|
minor fixes for tx requesting.
|
2016-01-29 15:32:41 -08:00 |
|
Christopher Jeffrey
|
e880dc5a5c
|
pool._addTX to prevent duplicate requests.
|
2016-01-29 14:51:36 -08:00 |
|
Christopher Jeffrey
|
7ce5348cd9
|
debug messages.
|
2016-01-29 14:45:08 -08:00 |
|
Christopher Jeffrey
|
32c0f8ce3c
|
do not request duplicate txs.
|
2016-01-29 14:44:43 -08:00 |
|
Christopher Jeffrey
|
b4abeceac3
|
handle requesting directly by peer.
|
2016-01-29 13:53:51 -08:00 |
|
Christopher Jeffrey
|
294e5a5b37
|
mark txs as in-flight.
|
2016-01-29 13:10:06 -08:00 |
|
Christopher Jeffrey
|
9ada551b28
|
auto request txs.
|
2016-01-29 13:00:29 -08:00 |
|
Christopher Jeffrey
|
3fc7272780
|
fix typo.
|
2016-01-29 12:46:25 -08:00 |
|
Christopher Jeffrey
|
ef3f8f37db
|
no priority on inspection.
|
2016-01-29 12:45:05 -08:00 |
|
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
|
07ddae9d33
|
misc fixes and improvements.
|
2016-01-27 19:43:24 -08:00 |
|
Christopher Jeffrey
|
4cc9b93fdd
|
fix resetHeight.
|
2016-01-27 11:01:45 -08:00 |
|
Christopher Jeffrey
|
5dce1427ba
|
raw blocks. pool fixes.
|
2016-01-25 15:40:53 -08:00 |
|
Christopher Jeffrey
|
b98640b27e
|
drop preload constants.
|
2016-01-25 13:46:40 -08:00 |
|
Christopher Jeffrey
|
f3980ca029
|
deprecate chain.getTip().
|
2016-01-25 11:58:22 -08:00 |
|
Christopher Jeffrey
|
e7d0ea81f9
|
block and tx methods.
|
2016-01-24 16:01:29 -08:00 |
|
Christopher Jeffrey
|
0d7929136a
|
fix getChainwork.
|
2016-01-23 22:00:19 -08:00 |
|
Christopher Jeffrey
|
7526beace0
|
chaindb: minor.
|
2016-01-23 19:36:34 -08:00 |
|
Christopher Jeffrey
|
9a60ae8e50
|
add back old peer seed code.
|
2016-01-22 18:35:13 -08:00 |
|
Christopher Jeffrey
|
ef09a776fe
|
cleanup old tries code.
|
2016-01-22 18:11:40 -08:00 |
|
Christopher Jeffrey
|
9476f7f70a
|
remove peer "tries" system.
|
2016-01-22 18:09:26 -08:00 |
|
Christopher Jeffrey
|
9b266c6ec7
|
minor.
|
2016-01-21 18:28:46 -08:00 |
|
Christopher Jeffrey
|
cdfe7b6ec5
|
add assert.
|
2016-01-21 18:10:04 -08:00 |
|
Christopher Jeffrey
|
93e0fe95d0
|
chaindb: back to async writes.
|
2016-01-21 14:35:13 -08:00 |
|
Christopher Jeffrey
|
32109c5de5
|
chaindb: error handling.
|
2016-01-21 14:31:32 -08:00 |
|
Christopher Jeffrey
|
a459d190aa
|
use async writes.
|
2016-01-21 14:10:01 -08:00 |
|
Christopher Jeffrey
|
cb73ab908e
|
chaindb: add allocator.
|
2016-01-21 14:01:32 -08:00 |
|
Christopher Jeffrey
|
7c2171966c
|
chaindb: minor fixes.
|
2016-01-21 13:43:04 -08:00 |
|
Christopher Jeffrey
|
8f3667b866
|
check range for search.
|
2016-01-21 04:22:37 -08:00 |
|
Christopher Jeffrey
|
34a44fe391
|
chaindb: async loading.
|
2016-01-21 04:10:21 -08:00 |
|
Christopher Jeffrey
|
c5bc356bc9
|
add getAsync.
|
2016-01-21 03:58:33 -08:00 |
|
Christopher Jeffrey
|
b65ed25b29
|
chaindb: fix async.
|
2016-01-21 03:48:39 -08:00 |
|
Christopher Jeffrey
|
b273bec120
|
chaindb: checksum.
|
2016-01-21 03:39:36 -08:00 |
|
Christopher Jeffrey
|
ef51f4f842
|
chaindb: recovery.
|
2016-01-21 03:24:29 -08:00 |
|
Christopher Jeffrey
|
c950a30330
|
chaindb: better loading.
|
2016-01-21 02:23:01 -08:00 |
|
Christopher Jeffrey
|
495dda79ef
|
fix assert.
|
2016-01-21 02:02:44 -08:00 |
|
Christopher Jeffrey
|
18f1412ba7
|
rename functions.
|
2016-01-21 01:58:21 -08:00 |
|
Christopher Jeffrey
|
95ff41dde9
|
move saveAsync elsewhere.
|
2016-01-21 01:56:01 -08:00 |
|
Christopher Jeffrey
|
c3943c0111
|
chaindb. avoid buffered writes.
|
2016-01-21 01:50:22 -08:00 |
|
Christopher Jeffrey
|
dd4660eb15
|
chaindb: cleanup. remove old functionality.
|
2016-01-21 01:40:40 -08:00 |
|
Christopher Jeffrey
|
92619d408e
|
chaindb/pool: fixes. work.
|
2016-01-21 01:28:59 -08:00 |
|
Christopher Jeffrey
|
9a575e9a26
|
chain: use binary search for byTime.
|
2016-01-20 22:32:32 -08:00 |
|
Christopher Jeffrey
|
423b52b0b7
|
chaindb: minor.
|
2016-01-20 21:14:50 -08:00 |
|
Christopher Jeffrey
|
f62cf7dc6e
|
chaindb: use buffers.
|
2016-01-20 20:10:05 -08:00 |
|
Christopher Jeffrey
|
d5d3dd69e2
|
chaindb: minor improvements.
|
2016-01-20 20:06:43 -08:00 |
|
Christopher Jeffrey
|
43a365962b
|
cleanup chain db. fixes.
|
2016-01-20 19:56:47 -08:00 |
|
Christopher Jeffrey
|
f6a35d0810
|
more chain db work.
|
2016-01-20 18:18:27 -08:00 |
|
Christopher Jeffrey
|
c111d673e7
|
blockchain db.
|
2016-01-20 17:40:51 -08:00 |
|
Christopher Jeffrey
|
e461e44303
|
save memory by not storing prevBlock.
|
2016-01-20 13:58:11 -08:00 |
|
Christopher Jeffrey
|
ef44bf44f0
|
more debugging.
|
2016-01-20 13:35:16 -08:00 |
|
Christopher Jeffrey
|
271ca1aa52
|
better fork handling for peers.
|
2016-01-20 12:48:31 -08:00 |
|
Christopher Jeffrey
|
704c95c90d
|
add tx.getPriority and tx.isFree.
|
2016-01-20 12:31:47 -08:00 |
|
Christopher Jeffrey
|
f6dc42924b
|
global debugging. script.isEncoded.
|
2016-01-20 12:25:19 -08:00 |
|
Christopher Jeffrey
|
03c117b009
|
more DOS protection.
|
2016-01-20 12:04:38 -08:00 |
|
Christopher Jeffrey
|
ddbb7894fa
|
potentially clean up misbehaving peers.
|
2016-01-20 02:54:52 -08:00 |
|
Christopher Jeffrey
|
009f4f9f72
|
debug messages for dos prevention.
|
2016-01-20 02:48:42 -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
|
486c22d0e7
|
get rid of getStartHeight.
|
2016-01-19 20:36:48 -08:00 |
|
Christopher Jeffrey
|
27fd056316
|
minor.
|
2016-01-19 20:35:26 -08:00 |
|
Christopher Jeffrey
|
c11a651e9d
|
better loader management.
|
2016-01-19 20:32:59 -08:00 |
|
Christopher Jeffrey
|
8abaef49a9
|
check for nulldata in script extraction.
|
2016-01-19 17:15:27 -08:00 |
|
Christopher Jeffrey
|
5e00e42903
|
better nonstandard signing.
|
2016-01-19 16:12:30 -08:00 |
|
Christopher Jeffrey
|
1258cbbbd4
|
fix input/output calls.
|
2016-01-19 15:58:12 -08:00 |
|
Christopher Jeffrey
|
ebbb417283
|
more script data extraction improvements.
|
2016-01-19 15:53:00 -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
|
d2205241ee
|
wallet key format.
|
2016-01-18 16:16:00 -08:00 |
|
Christopher Jeffrey
|
f5a63563e3
|
rename unspent.
|
2016-01-18 12:48:43 -08:00 |
|
Christopher Jeffrey
|
220b09bc67
|
fix unspent property.
|
2016-01-18 12:47:32 -08:00 |
|
Christopher Jeffrey
|
1d5e3ca27e
|
add tx.setLockTime and tx.increaseFee (rbf).
|
2016-01-18 12:40:41 -08:00 |
|
Christopher Jeffrey
|
911f9534e4
|
fix testnet targetting.
|
2016-01-18 12:14:33 -08:00 |
|
Christopher Jeffrey
|
9011fcc25e
|
stricter script standards. work on tx.
|
2016-01-18 01:52:18 -08:00 |
|
Christopher Jeffrey
|
6b36bad41d
|
fix calls to isLowDER.
|
2016-01-17 21:23:19 -08:00 |
|
Christopher Jeffrey
|
575843acef
|
work on chain. check for low der sigs.
|
2016-01-17 19:57:34 -08:00 |
|
Christopher Jeffrey
|
46b2983eb3
|
update preload.
|
2016-01-17 17:15:13 -08:00 |
|
Christopher Jeffrey
|
3745577837
|
standard opcodes. remove tx methods.
|
2016-01-17 15:52:09 -08:00 |
|
Christopher Jeffrey
|
6f4609792f
|
regtest support. tx methods.
|
2016-01-16 23:48:18 -08:00 |
|
Christopher Jeffrey
|
b9041a0157
|
sign unknown txs.
|
2016-01-16 04:50:33 -08:00 |
|
Christopher Jeffrey
|
b1d46206a8
|
script fixes.
|
2016-01-15 19:28:17 -08:00 |
|
Christopher Jeffrey
|
e5a82c7195
|
sighash. tx signing. testnet.
|
2016-01-15 15:53:57 -08:00 |
|
Christopher Jeffrey
|
46295b3c08
|
cleanup. misc.
|
2016-01-15 02:23:22 -08:00 |
|
Christopher Jeffrey
|
7854ec07d8
|
fix lockTime and changeIndex.
|
2016-01-14 18:16:49 -08:00 |
|
Christopher Jeffrey
|
05a8aeeb48
|
add bn2.js.
|
2016-01-14 16:09:18 -08:00 |
|
Christopher Jeffrey
|
0ba31eeb59
|
better script conformance.
|
2016-01-14 15:58:22 -08:00 |
|
Christopher Jeffrey
|
282639b5b1
|
script standardness.
|
2016-01-14 11:45:33 -08:00 |
|
Christopher Jeffrey
|
bfca638025
|
more packet improvements.
|
2016-01-14 01:59:33 -08:00 |
|
Christopher Jeffrey
|
077588e90a
|
fix script.args.
|
2016-01-14 01:34:40 -08:00 |
|
Christopher Jeffrey
|
6154b1f7a1
|
improve tx verification.
|
2016-01-14 01:18:31 -08:00 |
|
Christopher Jeffrey
|
ef59dae1b5
|
simplify tbsHash.
|
2016-01-14 01:04:11 -08:00 |
|
Christopher Jeffrey
|
8f037ea430
|
tx: add tbsHash method.
|
2016-01-14 00:57:55 -08:00 |
|
Christopher Jeffrey
|
f8ec64d46f
|
do not throw on empty stack.
|
2016-01-13 20:20:18 -08:00 |
|
Christopher Jeffrey
|
018d534c47
|
fix anyonecanpay.
|
2016-01-13 20:05:25 -08:00 |
|
Christopher Jeffrey
|
8ade973b31
|
sighash work
|
2016-01-13 19:41:03 -08:00 |
|
Christopher Jeffrey
|
397764ece6
|
input and output redeem script.
|
2016-01-13 18:40:51 -08:00 |
|
Christopher Jeffrey
|
4f8d24ba36
|
more int and packet work.
|
2016-01-13 18:31:07 -08:00 |
|
Christopher Jeffrey
|
5c1b136117
|
revert back to old output value writing.
|
2016-01-13 04:31:20 -08:00 |
|
Christopher Jeffrey
|
37803d178d
|
use write64 for output values.
|
2016-01-13 04:15:14 -08:00 |
|
Christopher Jeffrey
|
10bd983899
|
version and addr packets.
|
2016-01-13 03:38:23 -08:00 |
|
Christopher Jeffrey
|
a71da261ad
|
handle low S values in signatures.
|
2016-01-12 20:26:11 -08:00 |
|
Christopher Jeffrey
|
de455fa3e9
|
improve int functions and usage in parser and framer.
|
2016-01-12 18:13:32 -08:00 |
|
Christopher Jeffrey
|
c94457cf1f
|
more tx refactoring.
|
2016-01-12 05:15:22 -08:00 |
|
Christopher Jeffrey
|
b147951a83
|
rename some variables.
|
2016-01-12 04:23:53 -08:00 |
|
Christopher Jeffrey
|
7b27f5dc9b
|
hard fee calculation.
|
2016-01-12 04:08:25 -08:00 |
|
Christopher Jeffrey
|
3c8442b1bb
|
improve fee calculation.
|
2016-01-12 03:47:12 -08:00 |
|
Christopher Jeffrey
|
ca03911d80
|
do not check for uncompressed keys for now.
|
2016-01-12 03:27:50 -08:00 |
|
Christopher Jeffrey
|
abc1f2b610
|
signInput should test against keys.
|
2016-01-12 02:55:35 -08:00 |
|
Christopher Jeffrey
|
645a3a59b2
|
minor. recover keys for isMultisig?
|
2016-01-12 02:08:07 -08:00 |
|
Christopher Jeffrey
|
fdc72b2062
|
let isMultisig handle m and n validation.
|
2016-01-12 01:13:22 -08:00 |
|
Christopher Jeffrey
|
f17f3b5bee
|
pool: add startSync and stopSync.
|
2016-01-12 00:39:39 -08:00 |
|
Christopher Jeffrey
|
f420b41907
|
improve script.isMultisig.
|
2016-01-11 23:58:43 -08:00 |
|
Christopher Jeffrey
|
d316b1c640
|
pool: move common listeners to createPeer.
|
2016-01-11 22:27:59 -08:00 |
|
Christopher Jeffrey
|
24f8bc69c5
|
refactor pool and tx.
|
2016-01-11 22:15:06 -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
|
6f86ca2d02
|
add utils.isBytes.
|
2016-01-11 01:07:05 -08:00 |
|
Christopher Jeffrey
|
1754e7ee77
|
fix for miner.
|
2016-01-11 00:56:27 -08:00 |
|
Christopher Jeffrey
|
9c2b0015d1
|
checkmultisig fixes. misc.
|
2016-01-11 00:40:16 -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
|
871e36c426
|
tx.scriptOutput
|
2016-01-10 20:28:28 -08:00 |
|
Christopher Jeffrey
|
bf3906b4d4
|
more fee estimation.
|
2016-01-10 20:15:14 -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 |
|