Help for this issue to understand some things that i need to do #4877
-
Hello everyone and thank you for reading this discussion asking for help. I'am really loving working in reth, i hope getting better in future in reth. So i'm taking this issue : #4874 And what i undertand i need to add Terminate and Terminated in the enum Discv4Command What does terminate and terminated should do exactly ? does terminate should stop the discv4 service ? and terminated should verify if it's stopped ? And also what does Terminate and Terminated should take in argument ? Thank you all for your help ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
the terminate command variant needs to be sent like this: reth/crates/net/discv4/src/lib.rs Lines 366 to 375 in 858ea41 see also this for reference reth/crates/net/discv4/src/lib.rs Lines 323 to 329 in 858ea41 then it needs to be handled like this: reth/crates/net/discv4/src/lib.rs Lines 1532 to 1534 in 858ea41
|
Beta Was this translation helpful? Give feedback.
the terminate command variant needs to be sent like this:
reth/crates/net/discv4/src/lib.rs
Lines 366 to 375 in 858ea41
see also this for reference
reth/crates/net/discv4/src/lib.rs
Lines 323 to 329 in 858ea41