mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
added comment to get_transaction_filtered
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
6e1c988885
commit
741e26286a
@ -261,6 +261,7 @@ class Planetmint(object):
|
|||||||
def get_transactions(self, txn_ids):
|
def get_transactions(self, txn_ids):
|
||||||
return backend.query.get_transactions(self.connection, txn_ids)
|
return backend.query.get_transactions(self.connection, txn_ids)
|
||||||
|
|
||||||
|
# TODO: change this to asset_ids, check references of function
|
||||||
def get_transactions_filtered(self, asset_id, operation=None, last_tx=None):
|
def get_transactions_filtered(self, asset_id, operation=None, last_tx=None):
|
||||||
"""Get a list of transactions filtered on some criteria
|
"""Get a list of transactions filtered on some criteria
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -26,7 +26,7 @@ def txlist(b, user_pk, user2_pk, user_sk, user2_sk):
|
|||||||
# Create a TRANSFER transactions
|
# Create a TRANSFER transactions
|
||||||
transfer1 = Transfer.generate(create1.to_inputs(),
|
transfer1 = Transfer.generate(create1.to_inputs(),
|
||||||
[([user_pk], 8)],
|
[([user_pk], 8)],
|
||||||
create1.id).sign([user2_sk])
|
[create1.id]).sign([user2_sk])
|
||||||
|
|
||||||
b.store_bulk_transactions([create1, create2, transfer1])
|
b.store_bulk_transactions([create1, create2, transfer1])
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user