commit 5714d9f4fc4baeac0aad6e4b33489fb093654572
parent 145bf5cf0a9b7a8088f62d6382b388fc4b2fbbd7
Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Jun 2015 23:48:36 +0200
shorter docstrings
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -157,15 +157,14 @@ class Commands:
@command('n')
def getaddressunspent(self, address):
- """Returns the list of unspent inputs of a Bitcoin address. Note: This
+ """Returns the UTXO list of any address. Note: This
is a walletless server query, results are not checked by SPV.
"""
return self.network.synchronous_get([('blockchain.address.listunspent', [address])])[0]
@command('n')
def getutxoaddress(self, txid, pos):
- """Get the address that corresponds to an unspent transaction
- output. Note: This is a walletless server query, results are
+ """Get the address of a UTXO. Note: This is a walletless server query, results are
not checked by SPV.
"""
r = self.network.synchronous_get([('blockchain.utxo.get_address', [txid, pos])])
@@ -535,7 +534,7 @@ class Commands:
@command('w')
def listrequests(self):
- """List the payment requests you made, and their status"""
+ """List the payment requests you made."""
return map(self._format_request, self.wallet.get_sorted_requests(self.config))
@command('w')