Commit Graph

10 Commits

Author SHA1 Message Date
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