pub trait PendingCreateRequestExpireTime: BlockInfoRepository {
// Required methods
fn get_pending_create_request_expire_time(&self) -> Milliseconds;
fn calc_expire_time_for_new_create_request(&self) -> Milliseconds;
}Expand description
Provides access to configurable expiration time for pending create requests
Required Methods§
Sourcefn get_pending_create_request_expire_time(&self) -> Milliseconds
fn get_pending_create_request_expire_time(&self) -> Milliseconds
Returns the number of milliseconds pending create requests are valid for
Sourcefn calc_expire_time_for_new_create_request(&self) -> Milliseconds
fn calc_expire_time_for_new_create_request(&self) -> Milliseconds
Calculates the time a new create request should expire at (internally looking up the current block timestamp). Returns millis since epoch.