Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
fe03b42936
utils: start using bval.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
d4685e6e6c
utils: start using bstr.
2018-03-29 21:56:46 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf.
2018-03-29 21:56:46 -07:00
Christopher Jeffrey
e92b1f4cec
utils: start using bfilter.
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
Node
3a802cacd6
cli: accept bech32 addresses in getTX/getCoin
2017-10-16 23:49:02 +04:00
Christopher Jeffrey
5415147d4e
encoding: encoding improvements for base128 varints.
2017-08-17 10:55:30 -07:00
Christopher Jeffrey
668202b2f9
encoding: start using int64 objects instead of BNs.
2017-08-17 09:56:57 -07:00
Christopher Jeffrey
e8c375b372
test: remove useless .fill() calls.
2017-08-13 14:25:02 -07:00
Christopher Jeffrey
b013b2f0f9
util: add toFloat function.
2017-08-13 13:15:56 -07:00
Christopher Jeffrey
46af7f5760
test: move consensus tests out of utils tests.
2017-08-13 13:01:43 -07:00
Christopher Jeffrey
3a7484d782
test: refactor assertions.
2017-08-11 18:25:54 -07:00
Christopher Jeffrey
4e2af473ab
test: add better assertion methods.
2017-08-10 11:17:10 -07:00
Christopher Jeffrey
8146fb28f0
test: use better asserts.
2017-08-09 15:38:33 -07:00
Christopher Jeffrey
2cf45c84cf
test: refactor a number of tests.
2017-08-09 15:28:03 -07:00
Christopher Jeffrey
a290e6880d
encoding: rename read int methods to readIx.
2017-08-06 03:27:06 -07:00
Christopher Jeffrey
faabd36f9e
config/validator/utils: fix fixed parsing/serialization.
2017-08-05 18:52:24 -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
d4cc22e1c5
refactor: crypto.
2017-06-27 07:27:53 -07:00
Christopher Jeffrey
fa3e98b274
crypto: rename ec to secp256k1.
2017-06-27 02:48:19 -07:00
Christopher Jeffrey
f70d6b8b45
refactor: lint tests, benchmarks, etc.
2017-06-24 14:35:10 -07:00
Christopher Jeffrey
33ffb780b3
refactor: expose int64 and big numbers as modules.
2017-06-22 03:59:49 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications.
2017-05-30 21:11:10 -07:00
Chris Kleeschulte
dd49ee0761
RPC method compatibility with bitcoin core.
...
- RPC method param semantics, unfortunately, aren't consistent in bitcoin core, therefore bcoin can't be used as a drop in replacement if bcoin "fixes the glitch".
- To avoid breaking bcoin's current api, validation of bool includes integers 0 and 1 as false and true, respectively.
- The effect of this is to allow getRawTransaction to work with older client code.
2017-04-21 13:14:33 -04:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around.
2017-01-06 09:57:55 -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
c190dd2aad
util: refactor encoding.
2016-12-02 04:34:38 -08:00
Christopher Jeffrey
bf34a8133d
btc: rename.
2016-11-19 11:14:38 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename.
2016-11-19 10:45:31 -08:00
Christopher Jeffrey
ae093d2242
amount/utils: drop utils.btc and utils.satoshi.
2016-11-19 09:59:47 -08:00
Christopher Jeffrey
0631148705
modules: more refactoring.
2016-11-19 05:29:29 -08:00
Christopher Jeffrey
605874068b
s/bn/BN/g
2016-10-21 19:38:06 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils.
2016-09-06 15:15:36 -07:00
Christopher Jeffrey
a0726efe75
crypto: preliminary support for schnorr signatures.
2016-09-01 02:06:08 -07:00
Christopher Jeffrey
4fa6136ec4
bip152: use regular varints for lengths.
2016-08-25 20:40:47 -07:00
Christopher Jeffrey
2ec1f33cde
implement hkdf.
2016-07-20 14:25:18 -07:00
Christopher Jeffrey
9a5f1c556d
strict mode.
2016-06-13 01:06:01 -07:00
Christopher Jeffrey
b9434afc1e
base58 tests.
2016-06-03 11:38:18 -07:00
Christopher Jeffrey
92e8a9c4bc
new varint2.
2016-05-22 06:54:36 -07:00
Christopher Jeffrey
0b6f86c9d5
refactor testTarget.
2016-05-16 03:59:42 -07:00
Christopher Jeffrey
e75e040d2b
remove comments.
2016-05-15 17:43:51 -07:00
Christopher Jeffrey
535b6a823e
utils and tests.
2016-05-15 17:41:45 -07:00