def export_actor(self, desc):
        signature = self.actor_signature(desc)
        hash = self.actor_hash(desc)
        if self.node:
            # FIXME should have callback to verify OK
            self.node.storage.add_index(['actor', 'signature', signature], hash, root_prefix_level=3)
            # FIXME should have callback to verify OK
            self.node.storage.set('actor_type-', hash, desc, None)
        else:
            print "global store index %s -> %s" %(signature, hash)
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/GlobalStore.export_actor/original