Commit Graph

89 Commits

Author SHA1 Message Date
Christopher Jeffrey
0b70a940a3
test: get tests passing in chrome. 2018-12-08 02:40:49 -08:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
d0ed214067
bcoin: remove dependence on util.js. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
b0a75baa5a
test: minor. 2017-08-25 15:06:12 -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
3a7484d782
test: refactor assertions. 2017-08-11 18:25:54 -07:00
Christopher Jeffrey
e03182367f
amount: allow overloading for num vs. str by default. 2017-08-11 04:36:17 -07:00
Christopher Jeffrey
e7bc53c995
test: refactor script and tx test parsing. 2017-08-11 00:07:48 -07:00
Christopher Jeffrey
4e2af473ab
test: add better assertion methods. 2017-08-10 11:17:10 -07:00
Christopher Jeffrey
87e3ee1971
script: do not use return values for script.execute and Script.verify. 2017-08-10 09:41:01 -07:00
Christopher Jeffrey
fbd99ea1b9
util: add util.fromDouble for convenience. 2017-08-09 17:45:10 -07:00
Christopher Jeffrey
2cf45c84cf
test: refactor a number of tests. 2017-08-09 15:28:03 -07:00
Christopher Jeffrey
36523e2f56
tx: do not track flags byte. 2017-08-07 00:55:26 -07:00
Christopher Jeffrey
a085214d54
test: refactor several tests. clean up test data. 2017-08-02 00:19:08 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules. 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
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
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications. 2017-05-30 21:11:10 -07:00
Christopher Jeffrey
4c557744a2
refactor: address, amount, uri, errors. 2017-01-09 23:07:02 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around. 2017-01-06 09:57:55 -08:00
Christopher Jeffrey
edf47d67c8
primitives: refresh call. 2016-12-16 22:02:05 -08:00
Christopher Jeffrey
b437b33760
test/bench: lint. 2016-12-10 17:13:45 -08:00
Christopher Jeffrey
d2e61d1fa2
test: cleanup tests. 2016-12-10 14:43:58 -08:00
Christopher Jeffrey
bf2e7d1486
test: fix tx tests. 2016-12-10 08:11:24 -08:00
Christopher Jeffrey
12b3274d33
refactor: pass coin viewpoints for every function requiring inputs. 2016-12-09 07:15:35 -08:00
Christopher Jeffrey
f7e50e3435
tx: pass coins into scripting system. 2016-12-06 17:37:35 -08:00
Christopher Jeffrey
a95aba92fb
serialization: less polymorphism. 2016-12-04 00:54:50 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename. 2016-11-19 10:45:31 -08:00
Christopher Jeffrey
33bcc08656
tx/block: cache hashes. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
605874068b
s/bn/BN/g 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
c43df089f6
script: refactor verification and execution. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
f0223146af
deps: massive refactor. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils. 2016-09-06 15:15:36 -07:00
Christopher Jeffrey
e04dccb0c1
refactor: more restructuring (again). 2016-08-24 01:36:42 -07:00
Christopher Jeffrey
28f6ebe43f
remove globals. add logger. 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
b6ce94cec3
optimize sighashing. default values for every constructor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
d5529996ef
tests. 2016-06-17 17:54:23 -07:00
Christopher Jeffrey
27b18c0fd2
work. mutable scripts. 2016-06-14 16:26:26 -07:00
Christopher Jeffrey
3f62a8ae42
scripting system. 2016-06-13 21:25:42 -07:00
Christopher Jeffrey
9a5f1c556d
strict mode. 2016-06-13 01:06:01 -07:00