Commit Graph

357 Commits

Author SHA1 Message Date
Christopher Jeffrey
2ec1f33cde
implement hkdf. 2016-07-20 14:25:18 -07:00
Christopher Jeffrey
d9fe94b80a
bip152 tests. 2016-07-19 02:42:01 -07:00
Christopher Jeffrey
0ffafa3238
bip152: fixes and tests. 2016-07-18 18:56:40 -07:00
Christopher Jeffrey
ba4ce73a8d
rename fill to fund. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
52c46e83ed
add scanning test. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
682596fb05
http tests. caches. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a60a48da9a
http test. fix path parsing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a3bb955d95
walletdb best hash. fix spv chain. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
28f6ebe43f
remove globals. add logger. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
503cbfc886
address: types and MAST. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
8541843e14
script.fromString. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
616d9bd7f3
script refactor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e3f023142f
wallet events. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1a32e66468
fix open and close for all async objects. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b58ca398fb
block test. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f2edf8f4b0
bip39 work. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b6ce94cec3
optimize sighashing. default values for every constructor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
05b83fe1c8
script fromJSON. mempool test. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
402b47a940
address consistency. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b8997c9212
fix aes tests. 2016-06-27 02:23:06 -07:00
Christopher Jeffrey
a95ab18379
scanning. 2016-06-26 16:32:36 -07:00
Christopher Jeffrey
5095f78dbf
wallet map. 2016-06-26 03:58:09 -07:00
Christopher Jeffrey
9b81126ea4
hd refactor. 2016-06-25 03:40:54 -07:00
Christopher Jeffrey
f784c25d01
make encryption async. 2016-06-25 01:10:10 -07:00
Christopher Jeffrey
48855ae56f
fix tests. non-rolling bloom filter for txdb. 2016-06-22 17:51:49 -07:00
Christopher Jeffrey
5773d5b445
add packet objects. 2016-06-22 15:12:49 -07:00
Christopher Jeffrey
8b262a7ff9
tests. asserts. subtractFee. 2016-06-20 16:56:23 -07:00
Christopher Jeffrey
7422b46e75
refactor. 2016-06-18 20:59:34 -07:00
Christopher Jeffrey
d5529996ef
tests. 2016-06-17 17:54:23 -07:00
Christopher Jeffrey
7862418ccc
program. addresses. 2016-06-17 06:34:48 -07:00
Christopher Jeffrey
54d3b350e9
rename. fix testing functions. 2016-06-17 04:10:32 -07:00
Christopher Jeffrey
6216bcbd97
witsize. json. 2016-06-17 03:31:01 -07:00
Christopher Jeffrey
16404a03ba
serialization... again. 2016-06-17 01:34:59 -07:00
Christopher Jeffrey
27b18c0fd2
work. mutable scripts. 2016-06-14 16:26:26 -07:00
Christopher Jeffrey
3f62a8ae42
scripting system. 2016-06-13 21:25:42 -07:00
Christopher Jeffrey
9a5f1c556d
strict mode. 2016-06-13 01:06:01 -07:00
Christopher Jeffrey
e51464f29b
refactor tx.verify. 2016-06-12 23:16:00 -07:00
Christopher Jeffrey
97fc0b60f5
minor. 2016-06-09 03:43:33 -07:00
Christopher Jeffrey
c1a2601a20
more segwit tests. 2016-06-09 03:40:35 -07:00
Christopher Jeffrey
1984bc178c
bip151: add chacha20 and poly1305. 2016-06-09 02:18:37 -07:00
Christopher Jeffrey
a5fc00d4a6
add siphash. 2016-06-07 17:57:09 -07:00
Christopher Jeffrey
af33e61031
txdb: fix double-spend handling. 2016-06-04 19:34:37 -07:00
Christopher Jeffrey
b9434afc1e
base58 tests. 2016-06-03 11:38:18 -07:00
Christopher Jeffrey
c3822dbf70
improve mm3 perf slightly. 2016-06-03 11:29:11 -07:00
Christopher Jeffrey
084568617b
wallet and test refactor. 2016-06-01 17:55:40 -07:00
Christopher Jeffrey
64af74fe4a
master key. use locks to avoid race conditions in wallet. 2016-06-01 14:59:23 -07:00
Christopher Jeffrey
f382ca2a31
test account usage. 2016-05-31 23:45:48 -07:00
Christopher Jeffrey
0c4df11cb6
consistency. chain test. 2016-05-31 22:17:36 -07:00
Christopher Jeffrey
293f9c5dc5
fix potential dos vectors. tests. 2016-05-31 22:10:06 -07:00
Christopher Jeffrey
c7b47f59fd
add coolest tx ever sent to tx tests. 2016-05-31 18:48:53 -07:00
Christopher Jeffrey
2e5df5514a
change passphrase. 2016-05-31 06:42:12 -07:00
Christopher Jeffrey
390af13b14
wallets, now with reference counting. 2016-05-29 07:00:36 -07:00
Christopher Jeffrey
1002c222a6
refactor. 2016-05-28 12:02:39 -07:00
Christopher Jeffrey
14088e5b0c
async wallet cwallet. 2016-05-28 08:33:53 -07:00
Christopher Jeffrey
420d72d647
async wallet. 2016-05-28 05:48:50 -07:00
Christopher Jeffrey
3480b8c679
more wallet work. 2016-05-27 14:26:40 -07:00
Christopher Jeffrey
2884a794c3
coins 2016-05-26 23:47:41 -07:00
Christopher Jeffrey
2738a4ed5d
merkle refactor. misc. 2016-05-25 02:01:16 -07:00
Christopher Jeffrey
dccfc91974
block tests. 2016-05-24 23:48:52 -07:00
Christopher Jeffrey
08dd3d9b56
witness tests. 2016-05-24 03:28:00 -07:00
Christopher Jeffrey
da701cbef4
refactor merkleblock. 2016-05-24 00:56:31 -07:00
Christopher Jeffrey
2fe481659c
mempool tests. 2016-05-23 19:53:00 -07:00
Christopher Jeffrey
9c89630490
block tests. fix spv and bloom filters. 2016-05-23 19:38:06 -07:00
Christopher Jeffrey
92e8a9c4bc
new varint2. 2016-05-22 06:54:36 -07:00
Christopher Jeffrey
cf041e1fad
Revert "hash bloom"
This reverts commit f7dd8a6e8a.
2016-05-21 17:38:06 -07:00
Christopher Jeffrey
f7dd8a6e8a
hash bloom 2016-05-21 16:37:48 -07:00
Christopher Jeffrey
292e077550
optimization for rolling filter. 2016-05-20 16:42:34 -07:00
Christopher Jeffrey
381c1ca1f1
rolling bloom filter. 2016-05-20 14:40:36 -07:00
Christopher Jeffrey
d4f03f982e
fix issue with mutable scripts. 2016-05-20 04:53:15 -07:00
Christopher Jeffrey
f013ddb353
improve fee calculation. tests. 2016-05-20 04:17:05 -07:00
Christopher Jeffrey
712a445b99
utils and createServer callback. 2016-05-19 21:05:26 -07:00
Christopher Jeffrey
ae230cf294
refactor tx. 2016-05-19 00:17:01 -07:00
Christopher Jeffrey
b9c7afa0ea
coin.fromTX. 2016-05-18 05:12:28 -07:00
Christopher Jeffrey
f798c6f38e
tx test. 2016-05-17 17:55:24 -07:00
Christopher Jeffrey
0b6f86c9d5
refactor testTarget. 2016-05-16 03:59:42 -07:00
Christopher Jeffrey
56445cf562
script test. 2016-05-16 03:26:13 -07:00
Christopher Jeffrey
92d95c552c
minor optimizations. 2016-05-16 03:18:28 -07:00
Christopher Jeffrey
278ff82658
FindAndDelete again. 2016-05-15 23:51:18 -07:00
Christopher Jeffrey
52541fe123
tests. block reward. 2016-05-15 21:47:39 -07:00
Christopher Jeffrey
e648bfb9f5
witness tx test. 2016-05-15 20:45:02 -07:00
Christopher Jeffrey
4314d0cd6a
more tx tests. comments. 2016-05-15 20:32:34 -07:00
Christopher Jeffrey
e75e040d2b
remove comments. 2016-05-15 17:43:51 -07:00
Christopher Jeffrey
535b6a823e
utils and tests. 2016-05-15 17:41:45 -07:00
Christopher Jeffrey
4b0519a073
more tests. utils. 2016-05-15 03:33:58 -07:00
Christopher Jeffrey
dd5c9096a7
use js numbers for values. 2016-05-14 20:57:52 -07:00
Christopher Jeffrey
493f0092e4
comments. refactor how module is exposed. 2016-05-14 13:22:43 -07:00
Christopher Jeffrey
6690991acb
more hd improvements. 2016-05-13 19:28:19 -07:00
Christopher Jeffrey
86bc2227a4
get address working. 2016-05-13 13:38:18 -07:00
Christopher Jeffrey
897e4ae662
hd refactor. 2016-05-13 13:04:55 -07:00
Christopher Jeffrey
fc22de77bf
tests passing. 2016-05-13 10:04:56 -07:00
Christopher Jeffrey
45e84ff168
Revert "more accurate FindAndDelete."
This reverts commit 4b2219c71f.
2016-05-09 15:13:12 -07:00
Christopher Jeffrey
4b2219c71f
more accurate FindAndDelete. 2016-05-09 15:13:07 -07:00
Christopher Jeffrey
6fb0689ce4
worker debug. 2016-05-06 23:56:08 -07:00
Christopher Jeffrey
3ee5137851
rename method. 2016-05-01 21:47:08 -07:00
Christopher Jeffrey
bba94d4aaa
env variables. 2016-05-01 21:19:25 -07:00
Christopher Jeffrey
703c9aec3c
refactor database layout. 2016-05-01 20:45:36 -07:00
Christopher Jeffrey
22680ff235
aes for browser and potentially bip38. 2016-04-30 17:21:18 -07:00
Christopher Jeffrey
afee09a935
utils refactor. 2016-04-30 16:20:40 -07:00
Christopher Jeffrey
96139ad31c
faster mnemonic creation. 2016-04-30 02:04:49 -07:00
Christopher Jeffrey
27d5f2370b
fix unicode mnemonics. 2016-04-30 00:54:39 -07:00
Christopher Jeffrey
bc59106f45
mnemonic test. 2016-04-30 00:45:47 -07:00
Christopher Jeffrey
d89bd13f09
move errors around. assert. 2016-04-29 18:17:48 -07:00
Christopher Jeffrey
5ef65a4129
mnemonic. undo coins. 2016-04-29 16:49:47 -07:00
Christopher Jeffrey
9814dc32f7
mnemonic refactor. 2016-04-29 06:02:31 -07:00
Christopher Jeffrey
1d8c9e7c99
mnemonic improvements. 2016-04-29 05:49:10 -07:00
Christopher Jeffrey
fbeefe03c7
more accurate sighashing. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
64b92ab073
better script inspection. 2016-04-20 14:12:54 -07:00
Christopher Jeffrey
c1fd8bb285
test. fix sigops counting. 2016-04-20 13:46:56 -07:00
Christopher Jeffrey
cbe2e2f28d
add bad size push test. 2016-04-20 12:54:32 -07:00
Christopher Jeffrey
14fa62f16f
move wtx.hex. 2016-04-20 03:02:03 -07:00
Christopher Jeffrey
9cd2e5438b
add alert tests. 2016-04-20 03:01:05 -07:00
Christopher Jeffrey
1e0394cc0b
another tx test. minor. 2016-04-20 01:08:13 -07:00
Christopher Jeffrey
50ab39aafb
more errors for scripting system. 2016-04-19 22:57:25 -07:00
Christopher Jeffrey
6d7e81080e
refactor tests. 2016-04-19 12:00:27 -07:00
Christopher Jeffrey
4b2a2371ab
refactor hd tests. 2016-04-19 10:51:24 -07:00
Christopher Jeffrey
77f203f7cb
more hd tests. 2016-04-19 09:28:56 -07:00
Christopher Jeffrey
90fb650d12
minor tx test change. 2016-04-19 07:46:57 -07:00
Christopher Jeffrey
1e7e9a2aa7
handle negative outputs. serialize int64 correctly. 2016-04-19 07:36:05 -07:00
Christopher Jeffrey
716d94ec9b
check reserialized tx hashes in tx tests. 2016-04-19 07:08:00 -07:00
Christopher Jeffrey
80e6126f0c
tests with and without caching. 2016-04-19 06:45:10 -07:00
Christopher Jeffrey
a871054387
handle coinbase tests. 2016-04-19 04:44:20 -07:00
Christopher Jeffrey
b3c1a2a81b
over 1800 tests. 2016-04-19 04:25:28 -07:00
Christopher Jeffrey
67f03b5004
more tests. 2016-04-19 04:20:38 -07:00
Christopher Jeffrey
8c7a367c8e
sighash tests. 2016-04-19 03:50:10 -07:00
Christopher Jeffrey
81d2e1b700
passing bitcoind tx tests. 2016-04-19 03:05:35 -07:00
Christopher Jeffrey
59704b63c7
get bitcoind script tests passing. 2016-04-19 01:30:16 -07:00
Christopher Jeffrey
f8d49f0653
more utils cleanup. 2016-04-18 01:11:02 -07:00
Christopher Jeffrey
69ddca52a8
clean up utils. 2016-04-18 00:36:03 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
a06eec2986
do not dump walletdb. 2016-04-16 20:59:57 -07:00
Christopher Jeffrey
3f56375ad7
rename some files. 2016-04-16 20:59:32 -07:00
Christopher Jeffrey
71373975b3
mempool test. 2016-04-16 20:58:45 -07:00
Christopher Jeffrey
0f6c19bcd5
major refactor. 2016-04-16 20:03:00 -07:00
Christopher Jeffrey
0d75c8a621
validate sidechain's inputs after a reorg instead of before. 2016-04-16 01:38:07 -07:00
Christopher Jeffrey
044d54e12e
add total balance. 2016-04-08 18:15:50 -07:00
Christopher Jeffrey
61ea825ffe
move lowlevelup.js. 2016-04-07 22:00:59 -07:00
Christopher Jeffrey
1898b38c49
db option. 2016-04-07 03:03:28 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -07:00
Christopher Jeffrey
9356a40e62 refactor. 2016-04-05 16:23:57 -07:00
Christopher Jeffrey
d87e301986 mempool. 2016-04-03 00:15:02 -07:00
Christopher Jeffrey
c9bdad9bdf hd rewrite. 2016-04-01 21:19:46 -07:00
Christopher Jeffrey
8346cccbcb balance. http. 2016-03-31 16:17:10 -07:00
Christopher Jeffrey
b0e6826232 txdb. 2016-03-31 14:36:39 -07:00
Christopher Jeffrey
4d2d9b328c verify error refactor. 2016-03-30 16:21:56 -07:00
Christopher Jeffrey
126fb72644 fixes. refactor. 2016-03-29 18:08:33 -07:00
Christopher Jeffrey
caf52c0579 refactor. close methods. 2016-03-29 13:25:03 -07:00
Christopher Jeffrey
ea4d0dee03 opcodes. 2016-03-28 19:45:22 -07:00
Christopher Jeffrey
a598a4850c no strings in scripting. 2016-03-28 16:50:59 -07:00
Christopher Jeffrey
af6ac736bf consistent naming. 2016-03-28 13:22:31 -07:00
Christopher Jeffrey
37c488c802 txdb and mempool work. 2016-03-26 01:29:04 -07:00