minor cleanups
This commit is contained in:
parent
5273b2dc5e
commit
4d7aaa9d88
4 changed files with 18 additions and 9 deletions
|
|
@ -340,22 +340,28 @@ class BitcoinRPCClient(RPCClient, metaclass=AsyncInit):
|
|||
'getblockhash',
|
||||
'getblockheader',
|
||||
'getblockstats', # mmgen-node-tools
|
||||
'getmempoolinfo',
|
||||
'getdeploymentinfo',
|
||||
'getmempoolentry',
|
||||
'getmempoolentry',
|
||||
'getmempoolinfo',
|
||||
'getnettotals',
|
||||
'getnetworkinfo',
|
||||
'getpeerinfo',
|
||||
'getrawmempool',
|
||||
'getmempoolentry',
|
||||
'getrawtransaction',
|
||||
'getrawtransaction',
|
||||
'gettransaction',
|
||||
'gettransaction',
|
||||
'getwalletinfo',
|
||||
'importaddress', # address (address or script) label rescan p2sh (Add P2SH version of the script)
|
||||
'importdescriptors', # like above, but for descriptor wallets
|
||||
'listaccounts',
|
||||
'listlabels',
|
||||
'listreceivedbylabel',
|
||||
'listsinceblock',
|
||||
'listunspent',
|
||||
'setlabel',
|
||||
'sendrawtransaction',
|
||||
'setlabel',
|
||||
'signrawtransaction',
|
||||
'signrawtransactionwithkey', # method new to Core v0.17.0
|
||||
'validateaddress',
|
||||
|
|
|
|||
|
|
@ -43,10 +43,11 @@ class NewSwap(New, TxNewSwap):
|
|||
|
||||
class CmdlineArgs: # listed in command-line order
|
||||
# send_coin # required: uppercase coin symbol
|
||||
send_amt = None # optional: Omit to skip change addr and send value of all inputs minus fees to vault
|
||||
chg_spec = None # optional: change address spec, e.g. ‘B’ ‘DEADBEEF:B’ ‘DEADBEEF:B:1’ or coin address.
|
||||
# Omit for autoselected change address. Use of non-wallet change address
|
||||
# will emit warning and prompt user for confirmation
|
||||
send_amt = None # optional: Omit to skip change addr and send value of all inputs minus fees
|
||||
# to vault
|
||||
chg_spec = None # optional: change address spec, e.g. ‘B’ ‘DEADBEEF:B’ ‘DEADBEEF:B:1’ or coin
|
||||
# address. Omit for autoselected change address. Use of non-wallet
|
||||
# change address will emit warning and prompt user for confirmation
|
||||
# recv_coin # required: uppercase coin symbol
|
||||
recv_spec = None # optional: destination address spec. Same rules as for chg_spec
|
||||
|
||||
|
|
|
|||
|
|
@ -101,12 +101,14 @@ class EthereumRPCClient(RPCClient, metaclass=AsyncInit):
|
|||
'eth_chainId',
|
||||
'eth_gasPrice',
|
||||
'eth_getBalance',
|
||||
'eth_getBlockByNumber',
|
||||
'eth_getCode',
|
||||
'eth_getTransactionByHash',
|
||||
'eth_getTransactionCount',
|
||||
'eth_getTransactionReceipt',
|
||||
'eth_sendRawTransaction',
|
||||
'parity_chain',
|
||||
'parity_nodeKind',
|
||||
'parity_pendingTransactions',
|
||||
'txpool_content',
|
||||
'txpool_content', # Geth and friends only
|
||||
)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ ignore = [
|
|||
[tool.pylint.format]
|
||||
indent-string = "\t"
|
||||
indent-after-paren = 2
|
||||
max-line-length = 116
|
||||
max-line-length = 106
|
||||
|
||||
[tool.pylint.main]
|
||||
recursive = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue