mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Add comment to get_signed_parent_hashes
This commit is contained in:
@@ -1,6 +1,14 @@
|
|||||||
use super::Hash256;
|
use super::Hash256;
|
||||||
use super::TransitionError;
|
use super::TransitionError;
|
||||||
|
|
||||||
|
/// This function is used to select the hashes used in
|
||||||
|
/// the signing of an AttestationRecord.
|
||||||
|
///
|
||||||
|
/// It either returns Result with a vector of length `cycle_length,` or
|
||||||
|
/// returns an Error.
|
||||||
|
///
|
||||||
|
/// See this slide for more information:
|
||||||
|
/// https://tinyurl.com/ybzn2spw
|
||||||
pub fn get_signed_parent_hashes(
|
pub fn get_signed_parent_hashes(
|
||||||
cycle_length: &u8,
|
cycle_length: &u8,
|
||||||
block_slot: &u64,
|
block_slot: &u64,
|
||||||
|
|||||||
Reference in New Issue
Block a user