Skip to main content

create_test_header

Function create_test_header 

Source
pub fn create_test_header(timestamp: u64, prev_hash: [u8; 32]) -> BlockHeader
Expand description

Create a block header with the given timestamp and previous block hash. Shared by integration tests so fixture behavior stays consistent.