Commit f8b1ebc
committed
Merge #186: handle non-standard RPC responses
cd81db6 handle non-standard RPC responses (Dmitry Petukhov)
Pull request description:
Sometimes there is a need to issue RPC commands to the services
that just pretend to be bitcoind, and are emulating some of its commands.
These services might not follow the same protocol for error reporting
as bitcoind does. An example of such service would be feesim
(https://github.com/bitcoinfees/feesim, Model-based Bitcoin fee estimation)
With these changes, we can handle non-standard error responses
gracefully.
Top commit has no ACKs.
Tree-SHA512: 7cadfeee8bb70b4815b5d19385186ad55dca8d1c7c1448d9d55b58563552cf3b6d2c0fe8723855ff1751a5b5c396e904e2aa368ad42bc08a17b6360197317e821 file changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
236 | 241 | | |
237 | 242 | | |
238 | 243 | | |
| |||
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
263 | | - | |
264 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
265 | 277 | | |
266 | 278 | | |
267 | 279 | | |
| |||
0 commit comments