remote.py 588 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env python3
  2. #
  3. # MMGen Wallet, a terminal-based cryptocurrency wallet
  4. # Copyright (C)2013-2026 The MMGen Project <mmgen@tuta.io>
  5. # Licensed under the GNU General Public License, Version 3:
  6. # https://www.gnu.org/licenses
  7. # Public project repositories:
  8. # https://github.com/mmgen/mmgen-wallet
  9. # https://gitlab.com/mmgen/mmgen-wallet
  10. """
  11. rpc.remote: remote RPC client class for the MMGen Project
  12. """
  13. class RemoteRPCClient:
  14. is_remote = True
  15. def __init__(self, cfg, proto):
  16. self.cfg = cfg
  17. self.proto = proto
  18. def get_block_from_minconf(self, minconf):
  19. return None