Skip to content

Conversation

@dgpv
Copy link
Contributor

@dgpv dgpv commented Sep 17, 2018

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.

Sometimes there is a need to issue RPC commands to the services
that just pretend to be bitcoind, by 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.
petertodd added a commit that referenced this pull request Aug 21, 2019
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: 7cadfeee8bb70b4815b5d19385186ad55dca8d1c7c1448d9d55b58563552cf3b6d2c0fe8723855ff1751a5b5c396e904e2aa368ad42bc08a17b6360197317e82
@petertodd petertodd merged commit cd81db6 into petertodd:master Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants