Matthew Zipkin
|
1b868b6a9d
|
util: reverse buffers instead of strings
|
2019-04-02 16:53:46 -07:00 |
|
Christopher Jeffrey
|
a45e683eb2
|
bcoin: switch to bsert for everything.
|
2018-08-10 16:23:46 -07:00 |
|
Christopher Jeffrey
|
b92839c82a
|
bcoin: use buffer-map. see #533.
|
2018-08-10 16:23:46 -07:00 |
|
Christopher Jeffrey
|
78df4f4d84
|
pkg: update deps.
|
2018-03-29 21:56:52 -07:00 |
|
Christopher Jeffrey
|
3c82ac0486
|
bcoin: use util.revHex again.
|
2018-03-29 21:56:49 -07:00 |
|
Christopher Jeffrey
|
f2abdf68cb
|
bcoin: move encoding constants around.
|
2018-03-29 21:56:49 -07:00 |
|
Christopher Jeffrey
|
658d3db928
|
encoding: refactor. remove bip70.
|
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
|
1a5782fa06
|
script: do not use util.reverse.
|
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
|
4c18dc5d0e
|
chain/util: minor style change.
|
2017-09-19 13:10: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
|
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
|
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 |
|
Christopher Jeffrey
|
4ce070fad4
|
validation: use stricter validation for ints.
|
2017-08-06 14:43:22 -07:00 |
|
Christopher Jeffrey
|
cc1462f697
|
utils/util: reorganize functions.
|
2017-08-06 04:00:08 -07:00 |
|
Christopher Jeffrey
|
1df577cb74
|
validation: refactor.
|
2017-08-06 03:23:37 -07:00 |
|
Christopher Jeffrey
|
5513563892
|
util: minor.
|
2017-08-06 01:35:25 -07:00 |
|
Christopher Jeffrey
|
faabd36f9e
|
config/validator/utils: fix fixed parsing/serialization.
|
2017-08-05 18:52:24 -07:00 |
|
Christopher Jeffrey
|
1d7b8ca7c1
|
http: better handling of api keys.
|
2017-08-01 01:38:36 -07:00 |
|
Christopher Jeffrey
|
88ef28d837
|
lint: no implicit casting.
|
2017-07-31 18:21:03 -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
|
fbb2500281
|
layout: aggressive asserts.
|
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 |
|
Christopher Jeffrey
|
23397dd753
|
refactor: change for..of loop usage.
|
2017-07-24 19:45:46 -07:00 |
|
Christopher Jeffrey
|
963c2173dd
|
util: improve inspection.
|
2017-07-24 19:05:23 -07:00 |
|
Christopher Jeffrey
|
37da047a34
|
digest: avoid extra allocations.
|
2017-07-17 14:26:43 -07:00 |
|
Christopher Jeffrey
|
fdb668aea3
|
refactor: use rest args where possible.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
c53f4cf89e
|
refactor: switch to const/let.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
e00472891d
|
refactor: start using for...of.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
b26b82ab97
|
util: start using path module. remove some functions.
|
2017-06-27 01:24:27 -07:00 |
|
Christopher Jeffrey
|
8358fa59c6
|
util: drop all homemade polyfills.
|
2017-06-27 00:36:13 -07:00 |
|
Christopher Jeffrey
|
8b2a0ce446
|
util: do not use util.global.
|
2017-06-26 23:07:06 -07:00 |
|
Christopher Jeffrey
|
e02d645c07
|
util: optimize isUInt32 and isInt32.
|
2017-06-26 12:44:32 -07:00 |
|
Christopher Jeffrey
|
518484cac0
|
util: remove util.nextTick.
|
2017-06-26 03:43:09 -07:00 |
|
Christopher Jeffrey
|
84eccc29fa
|
refactor: switch to async/await. see #227.
|
2017-06-24 02:39:06 -07:00 |
|
Christopher Jeffrey
|
3db140e119
|
util: improve isSafeAddition.
|
2017-06-17 18:39:47 -07:00 |
|
Christopher Jeffrey
|
be0e7e02d2
|
util: add isSafeAddition.
|
2017-06-17 18:19:12 -07:00 |
|
Christopher Jeffrey
|
182784c8e0
|
utils: remove usage of isBrowser. some refactoring.
|
2017-06-15 22:28:06 -07:00 |
|
Christopher Jeffrey
|
a3c7a49c80
|
refactor: replace util.equal with Buffer#equals.
|
2017-06-12 03:00:08 -07:00 |
|