Commit Graph

61 Commits

Author SHA1 Message Date
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
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications. 2017-05-30 21:11:10 -07:00
Christopher Jeffrey
0ceca23cb5
chain/mempool: store peer id and punish invalid orphans. 2017-05-19 17:02:06 -07:00
Sam Lanning
3e06a244dd utils: Add clarification to util.isFloat() jsdoc 2017-05-11 14:38:36 -07:00
Christopher Jeffrey
023591978a
rpc: fix wit commitment for getblocktemplate. 2017-03-14 06:10:36 -07:00
Christopher Jeffrey
a266391f1b
logger: truncate log files. 2017-03-14 06:10:36 -07:00
Christopher Jeffrey
5cbbdbfb2f
refactor: config, plugins, and walletdb. 2017-03-14 06:10:34 -07:00
Christopher Jeffrey
a81733a720
node/config: refactor config and options. 2017-03-14 06:09:29 -07:00
Christopher Jeffrey
fce0126c13
util: refactor hrtime usage. 2017-03-05 01:23:16 -08:00
Christopher Jeffrey
4e7df6ef87
docs: get jsdoc compiling again. 2017-02-03 22:47:26 -08:00
Christopher Jeffrey
a486bd3a18
refactor: options. 2017-01-14 17:59:54 -08:00
Christopher Jeffrey
428e2a1301
uri: remove bip20 parsing. 2017-01-11 18:19:28 -08:00