Ejemplo n.º 1
0
 static block_timestamp maximum() { return block_timestamp( 0xffff ); }
Ejemplo n.º 2
0
 static block_timestamp min() { return block_timestamp(0); }
Ejemplo n.º 3
0
/* When do transactions in this block expire? */
u32 block_expiry(struct state *state, const struct block_info *bi)
{
	return block_timestamp(bi)
		+ PROTOCOL_TX_HORIZON_SECS(state->test_net);
}