Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere.
2017-07-17 14:26:39 -07:00
Christopher Jeffrey
3af014119a
refactor: switch to template strings for errors.
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
e02d645c07
util: optimize isUInt32 and isInt32.
2017-06-26 12:44:32 -07:00
Christopher Jeffrey
182784c8e0
utils: remove usage of isBrowser. some refactoring.
2017-06-15 22:28:06 -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
af0ab46f21
config/validator: add some validation methods.
2017-05-13 02:39:03 -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
3ae417795f
rpc: better error codes.
2017-03-15 06:13:27 -07:00
Christopher Jeffrey
74b21b78c5
config/validator: fix lists.
2017-03-14 06:16:57 -07:00
Christopher Jeffrey
68bba8621e
rpc/mempool: implement prioritisetransaction.
2017-03-14 06:10:37 -07:00
Christopher Jeffrey
9a7b4eb6a0
validator: minor.
2017-03-14 06:10:36 -07:00
Christopher Jeffrey
50d47dd5a6
rpc: method refactor. getwork refactor.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
78a4f379f5
rpc: add u32 validation. rename node rpc methods.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
59e9ef277a
http: make rpc more hookable.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
a47316c264
http: refactor node websocket api.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
5cbbdbfb2f
refactor: config, plugins, and walletdb.
2017-03-14 06:10:34 -07:00