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;
* 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 Jun 6, 2023
1 parent 2bd49c1 commit f8ad8c1
Show file tree
Hide file tree
Showing 6 changed files with 410 additions and 266 deletions.
Loading

0 comments on commit f8ad8c1

Please sign in to comment.