Commit graph

133 commits

Author SHA1 Message Date
Christopher Jeffrey
d36e908d13
covenants: more refactoring. 2018-01-08 03:01:01 -08:00
Christopher Jeffrey
b0abbe4ff2
covenants: switch to using same input and output indexes. 2018-01-06 10:29:29 -08:00
Christopher Jeffrey
c260772163
covenants: drop unused methods and indexes. 2018-01-05 13:14:25 -08:00
Christopher Jeffrey
9304e66aed
blockchain: get covenants and trie working. 2018-01-05 07:51:19 -08:00
Christopher Jeffrey
bbe1322e51
refactor: handshakeify. 2018-01-05 04:11:11 -08:00
Christopher Jeffrey
0c32c6cb32
primitives: add covenants. 2018-01-05 01:22:32 -08:00
Christopher Jeffrey
6e54fbd51d
wallet/chain: fixes and cleanup. 2018-01-04 10:25:43 -08:00
Christopher Jeffrey
3ac97843aa
refactor: misc cleanup. 2018-01-03 18:26:31 -08:00
Christopher Jeffrey
9a1378dba4
Revert "tx: add tx types."
This reverts commit 96ced3a165.
2018-01-03 08:24:42 -08:00
Christopher Jeffrey
96ced3a165
tx: add tx types. 2018-01-02 21:05:36 -08:00
Christopher Jeffrey
6e0d489aec
handshake: finish cleaning up bitcoin. 2018-01-02 20:24:56 -08:00
Christopher Jeffrey
056630e231
db: drop old migrations. avoid using encoding. 2017-12-05 03:14:34 -08:00
Christopher Jeffrey
635e60cc58
bcoin: require bn.js directly. 2017-11-17 00:49:02 -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
126e5fe416
bcoin: lint. 2017-11-16 20:44:04 -08:00
Christopher Jeffrey
257d328dd5
miner: classify. 2017-11-16 19:10:26 -08:00
Christopher Jeffrey
c60b8ea125
refactor: switch to bio module. 2017-11-16 11:43:24 -08:00
Christopher Jeffrey
def292c982
net/miner/hd: classify. 2017-11-16 09:15:53 -08:00
Christopher Jeffrey
805ecea271
primitives: classify primitives. 2017-11-15 18:55:01 -08:00
Christopher Jeffrey
1b39abe157
bcoin: rename bufio and bstring. 2017-11-15 09:02:44 -08:00
Christopher Jeffrey
d97cc7351f
utils: start using bmutex. 2017-11-01 18:54:14 -07:00
Christopher Jeffrey
9a19cdb24d
crypto: start using hash.digest(). 2017-11-01 15:41:32 -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
3ecc9829e3
utils: start using bbuf. 2017-10-30 21:29:49 -07:00
Christopher Jeffrey
f994266f35
encoding: refactor. remove bip70. 2017-10-30 21:02:19 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js. 2017-10-26 04:07:48 -07:00
Christopher Jeffrey
71182864e7
bcoin: use bcrypto. remove crypto module. 2017-10-25 21:21:39 -07:00
Christopher Jeffrey
5107cfd27a
consensus: clean up some functions. 2017-09-06 22:38:23 -07:00
Christopher Jeffrey
d78df4b79c
miner: minor. 2017-09-06 14:21:23 -07:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code. 2017-09-06 10:20:40 -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
a6b2c23a41
script: start using scriptnum implementation. 2017-08-20 15:13:17 -07:00
Christopher Jeffrey
d277d55560
bn: use toArrayLike instead of toBuffer. 2017-08-16 15:32:24 -07:00
Christopher Jeffrey
09a2dc0f55
cpuminer: avoid division by zero. 2017-08-14 17:51:40 -07:00
Christopher Jeffrey
8f73ec53e9
refactor: use assert.strictEqual instead of assert.equal. 2017-08-09 15:40:39 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance. 2017-08-06 19:45:10 -07:00
Christopher Jeffrey
4ce070fad4
validation: use stricter validation for ints. 2017-08-06 14:43:22 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Node
d809f66bf8
miner: pass workers option to miner 2017-07-27 23:42:22 +04:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
37da047a34
digest: avoid extra allocations. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
ca48ab748f
bn: use toBuffer instead of toArrayLike. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
8c7279518f
refactor: de-globalize workerpool. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00