Commit graph

293 commits

Author SHA1 Message Date
Christopher Jeffrey
6e0d489aec
handshake: finish cleaning up bitcoin. 2018-01-02 20:24:56 -08:00
Christopher Jeffrey
a376c10a98
pkg: update deps. 2017-12-29 15:45:35 -08:00
Christopher Jeffrey
0e4d32f41b
bcoin: use util.revHex again. 2017-11-17 00:00:36 -08:00
Christopher Jeffrey
5ac4a84211
bcoin: move encoding constants around. 2017-11-16 23:52:14 -08:00
Christopher Jeffrey
e2f872ec08
lru: minor. 2017-11-16 18:00:46 -08:00
Christopher Jeffrey
baefa8d5ee
utils: switch to bevent. 2017-11-02 04:44:46 -07:00
Christopher Jeffrey
d97cc7351f
utils: start using bmutex. 2017-11-01 18:54:14 -07:00
Christopher Jeffrey
eccdaca769
bcoin: start switching to class syntax. 2017-11-01 18:16:05 -07:00
Christopher Jeffrey
218b03f1e8
utils: remove dependence on co. 2017-11-01 14:13:07 -07:00
Christopher Jeffrey
6a83116951
utils: stop using asyncobject. 2017-11-01 12:57:11 -07:00
Christopher Jeffrey
b097d53d49
utils: start using bval. 2017-10-30 21:47:15 -07:00
Christopher Jeffrey
d8421f412b
utils: start using binet. 2017-10-30 21:44:18 -07:00
Christopher Jeffrey
28f6c68470
utils: start using bstr. 2017-10-30 21:34:34 -07:00
Christopher Jeffrey
3ecc9829e3
utils: start using bbuf. 2017-10-30 21:29:49 -07:00
Christopher Jeffrey
7f170f377a
utils: start using bfilter. 2017-10-30 21:22:31 -07:00
Christopher Jeffrey
5be9ab31f2
utils: use bfile over utils/fs. 2017-10-30 21:10:28 -07:00
Christopher Jeffrey
f994266f35
encoding: refactor. remove bip70. 2017-10-30 21:02:19 -07:00
Christopher Jeffrey
c88bf0ef1a
bcoin: cleanup. remove rbt. 2017-10-29 08:26:30 -07:00
Christopher Jeffrey
05e0091a81
hd: move nfkd to hd directory. 2017-10-29 08:22:46 -07:00
Christopher Jeffrey
45af3b70f8
wallet: client refactor. 2017-10-29 04:47:50 -07:00
Christopher Jeffrey
9706918a29
wallet: fixes for wallet server. 2017-10-26 15:35:23 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js. 2017-10-26 04:07:48 -07:00
Christopher Jeffrey
5ca5cd5a96
script: do not use util.reverse. 2017-10-25 23:55:38 -07:00
Christopher Jeffrey
71182864e7
bcoin: use bcrypto. remove crypto module. 2017-10-25 21:21:39 -07:00
Christopher Jeffrey
970926eb3c
wallet/http: improve validation. 2017-10-20 08:50:37 -07:00
Christopher Jeffrey
2c3e66476d
refactor: avoid using utils in crypto and vice versa. 2017-10-20 06:21:12 -07:00
Christopher Jeffrey (JJ)
4bf7426566 Merge pull request #342 from nodar-chkuaselidze/enhancement/cli-bech32
CLI to accept bech32 addresses
2017-10-18 13:06:46 -07:00
Christopher Jeffrey
1c1e429383
fs/co: add fs.exists and wait for promise on co.clearInterval. 2017-10-18 12:58:21 -07:00
Node
3a802cacd6
cli: accept bech32 addresses in getTX/getCoin 2017-10-16 23:49:02 +04:00
Christopher Jeffrey
4c18dc5d0e
chain/util: minor style change. 2017-09-19 13:10:40 -07:00
Christopher Jeffrey
f63c19cb19
bn: stop using bn#cmp. 2017-09-06 22:51:06 -07:00
Christopher Jeffrey
5107cfd27a
consensus: clean up some functions. 2017-09-06 22:38:23 -07:00
Christopher Jeffrey
b81643473e
encoding: refactor int64 handling. 2017-09-05 21:17:58 -07:00
Christopher Jeffrey
83178e9333
encoding: minor. 2017-09-05 09:41:02 -07:00
Christopher Jeffrey
45e41b1bb4
writer: alloc pool lazily. 2017-09-03 00:56:15 -07:00
Christopher Jeffrey
a543648310
writer: use 100kb pool for sighashing. 2017-09-03 00:05:47 -07:00
Christopher Jeffrey
13892b3b38
encoding: rename written to offset. 2017-08-24 22:36:59 -07:00
Christopher Jeffrey
d6ce66bce9
script: refactor script and stack mutation.
This allows more reasonable signing behavior and eliminates all polymorphism.
2017-08-24 17:34:20 -07:00
Christopher Jeffrey
5415147d4e
encoding: encoding improvements for base128 varints. 2017-08-17 10:55:30 -07:00
Christopher Jeffrey
51cdd6156b
encoding: lint. 2017-08-17 10:04:51 -07:00
Christopher Jeffrey
668202b2f9
encoding: start using int64 objects instead of BNs. 2017-08-17 09:56:57 -07:00
Christopher Jeffrey
f9eca70374
pkg: upgrade n64. 2017-08-15 18:47:34 -07:00
Christopher Jeffrey
b013b2f0f9
util: add toFloat function. 2017-08-13 13:15:56 -07:00
Christopher Jeffrey
b021f7cdd4
util: minor. 2017-08-13 12:21:56 -07:00
Christopher Jeffrey
60b345f59c
util: revert to old toFixed behavior. 2017-08-11 04:52:51 -07:00
Christopher Jeffrey
e03182367f
amount: allow overloading for num vs. str by default. 2017-08-11 04:36:17 -07:00
Christopher Jeffrey
fbd99ea1b9
util: add util.fromDouble for convenience. 2017-08-09 17:45:10 -07:00
Christopher Jeffrey
8f73ec53e9
refactor: use assert.strictEqual instead of assert.equal. 2017-08-09 15:40:39 -07:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names. 2017-08-06 21:36:48 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance. 2017-08-06 19:45:10 -07:00