示例#1
0
文件: txcons.py 项目: F483/ngcccbase
 def from_tx_data(cls, model, tx_data):
     pycoin_tx = pycoin_txcons.deserialize(tx_data)
     composed_tx_spec = pycoin_txcons.reconstruct_composed_tx_spec(
         model, pycoin_tx)
     return cls(model, pycoin_tx, composed_tx_spec)
示例#2
0
 def from_tx_data(cls, model, tx_data):
     pycoin_tx = pycoin_txcons.deserialize(tx_data)
     return cls(model, pycoin_tx)
示例#3
0
 def from_tx_data(cls, model, tx_data):
     pycoin_tx = pycoin_txcons.deserialize(tx_data)
     composed_tx_spec = pycoin_txcons.reconstruct_composed_tx_spec(
         model, pycoin_tx)
     return cls(model, pycoin_tx, composed_tx_spec)
示例#4
0
文件: txcons.py 项目: kazcw/NGCCCBase
 def from_tx_data(cls, model, tx_data):
     pycoin_tx = pycoin_txcons.deserialize(tx_data)
     composed_tx_spec = txspec.ComposedTxSpec.from_pycoin_tx(model.ccc, pycoin_tx)
     return cls.from_composed_tx_spec(model, composed_tx_spec)