本文整理汇总了Python中stellar_base.transaction_envelope.TransactionEnvelope.from_xdr方法的典型用法代码示例。如果您正苦于以下问题:Python TransactionEnvelope.from_xdr方法的具体用法?Python TransactionEnvelope.from_xdr怎么用?Python TransactionEnvelope.from_xdr使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类stellar_base.transaction_envelope.TransactionEnvelope
的用法示例。
在下文中一共展示了TransactionEnvelope.from_xdr方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_SetOptions_empty_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_SetOptions_empty_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAc0+E2MAAABAymdhj3dFg+3TcCRILXdUu8ZhG3WOuBmX3YXcYJhYemjCDylQEk31vF8wxB/ntRg4/vmCYC2IwhBtw1mJZ8h+Bw=='
assert (result == Te.from_xdr(result).xdr())
示例2: test_createPassiveOffer_min_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_createPassiveOffer_min_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAQAAAABYmVlcgAAAADTUozdcK3X4scPuMNM5il78cYpIOhCjIvUltQ5zT4TYwAAAAFiZWVyAAAAAK2uFogrxa/78nU4lG0kBdB8JKhKz/MHOgVEGr96kkCOAAAAADuaygAABMsvAAGGoAAAAAAAAAABzT4TYwAAAEAm4lQf6g7mpnw05syhOt3ub+OmSADhSfLwn/xg6bD+6qwqlpF/xflNYWKU1uQOy4P9e1+SWIGJdR+KWryykS0M' # TODO
assert (result == Te.from_xdr(result).xdr())
示例3: test_manageOffer_min_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_manageOffer_min_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAMAAAABYmVlcgAAAADTUozdcK3X4scPuMNM5il78cYpIOhCjIvUltQ5zT4TYwAAAAFiZWVyAAAAAK2uFogrxa/78nU4lG0kBdB8JKhKz/MHOgVEGr96kkCOAAAAADuaygAABMsvAAGGoAAAAAAAAAABAAAAAAAAAAHNPhNjAAAAQBTg1srmkpv/pFqELvCsSurwRPYRUpH05j1sgDzOZdILCdVpxb3sEvMgim1DXE0VhGXqbgZaQV/Sp2VH5C5RKQI=' # TODO
print(result)
print(Te.from_xdr(result).xdr())
示例4: test_accountMerge_min_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_accountMerge_min_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAgAAAAAra4WiCvFr/vydTiUbSQF0HwkqErP8wc6BUQav3qSQI4AAAAAAAAAAc0+E2MAAABADFSYbdlswOKfK4Y02Tz/j5j83c7f5YvLe+QxmXcHSd/W8ika63MsM6CDkDZhjRx4+Nt+mfCKpKbP7j0NPzNhCQ=='
assert (result == Te.from_xdr(result).xdr())
示例5: test_inflation_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_inflation_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAkAAAAAAAAAAc0+E2MAAABAL2tfdCYqdtfxvINWVZ0iwcROqxQieoBF9cay5AL2oj2oJDrp3F3sYlHQNJi1orkcMLqsxaGtr6DWdnc0vwIBDg=='
assert (result == Te.from_xdr(result).xdr())
示例6: test_changeTrust_min_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_changeTrust_min_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAYAAAABYmVlcgAAAACtrhaIK8Wv+/J1OJRtJAXQfCSoSs/zBzoFRBq/epJAjn//////////AAAAAAAAAAHNPhNjAAAAQL0R9eOS0qesc+HHKQoHMjFUJWvzeQOy+u/7HBHNooo37AOaG85y9jyNoa1D4EduroZmK8vCfCF0V3rn5o9CpgA='
assert (result == Te.from_xdr(result).xdr())
示例7: test_pathPayment_min_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_pathPayment_min_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAQAAAADTUozdcK3X4scPuMNM5il78cYpIOhCjIvUltQ5zT4TYwAAAAIAAAAAAAAAAACYloAAAAAAra4WiCvFr/vydTiUbSQF0HwkqErP8wc6BUQav3qSQI4AAAAAAAAAAACYloAAAAAAAAAAAAAAAAHNPhNjAAAAQFwSz9wwBEWCv9cNnuIq+Jjq36mXBI22f6uj/FZ6LbyLljkckSLkF/AqXcaOoOgY9mZ0NrXsHbA5/chSThtgMgQ=' # TODO
assert (result == Te.from_xdr(result).xdr())
示例8: test_payment_short_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_payment_short_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAQAAAADTUozdcK3X4scPuMNM5il78cYpIOhCjIvUltQ5zT4TYwAAAAEAAAAAra4WiCvFr/vydTiUbSQF0HwkqErP8wc6BUQav3qSQI4AAAAAAAAAAACYloAAAAAAAAAAAc0+E2MAAABAzEdbP2ISsB9pDqmIRPt6WEK0GkVOgAEljnelNQjNpDig6A60+jMtveQjdCocL13GwVbO1B8VBXgQdlAobs0fDg=='
assert (result == Te.from_xdr(result).xdr())
示例9: test_createAccount_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_createAccount_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAra4WiCvFr/vydTiUbSQF0HwkqErP8wc6BUQav3qSQI4AAAAAAJiWgAAAAAAAAAABzT4TYwAAAEBBR+eUTPqpyTBLiNMudfSl2AN+oZL9/yp0KE9SyYeIzM2Y7yQH+dGNlwz5PMaaCEGAD+82IZkAPSDyunElc+EP'
assert (result == Te.from_xdr(result).xdr())
示例10: test_allowTrust_shortAsset_unXdr
# 需要导入模块: from stellar_base.transaction_envelope import TransactionEnvelope [as 别名]
# 或者: from stellar_base.transaction_envelope.TransactionEnvelope import from_xdr [as 别名]
def test_allowTrust_shortAsset_unXdr(self):
result = b'AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAAAAAABAAAAAAAAAAcAAAAAra4WiCvFr/vydTiUbSQF0HwkqErP8wc6BUQav3qSQI4AAAACcG9ja2V0a25pdmVzAAAAAQAAAAAAAAABzT4TYwAAAEBK169VZqBQYUrs+ueQzx/UaANo+7HCdUcpflNvT4e5y7o+T7fxzJ845B3hVr8rrJ27Rz/VVslBWkXmxKoaa8sC'
assert (result == Te.from_xdr(result).xdr())