Commit Graph

2041 Commits

Author SHA1 Message Date
Christopher Jeffrey
5dbebe14d9
bip70: x509 improvements. 2016-07-23 04:12:03 -07:00
Christopher Jeffrey
54cf5ce341
bip151: minor. 2016-07-22 22:40:13 -07:00
Christopher Jeffrey
16eaa4402e
bip70: minor. 2016-07-22 22:03:10 -07:00
Christopher Jeffrey
072f5d6348
lint. 2016-07-22 22:00:46 -07:00
Christopher Jeffrey
46969c6f3a
bip70: fix signing. 2016-07-22 21:57:42 -07:00
Christopher Jeffrey
ac601e3675
implement bip70. 2016-07-22 21:26:59 -07:00
Christopher Jeffrey
2d2f11b5dc
optimize readVarint. 2016-07-21 14:26:42 -07:00
Christopher Jeffrey
ee08278654
lint. 2016-07-21 12:38:31 -07:00
Christopher Jeffrey
27684e9661
if we're going to have checkpoints, might as well optimize the hell out of them. 2016-07-21 12:36:11 -07:00
Christopher Jeffrey
04565cfadb
bip151: improve rekey test. 2016-07-21 10:14:58 -07:00
Christopher Jeffrey
e7347dd620
bip151: fixes and tests. 2016-07-21 09:21:36 -07:00
Christopher Jeffrey
8bcfeca44e
constants: zero key. 2016-07-21 08:41:26 -07:00
Christopher Jeffrey
bb0149e603
docs 2016-07-21 05:37:58 -07:00
Christopher Jeffrey
9cc05a488a
utils. 2016-07-21 05:27:42 -07:00
Christopher Jeffrey
253a6795a3
move crypto to its own module. 2016-07-21 05:21:22 -07:00
Christopher Jeffrey
78919ffde7
pool fixes and refactor. 2016-07-21 04:50:28 -07:00
Christopher Jeffrey
95067ba938
compact block relay support. 2016-07-20 19:42:19 -07:00
Christopher Jeffrey
a85f3edde5
bip152: always use witness serialization. 2016-07-20 14:51:44 -07:00
Christopher Jeffrey
b939de9423
use hkdf for bip151. 2016-07-20 14:39:21 -07:00
Christopher Jeffrey
2ec1f33cde
implement hkdf. 2016-07-20 14:25:18 -07:00
Christopher Jeffrey
0ffafa3238
bip152: fixes and tests. 2016-07-18 18:56:40 -07:00
Christopher Jeffrey
2feef87331
fixes and cleanup. 2016-07-18 02:02:49 -07:00
Christopher Jeffrey
34ecf9b318
aes: minor. 2016-07-16 16:52:19 -07:00
Christopher Jeffrey
3186aaa6cc
fix for createAccount. 2016-07-16 15:51:49 -07:00
Christopher Jeffrey
a70b615fd2
http client. 2016-07-16 15:41:26 -07:00
Christopher Jeffrey
2d8274b46e
lint. 2016-07-16 14:56:27 -07:00
Christopher Jeffrey
97f25f29f5
use supersha. 2016-07-16 14:32:06 -07:00
Christopher Jeffrey
8d497bca1e
script: minor. 2016-07-16 12:17:08 -07:00
Christopher Jeffrey
4381cb5d84
optimize tx.fillCoins. 2016-07-15 20:06:18 -07:00
Christopher Jeffrey
98eeaf0af3
optimize witness serialization. 2016-07-15 18:56:38 -07:00
Christopher Jeffrey
36029b8882
fix mutable tx parsing. 2016-07-15 18:51:44 -07:00
Christopher Jeffrey
11947a6ba8
minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
d4356e6255
cleanup elliptic usage for new version (hybrid keys). 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
448771a6fe
walletdb: minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5e52c7f373
benchmarks. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
84b94fd1b5
fix scrypt worker. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b81a6b3ea1
async signing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
33d2803d4c
more worker serialization. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
678da4671a
fix hd cache. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
cbd8447d80
walletdb: minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f4a70df1a0
logs for deployment activation. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
74c999abe3
refactor websocket api. 2016-07-15 18:20:55 -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
dd70c3167b
refactor txdb block handling. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3ac22f0338
comment. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e51736728e
drop old scanning. always rescan blockchain on boot. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1c9c06b4f9
add chain scanner. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3def705d35
expose chain deployment state. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
196f3ca861
ensure full atomicity in wallet. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
850b16fa7d
use libsecp256k1 for hd derivation. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
350c76d49b
fix getAccounts. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1e1bd82355
comments. cleanup. 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
747c1a4949
optimize getRandom. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a6dc5a08c8
misc. fix rejects filter additions. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4a8768bcd2
api keys. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
2b41cfb9bd
temporary fix for "inverse" malleability. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4f715d86c7
fix commitment hash checking. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
799c4a8d6e
pool: reconnect to regular peers. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1c73374e55
binary insert and buffer uniqify. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c9c38e860b
more coin serialization. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e9bd890c8b
optimize coins serialization. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
9cc7b529d6
logger. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c27466a7c5
avoid duplicate hash table lookups. 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
80d8c2b3c8
walletdb accounts. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
70225dcb57
master key future-proofing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5115b43435
iterate options. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
40217ebebe
remove profiler. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
20e0d6632d
miner. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0dc2b41f5e
more path stuff. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f8fadb73a7
more type checking. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
bbe8943bf4
minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6f345df018
coins format. 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
ba6d4821cc
hd 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e80785654c
minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e41a44b9a4
minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a3d2c0a089
rbt: minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
49260aea10
start using a red black tree for in-memory databases. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1e8c3a4487
fix rbt traversal. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0d0b6c562e
lint. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5cb23020ff
implement coin spent field. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6ce27b82f3
add red black tree for mempool. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1e38237f87
fix network. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e046825145
sigcache. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f01a1a0c6e
keypair object. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
33ed409529
network references. 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
afa7862e55
add script types. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
727dc66252
more tx method refactoring. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
9e4e6c8242
lru again. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6062972da5
lru. comments. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
27a8a83969
priority. checkInputs. chainValue. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4bf962638e
lru. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
996bbc6b21
add version error to ldb. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6a17599f15
script refactor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
08692957c7
simplify ec.publicKeyConvert. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4bf31f32bf
hd refactor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b59f6ae384
fix minimal check. small ints. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4e80320953
better coin compression. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6c419cc754
pubkey compression. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
745e89131c
refactor script testing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
87a94639d4
fix parse error. misc. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
ab8fff71e2
script compilation. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6566620c5d
chain events. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
2b05bd0581
chain locator. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e0373dbf65
lint. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
8541843e14
script.fromString. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
9fe97dc855
script: fromOptions. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3a652727c9
script refactor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3fb5a36f8d
optimize memblock parsing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f1bbd7736a
refactor miner. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
46d7fba13a
fix peer. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
616d9bd7f3
script refactor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f5ea3b1870
always duplicate objects. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
27b88ddba9
do not cache redeem script. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3e0830fe8e
do not cache input/output type. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
59cd4a29fe
refactor mtx. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
8069360c7b
refactor mtx. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
91de71851d
laid back options parsing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5e103f0706
txdb coin cache. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
6612b7ced3
remove mutable arg from inputs/outputs. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0a3e61b3e6
add raw methods to address object. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
a09bd94052
use native assign if available. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
bd56b46806
handle notfound errors at a lower level. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c6af30e69d
cleanup ldb. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
cfdbe2e970
keyring json. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
59cdc96c9f
add a read lock for walletdb. 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
d346b36754
refactor pool and peer. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b4bbba1ad9
refactor orphan pruning. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c580557993
more chain refactoring. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1f3d2f4b96
micro optimize. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b3dd3bfacb
rename checkDeployments. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c1a46eedee
minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c8dc5901ec
state.hasMTP. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4b7d4a3c8d
chain deployment state. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
eb4f16f2b7
minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e364e2b619
refactor sighash. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
c7b9091da0
drop unoptimized sighashing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
0a9ce90b84
tx parsing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3e13badc7a
do not use object literals in hd.js. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
667fa4b796
bip39 again. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
91fd1dc60d
bip39. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3a7fc3a679
block.addtx. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
755d0a2c64
address work. 2016-07-15 18:20:55 -07:00