discovery: add retransmit delay to gosipper_test
This commit is contained in:
parent
e1ea0aafe8
commit
cce75bbb14
@ -56,6 +56,7 @@ var (
|
|||||||
nodeKeyPub2 = nodeKeyPriv2.PubKey()
|
nodeKeyPub2 = nodeKeyPriv2.PubKey()
|
||||||
|
|
||||||
trickleDelay = time.Millisecond * 100
|
trickleDelay = time.Millisecond * 100
|
||||||
|
retransmitDelay = time.Hour * 1
|
||||||
proofMatureDelta uint32
|
proofMatureDelta uint32
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -442,6 +443,7 @@ func createTestCtx(startHeight uint32) (*testCtx, func(), error) {
|
|||||||
},
|
},
|
||||||
Router: router,
|
Router: router,
|
||||||
TrickleDelay: trickleDelay,
|
TrickleDelay: trickleDelay,
|
||||||
|
RetransmitDelay: retransmitDelay,
|
||||||
ProofMatureDelta: proofMatureDelta,
|
ProofMatureDelta: proofMatureDelta,
|
||||||
DB: db,
|
DB: db,
|
||||||
}, nodeKeyPub1)
|
}, nodeKeyPub1)
|
||||||
|
Loading…
Reference in New Issue
Block a user