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