Browse Source

base_proto.bitcoin -> proto.btc, ... [docstrings]

The MMGen Project 2 years ago
parent
commit
7a3ea17cc4
45 changed files with 45 additions and 45 deletions
  1. 1 1
      mmgen/proto/btc/addrdata.py
  2. 1 1
      mmgen/proto/btc/daemon.py
  3. 1 1
      mmgen/proto/btc/misc.py
  4. 1 1
      mmgen/proto/btc/msg.py
  5. 1 1
      mmgen/proto/btc/regtest.py
  6. 1 1
      mmgen/proto/btc/rpc.py
  7. 1 1
      mmgen/proto/btc/tw/addrs.py
  8. 1 1
      mmgen/proto/btc/tw/bal.py
  9. 1 1
      mmgen/proto/btc/tw/common.py
  10. 1 1
      mmgen/proto/btc/tw/ctl.py
  11. 1 1
      mmgen/proto/btc/tw/json.py
  12. 1 1
      mmgen/proto/btc/tw/txhistory.py
  13. 1 1
      mmgen/proto/btc/tw/unspent.py
  14. 1 1
      mmgen/proto/btc/tx/base.py
  15. 1 1
      mmgen/proto/btc/tx/bump.py
  16. 1 1
      mmgen/proto/btc/tx/completed.py
  17. 1 1
      mmgen/proto/btc/tx/info.py
  18. 1 1
      mmgen/proto/btc/tx/new.py
  19. 1 1
      mmgen/proto/btc/tx/online.py
  20. 1 1
      mmgen/proto/btc/tx/signed.py
  21. 1 1
      mmgen/proto/btc/tx/status.py
  22. 1 1
      mmgen/proto/btc/tx/unsigned.py
  23. 1 1
      mmgen/proto/common.py
  24. 1 1
      mmgen/proto/eth/addrdata.py
  25. 1 1
      mmgen/proto/eth/contract.py
  26. 1 1
      mmgen/proto/eth/daemon.py
  27. 1 1
      mmgen/proto/eth/misc.py
  28. 1 1
      mmgen/proto/eth/msg.py
  29. 1 1
      mmgen/proto/eth/rpc.py
  30. 1 1
      mmgen/proto/eth/tw/addrs.py
  31. 1 1
      mmgen/proto/eth/tw/bal.py
  32. 1 1
      mmgen/proto/eth/tw/ctl.py
  33. 1 1
      mmgen/proto/eth/tw/json.py
  34. 1 1
      mmgen/proto/eth/tw/unspent.py
  35. 1 1
      mmgen/proto/eth/tx/base.py
  36. 1 1
      mmgen/proto/eth/tx/bump.py
  37. 1 1
      mmgen/proto/eth/tx/completed.py
  38. 1 1
      mmgen/proto/eth/tx/info.py
  39. 1 1
      mmgen/proto/eth/tx/new.py
  40. 1 1
      mmgen/proto/eth/tx/online.py
  41. 1 1
      mmgen/proto/eth/tx/signed.py
  42. 1 1
      mmgen/proto/eth/tx/status.py
  43. 1 1
      mmgen/proto/eth/tx/unsigned.py
  44. 1 1
      mmgen/proto/xmr/daemon.py
  45. 1 1
      mmgen/proto/xmr/rpc.py

+ 1 - 1
mmgen/proto/btc/addrdata.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.addrdata: Bitcoin base protocol addrdata classes
+proto.btc.addrdata: Bitcoin base protocol addrdata classes
 """
 
 from ...addrdata import TwAddrData

+ 1 - 1
mmgen/proto/btc/daemon.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.daemon: Bitcoin base protocol daemon classes
+proto.btc.daemon: Bitcoin base protocol daemon classes
 """
 
 import os

+ 1 - 1
mmgen/proto/btc/misc.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.misc: miscellaneous functions for Bitcoin base protocol
+proto.btc.misc: miscellaneous functions for Bitcoin base protocol
 """
 
 from ...globalvars import g

+ 1 - 1
mmgen/proto/btc/msg.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.msg: Bitcoin base protocol message signing classes
+proto.btc.msg: Bitcoin base protocol message signing classes
 """
 
 from ...msg import coin_msg

+ 1 - 1
mmgen/proto/btc/regtest.py

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-base_proto.bitcoin.regtest: Coin daemon regression test mode setup and operations
+proto.btc.regtest: Coin daemon regression test mode setup and operations
 """
 
 import os,time,shutil,json,re

+ 1 - 1
mmgen/proto/btc/rpc.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.rpc: Bitcoin base protocol RPC client class
+proto.btc.rpc: Bitcoin base protocol RPC client class
 """
 
 import os

+ 1 - 1
mmgen/proto/btc/tw/addrs.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.twaddrs: Bitcoin base protocol tracking wallet address list class
+proto.btc.twaddrs: Bitcoin base protocol tracking wallet address list class
 """
 
 from ....util import msg,die

+ 1 - 1
mmgen/proto/btc/tw/bal.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.twbal: Bitcoin base protocol tracking wallet balance class
+proto.btc.twbal: Bitcoin base protocol tracking wallet balance class
 """
 
 from ....tw.bal import TwGetBalance

+ 1 - 1
mmgen/proto/btc/tw/common.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tw: Bitcoin base protocol tracking wallet dependency classes
+proto.btc.tw: Bitcoin base protocol tracking wallet dependency classes
 """
 
 from ....addr import CoinAddr

+ 1 - 1
mmgen/proto/btc/tw/ctl.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.twctl: Bitcoin base protocol tracking wallet control class
+proto.btc.twctl: Bitcoin base protocol tracking wallet control class
 """
 
 from ....globalvars import g

+ 1 - 1
mmgen/proto/btc/tw/json.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tw.json: export and import tracking wallet to JSON format
+proto.btc.tw.json: export and import tracking wallet to JSON format
 """
 
 from collections import namedtuple

+ 1 - 1
mmgen/proto/btc/tw/txhistory.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tw.txhistory: Bitcoin base protocol tracking wallet transaction history class
+proto.btc.tw.txhistory: Bitcoin base protocol tracking wallet transaction history class
 """
 
 from collections import namedtuple

+ 1 - 1
mmgen/proto/btc/tw/unspent.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.twuo: Bitcoin base protocol tracking wallet unspent outputs class
+proto.btc.twuo: Bitcoin base protocol tracking wallet unspent outputs class
 """
 
 from ....tw.unspent import TwUnspentOutputs

+ 1 - 1
mmgen/proto/btc/tx/base.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.base: Bitcoin base transaction class
+proto.btc.tx.base: Bitcoin base transaction class
 """
 
 from collections import namedtuple

+ 1 - 1
mmgen/proto/btc/tx/bump.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.bump: Bitcoin transaction bump class
+proto.btc.tx.bump: Bitcoin transaction bump class
 """
 
 import mmgen.tx.bump as TxBase

+ 1 - 1
mmgen/proto/btc/tx/completed.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.completed: Bitcoin completed transaction class
+proto.btc.tx.completed: Bitcoin completed transaction class
 """
 
 import mmgen.tx.completed as TxBase

+ 1 - 1
mmgen/proto/btc/tx/info.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.info: Bitcoin transaction info class
+proto.btc.tx.info: Bitcoin transaction info class
 """
 
 from ....tx.info import TxInfo

+ 1 - 1
mmgen/proto/btc/tx/new.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.new: Bitcoin new transaction class
+proto.btc.tx.new: Bitcoin new transaction class
 """
 
 import mmgen.tx.new as TxBase

+ 1 - 1
mmgen/proto/btc/tx/online.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.online: Bitcoin online signed transaction class
+proto.btc.tx.online: Bitcoin online signed transaction class
 """
 
 import mmgen.tx.online as TxBase

+ 1 - 1
mmgen/proto/btc/tx/signed.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.signed: Bitcoin signed transaction class
+proto.btc.tx.signed: Bitcoin signed transaction class
 """
 
 import mmgen.tx.signed as TxBase

+ 1 - 1
mmgen/proto/btc/tx/status.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.status: Bitcoin transaction status class
+proto.btc.tx.status: Bitcoin transaction status class
 """
 
 import time

+ 1 - 1
mmgen/proto/btc/tx/unsigned.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.bitcoin.tx.unsigned: Bitcoin unsigned transaction class
+proto.btc.tx.unsigned: Bitcoin unsigned transaction class
 """
 
 import mmgen.tx.unsigned as TxBase

+ 1 - 1
mmgen/proto/common.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-Functions and constants used by multiple protocols
+proto.common: Functions and constants used by multiple protocols
 """
 
 import hashlib

+ 1 - 1
mmgen/proto/eth/addrdata.py

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-base_proto.ethereum.addrdata: Ethereum TwAddrData classes
+proto.eth.addrdata: Ethereum TwAddrData classes
 """
 
 from ...addrdata import TwAddrData

+ 1 - 1
mmgen/proto/eth/contract.py

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-altcoins.base_proto.ethereum.contract: Ethereum ERC20 token classes
+proto.eth.contract: Ethereum ERC20 token classes
 """
 
 from decimal import Decimal

+ 1 - 1
mmgen/proto/eth/daemon.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.daemon: Ethereum base protocol daemon classes
+proto.eth.daemon: Ethereum base protocol daemon classes
 """
 
 import os

+ 1 - 1
mmgen/proto/eth/misc.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.misc: miscellaneous utilities for Ethereum base protocol
+proto.eth.misc: miscellaneous utilities for Ethereum base protocol
 """
 
 from ...util import die,get_keccak

+ 1 - 1
mmgen/proto/eth/msg.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.msg: Ethereum base protocol message signing classes
+proto.eth.msg: Ethereum base protocol message signing classes
 """
 
 from ...msg import coin_msg

+ 1 - 1
mmgen/proto/eth/rpc.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.rpc: Ethereum base protocol RPC client class
+proto.eth.rpc: Ethereum base protocol RPC client class
 """
 
 import re

+ 1 - 1
mmgen/proto/eth/tw/addrs.py

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-base_proto.ethereum.twaddrs: Ethereum tracking wallet address list class
+proto.eth.twaddrs: Ethereum tracking wallet address list class
 """
 
 from ....tw.addrs import TwAddrList

+ 1 - 1
mmgen/proto/eth/tw/bal.py

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-base_proto.ethereum.twbal: Ethereum tracking wallet getbalance class
+proto.eth.twbal: Ethereum tracking wallet getbalance class
 """
 
 from ....tw.ctl import TrackingWallet

+ 1 - 1
mmgen/proto/eth/tw/ctl.py

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-base_proto.ethereum.twctl: Ethereum tracking wallet control class
+proto.eth.twctl: Ethereum tracking wallet control class
 """
 
 from ....util import msg,ymsg,write_mode,die

+ 1 - 1
mmgen/proto/eth/tw/json.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tw.json: export and import tracking wallet to JSON format
+proto.eth.tw.json: export and import tracking wallet to JSON format
 """
 
 from collections import namedtuple

+ 1 - 1
mmgen/proto/eth/tw/unspent.py

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-base_proto.ethereum.twuo: Ethereum tracking wallet unspent outputs class
+proto.eth.twuo: Ethereum tracking wallet unspent outputs class
 """
 
 from ....tw.common import TwLabel

+ 1 - 1
mmgen/proto/eth/tx/base.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.base: Ethereum base transaction class
+proto.eth.tx.base: Ethereum base transaction class
 """
 
 from collections import namedtuple

+ 1 - 1
mmgen/proto/eth/tx/bump.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.bump: Ethereum transaction bump class
+proto.eth.tx.bump: Ethereum transaction bump class
 """
 
 import mmgen.tx.bump as TxBase

+ 1 - 1
mmgen/proto/eth/tx/completed.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.completed: Ethereum completed transaction class
+proto.eth.tx.completed: Ethereum completed transaction class
 """
 
 import mmgen.tx.completed as TxBase

+ 1 - 1
mmgen/proto/eth/tx/info.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.info: Ethereum transaction info class
+proto.eth.tx.info: Ethereum transaction info class
 """
 
 from ....tx.info import TxInfo

+ 1 - 1
mmgen/proto/eth/tx/new.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.new: Ethereum new transaction class
+proto.eth.tx.new: Ethereum new transaction class
 """
 
 import json

+ 1 - 1
mmgen/proto/eth/tx/online.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.online: Ethereum online signed transaction class
+proto.eth.tx.online: Ethereum online signed transaction class
 """
 
 from ....globalvars import *

+ 1 - 1
mmgen/proto/eth/tx/signed.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.signed: Ethereum signed transaction class
+proto.eth.tx.signed: Ethereum signed transaction class
 """
 
 import mmgen.tx.signed as TxBase

+ 1 - 1
mmgen/proto/eth/tx/status.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.status: Ethereum transaction status class
+proto.eth.tx.status: Ethereum transaction status class
 """
 
 import mmgen.tx.status as TxBase

+ 1 - 1
mmgen/proto/eth/tx/unsigned.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.ethereum.tx.unsigned: Ethereum unsigned transaction class
+proto.eth.tx.unsigned: Ethereum unsigned transaction class
 """
 
 import json

+ 1 - 1
mmgen/proto/xmr/daemon.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.monero.daemon: Monero base protocol daemon classes
+proto.xmr.daemon: Monero base protocol daemon classes
 """
 
 import os

+ 1 - 1
mmgen/proto/xmr/rpc.py

@@ -9,7 +9,7 @@
 #   https://gitlab.com/mmgen/mmgen
 
 """
-base_proto.monero.rpc: Monero base protocol RPC client class
+proto.xmr.rpc: Monero base protocol RPC client class
 """
 
 from ...rpc import RPCClient,IPPort,auth_data