Ejemplo n.º 1
0
 def pack_fields(self):
     return self.pubkey + \
            Serializer.write_timestamp(self.timestamp) + \
            Serializer.write_u32(self.number_of_block)
Ejemplo n.º 2
0
 def pack_fields(self):
     return self.pubkey + \
            Serializer.write_timestamp(self.timestamp) + \
            self.block_hash
Ejemplo n.º 3
0
 def pack(self):
     raw = self.pack_conflicts()
     raw += Serializer.write_signature(self.signature) + \
            Serializer.write_timestamp(self.timestamp)
     return raw