mirror of
https://github.com/creating2morrow/neveko.git
synced 2024-12-22 19:49:24 +00:00
decrease estimated tx propagation time to 5 seconds
This commit is contained in:
parent
f72f54ce04
commit
860d66d215
2 changed files with 3 additions and 3 deletions
|
@ -740,7 +740,7 @@ fn send_payment_req(
|
|||
// if we made it this far we can now request a JWP from our friend
|
||||
// wait a bit for the tx to propogate
|
||||
tokio::time::sleep(std::time::Duration::from_secs(
|
||||
crate::PROPOGATION_TIME_IN_SECS_EST,
|
||||
crate::PROPAGATION_TIME_IN_SECS_EST,
|
||||
))
|
||||
.await;
|
||||
match proof::prove_payment(String::from(&contact), &ftxp).await {
|
||||
|
|
|
@ -13,8 +13,8 @@ pub const LOCK_SCREEN_TIMEOUT_SECS: u64 = 60 * 5;
|
|||
pub const CRED_CHECK_INTERVAL: u64 = 5;
|
||||
/// monero estimated block time in seconds
|
||||
pub const BLOCK_TIME_IN_SECS_EST: u64 = 0x78;
|
||||
/// monero estimated propogation time in seconds
|
||||
pub const PROPOGATION_TIME_IN_SECS_EST: u64 = 0x1E;
|
||||
/// monero estimated propagation time in seconds
|
||||
pub const PROPAGATION_TIME_IN_SECS_EST: u64 = 5;
|
||||
/// time to wait before giving up on adding a contact
|
||||
pub const ADD_CONTACT_TIMEOUT_SECS: u64 = 0x5A;
|
||||
/// time to wait before giving up on neveko core
|
||||
|
|
Loading…
Reference in a new issue