mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge remote-tracking branch 'remotes/origin/feat/128/multiple-input-output' into feat/127/crypto-conditions-ilp-bigchain-integration
This commit is contained in:
commit
923740ee6c
@ -147,7 +147,7 @@ class Bigchain(object):
|
||||
If no transaction with that `txid` was found it returns `None`
|
||||
"""
|
||||
|
||||
response = r.table('bigchain').concat_map(lambda doc: doc['block']['transactions']) \
|
||||
response = r.table('bigchain').concat_map(lambda doc: doc['block']['transactions'])\
|
||||
.filter(lambda transaction: transaction['id'] == txid).run(self.conn)
|
||||
|
||||
# transaction ids should be unique
|
||||
|
@ -745,15 +745,24 @@ class TestBigchainBlock(object):
|
||||
|
||||
|
||||
class TestMultipleInputs(object):
|
||||
def test_transfer_transaction_multiple(self, b):
|
||||
def test_transfer_single_owners_single_input(self, b):
|
||||
pass
|
||||
|
||||
def test_transfer_single_input_from_multi_input(self, b):
|
||||
def test_transfer_single_owners_multiple_inputs(self, b):
|
||||
pass
|
||||
|
||||
def test_transfer_single_owners_single_input_from_multiple_outputs(self, b):
|
||||
pass
|
||||
|
||||
def test_multiple_owners(self, b):
|
||||
pass
|
||||
|
||||
def test_get_spent(self, b):
|
||||
pass
|
||||
|
||||
def test_get_owned_ids(self, b):
|
||||
pass
|
||||
|
||||
|
||||
class TestCryptoconditions(object):
|
||||
def test_fulfillment_transaction_create(self, b, user_vk):
|
||||
|
Loading…
x
Reference in New Issue
Block a user