Skip to content

Commit

Permalink
Refactor and cleanup of blockchaininterface and related
Browse files Browse the repository at this point in the history
Summary of changes:

* Add typehints to blockchaininterface.py and jsonrpc.py;
* Move all methods called by external code to BlockchainInterface base
  class or add abstract methods there;
* Remove broken ElectrumWalletInterface (we can re-introduce it later
  from history if somebody wants to fix it);
* More dummy abstract method overrides for DummyBlockchainInterface (for
  tests);
* Alphabetical ordering of imports and other minor stuff;
* Behaviour change - previously fee estimation would fail if it could
  not get mempoolminfee, now will go with default 10 sat/vB.
  • Loading branch information
kristapsk committed May 9, 2023
1 parent 3fa4491 commit 24af7c9
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 279 deletions.
Loading

0 comments on commit 24af7c9

Please sign in to comment.