Add temporary (incomplete) aggsig serialization

It just sets them to 64 zeros. This needs to be fixed.
This commit is contained in:
Paul Hauner 2018-09-19 16:14:31 +10:00
parent 4d9b53478f
commit 3dea40abe0
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C
2 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,8 @@ impl Encodable for AttestationRecord {
s.append_vec(&self.oblique_parent_hashes);
s.append(&self.shard_block_hash);
s.append_vec(&self.attester_bitfield.to_be_vec());
// TODO: add aggregate signature
// TODO: encode the aggregate sig correctly
s.append_vec(&vec![0_u8; 64])
}
}

View File

@ -54,6 +54,8 @@ impl Encodable for Block {
s.append(&self.pow_chain_ref);
s.append(&self.active_state_root);
s.append(&self.crystallized_state_root);
// TODO: encode the aggregate sig correctly
s.append_vec(&vec![0_u8; 64])
}
}