Commit graph

151 commits

Author SHA1 Message Date
Christopher Jeffrey
77e613e6dc
handshake: preliminary wallet work. 2018-01-08 01:19:41 -08:00
Christopher Jeffrey
4df1d1e1a3
covenants: add revocations. 2018-01-07 06:15:37 -08:00
Christopher Jeffrey
b0abbe4ff2
covenants: switch to using same input and output indexes. 2018-01-06 10:29:29 -08:00
Christopher Jeffrey
f191b1be36
handshake: tests sort of passing. 2018-01-05 12:58:39 -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
a306fbbe40
consensus: change halving and reward. 2018-01-05 03:17:44 -08:00
Christopher Jeffrey
0c32c6cb32
primitives: add covenants. 2018-01-05 01:22:32 -08:00
Christopher Jeffrey
ba144845ca
pkg: update bcrypto. 2018-01-04 14:33:39 -08:00
Christopher Jeffrey
09e56d6144
hsk: use 64 byte signatures everywhere. 2018-01-03 18:58:48 -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
01abb3d667
types: cleanup types. 2017-12-30 03:49:28 -08:00
Christopher Jeffrey
056630e231
db: drop old migrations. avoid using encoding. 2017-12-05 03:14:34 -08:00
Christopher Jeffrey
0e4d32f41b
bcoin: use util.revHex again. 2017-11-17 00:00:36 -08:00
Christopher Jeffrey
126e5fe416
bcoin: lint. 2017-11-16 20:44:04 -08:00
Christopher Jeffrey
80b5fe502b
bcoin: clean up requires. 2017-11-16 12:24:45 -08:00
Christopher Jeffrey
c60b8ea125
refactor: switch to bio module. 2017-11-16 11:43:24 -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
9a19cdb24d
crypto: start using hash.digest(). 2017-11-01 15:41:32 -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
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
a543648310
writer: use 100kb pool for sighashing. 2017-09-03 00:05:47 -07:00
Christopher Jeffrey
ad4c7e81c8
tx: minor. 2017-09-01 18:05:50 -07:00
Christopher Jeffrey
57b98b2368
tx: refactor hasStandardWitness. 2017-08-30 10:14:51 -07:00
Christopher Jeffrey
063f55f448
script: remove instances of script.getSmall(). 2017-08-30 10:07:07 -07:00
Christopher Jeffrey
7022c6649f
tx: minor. 2017-08-28 06:08:50 -07:00
Christopher Jeffrey
b87f557823
tx/script/chain: refactor locktime handling. 2017-08-27 19:07:57 -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
36523e2f56
tx: do not track flags byte. 2017-08-07 00:55:26 -07:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names. 2017-08-06 21:36:48 -07:00
Christopher Jeffrey
a290e6880d
encoding: rename read int methods to readIx. 2017-08-06 03:27:06 -07:00
Christopher Jeffrey
1df577cb74
validation: refactor. 2017-08-06 03:23:37 -07:00
Christopher Jeffrey
faabd36f9e
config/validator/utils: fix fixed parsing/serialization. 2017-08-05 18:52:24 -07:00
Christopher Jeffrey
cfd1715c9f
primitives: show hex on json. 2017-08-03 19:38:43 -07:00
Christopher Jeffrey
5eb6620431
lint: consistent return values. 2017-07-31 18:21:03 -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
Christopher Jeffrey
492c05c378
coinview: refactor api. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
a1af3ab980
chaindb: switch to pertxout. 2017-07-31 18:20:47 -07: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