Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Conversation

acud
Copy link
Contributor

@acud acud commented Dec 28, 2018

No description provided.

RetryInterval: 4200000000, // 4.2 sec
//RetryExponent: 2,
RetryExponent: 3,
RetryExponent: 3,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 3?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just removed the commented one. was it 2 in the first place?

}

func (h *Hive) isTimeForRetry(d *Peer) bool {
// debug.PrintStack()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment is for getRetriesFromDuration ON LINE 511
what is this?

 div += (150000 - rand.Int63n(300000)) * div / 1000000

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure i understand the question. anyway removed by now

seqPo++
// stop if we reach depth, because peers from that point and deeper will be treated differently
if po <= depth {
if depth >= po {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol. still

return callablePeers
}

func insertSort(arr []int, comp func(int, int) bool) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@nolash
Copy link
Contributor

nolash commented Jan 11, 2019

Discontinued due to ethereum/go-ethereum#18404

@nolash nolash closed this Jan 11, 2019
@frncmx frncmx deleted the only-reptilians branch January 22, 2019 09:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants