Commit Graph

2020 Commits

Author SHA1 Message Date
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
Christopher Jeffrey
203294029c
rename protocol.network. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
38a92ebecf
more address parsing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
718ae3c1aa
more address stuff. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5c5ff9e265
rename some versionbits stuff. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
74e67c8a65
laid back parsing for address parser. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f2edf8f4b0
bip39 work. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
7821d65db4
network object. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
4a8ef06154
chainentry.fromBlock. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1aa70f8ff0
chainentry refactor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
634290687b
minor. 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
d11f4deef1
add id to keyring. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
64ae8c7767
more wallet address mapping. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
adb7b28795
bip151: fix encack. 2016-06-27 07:13:38 -07:00
Christopher Jeffrey
b74bda623f
lint. 2016-06-27 07:10:26 -07:00
Christopher Jeffrey
90769d7e1a
more mapping. 2016-06-27 06:14:54 -07:00
Christopher Jeffrey
ae7bbeb065
wallet work. 2016-06-27 03:07:43 -07:00
Christopher Jeffrey
b8997c9212
fix aes tests. 2016-06-27 02:23:06 -07:00
Christopher Jeffrey
70b83f22fa
bip151 & bip152: preliminary implementations. 2016-06-27 02:16:01 -07:00