mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
imperative phrasing
This commit is contained in:
parent
1b10d11a2c
commit
003d4b8310
@ -176,7 +176,7 @@ class Bigchain(object):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def search_block_election_on_index(self, value, index):
|
def search_block_election_on_index(self, value, index):
|
||||||
"""Retrieves block election information given a secondary index and value
|
"""Retrieve block election information given a secondary index and value
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
value: a value to search (e.g. transaction id string, payload hash string)
|
value: a value to search (e.g. transaction id string, payload hash string)
|
||||||
@ -192,7 +192,7 @@ class Bigchain(object):
|
|||||||
return list(response)
|
return list(response)
|
||||||
|
|
||||||
def get_blocks_status_containing_tx(self, txid):
|
def get_blocks_status_containing_tx(self, txid):
|
||||||
"""Retrieves block ids and statuses related to a transaction
|
"""Retrieve block ids and statuses related to a transaction
|
||||||
|
|
||||||
Transactions may occur in multiple blocks, but no more than one valid block.
|
Transactions may occur in multiple blocks, but no more than one valid block.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user