Commit Graph

390 Commits

Author SHA1 Message Date
Christopher Jeffrey
3412916c89
txdb: refactor. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
8368265c71
test: txdb no resolution tests. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
06a104c34d
txdb: cleanup. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
b666b89a4c
test: txdb missed txs. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
c07848fadd
txdb: orphan resolution. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
605874068b
s/bn/BN/g 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
ed6ec1e56c
test: latest script tests. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
a864ec1552
wallet: refactor passphrase options. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
a2d6ed56e7
refactor: have promises resolve to undefined. 2016-10-21 19:38:04 -07:00
Braydon Fuller
768595dca2 test: include derivation test when private key has leading zeros 2016-10-19 22:05:45 -04:00
Christopher Jeffrey
acae838059
miner: refactor jobs and pool. 2016-10-05 16:56:26 -07:00
Christopher Jeffrey
baeb786bb8
test: fix wallet accurate fee test. 2016-10-03 15:17:23 -07:00
Christopher Jeffrey
0f74292082
refactor: style. 2016-10-03 07:58:12 -07:00
Christopher Jeffrey
2097450b42
wallet: move watchOnly flag to wallet for safety. 2016-10-03 03:03:10 -07:00
Christopher Jeffrey
3e59282c66
deps: browser transform. 2016-10-03 01:48:08 -07:00
Christopher Jeffrey
7b3134d782
account: hd watchonly support. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
57bc9bf4b0
wallet: better encrypted for imported keys. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
c43df089f6
script: refactor verification and execution. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
6dfa47e7f4
refactor: rename constructors. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
1a8657d131
spawn: rename to co. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f0223146af
deps: massive refactor. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f96ee525f5
http: refactor deps and tests. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
376d6303b7
env: refactor how default instances work. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
960393a53f
wallet: use separate branch for nested addrs. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
8c5c9de132
wallet: more rewriting. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
61a77d90e9
wallet: more rewriting. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
2544e5310a
walletdb: path refactor. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
99ef1fbc7b
test: update tx tests. 2016-10-02 23:24:07 -07:00
Christopher Jeffrey
44b78dd345
tests: use generators. 2016-09-23 04:18:54 -07:00
Christopher Jeffrey
ed66e0b7cc
test: fix chain tests. 2016-09-23 02:11:16 -07:00
Christopher Jeffrey
3b14525d17
refactor: lint. misc. 2016-09-23 00:56:53 -07:00
Christopher Jeffrey
8c11a2aa3f
generators: refactor http. 2016-09-22 01:29:48 -07:00
Christopher Jeffrey
ae83aa6fba
refactor: more work. 2016-09-22 00:24:59 -07:00
Christopher Jeffrey
2899219033
refactor: cleanup. 2016-09-21 11:03:48 -07:00
Christopher Jeffrey
d78151d3d3
refactor: promises. 2016-09-20 15:28:14 -07:00
Christopher Jeffrey
72597c9faf
test: add more mempool tests. 2016-09-19 14:16:14 -07:00
Christopher Jeffrey
b03a10d790
script: implement bip146 (nullfail). 2016-09-18 12:03:12 -07:00
Christopher Jeffrey
d6576c51f1
merkleblock: use buffers for tree hashes. 2016-09-16 19:18:00 -07:00
Christopher Jeffrey
1e93d5ec7d
bip151: refactor. 2016-09-16 17:32:44 -07:00
Christopher Jeffrey
5da0aceb38
packets 2016-09-16 17:03:56 -07:00
Christopher Jeffrey
07285ebdd7
refactor: rename cost to weight. 2016-09-13 02:06:18 -07:00
Christopher Jeffrey
2dba490d02
crypto: expose scrypt. 2016-09-12 22:56:13 -07:00
Christopher Jeffrey
7f31a41e84
perf: start using bcoin-native. 2016-09-12 14:10:20 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils. 2016-09-06 15:15:36 -07:00
Christopher Jeffrey
a02564e0a1
test: fix http tests. 2016-09-06 00:56:25 -07:00
Christopher Jeffrey
a0726efe75
crypto: preliminary support for schnorr signatures. 2016-09-01 02:06:08 -07:00
Christopher Jeffrey
a14da39384
bip152: refactor siphash. 2016-08-26 02:29:09 -07:00
Christopher Jeffrey
acdd9c0a8a
compact: more compact block tests. 2016-08-25 20:48:09 -07:00
Christopher Jeffrey
4fa6136ec4
bip152: use regular varints for lengths. 2016-08-25 20:40:47 -07:00
Christopher Jeffrey
22e90303a2
siphash: refactor. 2016-08-25 14:47:50 -07:00
Christopher Jeffrey
5fa102d5bd
test: fix protocol tests. 2016-08-25 14:25:00 -07:00
Christopher Jeffrey
6105095379
refactor: more restructuring. 2016-08-24 04:59:06 -07:00
Christopher Jeffrey
e04dccb0c1
refactor: more restructuring (again). 2016-08-24 01:36:42 -07:00
Christopher Jeffrey
d350338c98
refactor: more moving around. 2016-08-23 22:57:59 -07:00
Christopher Jeffrey
7f6849b6a6
refactor: fix pathnames. 2016-08-23 22:43:20 -07:00
Christopher Jeffrey
134bece292
bip150: first implementation. 2016-08-23 04:16:11 -07:00
Christopher Jeffrey
3cac0a96d2
http: better events. 2016-08-22 19:08:39 -07:00
Christopher Jeffrey
aec3548b26
walletdb: fix reorg handling. 2016-08-22 17:55:44 -07:00
Christopher Jeffrey
4b008540e0
wallet: key importing. 2016-08-19 12:39:50 -07:00
Christopher Jeffrey
eecae63cf3
walletdb: custom addresses. 2016-08-19 02:29:55 -07:00
Christopher Jeffrey
2b3c6622d3
test: fix mempool test. 2016-08-19 00:42:27 -07:00
Christopher Jeffrey
c836786b99
mtx/wallet: refactor keyring. 2016-08-19 00:39:56 -07:00
Christopher Jeffrey
4b85715ec2
do not accept mutable txs anywhere except wallet. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
841cb290d8
major db and async object refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e2d530c0da
wallet: range fixes. tests. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c8bc9fb8b6
mempool: rewrite. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
16204a4794
walletdb: use layout for walletdb and txdb. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
49f56f786f
keyring: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cfad740b09
walletdb: fixes. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b6e9019d56
wallet: rename label to id and id to wid. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9e2dd9145f
wallet: switch to using number ids. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
30b7421ea7
http: better api key handling. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2b630ad99c
http: api refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cbed60e900
wallet/http: fix events. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9c94fae2a8
txdb: refactor batches. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
f37946abb7
bip151: fix rekeying. replicate openssh more. 2016-07-26 01:08:42 -07:00
Christopher Jeffrey
b455352708
peer/bip151: rewrite bip151. handle bip151 on p2p network. 2016-07-25 18:24:30 -07:00
Christopher Jeffrey
064ba7df9b
bip152: fixes. refactor. 2016-07-25 11:32:35 -07:00
Christopher Jeffrey
6a760136a9
bip70/x509: only store cert fingerprints. 2016-07-23 07:18:43 -07:00
Christopher Jeffrey
83bab4d382
add bip70 tests. 2016-07-23 06:53:02 -07:00
Christopher Jeffrey
54cf5ce341
bip151: minor. 2016-07-22 22:40:13 -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
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